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: 25494
    Brajesh Singh on in reply to: Branded Login mail adjustment #26938

    Hi Ralf,

    The message is translatable. Please see line 193 in core/classes/class-bl-actions-handler.php

    If you used the translation file that came with file, you will see it around msg id 4 and 20.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    Thank you Blake.
    I am glad I was able to help.

    Best regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: [Resolved] Branded Login 'get new password' issue #26934

    You are welcome 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25494

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

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

    Thank you Amir.
    marking resolved.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494

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

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