BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25203

    Hi Peter,
    Thank you for the details.

    No issues with the missing qotes.
    I had a look and while I can see the issue you are pointing, It has nothing to do with profile tabs. Yes, the tab plugin is acting like a a trigger to unleash the bug.

    The profile tab plugin only affects site.com/members/member-user/… pages and not the activity directory or any directory pages.

    At the moment, you are using a custom page as home page and my guess is the code showing the activity there is trying to do it unorthodox leading to the issue.

    I had a look in the back end and the page shows “Block editor, Elementor”, so I did not edit it. Did you use Elementor or the block editor to create it? Please let me know and I will check that to see what is causing this.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25203
    Brajesh Singh on in reply to: MediaPress Gallery Category #48764

    Hi Earl,
    Thank you.
    We will definitely do that.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25203

    Hi,
    I believe a developer can certainly do it. They will need to implement it more on the line of Multi options field. It is not difficult to create a new field type with similar feature.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25203

    Hi Torben,
    Thank you for the question.
    I will suggest approaching BuddyBoss support as it is very much related to their plugin.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25203
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25203
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25203
    Brajesh Singh on in reply to: [Resolved] Mediapress effects addon #48745

    Thank you

  • Keymaster
    (BuddyDev Team)
    Posts: 25203
    Brajesh Singh on in reply to: MediaPress Gallery Category #48744

    Hi Earl,
    Thank you for the reply.

    Since last couple of years, we did not push MediaPress much because of the indecision. Originally, MediaPress was built for BuddyPress. We were aware that BuddyPress media integration was about to come but it took a lot longer than we expected(I was expecting in 2020-2021).

    Now that BuddyPress will have its media component, we will have a lot of freedom to re-plan our future.

    At the moment, I am seeing 2 path forward:- Making MediaPress a complete solution for front end use uploaded/shared gallery for WordPress or we add integration for some other platforms that lack media capability. I am more inclined for the first as we can put real effort without worrying about 3rd party compatibility.

    I am still unsure and I am pretty sure that we will have to support MediaPress for BuddyPress for couple of years until most of our members move to the core solution but I am going to rethink its future for sure.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25203

    Hi Nik,
    Thank you.

    Please find the snippet for both the cases.

    
    
    // Allow editors to publish irrespective of form status.
    add_filter( 'bblpro_default_post_status_for_user', function ( $status, $user_id, $form_id, $post_id ) {
    	// can user edit other posts?
    	if ( 'members' === bblpro_get_form_type( $form_id ) && user_can( $user_id, 'edit_others_posts' ) ) {
    		$status = 'publish';
    	}
    
    	return $status;
    }, 10, 4 );
    
    // for group admint o always allow publish.
    add_filter( 'bblpro_default_post_status_for_user', function ( $status, $user_id, $form_id, $post_id ) {
    
    	if ( ! function_exists( 'bblgroups_get_post_group_id' ) || ! function_exists( 'groups_is_user_admin' ) ) {
    		return $status;
    	}
    
    	if ( 'groups' !== bblpro_get_form_type( $form_id ) ) {
    		return $status;
    	}
    
    	$group_id = bp_is_group() ? bp_get_current_group_id() : 0;
    
    	if ( ! $group_id && $post_id ) {
    		$group_id = bblgroups_get_post_group_id( $post_id );
    	}
    
    	if ( ! $group_id ) {
    		return $status;
    	}
    
    	if ( groups_is_user_admin( $user_id, $group_id ) ) {
    		$status = 'publish';
    	}
    
    	return $status;
    }, 10, 4 );
    
    

    I will check for the email tomorrow. It should not go to user. It is probably a regression. I will have a solution in next 2 days.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25203

    Hi Peter,
    Thank you for the detail.

    Please tick the “Is Enabled” in the sub tab here.
    https://staging11.nutmegmiata.org/wp-content/uploads/2023/03/Screenshot-2023-03-09-at-4.49.01-PM.png

    That should fix it.

    Regards
    Brajesh