The Arcive of vBulletin Modifications Site. |
|
Last Post Enhancement to add forum name with link Details »»
|
|||||||||||||||||||||||||||||
|
Last Post Enhancement to add forum name with link
Developer Last Online: Sep 2013
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: Screenshots
Show Your Support
|
|||||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Nice small modification that does an absolutely fantastic job. Well done rated and marked installed.
|
|
#3
|
||||
|
||||
|
thanxx man good work
installed |
|
#4
|
|||
|
|||
|
Fantastic and looks way way better ....top top work mate ..installed and rates 5
|
|
#5
|
|||
|
|||
|
Works great with a sub-forum manager :up: Just need to edit sub's template instead.
|
|
#6
|
|||
|
|||
|
thanks 4 good work
|
|
#7
|
||||
|
||||
|
installed in 4.0.7
5 stars thanxxx |
|
#8
|
|||
|
|||
|
Installed v4.06
Working great !! Thanks. |
|
#9
|
|||
|
|||
|
How exactly is this different from:
https://vborg.vbsupport.ru/showthread.php?t=231919 ? |
|
#10
|
|||
|
|||
|
Quote:
Nice work, installed. |
![]() |
|
|