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

    Hi,
    Can you please check now. Is the redirect working as expected or still not working?

    PS:- BuddyPress Multi network uses a separate table for listing users in directory. It does not re-enforce it at any other place.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25355

    Hi Linda,
    Thank you for confirming.

    I had a look at the groups. The Gallery is disabled for the individual groups. That’s why you are not seeing MediaPress option there.

    Please visit the Manage page of a group and enable Gallery(It is under setting, 2nd tab) for each of these galleries.

    That will make it work.

    PS:- At the time of group creation, MediaPress lets you decide if you want to keep the gallery enabled or not.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25355

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

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

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

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

    Thank you Rob.
    I am glad it worked.

    Looking forward to work with you soon again.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25355

    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