I have a problem. I installed this hack.. which I love btw.. however I'm getting a display error on in the forums area.. when I staffer/user deletes a thread the deleted information is showing up all funny. (see attachement)
Anyone know how to fix this? or where to look? I know it's got something to do with table span.. etc.. I think I just need to add a cell to account for the category cell and it should be fine..
Aceman
UPDATE: I have fixed the visual problem. This is how I did it.
EDIT TEMPLATE: threadbit_deleted
Code:
<tr>
<td class="alt1"><img src="$stylevar[imgdir_statusicon]/thread$thread[statusicon].gif" alt="" /></td>
<if condition="$show['threadicons']">
<td class="alt2"><if condition="$show['threadicon']"><img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /><else /> </if></td>
</if>
<!-- Accounting for Category Hack -->
<if condition="$show['threadcategories'] == 2">
<td class="alt1Active" align="$categoryalign" nowrap="nowrap"><if condition="$thread['category']">$categorymarkup[0]$thread[category]$categorymarkup[1]</if></td>
</if>
<!-- Accounting for Category Hack END -->
<td class="alt1">
<div>
<if condition="$show['viewthread']"><span style="float:$stylevar[right]" class="smallfont"><a href="showthread.php?$session[sessionurl]t=$thread[threadid]">$vbphrase[view]</a></span></if>
$thread[typeprefix]
<if condition="$show['threadtitle']"><em>$thread[threadtitle]</em></if>
</div>
<div class="smallfont">
<if condition="$show['managethread']"><span style="float:$stylevar[right]"><a href="postings.php?$session[sessionurl]do=editthread&t=$thread[threadid]">$vbphrase[manage]</a></span></if>
<if condition="$show['guestuser']">
$thread[postusername]
<else />
<span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]')">$thread[postusername]</span>
</if>
</div>
</td>
<td class="alt2" colspan="3" align="center">
<div class="smallfont"><phrase 1="member.php?$session[sessionurl]u=$thread[del_userid]" 2="$thread[del_username]">$vbphrase[thread_deleted_by_x]</phrase></div>
<if condition="$show['deletereason']">
<div class="smallfont">$vbphrase[reason]: <em>$thread[del_reason]</em></div>
</if>
</td>
</tr>
Adding this to the template fixed my problem.