Quote:
Originally Posted by BWJ
Does any one know how to restrict this mod to one specific social group category? (instead of all social group categories)
|
To restrict to a specific category find in your modules folder either vba_groups.php for latest or vba_randgroups.php for random:
Code:
FROM " . TABLE_PREFIX . "socialgroup WHERE type = 'public'
and replace with:
Code:
FROM " . TABLE_PREFIX . "socialgroup WHERE type = 'public' AND socialgroupcategoryid = '2'
Where socilagroupcategoryod is the category id of the group you wish to show.