@vapvarun, I just noticed that when I click on “Settings” it takes me to this page:
http://mobileweb.guru/webdev/crowdwel/members/james/settings/
However, the display is the same as:
http://mobileweb.guru/webdev/crowdwel/members/james
There are no options to edit the profile fields.
@vapvarun, thank you for your swift response.
I have managed to get some test fields to show. I have almost got the profile page to where it needs to be but how do I get rid of the name above the avatar?
http://mobileweb.guru/webdev/crowdwel/members/james/
Thank you,
James
@jgflores
As per my understanding
— BuddyPress does not save any data related to IP address inside cookies.
— All the profile fields which you have created for your users are kept inside your WordPress database only, not linked to any 3rd party application. If you are using Akismet plugin for spam protection for BuddyPress, they will check logged in member IP address to cross check with their spammer’s database log, again that’s not the BuddyPress thing.
@orero It will suggest using Gravity form user registration add-on, it will give you WordPress user meta and BuddyPress xprofile fields mapping option as well as gravity form fields.
https://www.gravityforms.com/add-ons/user-registration/, it will take care of all user and field validation as well.
As a free option, you can check https://wordpress.org/plugins/frontend-registration-contact-form-7/
Thanks.
yeah, that plugin is useful, but it’s only one way. It only goes from BP to WP not WP to BP.
It also has limited WP profile fields available. Although that’s easy enough to fix by adding items to the array in the plugin…
The core problem is that once you have BP, there’s two different places to change the basic profile data. Having BP be able to take over the appropriate WP profile areas would make things so much easier….
@normancates you can check for https://wordpress.org/plugins/bp2wp-full-sync/ plugin, it will allow mapping your xprofile fields with WordPress User Fields.
That’s awesome.
Why is this not a standard part of Buddypress? (Rhetorical question)
IMO, any fields should be designated (or able to be designated) as linked to the WP profile information.
THis is a CONSTANT source of confusion for me and any users. Because some plugins use the WordPress profile info, and some the Buddypress info.
I get that they probably need to do that. But at least let us synchronise the data.
Including display name options…
Please, BP / WP developers, slam an interface on this and let us keep our data consistent.
Cheers,
Norm
BuddyPress does not use WordPress user roles or capabilities. Technically, there is a bp_moderate capability, but we map that to roles that have manage_options capability (by default), or Network Admins, in multisite.
Even so, some parts, including the Profile Fields admin screen in wp-admin, require the manage_options capability.
So, basically, add the bp_moderate capability to all your custom roles, and if that doesn’t work, they’ll need the manage_options role — which, warning, gives them a lot of WordPress admin power as well.
No ways around this at the moment.
Mind, one possibility is to overload the page template for the users profile page and remove the call that displays the additional xProfile fields. But that would remove all of them, not just those added by S2 Member.
Hello,
I am currently using Buddypress in addition to s2member.
The user has to log in using s2member and give a whole bunch of personal information.
They need to log in using s2member for certain reasons, one of which is another area where this information is required and used.
However, all the information from the s2member registration is visible in their profile.
I really do not want this.
Is there a way to make it so they still login using s2member (site-wide, including buddypress and bbpress areas), but have the profiles not use all the registration fields from s2member?
Thanks.
@twwebbie You will have user data same and after activating BuddyPress, you will also have Profile for all. Ultimate Member saves profile details to user meta, you can export them as CSV data and with CSV you can import them into BuddyPress xprofile fields.
For UM activities, they can not be imported directly into BuddyPress activities, you can check with your developer to create migration script for UM activities.
For BuddyPress WooCommerce integration you can use https://wordpress.org/plugins/wc4bp/
Paid membership pro also offer free add-on for it https://wordpress.org/plugins/pmpro-buddypress/
Perhaps can you help me (us).
We have a WP site with BP extension and a full page of extended profile fields.
I cannot synchronise both properly in order to have BP user roles allowed to some WP users or groups, for instance Mr X (created in WP) only being allowed to manage the BP extended fields for the whole site population, approx. 400 people.
It does not work and Mr X only accesses the base WP fields, note the extended ones.
Is this problem well known ? What did I made wrong ?
Thanks in advance
Chris’
France
Hi everyone, I have been using the product theme BuddyPress for my site, however, when I create profile fields it does not show correct bullets when a user inputs them into the product. I want it to show bullets.
Here is what I input in profile fields with bullets
https://drive.google.com/open?id=1LQeNK_Vth_OJQadjLMw3WWxO8GhuSR3w
Here is what the output looks like (bullets are removed)
https://drive.google.com/file/d/1j82LX59VLqgK0OS97CkhwuKiQgVRKdlF/view?usp=sharing
What could be the issue here? Any help would be great.
Hey guys, @grounder is talking about xprofile fields plugin, not Buddypress. Read the thread title.
I assume it’s this plugin as it has been abandoned by wordpress recently as it has not been updated in 3 years or so.
Buddypress Xprofile Custom Fields Type
I am also using this plugin and looking for an alternative. My hosting (wp-engine) just notified me that this plugin has a security vulnerability and they have contacted the developer to fix it but I doubt it will happen.
I think this plugin might be an alternative but have to look into it, if anyone is also in this situation. This one is also not updated:
Advanced XProfile Fields for BuddyPress
Whoops, I forgot instructions on how to change the account details fields. Here, I updated it:
To change the text on the regular (Account Details) fields, make a copy of wpcontent/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/register.php and place it in themes/your-child-theme/buddypress/members (a folder which you will have to create).
Then, open that file and replace every instance of <?php _e( '(required)', 'buddypress' ); ?> with your asterisk (*).
Then, to change the text on profile fields (Profile Details), just add the following code to bp-custom.php (which, if it doesn’t exist, you’ll need to create in wpcontent/plugins).
function bp_change_required_label($translated_string, $field_id) {
return '*';
}
add_filter('bp_get_the_profile_field_required_label', 'bp_change_required_label', 10, 2);
This function hooks into the function bp_get_the_profile_field_required_label() in buddypress/bp-xprofile/bp-xprofile-template using the supplied filter. It takes the translated “(required)” string and replaces it with “*”. which will also remove any translation – but that should be acceptable for a symbol in most cases.
Yeah I know about that, thanks though. What about all the xprofile fields?
I’ve only used BP Profile Search and I’ve got to say you would probably need to customise that too, it’s got the basic fuctionality in that it allows you to search all the profile fields but I think the search algorithm itself needs revamping, also it would need to only be visible to one member type I think.
Hello,
On another forum, I had this suggestion with WP function 🙂
But I am embarrassed if I can not put a default value to my numeric field!
$users = get_users( [ 'fields' => 'ids' ] );
global $wpdb;
/** @var \WP_User $user */
foreach ( $users as $user_id ) {
$results = $wpdb->insert(
'bp_xprofile_data',
[
'field_id' => 794,
'user_id' => $user_id,
'value' => 4,
'last_updated' => new \DateTime()
],
[ '%d', '%d', '%d', '%s' ]
);
}
regards
I think you are really talking about new page, one that performs a search of the members profile fields and comes up with matches. If I were you, I’d look at using BP Match Me as a basis for this, or maybe BP Profile Search and then providing my own custom code to automate the search process.
Presumably you added this, since it’s not part of BP by default. Go to Dashboard>>Users>>Profile Fields and you should be able to delete it there. But make sure you don’t have any plugins relying on it being there. Same place for adding new fields.
Hello, I’m in trouble and I need help solving it.
The BuddyPress Plugin, when enabled, leaves my intranet slow and the field to put the birthday date in the extended profile is gone.
How can I solve this? Can you help me?
Thank you @shanebp!! Question- where it says “if you want to show profile fields you can”, how do I do that? I want to show certain profile fields.
I have the same issue. Apart from the Name field, all new fields marked as required doesn’t throw errors when the user saves its profile on either on frontend and backend.
I created the fields using User > Profile fields tool, where there’s a required option. The input elements on the frontend even has ‘aria-required=”true”‘ param.
In my case, when the user leaves a field empty (i.e. deletes the info that was there previously, the db entry is simply deleted. (agreed with @dro-i-de, not the expected behavior)
How xprofile handles the fields marked as required?
running WP 4.9.4 Theme: Boss (child Theme) 2.4.2
Buddypress: 2.5.14
Hi @teljkon-
I don’t understand your points 2 and 3, but 1 can be solved easily: https://codex.buddypress.org/administrator-guide/extended-profiles/
Fields in the “Primary (Base)” profile field group are added to the registration form.