Quote:
Originally Posted by calgdsm
Burntire,
when i put in the full path it made all the banners go to the same url, any thoughts?
|
Below is the code I use in the bannerads template.
Just so we are clear this fixes the problem of the banner ads not redirecting when clicked on if you are using CMPS to create your sites home page.
Code:
<if condition="$vboptions['bannersys_mode']">
<if condition="$bbuserinfo['userid'] == '0'">
<br />
<table class="tborder" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td><a href="http://www.YOURSITE.com/forums/banner.php?$session[sessionurl]do=redirect&bannerid=$ads[bannerid]" <if condition="$vboptions['bannersys_popup']">target='_blank'</if>><img src="$ads[imgurl]" width="$ads[bwidth]" height="$ads[bheight]" border="0"></a></td>
</td>
</table>
<br />
<else />
<if condition="$vboptions['bannersys_ads2all'] AND $bbuserinfo['userid']">
<br />
<table class="tborder" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td><a href="http://www.YOURSITE.com/forums/banner.php?$session[sessionurl]do=redirect&bannerid=$ads[bannerid]" <if condition="$vboptions[bannersys_popup]">target="_blank"</if>"><img src="$ads[imgurl]" width="$ads[bwidth]" height="$ads[bheight]" border="0"></a></td>
</td>
</table>
</if>
</if>
</if>