Replies
- Ravi on April 22, 2019 at 9:20 am in reply to: [Resolved] Change comment edit link/button to "delete" button #22478
Hi,
How do we know user is moderator?.
Regards
Ravi Hello Geeko,
Please check the following topic. It might help you
Please do let me know if it fixes your requirement.
Regards
Ravi- Ravi on April 22, 2019 at 8:42 am in reply to: [Resolved] FEATURE IDEA – Limit Groups Per User – Redirect after #22471
Hello Michael,
I am glad that I could help. No, I work with Brajesh sir.
Regards
Ravi- This reply was modified 7 years, 6 months ago by
Ravi.
- This reply was modified 7 years, 6 months ago by
- Ravi on April 22, 2019 at 7:31 am in reply to: [Resolved] FEATURE IDEA – Limit Groups Per User – Redirect after #22469
Hello Michael,
We have added redirect url functionality to the plugin. Please check.
Regards
Ravi - Ravi on April 19, 2019 at 12:10 pm in reply to: [Resolved] Activity confirm action support for confirm bp action plugin #22438
Hello Tosin,
I have added the support for activity delete in the plugin. New settings section are implemented in the plugin when you can enable the confirm action for delete activity. Please download the latest version of the plugin.
You can download it here
https://buddydev.com/plugins/bp-confirm-actions/Please let me know if it works or not.
Regards
Ravi - Ravi on April 15, 2019 at 2:00 pm in reply to: [Resolved] Activity confirm action support for confirm bp action plugin #22297
Hello Tosin,
Thank you. I will update you by Thursday/Friday.
Thank You
Ravi - Ravi on April 12, 2019 at 9:36 am in reply to: [Resolved] Activity confirm action support for confirm bp action plugin #22237
Hello Tosin,
I will look into it and let you know by next week.
Thank You
Ravi Hello Tosin,
You are missing CSS classes in the anchor. Please add and then check and let me know if it works or not.
Thank
Ravi- 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