vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Putting Banners(adsense) on forumhome (https://vborg.vbsupport.ru/showthread.php?t=131250)

kronikdj 11-11-2006 03:10 AM

Putting Banners(adsense) on forumhome
 
Hey guys, need a bit of help yet again ;)

I'm trying to put an adsense banner rught under the navbar. Took the code adsense provided, and stuck it at the end of the navbar template, nothings showing up. If I put the code at the end of the header template, it shows right under my logo, except left justified. I just got vB about 2 months ago, and I have very little coding experience. Most of what i'm doing is trial and error, but i've run out of ideas. Thanks in advance

Smoothie 11-11-2006 03:16 AM

Here's a link for ya;
http://www.vbulletin.com/forum/showthread.php?t=198827

kronikdj 11-11-2006 03:18 AM

thx kindly! and damn fast too.. :alien:

edit: I'm actually not sure thats what i'm looking for. I dont want to create a new box, just display a leaderboard 728x90 banner

kronikdj 11-12-2006 10:19 AM

anyone? Maybe a link to a tutorial about how to integrate banner ads into vb forumhome?

DPSR 11-12-2006 11:09 AM

For forum home--

In template 'FORUMHOME'
after
$navbar

ADD-
<br /><div align="center">YOU ADSENSE CODE</div><br />

OR to show banners on all pages of your forum---

In template 'FORUMDISPLAY'

after
$navbar

ADD-
<br /><div align="center">YOU ADSENSE CODE</div><br />

(<br /> is optional)

Need more help? post it here or PM me

Enjoy :)

localhost 11-12-2006 12:25 PM

You may have googles ad's blocked in the host file or some other adblocking program.

kronikdj 11-13-2006 03:16 AM

awesome thanks DPSR, works like a charm :D

to display them under the navbar in a thread, do I follow the same instructions with the threadbit template?

kronikdj 11-19-2006 02:25 PM

up!

gizmo01 02-06-2007 04:24 PM

How about if I wanted to place my adsense code only at the beginning of a certain forum category in the forum list?

Kind of like a sponsership banner for that Parent Forum...

I've looked everywhere and with my limited understading of PHP, I'm guessing that it involves some fancy programming in the FORUMHOME template.

cameronbailey 02-14-2007 11:10 AM

Quote:

Originally Posted by kronikdj (Post 1116004)
to display them under the navbar in a thread, do I follow the same instructions with the threadbit template?

No. Use the SHOWTHREAD template.


All times are GMT. The time now is 08: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
  • Page Generation 0.01180 seconds
  • Memory Usage 1,726KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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