- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 53 guest(s) and 1 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Redirecting Forum Registration to Your_Account Registration [ ]
Author
Message
LadyCherry
Lieutenant
Joined: Aug 12, 2003
Posts: 183
Posted:
Tue Nov 28, 2006 11:11 am
Hello there,
I have some spammers that are registering nicknames through the forums.
I wanted to know what I could edit so that if someone went to the forum registration link it would take you to the Your_Account Registration instead.
If anyone has any ideas I would be very greatful.
Thanks
-Lady Cherry
Evaders99
Site Admin
Joined: Aug 17, 2003
Posts: 12364
Posted:
Tue Nov 28, 2006 8:44 pm
Try this
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();
}
_________________ Helping those that help themselves
Read FIRST or DIE!
"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
LadyCherry
Lieutenant
Joined: Aug 12, 2003
Posts: 183
Posted:
Wed Nov 29, 2006 8:28 am
This is Incredible!!
Perfect!
Thank you so very very much!
-Lady Cherry
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