Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

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
  #2  
Old 03-18-2014, 05:28 PM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fixed a minor bug and reuploaded package. Please redownload and reupload cel/ugdisplay/code.php, no need to reinstall the .xml-file.
Reply With Quote
  #3  
Old 03-18-2014, 05:38 PM
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Posts: 579
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just updated the file, and I just got a DB error.
Reply With Quote
  #4  
Old 03-18-2014, 05: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
I just updated the file, and I just got a DB error.
Please always post the full error text, and best do so inside code tags.
Reply With Quote
  #5  
Old 03-18-2014, 05:48 PM
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Posts: 579
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just replaced it with the old file since at first I thought the whole board broke, it's just the profile. Let me see.

Code:
Database error in vBulletin 4.2.2:

Invalid SQL:
SELECT membergroupids FROM user;

MySQL Error   : Table 'forumsfo_vb1.user' doesn't exist
Error Number  : 1146
Request Date  : Tuesday, March 18th 2014 @ 06:49:07 PM
Error Date    : Tuesday, March 18th 2014 @ 06:49:07 PM
Script        : http://*/member.php?1-Elixir
Referrer      : http://*/forum.php
IP Address    : 96.225.133.161
Username      : Elixir
Classname     : vB_Database
MySQL Version : 5.5.36-cll
Reply With Quote
  #6  
Old 03-18-2014, 06:06 PM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please redownload and upload the file once again.
Reply With Quote
  #7  
Old 03-18-2014, 06:11 PM
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Posts: 579
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright I did that, still giving me the error. Sorry about all this.
Reply With Quote
  #8  
Old 03-18-2014, 06:22 PM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Exactly the same error?
Reply With Quote
  #9  
Old 03-18-2014, 06:23 PM
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Posts: 579
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes.
Reply With Quote
  #10  
Old 03-18-2014, 06:26 PM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe something went wrong with down/upload. Could you redo the procedure, and if the error persists, post it again? I'm really at a loss there - after all your user table needs to exist and your table prefix indeed is "forumsfo_vb1".
Reply With Quote
Reply

Thread Tools

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 06:10 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.04337 seconds
  • Memory Usage 2,317KB
  • Queries Executed 24 (?)
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_code
  • (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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (4)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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