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: 25485

    Hi Linda,
    Thank you.

    It was a bug in theme. While checking for activity delete permissions, we were passing activity id instead of object. This worked for admins as the actual activity was not checked but not for subscribers.

    I have fixed it on the site and will be releasing as part of our theme in next couple of days(coupled with other changes).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Linda,
    Thank you.

    I had a look and I can see the issue with delete.

    You have something filtering on ‘bp_activity_user_can_delete’ and that is causing it.

    Can you please provide me FTP access. I can check your bp-custom.php as well as any custom code in child theme(if used) to find the reason.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Linda,
    I am logged in as admin, so I am able to delete the activity.

    Can you please provide me a guest account where I can see the issue.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Linda,
    Thank you for the reply.
    I will check now.

    About the upload:- It seems you are using Activity Plus with MediaPress. That is causing the issue. This theme is 100% compatible with MediaPress. Can you please disable the activity plus temporarily.

    PS:- If you can tell me the purpose of using Activity Plus, I will gladly add those features to MediaPress itself.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: BuddyPress Force profile Photo : Redirect #28696

    Hi Granmeh,
    No, It is not doable currently. The reason is profile uploads are handled via ajax request and you need to save it in the database if you want to redirect on next request(which is not intuitive for user).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: Username is not showing in buddypress header. #28695

    Hi Aditya,
    Thank you for the question.

    Can you please provide more details about the theme/template pack you are using. This will mostly depend on them.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Thank you Rob.
    I am glad it worked.

    Looking forward to work with you soon again.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Rob,
    Yes, it is doable.

    The problem is that if we do it in this plugin, It might be against the expectation of many site admins since the plugin has been available for so many years.

    Here is some code. Please put it in your bp-custom.php and see if it helps.

    
    
    add_action( 'bp_actions', function () {
    	if ( ! bp_is_current_component( 'activate' ) ) {
    		return;
    	}
    
    	$key = bp_get_current_activation_key();
    	if ( ! $key ) {
    		return;
    	}
    
    	$user = apply_filters( 'bp_core_activate_account', bp_core_activate_signup( $key ) );
    
    	// If there were errors, add a message and redirect.
    	if ( ! empty( $user->errors ) ) {
    		bp_core_add_message( $user->get_error_message(), 'error' );
    		bp_core_redirect( trailingslashit( bp_get_root_domain() . '/' . buddypress()->pages->activate->slug ) );
    	}
    
    	bp_core_add_message( __( 'Your account is now active!', 'buddypress' ) );
    	bp_core_redirect( add_query_arg( 'activated', '1', bp_get_activation_page() ) );
    
    } );
    
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Linda,
    The Community Builder theme is not compatible with Our Editable Activity and Rate limiters addon(for activity & messages).

    We are working on it and will be releasing the updates by coming Tuesday. Please disable the integration if you have one of them.

    Please let me know if that makes it work.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Rob,
    No, this plugin does not bypass the second activation. All it does is logs in the user automatically. Otherwise, they need to login manually.

    Regards
    Brajesh