![]() |
Webmazter - Show ALL Group Memberships
Hi,
This is a small and simple mod to show ALL Group Memberships in User Profile Page. This is only to show the Usergroups, nothing changed to the current Private Usergroup and Public Usergroup system. Regards Screenshot Attachment 59843 |
Reserved for future use.
|
So let me get this straight......it display usergroups such as: Moderator, Admin, S. Moderator, Registered Users, etc.?
|
Also Paid Subscriptions Usergroups
|
Quote:
[high]* HMBeaty installed[/high] |
EDIT: Nevermind, apparently it didn't paste the whole code when I did it. Thanks
|
I'm a little confused. Isn't the code we are replacing the same as the new code that you have in your .txt file?
|
No, your actually commenting a couple lines out pretty much, you're mainly just adding "//" in 3 locations
|
@Redlinemotorsports
Thanks for the install @MikeLTAD As what Redlinemotorsports said, it's not the same. Added comments to few lines. |
OK I must of done something wrong. getting this error when I click on a users profile.
Parse error: syntax error, unexpected $end in /Forum/member.php on line 834 any ideas? |
Quote:
EDIT: Here's the fix for it. Hopefully that'll work a little better for you. Webmazter, feel free to download this and use this as the release |
Sorry about the error and confusion.
Apparently new lines not applied properly after upload. I'm now zipping the file and there should be no problem now. I've verified it by downloading the .zip to my computer. @Redline Thanks for the work, but there's slightly untidy code there. Download mine. :) |
Quote:
|
Quote:
Doh, sorry about that. :) |
screenshot available?
|
Screenshot.......
|
ahhh, i think i understand it now... thnx.
|
Quote:
|
Quote:
|
Does this mean that it will allow members to see they are in miserable users?
|
thanks, i like it :)
|
Quote:
|
Is it possible to excluse a usergroup?
(Yes, I'm talking about the miserable people ;-)) |
Quote:
Download w_AllGroupMemberships_excluding_install.zip |
Is this an add-on or do I have to replace the file?
|
Thanks
|
Sweeet!
To bad it requires a file edit. Is it possible to make a plugin? |
Yes, create the plugin with the following hook: member_complete
And the code: PHP Code:
|
Quote:
It's not efficient to use plugin. If you want to use plugin, then thincom2000 has provided the code. But keep in mind that the codes are run twice with plugin. (looping twice in $membergroups variable) One is original VB, then another one is custom one. With file edit, the codes are run only once. |
Anyone using this on 3.6.8?
SVT |
All times are GMT. The time now is 04:50 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:
|