Search Results for 'profile fields'
-
AuthorSearch Results
-
April 20, 2018 at 8:59 pm #272288
In reply to: Creating A Custom Profile Member Page
Jayell12
Participant@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
April 20, 2018 at 8:17 am #272272In reply to: GDPR compliance
Varun Dubey
Participant@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.April 20, 2018 at 3:20 am #272253In reply to: Registration with Contact Form 7
Varun Dubey
Participant@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/
April 20, 2018 at 3:15 am #272252Norman Cates
ParticipantThanks.
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….
April 20, 2018 at 2:43 am #272245Varun Dubey
Participant@normancates you can check for https://wordpress.org/plugins/bp2wp-full-sync/ plugin, it will allow mapping your xprofile fields with WordPress User Fields.
April 20, 2018 at 12:32 am #272239In reply to: WordPress to BuddyPress profile sync
Norman Cates
ParticipantThat’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,
NormApril 19, 2018 at 4:46 pm #272229In reply to: BP vs WP user roles
Paul Wong-Gibbs
KeymasterBuddyPress does not use WordPress user roles or capabilities. Technically, there is a
bp_moderatecapability, but we map that to roles that havemanage_optionscapability (by default), or Network Admins, in multisite.Even so, some parts, including the Profile Fields admin screen in wp-admin, require the
manage_optionscapability.So, basically, add the
bp_moderatecapability to all your custom roles, and if that doesn’t work, they’ll need themanage_optionsrole — which, warning, gives them a lot of WordPress admin power as well.No ways around this at the moment.
April 18, 2018 at 2:30 pm #272199In reply to: Buddypress s2member profiles
Venutius
ModeratorMind, 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.
April 18, 2018 at 7:23 am #272180In reply to: SWITCH FROM ULTIMATE MEMBER TO BUDDYPRESS
Varun Dubey
Participant@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/April 10, 2018 at 4:01 am #271944In reply to: Alternative to Xprofile
darunia77
ParticipantHey 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.
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:
April 7, 2018 at 12:24 pm #271893alexalexalex09
ParticipantWhoops, 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.
April 7, 2018 at 12:30 am #271889In reply to: Customising Registration Form
jamescushing
ParticipantYeah I know about that, thanks though. What about all the xprofile fields?
April 5, 2018 at 2:30 pm #271852In reply to: functionality doubts
Venutius
ModeratorI’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.
April 4, 2018 at 11:36 am #271772HDcms
ParticipantHello,
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
April 3, 2018 at 4:11 am #271703In reply to: Customize member loop
Venutius
ModeratorI 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.
March 31, 2018 at 12:38 pm #271676In reply to: Remove Profession field in Extended Profile
Venutius
ModeratorPresumably 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.
March 31, 2018 at 10:24 am #271672Venutius
ModeratorThis blog might help:
https://samelh.com/blog/2017/10/26/add-fields-buddypress-registration-form-profile/
March 21, 2018 at 7:57 pm #271522In reply to: Member loop
shaundrania
ParticipantThank 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.
March 15, 2018 at 2:15 pm #271381pedger
ParticipantI 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.14March 15, 2018 at 2:10 pm #271379In reply to: Adding new field to user registration form.
David Cavins
KeymasterHi @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.
March 14, 2018 at 6:26 pm #271364Venutius
ModeratorThe only other free profile search I know of is BP Search, but that is only for looking up names, it does not search the other fields.
March 14, 2018 at 1:05 pm #271347In reply to: Register & Profile Fields not showing or working
Venutius
ModeratorOk I’m in.
You should change that password now I’ve had access.
I can see what the problem is, your Base Profile field looks to be corrupt. It’s duplicated and does not have the required Name field. I added this field to one of the profile fields and it still did not show up.
So basically your profile field settings are corrupt in your database. As I see it there are two ways forward:
1. Delete wordpress entirely including the Database and start again.
2. Try to recover your Database by manually editing it.Given it’s a test site and you are not experienced I suggest option 1 is the best way forward.
It would be good to know exactly what happened to get this error, technically it should not happen.
March 13, 2018 at 2:43 pm #271302In reply to: Edit fields in members directory
David Cavins
KeymasterIt would be better if you added your custom code to
bp-custom.phprather than to a theme. (When the theme is updated, you’ll lose your changes.)About
bp-custom.php: https://codex.buddypress.org/themes/bp-custom-php/To insert those fields, you’ll just have to change you code, replacing
'field=Location'with the name of your profile field. Here’s some more info: https://codex.buddypress.org/themes/guides/displaying-extended-profile-fields-on-member-profiles/March 13, 2018 at 8:52 am #271294In reply to: Edit fields in members directory
andreasnordengen
ParticipantWell, I asked the developer behind the theme I´m using and got this code:
function sq7_extra_fields_members_directory() { $location = bp_get_member_profile_data('field=Location'); $specialization = bp_get_member_profile_data('field=Specialization'); if ($specialization || $location) { echo '<div class="mdetcenter">'. 'Location : ' . $location . '</div>'; echo '<div class="mdetcenter">'. 'Specialization : ' . $specialization . '</div>'; } } add_action('bp_directory_members_item', 'sq7_extra_fields_members_directory');But, when I add the code and update, I get this message from WordPress:
Could not communicate back with the site to check for faulty errors, so the PHP change was reset. You must upload your change to the PHP file in another way, for example, with SFTP.Could be related to my PHP version…
March 1, 2018 at 7:35 pm #271142In reply to: Duplicate Register Page
OC WordPress Web Designer
ParticipantAlso, telling me to get a registration profile plugin won’t help because I have to have the buddypress integration with Geodirectory which doesn’t translate profile fields with third party registration plugins.
-
AuthorSearch Results