Back to vBulletin 4.x Template Modifications

Last Post Enhancement to add forum name with link
Mod Version: 1.00, by mach_y

vB Version: 4.0.x Rating: (5 votes - 4.80 average) Installs: 32
Released: 06 Aug 2010 Last Update: Never Downloads: 0
Not Supported Template Edits  

This mod will change the last post message to fit on two lines instead of 3, and will add the forum name as a link after the name of the thread.

AdminCP -> Styles and Templates -> Style Manager -> Edit Templates (for the style you are editing) -> Forum Home Templates -> forumhome_lastpostby

Replace the entire contents with the following:

Code:
<vb:if condition="$show['lastpostinfo']"> 
    <p class="lastposttitle"> 
    <vb:if condition="$show['icon']"><img src="{vb:raw icon.iconpath}" alt="{vb:raw icon.title}" border="0" /></vb:if>
    <vb:if condition="$lastpostinfo['prefix']">{vb:raw lastpostinfo.prefix}</vb:if>
    <a href="{vb:link thread, {vb:raw threadinfo}, {vb:raw pageinfo_newpost}}#post{vb:raw lastpostinfo.lastpostid}" class="threadtitle" title="{vb:rawphrase go_first_unread_in_thread_x, {vb:raw lastpostinfo.lastthread}}">{vb:raw lastpostinfo.trimthread}</a>
    <a href="{vb:link thread, {vb:raw threadinfo}, {vb:raw pageinfo_newpost}}#post{vb:raw lastpostinfo.lastpostid}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" /></a>
    in <a href="{vb:link forum, {vb:raw lastpostinfo}}">{vb:raw lastpostinfo.title}</a>
    </p> 
    <div class="lastpostby"> 
    <vb:if condition="$lastpostinfo['lastposterid']"> 
        {vb:rawphrase by_x_memberaction, {vb:raw memberaction_dropdown}}
        {vb:raw lastpostinfo.lastpostdate} <vb:if condition="!$show['detailedtime']"><span class="time">{vb:raw lastpostinfo.lastposttime}</span></vb:if>
	<vb:else /> 
    	{vb:rawphrase by_x_guest, {vb:raw lastpostinfo.lastposter}} {vb:raw lastpostinfo.lastpostdate} {vb:raw lastpostinfo.lastposttime}
	</vb:if> 
    </div> 
</vb:if>
Save.

Show Your Support
  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification -> Click to Nominate for Modification of the Month.

Screenshot:

Download

No files for download.

Screenshots

Click image for larger version
Name:	modified_lastpost.jpg
Views:	807
Size:	37.9 KB
ID:	120532  

Similar Mods

vBChat 2.3 - Who Is Online In the Chat (Add-On/Enhancement) vBulletin 3.0 Full Releases

vblts.ru supports vBulletin®, 2022-2024