View Full Version : put adsense above your forum but under navbar
puroeuro
06-04-2006, 05:06 AM
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!
Zachery
06-04-2006, 08:55 AM
edit the navbar template and add it near the bottom of the page.
puroeuro
06-04-2006, 03:12 PM
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.
Breaker
06-05-2006, 06:04 PM
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 :D
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
Iain M
06-05-2006, 06:57 PM
yeh, you could use an if statement...
<if condition="!(
(THIS_SCRIPT == 'adv_index')
)">
//ad code
</if>
this is untested
Zachery
06-05-2006, 07:15 PM
Little much..
<if condition="THIS_SCRIPT != adv_index">
</if>
Jonathan Kramer
06-05-2006, 11:07 PM
Zach, what if I just want to have the google ads appear when I'm outside of the forumdisplay template? Thanks in advance!
Jonathan
Zachery
06-06-2006, 04:21 AM
Just not the forumdisplay page?
<if condition="THIS_SCRIPT != forumdisplay">
Dream
06-06-2006, 09:39 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=91768" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=91768</a>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.