Doppelter E-Mail Check

Du suchst einen bestimmten Mod, weißt aber nicht genau wo bzw. ob er überhaupt existiert? Wenn dir dieser Artikel nicht weiterhilft, kannst du hier den von dir gewünschten/gesuchten Mod beschreiben ...
Falls ein Mod-Autor eine der Anfragen hier aufnimmt um einen neuen Mod zu entwicklen, geht's in phpBB 2.0: Mods in Entwicklung weiter.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
Benutzeravatar
phpBB User
Mitglied
Beiträge: 85
Registriert: 20.10.2005 12:09
Wohnort: Siegen

Doppelter E-Mail Check

Beitrag von phpBB User »

Hallo zusammen,
ich suche einen MOD wo man seine Email Adressen wiederholen muss, um zu prüfen ob diese nicht abweicht.
Wissen ist Macht! Nichts Wissen macht auch nichts.
Benutzeravatar
phpBB User
Mitglied
Beiträge: 85
Registriert: 20.10.2005 12:09
Wohnort: Siegen

Beitrag von phpBB User »

Da mir ja so viele geantwortet haben, hab ich mich selbst daran gesetzt und was Ähnliches gemacht, hier geht es weter...
Wissen ist Macht! Nichts Wissen macht auch nichts.
IPB_Flüchtling
Mitglied
Beiträge: 1862
Registriert: 23.12.2004 22:46

Beitrag von IPB_Flüchtling »

Hallo phpbb User,

vielleicht liegt es ja auch daran, dass Du Dein Posting sehr kryptisch formuliert hast.

Also ich persönlich weiß ehrlich gesagt nicht, worum es Dir überhaupt geht. Kann aber natürlich auch sein, dass ich momentan auf der Leitung stehe ... oder wie das so schön heißt.

Nähere Auskünfte wären schon nett.
LG, IPB_Flüchtling
Benutzeravatar
phpBB User
Mitglied
Beiträge: 85
Registriert: 20.10.2005 12:09
Wohnort: Siegen

Beitrag von phpBB User »

Hi IPB_Flüchtling,

man hätte ja zu mindest fragen können wenn es nicht verstanden wurde.
Ich möchte halt bei der Registrierung zwei Felder für die E-Mail-Adresse, so wie bei der Passwort Wiederholung, weicht die E-Mail Adresse ab, kommt eine Fehlermeldung.

So wie bei der vBulletin Registrierung auch.
Wissen ist Macht! Nichts Wissen macht auch nichts.
IPB_Flüchtling
Mitglied
Beiträge: 1862
Registriert: 23.12.2004 22:46

Beitrag von IPB_Flüchtling »

Hallo phpbb User,

danke für die Erklärung. Jetzt habe ich es auch kapiert. 8) Leider kann ich Dir nicht helfen. Es wäre zwar leicht, in der Datei profile_add_body.tpl eine zweite E-Mail-Abfrage einzubauen.
Ob sie aber mit der ersten Adresse identisch ist, müsste wohl in der usercp_register.php überprüft werden. Leider kenne ich mich mit php (noch?) sehr wenig aus - sonst würde ich es Dir schreiben. Dürfte nicht allzu schwierig sein, da so eine Überprüfungsroutine (für das Passwort) ja sowieso schon enthalten ist.

Ich denke mal, dass es Dir auch nicht hilft, wenn Du im ACP die Registrierungmethode per E-Mail einstellst? Dann hast Du die Gewissheit, dass sich der User bei der Eingabe der E-Mail-Adresse nicht vertippt hat und sie zum Zeitpunkt der Anmeldung gültig war.

LG, IPB_Flüchtling
Benutzeravatar
phpBB User
Mitglied
Beiträge: 85
Registriert: 20.10.2005 12:09
Wohnort: Siegen

Beitrag von phpBB User »

Danke für deine Antwort,
viele User Vertippen sich bei der Eingabe der E-Mail-Adresse gerne mal und ich dachte das wäre eine gute Idee das mit in die Forensoftware einzubauen.
Wissen ist Macht! Nichts Wissen macht auch nichts.
IPB_Flüchtling
Mitglied
Beiträge: 1862
Registriert: 23.12.2004 22:46

Beitrag von IPB_Flüchtling »

Ich hätte Dir wirklich gern geholfen, aber leider übersteigt es meine Fähigkeiten. Aber vielleicht liest ja ein Profi mit. Ich bin davon überzeugt, dass sich Deine Idee nicht allzu schwer verwirklichen lässt. Natürlich vorausgesetzt, man kennt sich aus. :(

Vielleicht könnte aber folgender Mod etwas für Dich sein: http://www.phpbb.com/phpBB/viewtopic.php?t=280755

Aus der Mod-Beschreibung: "This MOD will try to validate if an email address is a valid one during registration. A good tool to stop wanted signing-up."

LG, IPB_Flüchtling
Benutzeravatar
phpBB User
Mitglied
Beiträge: 85
Registriert: 20.10.2005 12:09
Wohnort: Siegen

Beitrag von phpBB User »

Danke für deine Mühe, aber ich suche genau sowas hier: http://area51.phpbb.com/phpBB/ucp.php?mode=register

Confirm email address, das als MOD fürs 2.0.18
Wissen ist Macht! Nichts Wissen macht auch nichts.
Benutzeravatar
phpBB User
Mitglied
Beiträge: 85
Registriert: 20.10.2005 12:09
Wohnort: Siegen

Beitrag von phpBB User »

Hallo,
für alle die so was auch gesucht haben, hab ich hier ein Mod den ich bei der Forensoftware 2.0.18 eingebaut/getestet habe und 100% Funst:

Code: Alles auswählen

##############################################################
## MOD Title:		Email Confirmation Mod
## MOD Author:		Kooky <kooky@altern.org> http://perso.edeign.com/kooky/
## MOD Description:	This mod will add an email confirmation field when a user
##			will try to register.
## MOD Version:		1.0.0
##
## Installation Level:	Moderate
## Installation Time:	10 Minutes
## Files to Edit:	4
##			includes/usercp_avatar.php
##			includes/usercp_register.php
##			language/lang_english/lang_main.php
##			language/lang_german/lang_main.php
##			templates/subSilver/profile_add_body.tpl
## Included Files:	N/A
##
##############################################################
## This MOD is released under the GPL License.
## Intellectual Property is retained by the MOD Author(s) listed above
##############################################################
## For Security Purposes, Please Check: http://www.phpbbhacks.com/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB Hacks will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbbhacks.com
##############################################################
## Author Notes:
##
## 1. Copyright and special thanks!
## -----------
## This program is free software, you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation.
##
## If you want to add this Mod to any database, please don't add
## my e-mail address to a topic, just point to my website (see above).
## (for spamming prevention)
##
## 2. Feature list
## -----------
## - Adds a confirm field for email address like password.
## - If a user edits his profile, this field is already required.
##
## 3. Compatibility / EasyMOD
## -----------
## This MOD is compatible with phpBB 2.0.6 - 2.0.10
##
## It is also compatible with EasyMOD of Nuttzy and can be
## installed by it but is not yet certified EMC (EasyMOD Compliant)!
## http://area51.phpbb.com/phpBB22/viewforum.php?sid=&f=15
##
## 4. Official last version link
## -----------
## Check this official link for latest updates...
## http://perso.edeign.com/kooky/
##
##############################################################
## MOD History:
##
## 2004/10/05 - Version 1.0.0
##	- No change (no error was found)
##
## 2003/10/01 - Version 0.9.0
##	- initial BETA release phpBB2
##	- Easy Mod compliant
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php

#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// Start add - Email Confirmation
$lang['Email_confirm'] = 'Confirm your email address';
$lang['Email_mismatch'] = 'Email addresses you have entered do not match.';
// End add - Email Confirmation
#
#-----[ OPEN ]------------------------------------------
#
language/lang_german/lang_main.php

#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// Start add - Email Confirmation
$lang['Email_confirm'] = 'E-Mail-Adresse erneut eingeben';
$lang['Email_mismatch'] = 'Die zwei E-Mail-Adressen, die Sie eingegeben haben, stimmen nicht überein.';
// End add - Email Confirmation
#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_register.php

#
#-----[ FIND ]------------------------------------------
#
		$current_email = trim(htmlspecialchars($HTTP_POST_VARS['current_email']));
#
#-----[ AFTER, ADD ]------------------------------------------
#
		// Start add - Email Confirmation
		$email_confirm = trim(htmlspecialchars($HTTP_POST_VARS['email_confirm']));
		// End add - Email Confirmation
#
#-----[ FIND ]------------------------------------------
#
	$strip_var_list = array('username' => 'username', 'email' => 'email'
#
#-----[ IN-LINE FIND ]------------------------------------------
#
'email' => 'email'
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, 'email_confirm' => 'email_confirm'
#
#-----[ FIND ]------------------------------------------
#
		$email = stripslashes($email);
#
#-----[ AFTER, ADD ]------------------------------------------
#
		// Start add - Email Confirmation
		$email_confirm = stripslashes($email_confirm);
		// End add - Email Confirmation
#
#-----[ FIND ]------------------------------------------
#
		if ( empty($username) || empty($new_password) || empty($password_confirm) || empty($email) )
#
#-----[ IN-LINE FIND ]------------------------------------------
#
|| empty($email)
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
 || empty($email_confirm)
#
#-----[ FIND ]------------------------------------------
#
			$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Fields_empty'];
		}
	}
#
#-----[ AFTER, ADD ]------------------------------------------
#
	// Start add - Email Confirmation
	else if ( $email != $email_confirm )
	{
		$error = TRUE;
		$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Email_mismatch'];
	}
	// End add - Email Confirmation
#
#-----[ FIND ]------------------------------------------
#
	// Do a ban check on this email address
	//
	if ( $email != $userdata['user_email'] || $mode == 'register' )
#
#-----[ IN-LINE FIND ]------------------------------------------
#
$email != $userdata['user_email']
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
 || $email_confirm != $userdata['user_email'] || $email != $email_confirm
#
#-----[ FIND ]------------------------------------------
#
		$result = validate_email($email);
		if ( $result['error'] )
		{
			$email = $userdata['user_email'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
			// Start add - Email Confirmation
			$email_confirm = $userdata['user_email'];
			$email = $email_confirm;
			// End add - Email Confirmation
#
#-----[ FIND ]------------------------------------------
#
			$error = TRUE;
			$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $result['error_msg'];
		}
#
#-----[ AFTER, ADD ]------------------------------------------
#
		// Start add - Email Confirmation
		else if ( $email != $email_confirm )
		{
			$error = TRUE;
			$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Email_mismatch'];
		}
		// End add - Email Confirmation
#
#-----[ FIND ]------------------------------------------
#
			if ( $row['user_password'] != md5($cur_password) )
			{
				$email = $userdata['user_email'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
				// Start add - Email Confirmation
				$email_confirm = $userdata['user_email'];
				$email = $email_confirm;
				// End add - Email Confirmation
#
#-----[ FIND ]------------------------------------------
#
	$email = stripslashes($email);
#
#-----[ AFTER, ADD ]------------------------------------------
#
	// Start add - Email Confirmation
	$email_confirm = stripslashes($email_confirm);
	// End add - Email Confirmation
#
#-----[ FIND ]------------------------------------------
#
	$email = $userdata['user_email'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
	// Start add - Email Confirmation
	$email_confirm = $userdata['user_email'];
	// End add - Email Confirmation
#
#-----[ FIND ]------------------------------------------
#
	display_avatar_gallery($mode, $avatar_category, $user_id, $email, $current_email,
#
#-----[ IN-LINE FIND ]------------------------------------------
#
, $current_email
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, $email_confirm
#
#-----[ IN-LINE FIND ]------------------------------------------
#
, $coppa, $username, $email
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, $email_confirm
#
#-----[ FIND ]------------------------------------------
#
		'L_EMAIL_ADDRESS' => $lang['Email_address'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
		// Start add - Email Confirmation
		'L_CONFIRM_EMAIL' => $lang['Email_confirm'],
		'EMAIL_CONFIRM' => $email_confirm,
		// End add - Email Confirmation
#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_avatar.php

#
#-----[ FIND ]------------------------------------------
#
function display_avatar_gallery($mode, &$category, &$user_id, &$email, &$current_email,
#
#-----[ IN-LINE FIND ]------------------------------------------
#
, &$current_email
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, &$email_confirm
#
#-----[ IN-LINE FIND ]------------------------------------------
#
, &$coppa, &$username, &$email
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, &$email_confirm
#
#-----[ FIND ]------------------------------------------
#
	$params = array('coppa', 'user_id', 'username', 'email', 'current_email',
#
#-----[ IN-LINE FIND ]------------------------------------------
#
, 'current_email'
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, 'email_confirm'
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/profile_add_body.tpl

#
#-----[ FIND ]------------------------------------------
#
	<tr> 
		<td class="row1"><span class="gen">{L_EMAIL_ADDRESS}: *</span></td>
		<td class="row2"><input type="text" class="post" style="width:200px" name="email" size="25" maxlength="255" value="{EMAIL}" /></td>
	</tr>
#
#-----[ AFTER, ADD ]------------------------------------
#
	<tr>
		<td class="row1"><span class="gen">{L_CONFIRM_EMAIL}: *</span></td>
		<td class="row2">
			<input type="text" class="post" name="email_confirm" style="width: 200px" size="25" maxlength="255" value="{EMAIL_CONFIRM}" />
		</td>
	</tr>
#
#-----[ SAVE/CLOSE ALL FILES ]----------------------------------------
#
# EoM
Ich hab mal die language/lang_german/lang_main.php hinzugefügt.
Wissen ist Macht! Nichts Wissen macht auch nichts.
Antworten

Zurück zu „phpBB 2.0: Mod Suche/Anfragen“