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:
// 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();
}
Replace with:
PHP 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 "))
{
$remove_selected_users = '';
} else {
$remove_selected_users = '<input type="submit" class="button" value="Remove Selected Users(s)" />';
}
One thing was brought to my attention with this. Users that are already in a usergroup aren't able to see the "List Members" link. Is there some way to get this to show in the "You are a member of the following groups" section at the bottom of the page?