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: 25384
  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: [Resolved] Tag line #10257

    Hi,
    Please check if there is a file named bp-custom.php in your plugins directory(wp-content/plugins)

    If it is not, you can create one(Are you familiar with php, if not, then avoid it).

    Alternatively, you can put the code in your theme’s functions.php

    You can open the functions.php of you theme and check if your theme has a

    ?>

    at the bottom of the file,

    If it is there, Please add the code just before it.

    If it is not there, You can add the code at the bottom and it will work.

    Hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: [Resolved] Tag line #10254

    Thank you.

    Please add the following code to your bp-custom.php

    
    /**
     * Append tag line to the user mention name.
     *
     * @param string $mention_name name used for mention.
     *
     * @return string
     */
    function buddydev_custom_show_user_tagline( $mention_name ) {
    	$field_tagline_id = 6; // change it if you change your tagline field id.
    
    	$tagline = esc_js( xprofile_get_field_data( $field_tagline_id, bp_displayed_user_id() ) );
    
    	if ( empty( $tagline ) ) {
    		return $mention_name;
    	}
    
    	return $mention_name . "<span class='user-tagline-separator'>|</span><span class='user-tagline'>{$tagline}</span>";
    }
    
    add_filter( 'bp_get_displayed_user_mentionname', 'buddydev_custom_show_user_tagline' );
    
    

    Please do let me know if that works for you or not?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: [Resolved] Tag line #10252

    Hi Frances,
    Is it feasible that you create a profile field as tagline and then I provide you some code to show it after the name?

    That will be the simplest implementation.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: social media accounts #10250

    Hi Frances,
    do you want to allow users to login using social accounts? If so, There are many plugins available
    like the following:
    https://wordpress.org/plugins/oa-social-login/
    https://wordpress.org/plugins/wordpress-social-login/

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Thank you.
    I am glad it did is clarified now 🙂

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Hi Thorsten,
    Thank you for confirming.

    1. The option merely allows storing the previous content. It has no significant yet. The goal was if people (site admins)wanted, we might have given an option to show original etc.

    Since it has no significant currently, you can safely disable it. It does store value in the activity meta so depending on the size of community and how many people edit their activity, might show some effect on database. But the chances are low, really low.

    Hope it clarifies.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: BuddyPress Message Privacy help #10244

    Thank you for the prompt repose Graham!
    I am glad it is working as expected.

    Allowed has the highest priority, then blocking and then the other privacy setting. That’s why adding friend does not override the setting.

    Thank you for taking time to upgrade.

    I will wait for DW’s feedback and then mark it as resolved.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Thank you Thorsten.

    I sincerely appreciate your support and patience in helping me make it better.

    Best regards,
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: BuddyPress Message Privacy help #10238

    Hi Again,
    The update is now available
    https://buddydev.com/plugins/buddypress-message-privacy/

    Please give a try to 1.2.0 and let me know if it works or not?

    It will show the block/unblock on the single message thread page(Only when the communication is one to one)

    Hope that helps.
    Regards
    Brajesh