Replies
- Brajesh Singh on August 8, 2017 at 10:15 pm in reply to: [Resolved] Automatically join groups on registration #10260
Hi Jay, Allan
Sorry to keep you waiting.
I am finally getting ready for the release.
Here are the features you can expect in the first release1. Conditionally add user to predefined lists(one or more lists) of groups on registration(Conditions based on profile data, member type etc).
2. Conditionally add predefined list of users as friends, follower,following on new registration
3. Suggest groups to logged in user based on conditions(profile data, friends, member types etc)
4. Suggest users as friend suggestions, following suggestion etc based on the conditions.An admin can define one or more rule for each of the above scenario.
Each rule contains one or more conditions and an action to perform.
I am still going to need a few more days before putting it here. I hope that the final product will be worth the wait.
Thank you for the patience.
Regards
Brajesh 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