EE 1
EE 2
Weblog Rights
Developer
3rd Party (Commercial)
Current Version: 1.1.3
Buy Now!
Compatibility
- LG Addon Updater
- Multi Site Manager
- Stand Alone Entry Form
Requirements
- jQuery for the Control Panel
Tags
This extension allows you to assign weblogs on per-member basis.
There is a quite popular feature request - to allow membership in multiple groups. One of the main reasons for such feature is the need to have more power in assigning weblogs to users.
For example, if you have 3 weblogs - A, B and C - and need to allow some users to post into A, some others - into B, yet some others into C, yet some others into A and B, yet some others into A and C etc., then for managing weblog permissions you need a lot of member groups. To be exact, if you have number N of weblogs, you may need N² - 1 member groups.
To solve the problem of too many member groups I created Weblog Rights extension. It allows you to assign weblogs on per-member basis. So, for managing weblog permissions of the above example you will need only 1 member group.
For this extension to work a hack is needed.
In /system/core/core.functions.php
around line: 1195 (inside function fetch_assigned_weblogs($all_sites = FALSE) )
find:
return array_values($allowed_blogs);
Replace it with:
// -------------------------------------------
// 'assigned_weblogs_array' hook.
// - Exclude/Include weblogs in the asigned weblogs array.
//
global $EXT;
if ($EXT->active_hook('assigned_weblogs_array') === TRUE)
{
$allowed_blogs = $EXT->call_extension('assigned_weblogs_array', $allowed_blogs);
}
return array_values($allowed_blogs);
Weblog Rights Links
Hooks Used
If the add-on is an extension, and ties into ExpressionEngine's core files, it will use ExpressionEngine hooks. We are listing any hooks the add-on uses for developers to have an easier time locating other add-ons that they can reference for their own work.
This entry was last updated May 18, 2011, 9:45 pm.
Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. Devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!
There are no reviews for this add-on yet.
What are you waiting for? Rate it and review it!