View Full Version : Extra information on specific new thread page
hitmanuk2k
01-11-2005, 01:13 PM
I want to add a line of text to a specific new thread page. I want to show it only in forum id 163 and only on the new thread page. i know it will be some sort of if conditional, but i cant work it out.
Tekton
01-11-2005, 01:32 PM
What kind of text? Like just a message on the page somewhere? Or do you mean adding it to the POSTING text?
hitmanuk2k
01-11-2005, 01:37 PM
just a message... like beneath the navbar.... i just want to say "If this thread is not a download, please post it here"
Tekton
01-11-2005, 01:39 PM
Well, if you want something fast and maybe a little sloppy, put this after the require global.php (should work wherever in the file though) in the newthread.php file:
if($_REQUEST['f']==163){$the_message="If this thread is not a download, please post it here";}
Then add $the_message into your newthread template wherever you want it to show up.
Tell me if that doesn't work, because I might have the $_request part wrong~
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.