Last Post Enhancement to add forum name with link
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> Show Your Support
Screenshot: Download No files for download. Screenshots |
Similar Mods
vBChat 2.3 - Who Is Online In the Chat (Add-On/Enhancement) | vBulletin 3.0 Full Releases |