![]() |
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? |
You can do something like this in the header template.
HTML Code:
<if condition="THIS_SCRIPT == 'showthread' AND $threadinfo['threadid'] == 'X'"> |
Any thread? Or a specific thread?
|
Quote:
Quote:
|
All times are GMT. The time now is 12:49 PM. |
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:
|