The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Memberlist Search Criteria
Is their a search string I can use to search for all the members of a specific usergroup?
I know you can use http://www.einherjar-clan.com/forum/...?usergroupid=1 but only if your the leader of that group... Is there another way to search for them, or is there an easy way to remove the limitation on searching by usergroup. I know it needs an if statement removing (or modifying) in memberlist.php but have tried to do this several times myself without success and dont have a lot of knowledge on how to to this anyways to be honest. |
#2
|
||||
|
||||
The only way to remove the limitation is to remove the check in memberlist.php ;
This is the code you would need to remove ; Code:
// check permission to do authorizations in this group if (!$leadergroup = $db->query_first_slave(" SELECT usergroupleader.usergroupleaderid, usergroup.title FROM " . TABLE_PREFIX . "usergroupleader AS usergroupleader LEFT JOIN " . TABLE_PREFIX . "usergroup AS usergroup ON (usergroupleader.usergroupid = usergroup.usergroupid) WHERE usergroupleader.userid = " . $vbulletin->userinfo['userid'] . " AND usergroupleader.usergroupid = $usergroupid ")) { print_no_permission(); } |
#3
|
||||
|
||||
thats what I was after ... paul your a star, cheers. Usually do these things myself but head is like a cabbage today lol
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|