Advert in right header?

Gantz

New Member
Hi, can someone show me the code to add a google ad? also which template to add the code so my advert shows on my forums header to the right?

see the image for better view.
 
if your using vbulletins default header just simply replace your logo in the header template with this code

PHP:
<!-- logo -->
<a name="top"></a>
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">

<tr>
	<td align="left"><a href="index.php"><img src="images/misc/vbulletin3_logo_white.gif" border="0" alt="Your Forum Name" /></a></td>
	<td align="right">
		
		<div>
			
code here

			
		</div>

	</td>
</tr>
</table>
<!-- /logo -->
 
Since the release of 3.7.x vBulletin have added persific templates for ad placements

ad_footer_end
ad_footer_start
ad_forumdisplay_afterthreads
ad_forumdisplay_afterforums
ad_header_logo
ad_header_end
ad_navbar_below
ad_showthread_beforeqr
ad_showthread_firstpost
ad_showthread_firstpost_sig
ad_showthread_firstpost_start

the one you want is:

ad_header_logo

Just add the google adsense code to it and save.
 
Back
Top