Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Plugin: Forums Moderators


GiantsFan
Member

@giantsfan

FYI, I modified the plug-in slightly to prevent moderators from messing with other forums they are not assigned to by this plug-in in bbpress version 0.8.

changed function forum_moderators_process_capacities in forum-moderators.php, added some additional filters:

$filtering_caps = array(

'manage_topics' ,

'edit_closed' ,

'edit_deleted' ,

'browse_deleted' ,

'edit_others_tags' ,

'edit_others_topics' ,

'manage_posts' ,

'ignore_edit_lock' ,

'edit_others_posts',

'delete_posts',

'delete_topics',

'close_topics',

'stick_topics',

'move_topics',

'moderate'

);

added filters:

delete_topics’,

‘close_topics’,

‘stick_topics’,

‘move_topics’,

‘moderate

don’t know exactly what I’m doing but that hacked seemed to do what I want.

Skip to toolbar