vBulletin

Thank you for visiting. This is our website archive. Please visit our main website by clicking the banner above.
vBulletin FAQ is dedicated to helping the forum owner build, manage and profit from his vBulletin Forum
vBulletin Web Hosting - Free skins and styles for your vBulletin - Search Engine Optimization




Adding AuctionAds inline with threads

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.

Joeychgo
06-12-2007, 11:03 AM
Great Job! Thank You!!!


vBulletin

seo book

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum