Replies
- Ravi on October 13, 2020 at 1:37 pm in reply to: Disable Private Message Function of specific User Role #33890
Hello Travis,
Thank you for posting. Please let me know are you refering to BuddyBoss Group messages?.
Regards
Ravi Hello Tosin,
Thank you for having the patience. Please upgrade the plugin and use the following shortcode to render the login form
[branded_login_form]
Please check
Regards
Ravi- Ravi on October 13, 2020 at 4:49 am in reply to: Buddypress Ajax Registration does'nt register anything #33882
Hello Shuzo,
Sorry for the inconvenience. I have tested it with your configuration and it is working for me. Can you please share the ajax reponse you are getting. You can get response via google-chrome inspect window “CTRL+SHIFT+I” under “Network” look for admin-ajax.php. Please check the screenshot:
Regards
Ravi Hello Tosin,
Thank you for using the plugin and the suggestion. As it is the first release of the plugin we have only supported Activity, Message and Forum content types. In future we will check the feasibility for other content types too included post, comments etc and will update you.
Regards
Ravi- Ravi on October 8, 2020 at 4:08 am in reply to: [Resolved] How to add custom buttons to buddypress profile page #33788
Hello Tosin,
Thank you for the acknowledgement. I am glad I could help.
Regards
Ravi - Ravi on October 7, 2020 at 5:07 pm in reply to: [Resolved] How to add custom buttons to buddypress profile page #33784
Hello Tosin,
Please make sure in your “member-header.php” template has this action “bp_member_header_actions”. This is working for me.
Regards
Ravi - Ravi on October 7, 2020 at 2:32 pm in reply to: [Resolved] How to add custom buttons to buddypress profile page #33772
Hello Tosin,
Try the following code.
/** * Add custom button on user own profile */ function buddydev_add_custom_buttons() { if ( ! bp_is_my_profile() ) { return; } $new_article_button_args = array( 'id' => 'buddydev_new_article', 'component' => 'members', 'must_be_logged_in' => true, 'block_self' => false, 'link_href' => esc_url( 'https://www.website.com/publish/' ), 'link_text' => __( 'Write a new article' ), ); $new_advert_button_args = array( 'id' => 'buddydev_new_advert', 'component' => 'members', 'must_be_logged_in' => true, 'block_self' => false, 'link_href' => esc_url( 'https://www.website.com/advertise/' ), 'link_text' => __( 'Post a free advert' ), ); echo bp_get_button( $new_article_button_args ); echo bp_get_button( $new_advert_button_args ); } add_action( 'bp_member_header_actions', 'buddydev_add_custom_buttons' );
Regards
Ravi - Ravi on October 7, 2020 at 12:41 pm in reply to: [Resolved] How to add custom buttons to buddypress profile page #33763
Hello Tosin,
Thank you for posting. Please try the follwoing code it will add two on loggedin user profile with “BuddyPress Nouveau” template active
/** * Add two buttons * * @param array $buttons Buttons. * * @return array */ function buddydev_add_custom_buttons( $buttons ) { if ( ! bp_is_my_profile() ) { return $buttons; } $buttons['new_article'] = array( 'id' => 'buddydev_new_article', 'component' => 'members', 'must_be_logged_in' => true, 'button_element' => 'a', 'link_text' => __( 'Write a new article' ), 'button_attr' => array( 'href' => esc_url( 'https://www.website.com/publish/' ), 'title' => __( 'Write a new article' ), ) ); $buttons['new_advert'] = array( 'id' => 'buddydev_new_advert', 'component' => 'members', 'must_be_logged_in' => true, 'button_element' => 'a', 'link_text' => __( 'Post a free advert' ), 'button_attr' => array( 'href' => esc_url( 'https://www.website.com/advertise/' ), 'title' => __( 'Post a free advert' ), ) ); return $buttons; } add_filter( 'bp_nouveau_get_members_buttons', 'buddydev_add_custom_buttons' );
Please let me know if it helps or not.
Regards
Ravi - Ravi on October 7, 2020 at 5:55 am in reply to: [Resolved] BuddyPress User Testimonials plugin makes Thrive comments disappear #33753
Hello Maarten,
Sorry for the inconvenience. What kind of issue you are facing please do let me know.
Regards
Ravi - Ravi on September 30, 2020 at 7:54 am in reply to: [Resolved] How can I hide comment from activity page #33587
Hello Danis,
I have thought again on this and found you are making changes to “buddypress.js” which is not loading. Please try after rename it to “buddypress.min.js”.
Regards
Ravi