View Full Version : Change width of "Last Post" on forumdisplay
patt1293
10-18-2010, 04:38 AM
Hey guys, as you can see here, i need to increase the width of the "Last Post" Box on my forumdisplay for my new sub-forums.
Picture:
http://screensnapr.com/u/7hg24a.png
Any idea?
BigJohnny
10-19-2010, 11:14 AM
search around for "last post alignment fix" there is a chunk of code that has no width attributes and needs them set.
patt1293
10-21-2010, 11:33 PM
search around for "last post alignment fix" there is a chunk of code that has no width attributes and needs them set.
EDIT*
Thanks!!
BigJohnny
10-22-2010, 01:02 AM
here, this was corrected by me to include the if statement and allow for correct alignment if the moderator column is on or off. Also because it uses percentages instead of hard coded values it will maintain its ratio no matter what the users resolution.
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr align="center">
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead" width="5%"> </td>
<td class="thead" width="55%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="20%">$vbphrase[last_post]</td>
<td class="thead" width="5%">$vbphrase[threads]</td>
<td class="thead" width="5%">$vbphrase[posts]</td>
<td class="thead" width="10%">$vbphrase[moderator]</td>
<else />
<td class="thead" width="5%"> </td>
<td class="thead" width="60%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="25%">$vbphrase[last_post]</td>
<td class="thead" width="5%">$vbphrase[threads]</td>
<td class="thead" width="5%">$vbphrase[posts]</td>
</if>
</tr>
$forumbits
<tbody>
<tr>
<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong> </strong></div></td>
</tr>
</tbody>
</table>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.