Quote:
Originally Posted by Mattcch
Thanks for great mod.
Installed ok in my ya forum with vbseo too.
In my case, need put "$vbam_location[name]" to the header template for top header banner display.
|
To get the ads to show on the right side of the header on my forum I had to add two table cells next to the logo cell. The included locations did not put the ad on the right margin. This is in the header template.
This is what I added to get the ads to show on the right side. There is also a spot in the center by I am not using it. ad_location_1 & _2 will show up in the drop downs of the Ad Manager.
WARNING: I am a relative virgin at this but can reverse engineer stuff I see so use my change with caution.
Key:
Existing code shown for reference point.
Code I added
Code:
<tr>
<td align="$stylevar[center]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]" id="header_right_cell">
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />
</if>
</td>
<!-- added by cmmguy -->
<td width="33%">
<p align="center">
$vbam_location[ad_location_1]
</td>
<td width="33%">
<p align="right">
$vbam_location[ad_location_2]
</td>
<!-- /added by cmmguy -->
Note: I do see the other code in there for the right side banner ad but it just kept pushing that ad to the bottom of the header and never to the right side like I though it should.