vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Edit header.....include AdSense (https://vborg.vbsupport.ru/showthread.php?t=181385)

amagab 06-03-2008 12:10 PM

Edit header.....include AdSense
 
I want to edit my header and include a Google AdSense banner on the right side of the logo.

Currently, the start of my header code (from logo to beginning of nav menu) looks like this:

-----------------------------------------

<!-- logo -->
<a name="top"></a>
<!-- /logo -->

<table width="800px" border="0" cellpadding="0" cellspacing="0" align="center" style="background: #d0dfeb; border-left:1px solid white; border-right:1px solid white;">
<tr>
<td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">

<tr>
<td align="left" width="100%" valign="middle"><img src="http://www.mysite.com/boards/images/xx/misc/tlogo.jpg">
<table width="100%" border="0" cellpadding="2" cellspacing="0" background="http://mysite.com/boards/images/xx/misc/cattitle_bg2.gif">
<tr>
<td height="39" align="center" valign="middle" nowrap="nowrap"><span class="mainmenu">&nbsp;
<a href="http://www.mysite.com/" class="mainmenu">Home</a>&nbsp .........

--------------------------

Can someone PLEASE tell me where and what to insert so I can place an AdSense banner.

Many thanks!

SEOvB 06-03-2008 12:56 PM

maybe embed more tables in there?

<td align="left" width="100%" valign="middle"><img src="http://www.mysite.com/boards/images/xx/misc/tlogo.jpg">

add

</td>
<td align="right">Adsense code

amagab 06-03-2008 01:20 PM

Thanks for your response. Unfortunately, that didn't work. Although my header stayed the same it for some reason screwed up the width of my forum.....it looked like it made it 100% fluid.

Guest210212002 06-03-2008 10:15 PM

Are you looking for something like this?

http://www.sevenstring.org/chris/ssads.jpg

See my sig for the actual code, but if that's what you're looking for I can post up how I do it. The short version is that basically my entire header is it's own completely separate table.


All times are GMT. The time now is 06:53 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.01461 seconds
  • Memory Usage 1,713KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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