vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Social Group and Album Enhancements - Cel User's Social Groups on Forum Home (like forumlist, fully templated) (https://vborg.vbsupport.ru/showthread.php?t=221581)

cellarius 08-22-2009 10:00 PM

Cel User's Social Groups on Forum Home (like forumlist, fully templated)
 
1 Attachment(s)

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.
  • Instead of the statusicons, you can show the group's icon
  • If there are no groups to show, you can choose to show a teaser message.

Things to set in AdminCP/Options
:
  • use template hook to output or - more flexible - make manual template edit
  • 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, and choose whether you want to show original size or resized to standard statusicon size

Looks
  • Out of the box: copies the standard look of the forumlist on forumhome.
  • Fully templated.

Install/upgrade
  1. Upload folder "images" to your forum root (can be omitted if you do not want to use the buttons).
  2. Import the product file.
  3. Check settings in AdminCP->Options->Social Groups 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.
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.006: fixed minor display bug when no discussions yet in group and fixed encoding issue reported by Been_Told
  • 4.0.005: fixed small PHP 5.3 issue
  • 4.0.004: fixed group's icon styling issues (thanks to ZexTasy for some useful hints) and added resize option, implemented suggestions (f.e. using template hook now)
  • 4.0.003: Adapted to vB4 beta 3, first public release
  • 4.0.001: Ported to vB4 alpha 1
  • previous see 3.8 versions here.
The 3.8 version of this mod can be found here.

### Don't forget to click install ###

cellarius 08-23-2009 06:37 PM

Reserved.

Azhrialilu 08-24-2009 09:12 AM

Quote:

3.7 Discussion groups will show up as "no massages yet"
Unless you've managed to get virtual massages to work, you might want to edit that :D

Paul M 08-24-2009 09:23 AM

Quote:

Will be automatically inserted below your forums list if you are using TMS, which I highly recommend to do.
Does TMS work in 4.0 ? (Just curious, i dont use it).

cellarius 08-24-2009 09:24 AM

Quote:

Originally Posted by Azhrialilu (Post 1873241)
Unless you've managed to get virtual massages to work, you might want to edit that :D

Why? If you're updating from 3.7 to 4.0, that's just what it will say, even if there are messages in the social group. For a more verbose explanation see the 3.8 version of the mod ;)

cellarius 08-24-2009 09:25 AM

Quote:

Originally Posted by Paul M (Post 1873244)
Does TMS work in 4.0 ? (Just curious, i dont use it).

Not tried yet, Andreas might be best suited to answer that :)
That's why I'm smalled and greyed that sentence. Ever so optimistic, I hope TMS will be updated for 4.0 ;)

Paul M 08-24-2009 09:27 AM

Quote:

Originally Posted by cellarius (Post 1873245)
Why? If you're updating from 3.7 to 4.0, that's just what it will say, even if there are messages in the social group. For a more verbose explanation see the 3.8 version of the mod ;)

LOL, you might want to check the original spelling to understand what she posted .... ;)

cellarius 08-24-2009 09:33 AM

*bangs head on wall*

You're right - sorry Azrhialilu, clearly I need to go back to first grade, ever so stupid :)

*shames and is off to correct the error*

Azhrialilu 08-24-2009 10:46 AM

LOL no harm done.. it just struck me as funny is all :)

cellarius 08-25-2009 02:13 PM

Quote:

Originally Posted by Paul M (Post 1873244)
Does TMS work in 4.0 ? (Just curious, i dont use it).

Well, since the question came up and I don't know if Andreas did any testing with it until now: For me the current 3.8-version just worked fine and dandy!


All times are GMT. The time now is 03:06 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01177 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete