PDA

View Full Version : Forum Home Enhancements - Move Lastpost after threadcount and postcount


Madlike
10 Aug 2008, 20:49
This small template modification moves "lastpostby" column, after "threadcount" & "postcount" column.

Find in 'FORUMHOME' teplate:

<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>

Replace it with this code:

<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<td class="thead">$vbphrase[last_post]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>

Save. Now Open your 'forumhome_forumbit_level2_post' template and find this code:

<td class="alt2">$forum[lastpostinfo]</td>
<td class="alt1">$forum[threadcount]</td>
<td class="alt2">$forum[replycount]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>

Replace it with this code:

<td class="alt2">$forum[threadcount]</td>
<td class="alt1">$forum[replycount]</td>
<td class="alt2">$forum[lastpostinfo]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>

Enjoy ! :p

nirvana43
11 Aug 2008, 14:10
Installed! Thanks man!

Stromba
11 Aug 2008, 16:00
Thanks verry nice

Madlike
11 Aug 2008, 20:37
Installed! Thanks man!

Status: Not Downloaded yet :o

Thanks verry nice

You're weLcome :rolleyes:

safakuygur
12 Aug 2008, 04:10
very nice thanks

teşekkürler arkadaşım

Madlike
16 Aug 2008, 12:53
very nice thanks

teşekkürler arkadaşım

Like it ? Then cLick "Mark as Installed"

mesdar
12 Dec 2008, 06:41
thanks

installed