vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   put adsense above your forum but under navbar (https://vborg.vbsupport.ru/showthread.php?t=117593)

puroeuro 06-04-2006 05:06 AM

put adsense above your forum but under navbar
 
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...

Code:

<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>


All times are GMT. The time now is 02:16 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00949 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete