145
I have been thinking about how to do this and was one of the features I will be adding once I have it all figure it out and tested. But you need to be able to add code that looks at each of the categories and checks its permissions. It will be a config value you set for each category you create. You also need to modify the admin page to allow you to set the permissions on categories that are created.
To check permissions you can do something similar to this...
If you want to display group-specific information on a web page to two groups of your users: regular user group (GroupID 2) and membership group (GroupID 4).
$in_group = is_object($xoopsUser) && in_array(4, $xoopsUser->getGroups());
//display group-specific information
if ($in_group) {
Membership ONLY info Here
} else {
Regular user ONLY infor Here
}
(taken from
http://www.xoops-tips.com)
Optikool