SnowBot
02-05-2005, 02:34 PM
OK it says for the legacy do
NOTE:
=====
the step which adds the warn sign in the warned posts, is a bit different in the postbit_legacy template. So please do not apply the change shown above. In the postbit_legacy template, please find:
<td class="alt1">
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
</if>
Replace that with:
<td class="alt1">
<TABLE width=100%><TR>
<TD width=90%>
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']">
<img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" />
</if>
<if condition="$post['title']">
<strong>$post[title]</strong>
</if>
</div>
</if>
</td>
<TD width=10% align="$stylevar[right]">
<if condition="THIS_SCRIPT=='showthread' AND ($bbuserinfo[usergroupid]==5 OR $bbuserinfo[usergroupid]==6 OR $bbuserinfo[usergroupid]==7) AND $post[warn_flag]>0">
<A HREF="Warn.php?do=ViewPostWarnings&post=$post[postid]" onclick="window.open('Warn.php?do=ViewPostWarnings&post=$post[postid]','','width=1000, height=500, resizable=yes, scrollbars=yes'); return false;" target="_blank"><img src="images/misc/warn.gif" border=0></a>
</if>
</td>
</tr></table>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
Well i have a custom skin and cant figure out where / what to do here.
This is the part i think its looking for.
<td class="alt2" style="border-left: 1px solid #FFFFFF; border-bottom: 1px solid #89959B;">
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>
<!-- message -->
<div>$post[message]</div>
<!-- / message -->
NOTE:
=====
the step which adds the warn sign in the warned posts, is a bit different in the postbit_legacy template. So please do not apply the change shown above. In the postbit_legacy template, please find:
<td class="alt1">
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
</if>
Replace that with:
<td class="alt1">
<TABLE width=100%><TR>
<TD width=90%>
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']">
<img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" />
</if>
<if condition="$post['title']">
<strong>$post[title]</strong>
</if>
</div>
</if>
</td>
<TD width=10% align="$stylevar[right]">
<if condition="THIS_SCRIPT=='showthread' AND ($bbuserinfo[usergroupid]==5 OR $bbuserinfo[usergroupid]==6 OR $bbuserinfo[usergroupid]==7) AND $post[warn_flag]>0">
<A HREF="Warn.php?do=ViewPostWarnings&post=$post[postid]" onclick="window.open('Warn.php?do=ViewPostWarnings&post=$post[postid]','','width=1000, height=500, resizable=yes, scrollbars=yes'); return false;" target="_blank"><img src="images/misc/warn.gif" border=0></a>
</if>
</td>
</tr></table>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
Well i have a custom skin and cant figure out where / what to do here.
This is the part i think its looking for.
<td class="alt2" style="border-left: 1px solid #FFFFFF; border-bottom: 1px solid #89959B;">
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>
<!-- message -->
<div>$post[message]</div>
<!-- / message -->