Forum Replies Created
-
To add my two cents, There is another plugin that allows file as well as image
Regards
BHi Artyom,
If you need to fetch hidden groups, you can passshow_hidden=> true
in bp_has_groups args. Likebp_has_groups(array( 'show_hidden'=> true ) )
Hope it helps.
Best
BHi,
It is possible to make it so but in that case profile needs to be default component.Try adding
define( 'BP_DEFAULT_COMPONENT', 'profile' );
to your bp-custom.php and see if it suits your need.
Regards
BHi,
There seems to be a solution available.You may use the BuddyPress addon from here
Using two step Login Authentication with Google Authenticator and BuddyPress
It needs the Google Authenticator plugin and enables the settings to the user(they can change from setting page).
Regards
BHello,
You can use this plugin for showing the ID in the dashboard.and you may add following code to your theme’s functions.php to show the ID on user profile when the user is viewing his/her own profile or it is being viewed by the site admin.
/** * Show User ID on a user's profile to the profile owner or Administrator. */ function bidboy_show_displayed_user_id() { if ( bp_is_my_profile() || is_super_admin() ) { echo 'ID: ' . bp_displayed_user_id(); } } add_action( 'bp_before_member_header_meta', 'bidboy_show_displayed_user_id' );
Best Regards
BHi,
BuddyPress works on top of WordPress to add community/social features. The integration is almost seamless.Now to answer your questions:-
1. will my members have to login a second time to use BuddyPress?
Is the login required by WordPress account? if yes, They will not need to login again.2. Will that they then have two accounts to deal with?
No, It is only one account.Give it a try, BuddyPress should be simple enough to use.
Best Regards
BYou are welcome 🙂
Hi Janaa,
The best option here will be to disable the bioedit section.
You can do it by visiting Dashboard->Appearance->Customize and clicking on “BuddyPress Nouveau” panel.
Under this panel, you will see a lot of section. You will need to choose “Member Front Page” as shown hereOnce you are there, you will see 2 options to disable front page or the bio section like this
Depending on your need, please feel free to disable them.
PS:- To be honest, you don’t need bio field, you can manage user’s details from xprofiles.
Regards
BHi,
You can use bp_is_my_profile() to check and display content as belowif ( bp_is_my_profile() ) { echo "The content for profile owner."; }
Best Regards
BIn that case, you can put it in your bp-custom.php or your theme/child theme’s functions.php
/** * Start buffering the visibility template. */ function bitboy_start_buffering_visibility_template() { ob_start(); } add_action( 'bp_custom_profile_edit_fields_pre_visibility', 'bitboy_start_buffering_visibility_template', -1 ); /** * End buffer and discard. */ function bitboy_end_buffering_visibility_template() { ob_end_clean(); } add_action( 'bp_custom_profile_edit_fields', 'bitboy_end_buffering_visibility_template', 1000 );
It will remove the visibility options completely.
Best Regards
BBtw, The above code disables the toggle option on profile edit too.
To only change it on registration page, Please use the below code instead.register-page .signup-form .editfield .field-visibility-settings, #register-page .standard-form .field-visibility-settings-header { display:none; }
Best Regards
BHi,
How did you disable the option? Are you using css to do it?There are two ways to do it
1. Using css
2. editing template file(register.php and keeping a copy in your theme’s buddypress/members directory)I will prefer the first approach as it will not be much work on a site admin’s part.
.register-page .signup-form .editfield .field-visibility-settings, .buddypress-wrap .standard-form .field-visibility-settings-header { display:none; }
Please visit Dashboard->Appearance->Customize menu then open “Additional Styles” and add those lines.
Does that work?
Best Regards
BYou are welcome.
Hi,
Here is another approach to solve the same issue./** * Change the profile edit landing group tab. */ function bitboy_change_landing_profile_group() { // are we on edit profile? if ( ! bp_is_user_profile_edit() || ! bp_is_my_profile() ) { return; } $group_id = 2; // Make sure a group is set. if ( ! bp_action_variable( 1 ) ) { bp_core_redirect( trailingslashit( bp_displayed_user_domain() . bp_get_profile_slug() . '/edit/group/'. $group_id ) ); } } add_action( 'bp_screens', 'bitboy_change_landing_profile_group', 2 );
This does not requore any change in any template file.
Hello,
You can change that by defining a constant in your bp-custom.phpdefine( 'BP_FRIENDS_SLUG', 'colleagues');
And yes, you can change slug for most of the component without affecting the functionality.
You may find the details at the bottom of this page for changing other slug.
Best Regards
B