PDA

View Full Version : [mod request] redirect back to forum home after post!


msimonds
06-25-2004, 12:49 PM
can someone help me alter the code to change the re-direct back from the thread that a member is in, to change it to, go to the forums home page or back to the forum that the person is posting in!!

thanks in advance!!!

Andreas
06-26-2004, 08:19 PM
In newreply.php

FIND

$url = "showthread.php?$session[sessionurl]p=$newpost[postid]#post$newpost[postid]";


REPLACE that with

$url = "forumdisplay.php?$session[sessionurl]f=$foruminfo[forumid]";


To go to the forum or


$url = "$vboptions[forumhome].php?$session[sessionurl]";


to go to forum home.

msimonds
06-27-2004, 12:29 AM
Thanks so much Sir, I really appreciate it