Archiv: März 2010

Anmeldungbeispiel:
 http://www.gifs-sammlung.de/anmeldung

Plugin:

http://blog.datenschmutz.net/2007-06/wordpress-und-die-login-registrierungsthematik/

 

Captchat bei Login

http://wolf-u.li/1219/captcha-plugin-fuer-die-registrierung-und-den-login-bei-wordpress/ 

 Begriffe:
benutzerdefinierte Registrierung & Login

wordpress registrierung captcha

My Theme Login

http://translate.google.de/translate?hl=de&langpair=en%7Cde&u=http://wordpress.org/extend/plugins/peters-login-redirect/

 

Wordpress – kann man einzelne Seiten verschieden gestalten?

Die folgende Nachricht zum Thema stammt von: Schuer, 18. 01. 2008, 10:23

»» if (is_page(4)) {

Korrektur: if (is_page(’4′)) {

 

 

http://translate.google.de/translate?hl=de&langpair=en%7Cde&u=http://www.mikevanwinkle.com/wordpress/how-to/custom-wordpress-registration-page/
<SPAN onmouseover=_tipon(this) onmouseout=_tipoff()><SPAN style=”TEXT-ALIGN: left; DIRECTION: ltr”-src-text>//Check if the user is logged in, if so he doesn’t need the registration page if ( is_user_logged_in() ) { echo “You are already registered for this site!!.”; } else { //Then I check to see whether a form has been submitted, if so, I deal with it. if(isset($_POST['set'])) { //Confirm RECAPTCHA LIBRARY for spam protection. require_once(TEMPLATEPATH .’/scripts/recaptcha/recaptchalib.php’); $privatekey = “PRIVATE KEY”; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if (!$resp-&gt;is_valid) { die (”The reCAPTCHA wasn’t entered correctly. Go back and try it again.” .”(reCAPTCHA said: ” . $resp-&gt;error . “)”); } else { //Once Captcha is confirmed include the necessary WP libraries. require_once(ABSPATH . WPINC . ‘/registration.php’ ); require_once(ABSPATH . WPINC . ‘/pluggable.php’ ); //Assign POST variables $user_name = $_POST['username']; $user_name = sanitize_user($user_name, true); $email = $_POST['email']; //Test variables using built in wordpress functions. $user_test = validate_username($user_name); if($user_test != true) { $message = ‘Invalid Username’; } else { $email_test = email_exists($email); if($email_test != false) { $message = ‘An account with this email has already been registered’; } else { $user_id = username_exists( $user_name ); if (!$user_id ) { //This part actually generates the account $random_password = wp_generate_password( 12, false ); $user_id = wp_create_user( $user_name, $random_password, $email ); $message = ‘Registration Successful.</SPAN> / / Prüfen, ob der Benutzer angemeldet ist, wenn damit er nicht brauchen, wenn die Registrierungsseite (is_user_logged_in ()) (echo “Sie sind bereits registriert !!.”; für diese Seite) else (/ / Dann habe ich überprüfen, um sehen, ob ein Formular abgesendet wurde, falls ja, beschäftige ich mich mit ihm. if (isset ($ _POST ['set'])) (/ / Bestätigen reCAPTCHA LIBRARY zum Schutz gegen Spam. require_once (TemplatePath “. / scripts / recaptcha / recaptchalib . php ‘); $ privatekey = “Private Key”; $ resp = recaptcha_check_answer ($ privatekey, $ _SERVER ["REMOTE_ADDR"], $ _POST ["recaptcha_challenge_field"], $ _POST ["recaptcha_response_field"]); if (! $ resp-&gt; is_valid) (die (”Die reCAPTCHA wurde nicht richtig eingegeben. Gehen Sie zurück und versuchen Sie es erneut.”. “(reCAPTCHA sagte:”. $ resp-&gt; Fehler. “)”);) else (/ / Wenn Captcha bestätigt auch die notwendigen Bibliotheken WP. require_once (ABSPATH. WPINC. ‘/ registration.php’); require_once (ABSPATH. WPINC. ‘/ pluggable.php’); / / POST-Variablen zuweisen $ user_name = $ _POST ['username ']; $ user_name = sanitize_user ($ user_name, true); $ email = $ _POST [' email ']; / / Test-Variablen unter Verwendung von Funktionen in WordPress gebaut. user_test $ = validate_username ($ user_name); if ($ user_test! = true) ($ message = ‘Ungültiger Benutzername’;) else ($ email_test email_exists = ($ email); if ($ email_test! = false) ($ message = ‘Ein Konto mit dieser E-Mail ist bereits registriert “;) else ( $ user_id = username_exists ($ user_name); if (! $ user_id) (/ / Dieser Teil tatsächlich erzeugt das Konto $ = random_password wp_generate_password (12, false); $ user_id = wp_create_user ($ user_name, random_password $, $ email); $ message = “Registrierung erfolgreich.</SPAN> <SPAN onmouseover=_tipon(this) onmouseout=_tipoff()><SPAN style=”TEXT-ALIGN: left; DIRECTION: ltr”-src-text>A password was sent to you via email.’; //add flag for the user to change their auto-generated password update_user_option($user_id, ‘default_password_nag’, true, true); //notify admin of new user wp_new_user_notification($user_id, $random_pass); //create user confirmation message and send email $emessage = “Thanks for signing up for LibertyWiki. Here is your password. You should longin and change it as soon as possible.\r\rUsername: $user_name\rPassword: $random_password\rLogin: http://wiki.fee.org“; wp_mail(’YOUR EMAIL’, ‘MESSAGE’, $emessage); } else { $random_password = __(’User already exists.  Password inherited.’); $message = $message .</SPAN> Ein Passwort wurde per E-Mail an Sie über. ‘; / / Add Flagge für den Benutzer zu wechseln ihre user_id automatisch generierte Passwort update_user_option ($,’ default_password_nag ‘, true, true); / / admin Benachrichtigen eines neuen Benutzers wp_new_user_notification ($ user_id , $ random_pass); / / Benutzer anlegen Bestätigungsmeldung und E-Mail senden eMessage $ = “Vielen Dank für Ihre Anmeldung bei LibertyWiki. Hier ist Ihr Kennwort ein. Sie sollten Longin und ändern Sie es so bald wie möglich. \ r \ rUsername: $ Benutzername \ rPassword : $ random_password \ rlogin: http://wiki.fee.org “; wp_mail (’Ihre Email’, ‘message’, $ eMessage);) else ($ random_password = __ (’Benutzer existiert bereits. Passwort geerbt.’) ; $ message = $ message.</SPAN> <SPAN onmouseover=_tipon(this) onmouseout=_tipoff()><SPAN style=”TEXT-ALIGN: left; DIRECTION: ltr”-src-text>’User Already Exists’; } } } } //Print the appropriate message echo $message; } else { //POST FORM echo ‘</SPAN> “Nutzer existiert bereits”;)))) / / Drucken der entsprechenden Meldung echo $ message;) else (/ / POST-FORM echo ‘</SPAN> <FORM method=post action=”"> <SPAN onmouseover=_tipon(this) onmouseout=_tipoff()><SPAN style=”TEXT-ALIGN: left; DIRECTION: ltr”-src-text>’; echo ‘</SPAN> ‘; Echo’</SPAN> <INPUT name=username> <SPAN onmouseover=_tipon(this) onmouseout=_tipoff()><SPAN style=”TEXT-ALIGN: left; DIRECTION: ltr”-src-text>’; echo ‘</SPAN> ‘; Echo’</SPAN> <INPUT name=email> <SPAN onmouseover=_tipon(this) onmouseout=_tipoff()><SPAN style=”TEXT-ALIGN: left; DIRECTION: ltr”-src-text>’; echo ‘</SPAN> ‘; Echo’</SPAN> <INPUT value=einreichen type=submit> <SPAN onmouseover=_tipon(this) onmouseout=_tipoff()><SPAN style=”TEXT-ALIGN: left; DIRECTION: ltr”-src-text>’; echo ‘</SPAN> ‘; Echo’</SPAN> </FORM> <SPAN onmouseover=_tipon(this) onmouseout=_tipoff()><SPAN style=”TEXT-ALIGN: left; DIRECTION: ltr”-src-text>’; } //Close POST Condiditonal } //Close LOGIN Conditional</SPAN> ‘;) / / Close POST Condiditonal) / / Close LOGIN Conditional</SPAN>

 

 

http://translate.google.de/translate?hl=de&langpair=en%7Cde&u=http://www.problogdesign.com/wordpress/custom-wordpress-login-screen/

admin, 31.03.2010, 08:59 | Abgelegt unter: Plugin | RSS 2.0 | TB | Keine Kommentare


Wordpress läuft unter Wordpress 2.8
Anpassung und Design VIMALAO von Gabis WordPress-Templates