![]() |
Cel Display Usergroups on Member Profile or in Postbit
1 Attachment(s)
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) |
Fixed a minor bug and reuploaded package. Please redownload and reupload cel/ugdisplay/code.php, no need to reinstall the .xml-file.
|
I just updated the file, and I just got a DB error.
|
Quote:
|
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: |
Please redownload and upload the file once again.
|
Alright I did that, still giving me the error. Sorry about all this. :(
|
Exactly the same error?
|
Yes. :)
|
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".
|
Code:
Database error in vBulletin 4.2.2: |
OK. I think I caught the nasty little bugger. Sorry for all the bother, but could you do the procedure one last time (hopefully)?
|
There we go, works. :)
|
Great!
|
I took the groups off the postbit, and now I'm getting white screens on the threads.
|
And another try ;)
|
I am no longer getting the white screen, but it won't disappear from the post bit.
|
Hm, I really think I need to get some sleep...
Wanne give it a last try for today? |
It just transported me to Greece. :D
Haha in all seriousness, everything works. :) |
Quote:
|
Quote:
|
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.
|
Bump. :)
|
Ummm, is that not what the setting, Enter a comma seperated list of userids. Default: Administrators (6), Supermoderators (5), Moderators (7) is for?
|
What I mean is I don't want all usergroups to see which usergroups a member is in. Only certain Staff usergroups.
|
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.
|
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. |
LOL, it's cool. Yeah that setting is for allowing of groups viewing of the info, not which groups it shows up on. :)
|
Ooooo okay, I promise I didn't drink last night. :D
Okay only a little shot glass. :D |
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. |
Okay I just noticed this. In order for certain user groups to display on the profile, you have to give them the ability to see groups on profiles too for some reason.
|
Any way to fix this?
|
Any idea?
|
All times are GMT. The time now is 08: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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|