php forum
php mysql forum
php mysql smarty
 
Topic Options
#233464 - 01/18/03 06:36 PM 6.2.1 - Disable New User Registration
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
Here's a trivial hack for adding a config setting to disable new user registration. <br /> <br />newuser.php <br /> <br />Find: <br /> <br />// ------------------------------------------------------ <br />// If we are checking ages, the we need to do this first <br /> if ( ($config['checkage']) && ($p != "y") ) { <br /> <br />Insert before: <br /> <br />if ($config['registration_off']) { <br /> $html -> not_right("We are not accepting new user registrations at this time. Please try again later.",$Cat); <br />} <br /> <br />That's it. <img src="/forum/images/graemlins/laugh.gif" alt="" /> <br /> <br />---------------------------- <br /> <br />To turn off new user registration, add the following line in Admin -> Edit config settings -> "The following variables are unknown ...": <br /> <br />$config['registration_off'] = '1'; <br /> <br />To reenable registration, either change the '1' to '0', or delete that line. <br /> <br />---------------------------- <br /> <br />P.S. This is my 1000th post. <img src="/forum/images/graemlins/cool.gif" alt="" />
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top



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