![]() |
Add Last Poster to Social Groups list
1 Attachment(s)
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] HTML Code:
<br />by <a href="member.php?$session[sessionurl]u=$group[lastposterid]">$group[lastposter]</a> edit: There is a cool idea from Mark.B in post 7: Quote:
|
Thanks Lynne, a Great 1 minute mod :D
|
Did you do something else too because my group listings does not look like your screenshot at all even without the "last poster" bit.
|
Maybe they should have put you in charge of the Social Group display, Lynne. Thank you and installed.
|
Quote:
|
/me installs Very Nice
|
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> |
Cool idea Mark, thanks!
|
Quote:
|
Quote:
|
Good work, thanks!...
|
anyone know how to add a link to the last post?
|
Three posts up....
|
no like show a worable link.
|
Quote:
|
Muchas Gracias Aunque No Se Ven Las Imagenes De Los Frupos Me Imaginoq Ue Es Falla Del Mismo Vbulletin Haber Si Hayt Solucion
|
Nice little extra, thanks Lynne
|
Simple, neat, works like a charm, should have been a default for the social group list displays.
Love your work for social groups, they really take social groups from a nice feature to a great one. |
Brilliant, I am using the social groups in-place of buying the blog mod on Nurture, this little extra is perfect, thank you for the share.
|
1 Attachment(s)
[/HTML]
Quote:
Find as before this following code... HTML Code:
$group[lastpostdate] But this time add the following code ABOVE... HTML Code:
<a href="group.php?$session[sessionurl]do=discuss&gmid=$group[lastgmid]#gmessage$group[lastgmid]" style="white-space:nowrap" title="$vbphrase[go_to_last_post]"><strong>$group[trimdiscussion]</strong></a><br /> @Lynne: hope you dont mind I posted this. Screenshot attached bellow. |
I don't mind at all. I didn't understand his question, so I couldn't help him.
|
Thanks Lynne Great mod :up:
|
Installed.
I suppose others might also want to go all the way with this formatting idea and make it exactly match the other areas with similar info. Instead of the above, try the following: Replace the entire block. Remove everything between and including: Code:
<if condition="$show['lastpostinfo']"> Code:
</if> Then, replace it with the following: Code:
<if condition="$show['lastpostinfo']"> This will give the information the same text alignment as similar blocks in other templates and also matches the presentation for the create date of the group if there are no messages to display. Additionally, it uses the standard phrases instead of hard coding "by" in the template. |
All times are GMT. The time now is 10:05 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|