Replies
- Ravi on April 10, 2019 at 1:20 pm in reply to: [Resolved] Enable thread nested comments or "comment reply button" for specific user-role #22164
Yes evillizard, You can add as much as roles to Allowed roles array. Only users with these roles can see the reply button.
Thank You
Ravi - Ravi on April 10, 2019 at 12:09 pm in reply to: [Resolved] Enable thread nested comments or "comment reply button" for specific user-role #22159
Hello Evillizard,
Please try the following code to hide the reply link on comments.
/** * Check weather current user can see reply button or not * * @param string $link Reply link. * * @return bool */ function buddydev_user_role_check_on_comment_reply_button( $link ) { if ( ! is_user_logged_in() || is_super_admin() ) { return $link; } $current_user = wp_get_current_user(); $allowed_roles = array( 'contributor', 'author' ); // Replace by your user role. $common_roles = array_intersect( $allowed_roles, $current_user->roles ); if ( empty( $common_roles ) ) { return false; } return $link; } add_filter( 'comment_reply_link', 'buddydev_user_role_check_on_comment_reply_button' );
Thanks
Ravi Hi Sarin,
I had a meeting with our team. We will be able to release the next major version around mid July. There are 2-3 minor versions planned before that.
PS:- By comment, do you mean activity comment? If yes, it will come before that. I was thinking about post comments.
Thank You
Ravi- Ravi on April 9, 2019 at 1:23 pm in reply to: [Resolved] “number of comment-limit” to work “FOR EACH POST” #22146
Hello evillizard,
Thank you for the acknowledgment. Please create a new thread regarding the issue. I will help you there.
Thank You
Ravi Hello Sarin,
There are other important projects in the queue. So, MediaPress is not in the priority list. But we will let you know when decided.
Thank You
RaviHello Sarin,
Thank you for posting. Uploading media into comments functionality is not available right now. But we are planning this into our next major MediaPress release.
Thank You
Ravi- Ravi on April 9, 2019 at 5:45 am in reply to: [Resolved] “number of comment-limit” to work “FOR EACH POST” #22128
Hello Evillizard,
Thank you for acknowledgment. I have updated the plugin repo. Now settings have two new settings for Comments limit and Remaining comments count limit. You can on/off these settings. Please give it a try and let me know if it works or not.
Please download the latest archive code.
https://github.com/buddydev/comment-policy/archive/master.zipThank You
Ravi - Ravi on April 6, 2019 at 8:15 am in reply to: [Resolved] “number of comment-limit” to work “FOR EACH POST” #22022
Hello Evillizard,
Please download the plugin and check it. You can download this from the following url.
https://github.com/buddydev/comment-policy/archive/master.zipThank You
Ravi Hello Val,
Thank you for the acknowledgement. You are right it is a bug in our plugin and we have fixed it in our plugin. Please download the latest version for the plugin and Let us know if it works or not.
You can download from the following url.
https://buddydev.com/plugins/bp-simple-google-map/Thanks
RaviHello Val,
Hope your are doing well.
I have tested it today and it is working for me. Please let me know which version of BuddyPress and WordPress are you using?.
Thanks
Ravi