BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25211
    Brajesh Singh on in reply to: BuddyPress Moderation Tools #45434
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25211
    Brajesh Singh on in reply to: Failed Download – Network Error #45432

    Hi Tim,
    Thank you for the reply.

    I am sorry, I am not sure of the issue.

    Here is a fix that should show the badges above your social media

    
    add_action( 'bp_before_member_header_meta', function () {
    
    	if ( ! function_exists( 'bp_user_badges_get_user_badges_html' ) ) {
    		return;
    	}
    
    	echo bp_user_badges_get_user_badges_html( bp_displayed_user_id() );
    }, 0 );
    
    

    Can you please add this to your functions.php and let me know.

    PS:- Is there any chance that you have the badges disabled on profile. Before using this code, Please visit Dashboard->settings->Badge Settings and make sure that the “User Profile” is enabled.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25211
    Brajesh Singh on in reply to: BuddyPress Moderation Tools #45430

    Hi John,
    Thank you for the reply.

    I am sorry, I did not see any icon with the Gwangi theme activity screen. I found it after activating their Grimlock for BuddyPress plugin now.

    Please use this snippet

    
    // Use 'i' instead of Report for Moderation tools.
    add_filter( 'bpmts_report_button_args', function ( $args ) {
    	$args['label'] = ' ';
    
    	return $args;
    } );
    
    

    I request my team to test MediaPress with Gwangi and see if we can assist you.

    Regards
    Brajesh

    • This reply was modified 3 years, 5 months ago by Brajesh Singh. Reason: updated
  • Keymaster
    (BuddyDev Team)
    Posts: 25211

    Hi,
    You my try this.

    
    
    /**
     * Start buffering markup.
     * Keep a flag to discard it later.
     */
    function bd_custom_start_bp_nouveau_form_buffer() {
    	$GLOBALS['_bd_form_buffer_on'] = true;
    	ob_start();
    }
    
    //end buffering and discard.
    function bd_custom_end_bp_nouveau_form_buffer() {
    	if ( isset( $GLOBALS['_bd_form_buffer_on'] ) ) {
    		ob_end_clean();
    	}
    }
    
    add_action( 'bp_before_member_activity_post_form', 'bd_custom_start_bp_nouveau_form_buffer' );
    //add_action( 'bp_after_member_activity_post_form', 'bd_custom_end_form_buffer' );
    
    add_action( 'bp_before_directory_activity_content', 'bd_custom_start_bp_nouveau_form_buffer' );
    add_action( 'bp_after_activity_post_form', 'bd_custom_end_bp_nouveau_form_buffer' );
    
    

    This is for bp nouveau template pack. I do not use BuddyX and I am unable to confirm if it works with that theme or not.

    If it does not, Please consult the theme author.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25211
    Brajesh Singh on in reply to: Notification Options #45428

    Hi Debbie,

    Thank you for the question.

    The automatic mail can be configured per item type(and enabled/disabled by site admins).

    The plugin does not have a way to provide the further discussion on it and that’s one of the reasons why we make the email addresses of the reported as well as reporting user visible.

    Since a help desk/communication is beyond our current scope, we assume that having the email available will allow moderators communicate via other channels.

    I am not sure how do we incorporate the option to toggle notifications as the deletion/cleaning are link/url actions not a form submission.

    We will try to explore changing it in future.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25211
    Brajesh Singh on in reply to: BuddyBlog Pro maybe(?) #45427

    Thank you for the reply.

    It is always a pleasure.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25211

    Hi Nik,
    Thank you for the question.

    I am sorry, we lack the time to look into BuddyBoss code for the same.

    Please contact their support for assistance.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25211
    Brajesh Singh on in reply to: BuddyPress Moderation Tools #45422

    Hi John,
    Thank you for the reply.

    You may ad dthe following code( Please use any code snippet plugin if needed).

    
    // Use 'i' instead of Report for Moderation tools.
    add_filter( 'bpmts_report_button_args', function ( $args ) {
    	$args['label'] = 'i';
    
    	return $args;
    } );
    

    This will change the report to ‘i’. If you want an icon, Please let me know the icon font and code(you can ask gwangi authors for it if they provide one).

    I hope they are able to add MedaPress support.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25211

    Hi Abhist,
    That’s not the right way to handle it. anyone with basic web dev knowledge and get around this.

    Which theme and template pack are you using? The correct solution will be to remove the form from the page completely.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25211
    Brajesh Singh on in reply to: BuddyBlog Pro maybe(?) #45415

    Hi Nik,
    Thanbk you for the reply.

    For us, adding the tab and form is not an issue at all. we have done it in past and it is easy to achieve. The problem is correctly linking post activity to group without too much hack. we were able to link the post activity to group but that feels way much hacky and our goal has been to avoid fragile code.

    That’s the reason behind this.

    Regards
    Brajesh