I’m looking for an extension that allows specifying which categories a user can post to.
A quick search turned up Category Permission on this page, but it points to this url : Trulyee but that sites dead now.
I’ve looked but can’t find that extension listed anywhere else.
Any thoughts - either on this extension or one that would do similar.
Thanks
Hi Joel,
Victor published Category Permission extension under Creative Commons Attribution-Share Alike 3.0 Unported license.
This license gives us the right to redistribute the software. So grab it using the link below.
I made a small change in Victor’s version.
In the file ext.category_permission_ext.php near the line 220 the code
/** ----------------------------------------
/** Members
/** ----------------------------------------*/
$members = $DB->query(" SELECT mb.screen_name,
mb.member_id
FROM exp_members as `mb`
LEFT JOIN exp_member_groups as `mg`
ON mb.group_id = mg.group_id
WHERE mg.can_access_admin = 'y'
AND mg.site_id = $this->site_id
ORDER BY mb.screen_name
"); //print_r($members);I changed into
/** ----------------------------------------
/** Members
/** ----------------------------------------*/
$members = $DB->query(" SELECT mb.screen_name,
mb.member_id
FROM exp_members as `mb`
LEFT JOIN exp_member_groups as `mg`
ON mb.group_id = mg.group_id
WHERE mg.can_access_cp = 'y'
AND mg.site_id = $this->site_id
ORDER BY mb.screen_name
"); //print_r($members);It was needed in order to make this extension useful for those contributors who post after logging into CP but have no right to access Admin tab.
Hi guys,
I was dissatisfied with the UI of Category Permissions extension and needed some additional functionality - the possibility to set permitted categories as default.
So, I did some hacking and here is the result - Category Rights extension.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.