khalled
02-28-2010, 10:17 PM
i want to add Google adsense to appear as threads in formdisplay page i was doing that in vb3.8 by using the following procedure but it didn't work after upgrading to vb4.0.2 suite
HTML Code:
Open your FORUMDISPLAY template: vBulletin AdminCP > Styles & Templates > Edit Templates > Forum Display Templates > FORUMDISPLAY
(First thread)
Find:
Quote:
<if condition="$show['threads']">
Add below:
Quote:
<tr>
<td align="center" class="alt1">-</td>
<td align="center" class="alt2">-</td>
<td class="alt1">
<div>
Google adsense code
</td>
<td class="alt2 smallfont" align="center">Sponsored Links</td>
<td class="alt1" align="center">00</td>
<td class="alt2" align="center">00</td>
<if condition="$show['inlinemod']"><td class="alt1" align="center">-</td></if>
</tr>
also i will thankful if you guide how to add it after stick threads and as end threads
HTML Code:
Open your FORUMDISPLAY template: vBulletin AdminCP > Styles & Templates > Edit Templates > Forum Display Templates > FORUMDISPLAY
(First thread)
Find:
Quote:
<if condition="$show['threads']">
Add below:
Quote:
<tr>
<td align="center" class="alt1">-</td>
<td align="center" class="alt2">-</td>
<td class="alt1">
<div>
Google adsense code
</td>
<td class="alt2 smallfont" align="center">Sponsored Links</td>
<td class="alt1" align="center">00</td>
<td class="alt2" align="center">00</td>
<if condition="$show['inlinemod']"><td class="alt1" align="center">-</td></if>
</tr>
also i will thankful if you guide how to add it after stick threads and as end threads