
01-08-2007, 08:07 AM
|
|
|
Join Date: Jan 2007
Location: Tucson, Arizona
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
V. 3.6.4
My install did nothing. I tried the edit below, and it did not work still. So I deleted the edit.
Quote:
Originally Posted by Reminder
if pluin not working
temporary solution
Go to your admin cp, then:
Styles & Templates -> Style Manager -> Current Template
[Edit Templates] -> Select 'postbit->postbit_legacy'
Find
Code:
<!-- / post #$post[postid] -->
After
Code:
<if condition="$vboptions[Adsense_Banner_setting_onoff]">
<if condition="$post[postcount] % $vboptions[maxposts] == 1">
$spacer_open
<div style="padding:0px 0px $stylevar[cellpadding]px 0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<if condition="$vboptions[Adsense_Banner_setting_caption_onoff]">
<tr>
<td class="thead" align="left">$vboptions[Adsense_Banner_setting_caption]</td>
</tr>
</if>
<tr>
<td class="alt1" align="center">
$vboptions[Adsense_Banner_setting_text]
</if>
</td>
</tr>
</table>
</div>
$spacer_close
</if>
</if>
|
I then tried this edit below, and it seems to be working perfectly. Thanks!
Quote:
Originally Posted by TheRed
Correct code, deleted an unneeded </if> that was causing a few table glitches
Code:
<if condition="$vboptions[Adsense_Banner_setting_onoff]">
<if condition="$post[postcount] % $vboptions[maxposts] == 1">
$spacer_open
<div style="padding:0px 0px $stylevar[cellpadding]px 0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<if condition="$vboptions[Adsense_Banner_setting_caption_onoff]">
<tr>
<td class="thead" align="left">$vboptions[Adsense_Banner_setting_caption]</td>
</tr>
</if>
<tr>
<td class="alt1" align="center">
$vboptions[Adsense_Banner_setting_text]
</td>
</tr>
</table>
</div>
$spacer_close
</if>
</if>
|
|