The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
if currentpage=thread ?
I want to make a header advert show only when users are viewing a thread.
Is there a property that says what page they are viewing I can use in an if statement? |
#2
|
|||
|
|||
You can do something like this in the header template.
HTML Code:
<if condition="THIS_SCRIPT == 'showthread' AND $threadinfo['threadid'] == 'X'"> // your code here </if> |
#3
|
||||
|
||||
Any thread? Or a specific thread?
|
#4
|
|||
|
|||
Quote:
I meant any thread but this ^ is even more useful |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|