BuddyDev

Search

Replies

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on 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

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: BuddyPress Branded Login shortcode #33887

    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

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on 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:

    https://ibb.co/zZ67pjv

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] BuddyPress Profanity Filter #33852

    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

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Tosin,

    Thank you for the acknowledgement. I am glad I could help.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Tosin,

    Please make sure in your “member-header.php” template has this action “bp_member_header_actions”. This is working for me.

    https://tinyurl.com/y5wwuhos

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    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

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    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

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Maarten,

    Sorry for the inconvenience. What kind of issue you are facing please do let me know.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on 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