Posted: Thu Oct 12, 2006 12:46 pm Post subject: Trick: Disabling Forums Registration
If you want people to use the Your_Account module rather than the forums to create new accounts, here's a simple code fix
in includes/usercp_register.php
Code:
FIND
if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
exit;
}
AFTER, ADD
if ($mode == "register") {
Header("Location: modules.php?name=Your_Account&op=new_user");
die();
}
_________________ Evaders99 Webmaster Administrator Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum