이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Moderator Role

설명

Just install the plugin, activate it: You can now change a user’s role to “Moderator”, he can now moderate comments (all or only his), and only do this!

스크린샷

  • The new little menu

설치

  1. Upload the “baw-moderator-role” folder into the “/wp-content/plugins/” directory
  2. Activate the plugin through the “Plugins” menu in WordPress
  3. You can now change a user’s role to “Moderator”, he can now moderate comments (all or only his see FAQ), and only do this!
  4. All moderators will receive an email when a non approved comment is awaiting moderation.
  5. See FAQ for filters/actions usage

FAQ

I just want my moderators can moderate their own comments, is this possible?

Yes, you can play with my filter named “allow_moderate_all_comments”, example of use (add this in your functions.php from theme folder):
1. Code: add_filter( 'allow_moderate_all_comments', '__return_false' ); // This will remove the "all comments" moderation
1. or we can check a user meta to allow one user to be kind of “admin moderator”, example with a moderator user, with ID 123
function check_moderator()
{
return $GLOBALS[‘current_user’]->ID == 123;
}
add_filter( ‘allow_moderate_all_comments’, ‘check_moderator’ );

I use a plugin that adds a page for comment stuff, this page is not here, you’re mean!

No worry, i’ve think about it!
Use the filter “allowed_moderator_menus” and add your plugins pages. Example of use:
function add_my_plugin_page_for_moderator_menu_this_function_got_a_very_long_name_damn_it( $pages )
{
$pages[] = __( ‘My plugin page menu name’, ‘plugin_context’ );
}
add_action( ‘allowed_moderator_menus’, ‘add_my_plugin_page_for_moderator_menu_this_function_got_a_very_long_name_damn_it’ );

Ok, now i can see a plugin menu in my admin bar and i don’t want it!!

Same stuff! use this filter “baw_before_admin_bar_render”, example:
function remove_my_plugin_in_admin_bar( &$wp_admin_bar )
{
$wp_admin_bar->remove_menu(‘my-bad-plugin’);
}
add_action( ‘baw_before_admin_bar_render’, ‘remove_my_plugin_in_admin_bar’ );

후기

2019년 1월 15일
Works Great! Thanks! This plugin does the job securely! (while other similar plugins allow edit posts function which is really bad!)
2016년 11월 14일
Saw the plugin review on wp-beginner site. Set it up in 2 minutes. Works flawlessly! Thanks mate! 🙂
2016년 9월 3일
This plugin looked like it would do exactly what I needed it to do. However, I don’t think in works in MultiSite. I installed it and activated it at the site level, not the network level. I was logged in as Super Admin and once it was installed I was demoted to Comments only. All menu items vanished. Too bad. To unravel: Delete the plugin Go to plugins menu on the site — to see the alert message and plugin deactivation Go into raw database: wp_99_options table (where 99 is your site id number) edit the option value for option_name=”wp_99_user_roles” remove the data between and inclusive of s:9:"moderator";a:2:{…}} change a:6:{ to a:5:{ at the beginning of the serialized data blob Good luck P.S. a workable alternative is the “Comment Moderator” plugin Version 1.3.1 | By 99 Robots. I installed it and tried it out and within 30 minutes I had it fully configured, tested and put into use.
모든 5 평가 읽기

기여자 & 개발자

“Moderator Role”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Moderator Role”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.6

  • 11 aug 2015
  • 4.3 support

1.5

  • 20 mar 2014
  • Security fix: a die() was missing after the wp_redirect()
  • Fix : Fatal error -> change a do_action + &$var for an apply_filters
  • WordPress Coding Standard respect

1.4.2

  • 23 oct 2012
  • Security fix: User can not edit posts anymore, thanks to Antoine Peytavin pointing me this

1.4.1

  • 17 jul 2012
  • Bug fix (forgot which one)

1.4

  • 11 jul 2012
  • Add the pluggable function wp_notify_moderator() to add a filter on $email_to, this filter is now used to add all moderators.

1.3

  • 14 mar 2012
  • Bug fix when updating a comment with ajax (quick edit) (again) thanks to @lpointet pointing me that
  • Bug fix when quick-replying a comment with ajax thanks to @lpointet pointing me that too

1.2

  • 07 mar 2012
  • Bug fix when updating a comment with ajax (quick edit)
  • Add a new hook (See FAQ)
  • Readme improved (so, read him)

1.1

  • 07 mar 2012
  • First release