The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
If you add
Code:
// Here's what my memberlist.php looks like for example Code:
// Limit to a specific group for usergroup leaders if ($usergroupid) { // Begin Comment out Leader Check for Legend // // 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(); // } // End Comment out Leader Check for Legend $leadergroup['mtitle'] = $vbulletin->usergroupcache["$usergroupid"]['opentag'] . $leadergroup['title'] . $vbulletin->usergroupcache["$usergroupid"]['closetag']; $condition .= " AND FIND_IN_SET('$usergroupid', membergroupids)"; $usergrouplink = "&usergroupid=$usergroupid"; } else if ($vbulletin->options['memberlistposts']) { $condition .= ' AND posts >= ' . $vbulletin->options['memberlistposts']; } |
#12
|
|||
|
|||
okay, so where do I place the usergroup id that i want to appear?
in the beginning : if ($usergroupid) |
#13
|
|||
|
|||
You don't put it in the code, you put it into the URL
ie: http://www.adminfusion.com/forums/me...usergroupid=21 Notice the 21 at the end...that's the id of a usergroup, just replace that number with the id of the group that you want to list |
#14
|
|||
|
|||
ooooooooooo, okay. thanks!!!!!!!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|