Back to vBulletin 3.8 Template Modifications

Add Last Poster to Social Groups list
Mod Version: 1.00, by Lynne

vB Version: 3.8.0 Rating: (5 votes - 5.00 average) Installs: 52
Released: 05 Feb 2009 Last Update: Never Downloads: 8
Not Supported Template Edits Re-usable Code Translations  

For some reason the lastposter is not shown on the Social Groups list. To add it, open the socialgroups_grouplist_bit template and find these lines:

HTML Code:
            $group[lastpostdate]
            <if condition="!$show['detailedtime']">
                <br /><span class="time">$group[lastposttime]</span>
            </if>
ADD right underneath:

HTML Code:
            <br />by <a href="member.php?$session[sessionurl]u=$group[lastposterid]">$group[lastposter]</a>
That's it!

edit: There is a cool idea from Mark.B in post 7

Spoiler (click to open)


Add this to the end of Lynne's code to get a "Go To Last Post" link too...
Code:
 <a title="$vbphrase[go_to_last_post]" href="group.php?$session[sessionurl]do=discuss&gmid=$group[lastgmid]#gmessage$group[lastgmid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" border="0" /></a>
Note there is a space at the very start.

Close
:
Quote by Mark.B
Add this to the end of Lynne's code to get a "Go To Last Post" link too...
Code:
 <a title="$vbphrase[go_to_last_post]" href="group.php?$session[sessionurl]do=discuss&gmid=$group[lastgmid]#gmessage$group[lastgmid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" border="0" /></a>
Note there is a space at the very start.

Download

No files for download.

Screenshots

Click image for larger version
Name:	groups.png
Views:	627
Size:	68.9 KB
ID:	94175  


vblts.ru supports vBulletin®, 2022-2024