PDA

View Full Version : member list for displaying only sellected usergroups?


Ecliptic
07-23-2002, 01:54 PM
hello im trying to make the memberlist page on my site only display 3 of the usergroups so that the other groups on the board dont show up in the list i would expect this is not to difficult but i am very new to vbulletin and php so im not haveing to much luck at all =\

any help with this would be great =)

thanks

Logician
07-23-2002, 02:04 PM
Edit memberlist.php, find:

".iif($memberAllGood, " AND usergroupid NOT IN (1,3,4) ", "")."

(There are 2 instances).Replace them as:

AND usergroupid IN (X,Y,Z)

Replace X, Y, Z with the usergroupid you want to list.

Not tested but should work.. Enjoy..

Logician

Ecliptic
07-23-2002, 02:35 PM
cool! thanks alot that worked great =)