![]() |
ads after first post
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 |
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 |
Thanks alot. GTAce
I know need to know how to centre them and add a small gap inbetween the banners? |
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 :) |
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> |
This will probably achieve what you're looking for:
Code:
<center> |
Hi,
Just tried it out now and it works perfectly. Thanks for taking the time to help me out with my forum:D tony |
All times are GMT. The time now is 10:52 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|