Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 526 through 550 (of 3,593 total)
  • Author
    Search Results
  • #272288
    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

    #272272

    In 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.

    #272253
    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/

    Norman Cates
    Participant

    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….

    Varun 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.

    #272239
    Norman Cates
    Participant

    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

    #272229

    In reply to: BP vs WP user roles

    Paul Wong-Gibbs
    Keymaster

    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.

    #272199
    Venutius
    Moderator

    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.

    #272180
    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/

    #271944
    darunia77
    Participant

    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

    alexalexalex09
    Participant

    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.

    #271889
    jamescushing
    Participant

    Yeah I know about that, thanks though. What about all the xprofile fields?

    #271852

    In reply to: functionality doubts

    Venutius
    Moderator

    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.

    HDcms
    Participant

    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

    #271703

    In reply to: Customize member loop

    Venutius
    Moderator

    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.

    #271676
    Venutius
    Moderator

    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.

    Venutius
    Moderator
    #271522

    In reply to: Member loop

    shaundrania
    Participant

    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.

    pedger
    Participant

    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

    #271379
    David Cavins
    Keymaster

    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.

    Venutius
    Moderator

    The 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.

    #271347
    Venutius
    Moderator

    Ok 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.

    #271302
    David Cavins
    Keymaster

    It would be better if you added your custom code to bp-custom.php rather 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/

    #271294
    andreasnordengen
    Participant

    Well, 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…

    #271142

    Also, 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.

Viewing 25 results - 526 through 550 (of 3,593 total)
Skip to toolbar