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 Display Usergroups on Member Profile or in Postbit Details »»
Cel Display Usergroups on Member Profile or in Postbit
Version: 4.2.001, by cellarius cellarius is offline
Developer Last Online: Apr 2022 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 4.2.x Rating:
Released: 03-17-2014 Last Update: 03-17-2014 Installs: 12
Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

What does it do?
This addon lets you display a list of all usergroups in a member profile side block and/or in postbit. Visibility of the information can be limited by usergroup, so you can show it only to your admins and moderators.

How does it work?
Without additional queries on postbit and just one small query on the member profile page, i.e. practically without overhead. The necessary information is being pulled from the cache wherever possible.

How to install?
- Upload the contents of the UPLOAD folder to your forum root.
- Install the addon xml file.
- Check the settings AdminCP->Settings->Options.

Something special?
- For the member profile, you can choose where in the sidebar the usergroups are to be displayed.
- The ouput is templated (postbit_cel_ugdisplay and memberinfo and memberinfo_block_cel_ugdisplay), so you can adapt it to your liking (within limits)
- Each usergroup is wrapped in <span>-Tags with a unique css-class, so you can style it using the additional.css (cel_ugdisplay_ug6, where the bold number is the usergroup id)

Download Now

File Type: zip cel_ugdisplay_4.2.001.zip (3.1 KB, 56 views)

Screenshots

File Type: png cel_ugdisplay_admincp.png (41.4 KB, 0 views)
File Type: png cel_ugdisplay_memberinfo.png (31.7 KB, 0 views)
File Type: png cel_ugdisplay_postbit.png (4.8 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 03-18-2014, 08:46 PM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Elixar View Post
It just transported me to Greece.

Haha in all seriousness, everything works.
I'd like Greece, though
Reply With Quote
  #23  
Old 08-28-2014, 10:04 PM
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Posts: 579
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to limit who can view the usergroup list on profiles and such? I'm mainly looking to only allow Staff access to view them.
Reply With Quote
  #24  
Old 09-30-2014, 02:49 AM
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Posts: 579
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump.
Reply With Quote
  #25  
Old 01-01-2015, 03:21 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ummm, is that not what the setting, Enter a comma seperated list of userids. Default: Administrators (6), Supermoderators (5), Moderators (7) is for?
Reply With Quote
  #26  
Old 01-01-2015, 03:26 PM
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Posts: 579
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What I mean is I don't want all usergroups to see which usergroups a member is in. Only certain Staff usergroups.
Reply With Quote
  #27  
Old 01-01-2015, 03:29 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Right, so if you enter 5,6,7 in that setting, only Administrators, Supermoderators and Moderators should be able to see the display of usergroups a member is in.
Reply With Quote
  #28  
Old 01-01-2015, 03:33 PM
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Posts: 579
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Um....I'm dumb .

I read that wrong the whole time. So sorry to ozzy and cellarius.

I thought that meant for them to be displayed on the profile.
Reply With Quote
  #29  
Old 01-01-2015, 03:35 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

LOL, it's cool. Yeah that setting is for allowing of groups viewing of the info, not which groups it shows up on.
Reply With Quote
  #30  
Old 01-01-2015, 03:38 PM
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Posts: 579
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ooooo okay, I promise I didn't drink last night.

Okay only a little shot glass.
Reply With Quote
  #31  
Old 01-01-2015, 03:46 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well to be fair, the setting is not very descriptive, it don't even have a title, or tell you what setting numbers in there does. Only way I knew was to look at the code and see what the setting actually did.

It happens to all coders at some point, when you push out a mod quickly, the phrase may have been created, but cel forgot to tag it for his mod, and it is actually tagged for vBulletin.
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 07:02 PM.


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.17534 seconds
  • Memory Usage 2,332KB
  • Queries Executed 26 (?)
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
  • (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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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