Back to vBulletin 3.7 Template Modifications

Last Post Alignment Fix in Forum Home
Mod Version: 1.00, by Super Jinni

This modification is in the archives.
vB Version: 3.7.0 Rating: (4 votes - 5.00 average) Installs: 73
Released: 29 May 2008 Last Update: Never Downloads: 182
Not Supported  

what is this for?

some times when we use another style beside the default style of vbulletin, th last post in the forum home be not aligned in each category and be different in width form category to another depending on the width of the title of the last post... (screenshoots below explain more).

and this simple mod is to fix that and make the width of last post table the same in every category. whatever the title width is..

1- go to you "FORUMHOME" template
2- look for the the following code:

HTML Code:
<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>
3- if it there remove it and save the template. if it not there just let the template as it is without any changes.

4- go to "forumhome_forumbit_level1_nopost" template

5- find the following code:

HTML Code:
<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>
6- if it there, replace it with the following:

HTML Code:
<tr align="center"> 
  	<td class="thead" width="5%">&nbsp;</td> 
  	<td class="thead" width="50%" align="$stylevar[left]">$vbphrase[forum]</td> 
  	<td class="thead" width="25%">$vbphrase[last_post]</td> 
  	<td class="thead" width="10%">$vbphrase[threads]</td> 
  	<td class="thead" width="10%">$vbphrase[posts]</td> 
  	<if condition="$vboptions['showmoderatorcolumn']"> 
   	<td class="thead" width="0%">$vbphrase[moderator]</td> 
  </if> 
</tr>
and save.

if it not there just add it exactly after the following code:

Code:
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
then save and it's done.

if you like this one and find it useful, please mark it as Installed

A.M.

Download

This modification is archived, downloads are still allowed.

File Type: %1$s last post align fix.zip (662 Bytes, 202 downloads)

Screenshots

Click image for larger version
Name:	Untitled1r.jpg
Views:	1373
Size:	32.5 KB
ID:	81460   Click image for larger version
Name:	Untitled2.jpg
Views:	1361
Size:	34.3 KB
ID:	81461  

Similar Mods

Forum Home Enhancements CES Last Post on Forum Home (No Query) vBulletin 3.6 Add-ons
Forum Home Alignment vBulletin 3.0 Template Modifications

vblts.ru supports vBulletin®, 2022-2024