View Full Version : Request for a possible new hack
Roody
12-02-2002, 01:50 AM
I have no idea if this has already been done, or has been suggested but.. I am looking for a hack that will automatically take new members to our boards to our "Rules" board right after they activate their account, and before they start surfing the rest of the boards.
Is this already a hack, and if not is there someone who could help me out with this?
Thanks :)
Logician
12-02-2002, 09:22 AM
let's see if this works:
edit register.php, find:
eval("standarderror(\"".gettemplate("error_activatedthanks")."\");");
Replace it as:
$url="forumdisplay.php?s=$session[sessionhash]&forumid=XX";
eval("standardredirect(\"".gettemplate("error_activatedthanks")."\",\"\$url\");");
Replace XX with your forumid..
Or if you want to redirect to a thread that line must be:
$url="showthread.php?s=$session[sessionhash]&threadid=XX";
Roody
12-02-2002, 01:20 PM
ok thanks. ill give that a whirl here before long, and let ya know. thanks again :)
Roody
12-09-2002, 08:58 PM
Originally posted by Logician
let's see if this works:
edit register.php, find:
eval("standarderror(\"".gettemplate("error_activatedthanks")."\");");
Replace it as:
$url="forumdisplay.php?s=$session[sessionhash]&forumid=XX";
eval("standardredirect(\"".gettemplate("error_activatedthanks")."\",\"\$url\");");
Replace XX with your forumid..
Or if you want to redirect to a thread that line must be:
$url="showthread.php?s=$session[sessionhash]&threadid=XX";
I installed this on my test server, and it didnt take me to a thread or a particular forum. Any other ideas?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.