PDA

View Full Version : show a specific usergroup on showgroups.php


CSS59
12-26-2011, 07:20 PM
Mods: please note this is not a duplicate of my other question.

I simply want to edit the code for showgroups.php (or the templates for it) to only show group ID 10. How do I specify this?

I don't want to do it from the AdminCP because I duplicated showgroups.php and the 3 related templates to make a new page.

Thank you!

kh99
12-26-2011, 07:47 PM
I think you just need to find this line (around line 122):

WHERE (usergroup.genericoptions & " . $vbulletin->bf_ugp_genericoptions['showgroup'] . ")


and change it to this:
WHERE usergroup.usergroupid = 10