![]() |
Single Thread conditional?
Is it possible to have a conditional for a single thread?
For example, this banner would run on this one thread, and a second banner would run on every other thread |
Well, if you know the threadid, sure
if condition="$thread[threadid] == XX" |
Although, depending on what template this condition will be in, you may need to use the variable $GLOBALS[threadid] instead of $thread[threadid]
|
It would be in the showthread template
Simply, I want to replace adsense ads on just one particular thread. |
In that template, I'm pretty sure you can just use $threadid.
HTML Code:
<vb:if condition="$threadid == xx"> |
All times are GMT. The time now is 03:31 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|