Role Scoper plugin for WordPress


Compatability Issues with other Plugins

As of Role Scoper 1.0.0 Beta 4 / October 2008


Ozh Admin Menus – to ensure that elevated users get proper write/manage menus, use ozh version 2.3 or later



WP Super Cache – Must use Role Scoper 1.0.0 beta 3 or later. Disable caching for logged users.



Event Calendar – earlier versions required caused RS initialization error, but version 3.1.1 okay



Exec-PHP

Recursive has_cap call in Exec-PHP seems to cause problems for other has_cap filters


Must modify includes/runtime.php as follows:


change:

if (!$poster->has_cap(ExecPhp_CAPABILITY_EXECUTE_ARTICLES))

to:

$exec_articles_cap = ExecPhp_CAPABILITY_EXECUTE_ARTICLES;

if ( empty($poster->allcaps[$exec_articles_cap]) )

return $allcaps;



Maintenance Mode – incompatable due to forced early login check

To resolve conflict, disable front-end access by administrators during maintenance. Edit maintenance-mode.php as follows:


change:

&& !mw_current_user_can_access_on_maintenance()


to:

// && !mw_current_user_can_access_on_maintenance()


(or support admin front-end via at-your-own-risk port of WP core login code to avoid early load of pluggable.php)



Get Recent Comments – not compatable due to direct database query. Use WP Recent Comments widget instead.


QTranslate – Must use Role Scoper 1.0.7 or later, which disables caching of pages, terms listing.

To enable caching, change QTranslate get_pages and get_terms filter priority to 2 or higher, then add the following line to wp-config.php:
define('SCOPER_QTRANSLATE_COMPAT', true);