Replies
Closing it in favor of https://buddydev.com/support/forums/topic/tag-line/
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
BrajeshThank 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
BrajeshHi 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
BrajeshHi 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- Brajesh Singh on August 7, 2017 at 2:05 pm in reply to: [Resolved] How to translate – BuddyPress Editable Activity? #10247
Thank you.
I am glad it did is clarified now 🙂Regards
Brajesh - Brajesh Singh on August 7, 2017 at 1:51 pm in reply to: [Resolved] How to translate – BuddyPress Editable Activity? #10245
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 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- Brajesh Singh on August 7, 2017 at 1:42 pm in reply to: [Resolved] Translation does not work for BuddyPress Notifications Widget #10242
Thank you Thorsten.
I sincerely appreciate your support and patience in helping me make it better.
Best regards,
Brajesh 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