The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi,
I am new and need some help. I would like to display two banner adds after the first post of every page like this http://forums.digitalpoint.com/showthread.php?t=1124794 I am new to VB, so if any one knows I appreciate your help. Thanks |
|
#2
|
|||
|
|||
|
Log into your AdminCP and go to Styles & Templates -> Style Manager -> Your Skin -> Edit Templates -> Ad Location Templates
There are multiple templates there where you can easily add ads to your forums, including in the first post. I don't know off-hand which one this would be, but I think it's ad_showthread_firstpost |
|
#3
|
|||
|
|||
|
Thanks alot. GTAce
I know need to know how to centre them and add a small gap inbetween the banners? |
|
#4
|
|||
|
|||
|
You can center them by putting <center> before the ads and </center> after them
For spacing: If the ads are side-by-side, put in between them. If the ads are on top of each other, put <br /> between them. You can put however many of those or <br /> in between the ads. More = more spacing
|
|
#5
|
|||
|
|||
|
Quote:
<center> <script type="text/javascript"><!-- google_ad_client = "pub-"; /* 728x90, created 3/12/09 */ google_ad_slot = "2678264998"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <br /> <center> <script type="text/javascript"><!-- google_ad_client = "pub-"; /* 728x90, created 3/12/09 */ google_ad_slot = "2678264998"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> |
|
#6
|
|||
|
|||
|
This will probably achieve what you're looking for:
Code:
<center> <script type="text/javascript"><!-- google_ad_client = "pub-"; /* 728x90, created 3/12/09 */ google_ad_slot = "2678264998"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <br /> <br /> <script type="text/javascript"><!-- google_ad_client = "pub-"; /* 728x90, created 3/12/09 */ google_ad_slot = "2678264998"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </center> |
|
#7
|
|||
|
|||
|
Hi,
Just tried it out now and it works perfectly. Thanks for taking the time to help me out with my forum ![]() tony |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|