kenfuzed
06-12-2007, 11:00 AM
I just signed up for AuctionAds and think its a great idea! I thought I'd share an ad placement technique I've been using for a while with other ads. This is a template edit which places your AuctionAd as the first thread in your Forumdisplay. I'm sure others have different methods but just thought this might be helpful for anyone wanting to try this. You can control which forum it displays in by adding or changing the forum number. In the below example I only have it displaying in forums 1, 2, 3, 4. I personally like this since it places the AuctionAds between any stickies and the first post.
You can see how this looks at:
http://bike-talk.com/forum/motorcycle-buy-sell-trade-wanted/
In Forumdisplay find:
<if condition="$show['threads']">
<!-- show threads -->
<tbody id="threadbits_forum_$foruminfo[forumid]">
<if condition="$show['stickies']">
$threadbits_sticky
</if>
and after add the following:
<!-- Show AuctionAds Before First Thread -->
<if condition="in_array($forumid, array('1', '2', '3', '4'))">
<tr>
<td align="center" class="alt1">-</td>
<td align="center" class="alt2">-</td>
<td class="alt1">
<div>
<script type="text/javascript"><!--
auctionads_ad_client = "feaafb5decc626c83c89";
auctionads_ad_campaign = "";
auctionads_ad_width = "468";
auctionads_ad_height = "60";
auctionads_ad_kw = "harley, motorcycle";
auctionads_color_border = "E5E5E5";
auctionads_color_bg = "E5E5E5";
auctionads_color_heading = "8B0000";
auctionads_color_text = "333333";
auctionads_color_link = "8B0000";
--></script>
<script type="text/javascript" src="http://ads.auctionads.com/pagead/show_ads.js">
</script>
</div>
</td>
<td class="alt2 smallfont" align="center">Sponsored Links</td>
<td class="alt1" align="center">-</td>
<td class="alt2" align="center">-</td>
<if condition="$show['inlinemod']"><td class="alt1" align="center">-</td></if>
</tr>
</if>
<!-- END -->
My apologies if this doesn't work for you exactly, but hopefully it gives you an idea of how to integrate this into the flow of your forum threads. I'm not a coder so you may need to tweak this to your liking. Of course you'll need to edit your auction code and colors, this is just my own example.
You can see how this looks at:
http://bike-talk.com/forum/motorcycle-buy-sell-trade-wanted/
In Forumdisplay find:
<if condition="$show['threads']">
<!-- show threads -->
<tbody id="threadbits_forum_$foruminfo[forumid]">
<if condition="$show['stickies']">
$threadbits_sticky
</if>
and after add the following:
<!-- Show AuctionAds Before First Thread -->
<if condition="in_array($forumid, array('1', '2', '3', '4'))">
<tr>
<td align="center" class="alt1">-</td>
<td align="center" class="alt2">-</td>
<td class="alt1">
<div>
<script type="text/javascript"><!--
auctionads_ad_client = "feaafb5decc626c83c89";
auctionads_ad_campaign = "";
auctionads_ad_width = "468";
auctionads_ad_height = "60";
auctionads_ad_kw = "harley, motorcycle";
auctionads_color_border = "E5E5E5";
auctionads_color_bg = "E5E5E5";
auctionads_color_heading = "8B0000";
auctionads_color_text = "333333";
auctionads_color_link = "8B0000";
--></script>
<script type="text/javascript" src="http://ads.auctionads.com/pagead/show_ads.js">
</script>
</div>
</td>
<td class="alt2 smallfont" align="center">Sponsored Links</td>
<td class="alt1" align="center">-</td>
<td class="alt2" align="center">-</td>
<if condition="$show['inlinemod']"><td class="alt1" align="center">-</td></if>
</tr>
</if>
<!-- END -->
My apologies if this doesn't work for you exactly, but hopefully it gives you an idea of how to integrate this into the flow of your forum threads. I'm not a coder so you may need to tweak this to your liking. Of course you'll need to edit your auction code and colors, this is just my own example.

