PDA

View Full Version : Cel User's Social Groups on Forum Home (like forumlist, fully templated)



admin
19-11-2009, 03:33 PM
What does it do?


Shows all social groups the actual user is a member of or is subscribed to, just below the forumlist (or anywhere else on forumhome). If there are new messages, the corresponding forum statusicon is highlighted - just like in forumlist.
If there are no groups to show, you can choose to show a teaser message.


Things to set in AdminCP/Options:

show member of / subscribed to /nothing
sort by name or last message date
limit max number of groups shown, then link to appropriate page (grouplist for members, usercp for subscribers)
restrict use by usergroup
show a teaser message if there are no groups to show
show buttons to open new discussion etc.
apply custom css to grouptitle
trim group description to max length or disable
parse bbcode in group descriptions
use a different set of statusicons for groups than for forums
show groupicon instead of statusicon (Note that this option suffers from major styling issues at the moment - just try and see. The data is all there, if you want to give the styling a shot, you're free to do so)


Looks


Out of the box: I tried to copy the standard look of the forumlist on forumhome.
Fully templated.


Install/upgrade


Upload folder "images" to your forum root (can be omitted if you do not want to use the buttons).
Import the product file.
Check settings in AdminCP->Options->Social Groups on Forumhome.


Template edit

Note: Greyed out since TMS has not been officially updated for vB4 yet, but the 3.8 version works pretty well for me. If you use TMS (http://www.vbulletin.org/forum/showthread.php?t=152931), the template edits will be automatically inserted below your forums list.
Find:

{vb:raw forumhome_markread_script}

Below add:

{vb:raw cel_sgfh}

If you don't like it there, you can insert it anywhere you like on forumhome.


Technical stuff

3 templates (following the forumbit-scheme)
2 plugins
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 (http://www.famfamfam.com/lab/icons/silk/).

Limitations

Marking of new messages only works with database, not with cookie based marking of read threads (-> AdminCP setting)
3.7 Discussion groups will show up as "no messages yet" as long as there was no message written under a version 3.8.0 or higher


Version history

4.0.001: Ported to vB4 alpha 1
4.0.003: Adapted to vB4 beta 3, first public release
previous see 3.8 versions here (http://www.vbulletin.org/forum/showthread.php?t=203721).

Unresolved conversion issues

unresolved style issues when showing group icons instead of status icons; since the standard forumbit is very much coded to fit the standard statusicon size, this may cause some headaches.

Beta!
Note that this mod is still in beta, as is vB4. I promise no support for this atm.

http://img.photo.zing.vn/file_uploads/gallery/sources/2009/11/19/04/58121258624047.jpghttp://img.photo.zing.vn/file_uploads/gallery/sources/2009/11/19/04/50251258624060.jpg