![]() |
Listing members of certain groups
I want to use showgroups.php to list a individual group not all the public ones. So basicly I want to be able to add something like groupid=x and than that group gets displayed. Is there any modification like this for vb3? If not how would I do this?
|
probably somethign for modifications requests but anyway; heres a starter:
[sql] SELECT username FROM user WHERE $groupid IN(membergroupids) OR usergroupid = $groupid [/sql] should do it... that will select all members of a certain group and give you the names, obvioulsy you still need to output them. Alternativly one way i can think of doing it is by setting all groups to display on showgroups.php then somewhere in the code check that $groupid = $usergroup thats being displayed. Without the code at hand i can't give more than vague pointers atm |
All times are GMT. The time now is 12:26 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:
|