View Full Version : Conditional for if user is viewing thread list?
moleculo
12-08-2008, 07:19 PM
Is there a conditional for if the user is viewing the thread list? I'm tryin to use the ad_navbar_below template, but I only want to it display within the threadlist (and for certain forums, but I already know how to do that).
Thx in advance
SEOvB
12-08-2008, 07:24 PM
<if condition="THIS_SCRIPT == forumdisplay">
is that the one your looking for?
moleculo
12-08-2008, 07:44 PM
That's the one!
Thanks
--------------- Added 1228774028 at 1228774028 ---------------
so then would
<if condition="THIS_SCRIPT == index">
be the main forum list conditional?
SEOvB
12-08-2008, 08:49 PM
yes,
the showthread is THIS_SCRIPT == showthread
etc etc etc
Lynne
12-08-2008, 09:02 PM
There is a line like this at the top of all the vb threads to tell you the name of THIS_SCRIPT:
define('THIS_SCRIPT', 'showthread');
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.