Comment moderation
Changing wp_insert_comment() to wp_new_comment() allows for the WordPress Discussion settings to work
Those setting should allow anyone to comment (but they have to enter their name/email). (Side note: I usually uncheck the first two option.). Perhaps the individual posts have disabled comments? Look down below the post editing area for that checkbox (you might have to enable that area via the ‘screen’ dropdown on the top of … Read more
How to prevent comment moderation flood?
How to Moderate Edits to User Profiles?
Well finally I found, just added a test on “who” reads the comments. If the reader has moderation rights, the “moderator’s name” shows up, in the admin section AND in the post page. There is probably another way to do it, but that’s ok for me!
You could call a function whenever a user publishes a post (checkout the publish_post action here) In this function you would first check how many posts your user has already published, and only allow the new post to be published if this number is within a range you specify (ie. < 100) Then you would … Read more
For registration you can use something like this:https://wordpress.org/extend/plugins/front-end-users/screenshots/ or you can do a search here or on any search engine and I’m sure you’ll find more than enough plugins. As for the moderation, I have new posts added as drafts and then publish them myself after checking them. Not sure what you want to do … Read more
Yes, it is possible. However, your buddypress theme must be compatible with bbpress or else /forums won’t be setup correctly. Reference: http://devpress.com/blog/how-to-make-a-site-like-devpress/ bbPress for Forums or Message Board Although BuddyPress has group forums, I don’t have it enabled on DevPress. It’s because I prefer having a central forum for interaction and support instead of having … Read more
Finally I found the right code, if it can be usefull to someone: function sp_comment_moderation_recipients( $emails, $comment_id ) { $comment = get_comment( $comment_id ); $post = get_post( $comment->comment_post_ID ); if ( has_term(‘myterm’,’mytaxonomy’, $post->ID) ) { return array( ‘[email protected]’ ); } return $emails; } add_filter( ‘comment_moderation_recipients’, ‘sp_comment_moderation_recipients’, 10, 2 ); add_filter( ‘comment_notification_recipients’, ‘sp_comment_moderation_recipients’, 10, 2 );
Probably not the answer you want to hear, but I’m afraid that is not possible as a user needs the edit_posts Capability in order to access the moderate_comments capability. (source: http://codex.wordpress.org/Roles_and_Capabilities#moderate_comments)