View Full Version : Getting the forumjump to work inside newthread & newreply
Gutspiller
03-21-2003, 05:59 AM
I want the forumjump call to work inside of the new thread. Can somebody tell me how to get it to work? I put it in there and it wont bring up the forumjump at all.
Please help.
FlyingDutchman
03-21-2003, 12:59 PM
in newreply.php, find (just at the end that is :)):
eval("dooutput(\"".gettemplate("newreply")."\");");
just ABOVE that add:
$curforumid = $threadinfo['forumid'];
makeforumjump();
in newthread.php, find (just at the end that is :)):
eval("dooutput(\"".gettemplate("newthread")."\");");
just ABOVE that add:
$curforumid = $forumid;
makeforumjump();
now you can place $forumjump anywhere in the newthread and newreply templates, and the forumjump will show up there (default selection will be the forum where the thread resides in (/w newreply) or the forum where you are going to create a new thread in (/w newthread))
Gutspiller
03-21-2003, 01:15 PM
Sweet! Many thanks!!!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.