The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
User's Social Groups on Forum Home (like forumlist, fully templated) Details »» | |||||||||||||||||||||||||||||||||||
User's Social Groups on Forum Home (like forumlist, fully templated)
Developer Last Online: Apr 2022
What does it do?
Things to set in AdminCP/Options:
Looks
Install/upgrade
Template edit Will be automatically inserted below your forums list if you are using TMS, which I highly recommend to do. If not: Find: HTML Code:
<!-- /main -->
HTML Code:
$cel_social_groups Technical stuff 1 product file that adds + 3 templates (following the forumbit-scheme) + 3 plugins + adds 2 queries to forumhome (only if groups are shown, of course). + a bunch of phrases (prefix: cel_sgfh_). + 4 png-buttons, taken from the silk icon set. Limitations
v 1.4 + some bugfixes + option to turn teaser message off + option to show several buttons: to start a new discussion - see the group's members list - see the group' photos (only shown if there are any attached pictures) - unsubscribe (only if subscribed groups are shown) (Thanks to glorify) 1.4.1: Template/Style error in Google Chrome fixed v 1.3 + now fully templated. New templates: forumhome_cel_social_groups_groupsbit and forumhome_cel_social_groups_lastmsgby. 1.3.1: Link to user profile error fixed v 1.2 + added option to sort groups by date of last message + added missing phrase v 1.1 + improved database query + limitations somewhat lessened + added settings page to AdminCP + choose whether to show groups the user is a member of or subscribed to + limit number of groups shown, then link to appropriate page + restrict use by usergroup + some minor bugfixes Planned features (no promises made!) none atm [s]option to use a set of different statusicons for the groups [/s] [s]option to use the social group's icon instead of the statusicon[/s] [s]and to go with that, for additional/substitunional unread marking, possibility to add css markup to the social group's title[/s] Translations
Screenshots:
### Don't forget to click install! ### (No support if you don't) Download Now
Screenshots
Show Your Support
|
Comments |
#102
|
|||
|
|||
Great job, thanks.
|
#103
|
|||
|
|||
I think this is a great mod. It's completely changed how social groups are perceived by my users. I do have one request though. There's a plugin I'm using that enables BBCode in Social Group descriptions, but unfortunately that BBCode doesn't get converted in the descriptions shown on the homepage. It would be great if a future version of this mod could accommodate BBCode, even if it's not yet standard in vB social groups.
|
#104
|
|||
|
|||
Quote:
Generally, that means there is no need to continue defending your decision, as I have accepted it. Again, thanks for your work on this. |
#105
|
|||
|
|||
I've just updated this to include the icons. Thanks again cellarius.
I was wondering if you could tell me how to adjust the width of the columns in your plug-in, as it doesn't align with my forums and I'm a fussy aesthetic type of a guy? |
#106
|
||||
|
||||
No need to dive into the plugin. The columns are established in the template forumhome_cel_social_groups. That's just html, you can change column widths there fairly easily.
|
#107
|
|||
|
|||
Cheers and appreciated.
|
#108
|
||||
|
||||
Quote:
|
#109
|
||||
|
||||
I've made the following changes to this mod in order to make it fit into my forums more cleanly, and it'd be nice if some of these changes made it into the final mod (maybe via options)?
Variable: Placement changed: Code:
Under $forumbits in the FORUMHOME template.
Template forumhome_cel_social_groups: Code:
<if condition="$show_cel_sgfh"> <if condition="($cel_groups_hasresults) OR ($vboptions[cel_sgfh_show_teaser])"> <tbody> <tr> <td class="tcat" colspan="5"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('new_social_disc');"><img id="collapseimg_new_social_disc" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_new_social_disc].gif" alt="" border="0" /></a> <a href="group.php$session[sessionurl_q]">$vbphrase[social_groups]</a>$vbphrase[cel_sgfh_forumhome_title] </td> </tr> </tbody> <tbody id="collapseobj_new_social_disc" style="$vbcollapse[collapseobj_new_social_disc]"> $cel_sgfh_output </tbody> <if condition="$cel_groups_limit"> <tbody> <tr> <td class="tfoot smallfont" colspan="5" align="center"> <strong> <a href="$cel_groups_show_more_link_href">$vbphrase[cel_sgfh_show_more]</a> </strong> </td> </tr> </tbody> </if> </if> </if> Changes/Reasoning:
Template forumhome_cel_social_groups_groupsbit: Code:
<if condition="($cel_groups_hasresults)"> <tr> <td class="alt2Active"> <img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]$statusimg.gif" alt="" border="0" /> </td> <td class="alt1"> <if condition="$vboptions[cel_sgfh_showbuttons]"> <div style="float: right; padding: 3px;"> <a href="group.php?$session[sessionurl]do=message&groupid=$cel_groups[groupid]"><img src="$stylevar[imgdir_button]/cel_sgfh_new_discussion.png" alt="$vbphrase[cel_sgfh_new_discussion]" border="0" /></a> <a href="group.php?$session[sessionurl]do=viewmembers&groupid=$cel_groups[groupid]"><img src="$stylevar[imgdir_button]/cel_sgfh_members.png" alt="$vbphrase[cel_sgfh_members_button]" border="0" /></a> <if condition="$cel_groups_pictures"><a href="group.php?$session[sessionurl]do=grouppictures&groupid=$cel_groups[groupid]"><img src="$stylevar[imgdir_button]/cel_sgfh_picture.png" alt="$vbphrase[cel_sgfh_picture]" border="0" /></a></if> <if condition="$vboptions[cel_sgfh_show]==subscribed"><a href="group.php?$session[sessionurl]do=unsubscribe&groupid=$cel_groups[groupid]"><img src="$stylevar[imgdir_button]/cel_sgfh_unsubscribe.png" alt="$vbphrase[cel_sgfh_unsubscribe]" border="0" /></a></if> </div> </if> <a href="group.php?$session[sessionurl]groupid=$cel_groups[groupid]">$cel_groups[name]</a><br /><span class="smallfont">$cel_groups[description]</span> </td> <td class="alt2 smallfont"> <div style="white-space: nowrap"> $cel_sgfh_output_lastmsg </div> </td> <td class="alt1" align="center"> $cel_groups[discussions] </td> <td class="alt2" align="center"> $cel_groups[visible] </td> </tr> <else /> <tr> <td class="alt1" colspan="5">$cel_groups_no_result_phrase</td> </tr> </if>
Code:
<div class="smallfont" align="$stylevar[left]"> <div> <span style="white-space:nowrap"> <a href="group.php?$session[sessionurl]do=discuss&gmid=$cel_groups[lastgmid]" style="white-space:nowrap" title="$vbphrase[go_to_last_post]"><strong>$cel_groups[trimmed_lastdiscussion]</strong></a></span> </div> <div style="white-space:nowrap<if condition="is_browser('ie', 6)">; float:$stylevar[left]</if>"> <phrase 1="member.php?$session[sessionurl]u=$cel_groups[lastposterid]" 2="$cel_groups[lastposter]">$vbphrase[by_x]</phrase> </div> <div align="$stylevar[right]" style="white-space:nowrap"> $cel_groups[lastmsgdate] <if condition="!$show['detailedtime']"><span class="time">$cel_groups[lastmsgtime]</span></if> <a href="group.php?$session[sessionurl]do=discuss&gmid=$cel_groups[lastgmid]#gmessage$cel_groups[lastgmid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a> </div> </div>
Code:
if ($cel_groups['readtime'] AND $cel_groups['lastpost'] > $cel_groups['readtime']) { $statusimg = "forum_new"; } else { $statusimg = "forum_old"; }
I believe these changes, especially if added as options, will be beneficial for those like me, who prefer to have the Social Groups list exactly the same way as any other forum category |
#110
|
|||
|
|||
Installed, works great! thank you!
|
#111
|
|||
|
|||
Had to uninstall it. Seems no one's posts were showing up in any of the forums. On forum home you would see them, but when you went to the forum itself, no posts showed up from the time the mod was installed.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|