Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Cel User's Social Groups on Forum Home (like forumlist, fully templated) Details »»
Cel User's Social Groups on Forum Home (like forumlist, fully templated)
Version: 4.0.006, by cellarius cellarius is offline
Developer Last Online: Apr 2022 Show Printable Version Email this Page

Category: Social Group and Album Enhancements - Version: 4.x.x Rating:
Released: 08-22-2009 Last Update: 05-19-2011 Installs: 222
Uses Plugins Template Edits
Additional Files Translations  
No support by the author.


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 ###

Download Now

File Type: zip cel_sgfh_4-0-006.zip (10.1 KB, 389 views)

Screenshots

File Type: jpg admincp.jpg (86.7 KB, 0 views)
File Type: png statusicons.png (14.9 KB, 0 views)
File Type: png groupicon_resized2statusicon.png (17.9 KB, 0 views)
File Type: png groupicon_realsize.png (95.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
markoroots

Comments
  #132  
Old 12-22-2016, 02:32 AM
scottkoz20 scottkoz20 is offline
 
Join Date: Dec 2015
Location: Lewiston, NY
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by markoroots View Post
Great Kevin, many thanks.

Adn does someone know how to show all groups in the home page and not only those subscribed?

Groups is a clickable link that will take the users into domain/groups.php and they can search the full group list.

I am playing this on my dev site at the moment and even though the mod is no longer supported, it's extremely functional.
Reply With Quote
  #133  
Old 12-22-2016, 07:23 AM
markoroots markoroots is offline
 
Join Date: May 2013
Location: Italy
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Scott,
no I mean that generally this mod shows in home page only the subscribed groups and not all groups created. So I want know if is there a way to show all groups (also those not subscribed) in the forum home page.
Reply With Quote
  #134  
Old 12-22-2016, 10:46 AM
scottkoz20 scottkoz20 is offline
 
Join Date: Dec 2015
Location: Lewiston, NY
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not with this mod. This probably could be done with a php script and adding this as a sideblock item, but it would depend on the number of groups you have. On my site, I already have 300+ groups and there is no way I would want have code listing this all out.
Reply With Quote
  #135  
Old 12-22-2016, 03:52 PM
markoroots markoroots is offline
 
Join Date: May 2013
Location: Italy
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you think?
In the end I think that must be in a part of code something that say the plugin to "show only the subscribed groups" maybe changing this command can work in this way.
Sure must be somewhere where is wrote this in the code if the plugin take only the subscribed group.
The problem is to know what and where must be changed to have this function.
Reply With Quote
  #136  
Old 12-22-2016, 07:50 PM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try removing the following code lines from plugin forumhome_code lines at hook forumhome_start:

at/near line 91
PHP Code:
        " . $query_join . " 
at/near line 93
PHP Code:
        WHERE " . $where_add . ".userid " . $vbulletin->userinfo['userid'] . " 
This should show all groups, but will render the other options useless.

I would advise against making that change if you have a more than a very reasonable number of groups.
Reply With Quote
  #137  
Old 05-30-2017, 12:06 PM
Cem01 Cem01 is offline
 
Join Date: Nov 2016
Location: Istanbul, Turkey
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow this add-on is so awesome to me. It will make social groups more active. I want this for blogs if it's possible
Thanks.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:18 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07319 seconds
  • Memory Usage 2,308KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (7)post_thanks_box
  • (1)post_thanks_box_bit
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (5)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete