The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I would like to make an advertisement code show on my home page only. How do I make an if statement for exp: if it is forumhome then show "some ad code here1" , if its showthread then show" some ad code here1" , if its any other page show "some ad code 2"
|
#2
|
||||
|
||||
![]()
Check the THIS_SCRIPT variable.
|
#3
|
|||
|
|||
![]()
Whew do i find it?
-------------- Ohh, just used phrase search and got some result but no if statements ![]() --------------- Added [DATE]1202132520[/DATE] at [TIME]1202132520[/TIME] --------------- ok i found this: <if condition="THIS_SCRIPT != 'forumdisplay' and THIS_SCRIPT != 'showthread'"> So how do i correctly use the above phrase then right after it paste the code i want and write else another code? |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|