php forum
php mysql forum
php mysql smarty
 
Topic Options
#316056 - 10/21/07 07:19 AM Modify email requirement
nccm Offline
Lurker

Registered: 10/21/07
Posts: 7
how would i modify the email requirement. all i want people to have to do when they register and enter a username and the code on the picture. Dont want any identifying information.

Top
#316058 - 10/21/07 04:14 PM Re: Modify email requirement [Re: nccm]
blaaskaak Offline
Enthusiast

Registered: 02/25/07
Posts: 329
Loc: The Netherlands
Didn't test it, but probably the spot do to this would be in /scripts/adduser.inc.php

Code:
	// Make sure Email and Email_verify are the same
	if ($Email != $Email_verify) {
		$html->not_right($ubbt_lang['EMAIL_NO_MATCH']);
	}

	// ------------------------------------------------------------
	// If all required info is not filled in, then we can't proceed
	if((!$Loginname)||(!$Displayname)||(!$Email)||(!$Email_verify)||(!$Password)||(!$Verify)){
		$html -> not_right($ubbt_lang['ALL_FIELDS']);
	}



There's the code that requires the e-mail addresses. So you'd have to remove the check there, and remove the e-mail stuff from the registration screen template and profile.

If the e-mail address is optional, you could just remove the check, and remove the e-mail verification stuff.
_________________________

Top



Moderator:  sirdude 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks