![]() |
Usergroup Member's List
How would I go about allowing all registered users the ability to view users in a specific usergroup? Right now, only the usergroup leaders have the ability to view the users in their own usergroup. I'd like to allow everyone that function rather than limiting it.
Thanks in advance! |
Is anybody able to give advice on this issue?
|
You might use one of the member list or roster mods. I will have to dig into the settings to see if vb has a way to allow this with the default list.
|
Quote:
|
So, are you wanting everyone to appear on the Memberlist, or are you wanting to be able to show only the members in the specific group?
Are you sure what you want is a usergroup? I ask because I'm not aware of usergroups having leaders, Social/Member Groups do. I'm not aware of a way to display this info for Social groups, but then I don't use these groups on any of my sites, so I have never looked into it. I'm not really seeing a plugin out there for it either. |
Quote:
Currently, only the Usergroup leaders have this ability. I want to have it changed so that everyone can view who is within each usergroup. |
Ok, you are meaning Publiclly Joinable usergroups. I'm following you now, sorry, I'm a little slow sometimes, LOL
I'm not sure of a way to do this, I will have to look into it some, and see if there is a hook which can be used. |
Quote:
|
I know you could use a plugin such as this - https://vborg.vbsupport.ru/showthread.php?t=299659. I actually used this on a site for years for this very type of thing.
|
Quote:
|
Templates are just there for the visual aspect, they don't take care of the core functionality.
It'll really have to be done with a plugin or hook. |
Quote:
What do you suggest that I do then because I would like this done. Any suggestions would be greatly appreciated. |
Quote:
|
Quote:
|
Ok, after looking into this some, I feel you would probably be best served with the plugin I linked above. I think trying to display the members of each joinable group on the group listing page would not be very user friendly, as it could potentially make the page rather large. I have used Sarcoth's Roster mode a LOT and really like it. You can see an example of one of my sites using it here - http://www.lonestarcamaro.com/forums/rosterlite.php
|
Quote:
I'm just looking to add a link that says "List Members" below the usergroup without having to be a usergroup leader. All registered users need to just be able to click "List Members" for every public usergroup and see who's in each different usergroup. |
Ok, that would be doable, as long as you don't mind it displaying on a different screen or a pop-up
|
Quote:
|
Ok, this is a manual edit, so if you upgrade vBulletin you might have to reapply it, but here it is quick and dirty:
Open Template: modifyusergroups_nonmemberbit Find: HTML Code:
<vb:else /> HTML Code:
<a href="memberlist.php?usergroupid={vb:raw usergroup.usergroupid}">{vb:rawphrase list_members}</a> EDIT: Just noticed this gives a permission error. The permission is coded into memberlist.php, you can get around it by doing the following edits (These will be lost when upgrading vBulletin as this is editing a core file) Line numbers based on vB v4.2.3 Open: memberlist.php Find (lines 358-368): PHP Code:
PHP Code:
PHP Code:
PHP Code:
Find: HTML Code:
<vb:if condition="$show['usergroup']"> HTML Code:
<vb:if condition="$show['usergroup']"> |
Quote:
|
Quote:
|
Quote:
Open Template: modifyusergroups_memberbit Find: HTML Code:
<vb:if condition="$show['isleader']"> HTML Code:
<a href="memberlist.php?usergroupid={vb:raw usergroup.usergroupid}">{vb:rawphrase list_members}</a> |
Quote:
|
All times are GMT. The time now is 04:48 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:
|