PDA

View Full Version : How To Change The Ordering Of The 'Last Post', 'Threads', And 'Posts' columns



Jose Amaral Rego
Thu 3rd May '07, 7:43am
This styling tutorial was taken from Jake Bunce vBulletin 3.0 Quick Tips and Customizations (http://www.vbulletin.com/forum/showthread.php?t=118876)
No changes to editing.

Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Home Templates ->

FORUMDISPLAY
FORUMHOME

Find this code and swap the different colored lines of code so they are in the order you want:



<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="175">$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>


Then edit templates:

forumhome_forumbit_level1_post
forumhome_forumbit_level2_post

Do the same swap in the same order on this code and remember to keep alternating background colors alt2 - alt1 as seen here asis:



<td class="alt2" nowrap="nowrap">$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]


To remove 'Last Post', 'Threads', And 'Posts' columns edit templates.
Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Home Templates ->

FORUMDISPLAY
FORUMHOME

# to remove 'Last Post' delete the corresponding colour/color
# to remove 'Threads' delete the corresponding colour/color
# to remove 'Posts' delete the corresponding colour/color


<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="175">$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>


Then edit templates:

forumhome_forumbit_level1_post
forumhome_forumbit_level2_post

# to remove 'Last Post' delete the corresponding colour/color
# to remove 'Threads' delete the corresponding colour/color
# to remove 'Posts' delete the corresponding colour/color
Remember to fix alternating background colors alt2 - alt1:



<td class="alt2" nowrap="nowrap">$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]


Swap Forum home

Swap Forum display


Delete Forum home column

Delete Forum display column