The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
hey guys, i searched and searched and cannot get my adsense to go right above the first forum topic and right under the navbar. here is an example:
http://euroadrenaline.com/forum/ notice theres like some sort of module called advertisement and below that is the forum topics. how do i place that there? anyone have any idea? THANKS IN ADVANCE! |
|
#2
|
||||
|
||||
|
edit the navbar template and add it near the bottom of the page.
|
|
#3
|
|||
|
|||
|
doesnt that mean it will apply to my homepage im using vbadvanced and i have the layout with left modules the news in the middle followed by the right modules i dont want it to appear on that page.
|
|
#4
|
||||
|
||||
|
yes, it will be displayed on every page thats calls $navbar, you could put under $navbar in the templates you wish it to be shown though
![]() EDIT: or use an if statement in the navbar so it shown on all pages but the vba homepage, cant remember the code for this though |
|
#5
|
||||
|
||||
|
yeh, you could use an if statement...
Code:
<if condition="!( (THIS_SCRIPT == 'adv_index') )"> //ad code </if> |
|
#6
|
||||
|
||||
|
Little much..
<if condition="THIS_SCRIPT != adv_index"> </if> |
|
#7
|
|||
|
|||
|
Zach, what if I just want to have the google ads appear when I'm outside of the forumdisplay template? Thanks in advance!
Jonathan |
|
#8
|
||||
|
||||
|
Just not the forumdisplay page?
<if condition="THIS_SCRIPT != forumdisplay"> |
|
#9
|
||||
|
||||
|
<a href="https://vborg.vbsupport.ru/showthread.php?t=91768" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=91768</a>
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|