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

    Hi Blake,

    Thank you for the patience. It seems the above code may not work from theme’s functions.php.

    Please use FTP and navigate to wp-content/plugins directory.

    Do you have a file named bp-custom.php there? If yes, Please append the code from my previous message

    
    
    add_filter( 'bp_core_signup_send_activation_key', '__return_true', 111 );
    
    

    If you do not have this file, Please create a file there and name it bp-custom.php and put the contents from following page

    https://pastebin.com/raw/j0WCitnA

    The only difference is that the new file contains the beginign php tag.

    This approach works as I tested before replying.

    PS:- Make sure to change the email subject as it is ” Your username and password” which is confusing.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25348
    Brajesh Singh on in reply to: BuddyPress Member Types Pro – LearnDash Groups #26929

    Hi Amir,
    Thank you.

    I have pushed the update.

    Please upgrade to 1.3.9.

    regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25348

    Thank you Amir.
    We do not plan to remove it in near future to avoid breaking backward compatibility.

    Marking it resolved.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25348

    Thank you Amir.
    marking resolved.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25348

    Hi Blake,
    I am sorry for the inconvenience.

    Please allow me to check and get back to you in next 30 – 45 mins.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25348

    Hi Carsten,
    Thank you.

    2. I will test and get back to you tomorrow.

    3. Yes there is. There are times when you may want a tab to be avilable on certain role’s profile and then control which visitor roles an see them.
    For example, You can make a tab 1 available on subscriber profile which is only visible to subscriber and editor using these 2 options.

    Here is a snippet that adds different css class to body depending on which profile you are viewing

    
    add_filter( 'body_class', function ( $classes ) {
    
    	if ( ! bp_is_user() ) {
    		return $classes;
    	}
    
    	if ( bp_is_my_profile() ) {
    		$classes [] = 'is-my-profile';
    	} else {
    		$classes [] = 'is-other-profile';
    	}
    
    	return $classes;
    } );
    
    

    I hope you can use it to target different profiles.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25348
    Brajesh Singh on in reply to: [Resolved] Flag Symbol Instead of 'Report' #26918

    Hi,
    This will work fine but may I know why do you prefer this method over translation.

    Translation will allow you to keep the changes in future while with this method, It will be lost in next upgrade.

    PS:- If needed, I can help with how you can translate.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25348

    Hi Blake,
    Thank you.

    I am glad that worked as expected.

    Since BuddyPress sends a validation email on account creation(user registration), we had that disabled by using this code

    
    add_filter( 'bp_core_signup_send_activation_key', '__return_false', 110 ); // 5 args,no need to send the clear text password when blog is activated
    
    

    You can either enable it by putting this code in theme’s functions.php

    
    
    add_filter( 'bp_core_signup_send_activation_key', '__return_true', 111 ); 
    

    Or I can put an update by tomorrow with a settings panel that will allow you to select it there.

    Please let me know which suits you.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25348

    Hi,
    Welcome to BuddyDev forums.

    1. Can you please tell me what exactly you want to achieve. That will help me assist you better. I am sorry, I am not sure from the above.

    We do prevent sending mail for forgotten password but it is only when user account is created. If you are trying to reset password for existing account, It does not prevent the mail.

    Since the user already saves password while registering with BuddyPress, so the forgot password email on account creation was a nuisance.

    Also, we have a 100% refund policy. Let me assist you with your issue. If not, let me know and I will issue the refund.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25348
    Brajesh Singh on in reply to: BuddyPress Member Types Pro – LearnDash Groups #26910
    This reply has been marked as private.