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.