PDA

View Full Version : Removing redirects?


N9ne
08-29-2002, 08:15 PM
They're annoying! Well i'd like to remove the redirect after you post a new thread or reply to a thread or use quick reply, is there a quick way to do this?

g-force2k2
08-29-2002, 08:27 PM
in both newthread.php and newreply.php find:

eval("standardredirect(\"".gettemplate("redirect_postthanks")."\",\"$goto\");");

replace both with the following:

header("Location: $goto");
exit;

regards...

g-force2k2

N9ne
08-29-2002, 09:21 PM
So would this make quick reply like in vB3 where you reply and it just sorta refreshes the page with your reply?

g-force2k2
08-29-2002, 11:43 PM
oh i dunno... i have rarely seen vb3... i looked around at its features for a little time (yes the quick reply is neato can't wait to dig into vb3 code ;)) but i don't think it works the same to my knowledge... regards...

g-force2k2