Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25302
    Brajesh Singh on in reply to: [Resolved] Auto feature members #45980

    Hi Tosin,
    The problem is we are not storing any flag/marker to differentiate a user who has been marked as featured manually by the site admin.

    So, if we start automating the non featuring of user, it will impact that.

    Is that fine with you?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25302
    Brajesh Singh on in reply to: Suggestion of making a newsletter #45978

    Hi Carsten,
    Thank you.

    Here is the link for subscribing to our newsletter.
    http://newsletter.buddydev.com/

    I will have it available on BuddyDev soon.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25302
    Brajesh Singh on in reply to: [Resolved] Auto feature members #45960

    it strictly marks on 2. If you want to mark any user who has more than 24 posts(e.g 26, 28 etc), you change the condition from

    
    if ( 25 == $users_post_count && ! bp_featured_members()->is_featured( $user->ID ) ) {
    		bp_featured_members()->add_user( $user->ID );
    	}
    

    to

    
    if ( $users_post_count >= 25  && ! bp_featured_members()->is_featured( $user->ID ) ) {
    		bp_featured_members()->add_user( $user->ID );
    	}
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25302
    Brajesh Singh on in reply to: [Resolved] Auto feature members #45959

    Hi Tosin,
    Please give it a try and let me know if it works or not?

    
    
    add_action( 'transition_post_status', function ( $new_status, $old_status, $post ) {
    
    	if ( 'publish' !== $new_status || ! function_exists( 'bp_featured_members' ) ) {
    		return;
    	}
    
    	$user = get_user_by( 'id', $post->post_author );
    
    	if ( ! $user ) {
    		return;
    	}
    
    	$users_post_count = count_user_posts( $user->ID, 'post' );
    
    	if ( 25 == $users_post_count && ! bp_featured_members()->is_featured( $user->ID ) ) {
    		bp_featured_members()->add_user( $user->ID );
    	}
    
    }, 10, 3 );
    
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25302

    Hi Tosin,
    Thank you for the suggestion.

    We are noting it for future. at the moment, we don’t have any immediate plan for adding new feature to this plugin due to lack of time. We have some other projects as priority which we hope to start releasing from this week.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25302
    Brajesh Singh on in reply to: Exchange Please #45957

    Thank you.
    We will be testing and getting back to you in next 24-48 hours.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25302

    Thank you Chris.
    I am glad it worked.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25302

    Hi George,

    Thank you for using the plugin.

    The Profile Tabs Creator is fully compatible with BuddyBoss. Please let me know which tab/sub tab you are trying to edit which is not working?

    As far as 3rd party plugins are concerned, It works with most but there may be some incompatibility. Please let me know which 3rd party plugin you are trying to change and we will assist.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25302
    Brajesh Singh on in reply to: @mentions in BuddyBlog #45946

    Hi Nancy,
    Thank you for the question.

    The @ mention will work fine with BuddyBlog. BuddyPress applies a filter on post content to link to the mentioned user.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25302

    Hi Lisa,
    You will need to exclude the branded login pages from restricted scope.

    I will share the code in the day.

    Regards
    Brajesh