Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 751 through 775 (of 5,755 total)
  • Author
    Search Results
  • #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.

    #272226
    orero
    Participant

    Hi,

    I’m trying to use Contact Form 7 to register my users in BuddyPress. I’ve tried two

    • With a plugin Frontend Registration – Contact Form 7
    • Some code

    With a plugin Frontend Registration – Contact Form 7
    I’m trying to use this forum to register users. I’m using:

    • wP 4.9.5
    • Contact Form 5.0.1
    • Frontend Registration – Contact Form 7
    • BuddyPress 2.9.4 (Extended Profiles activated, I need this)

    Steps I followed:

    1. I’ve created my contact form “Register Form” and I’ve activated Registration Settings
    2. I’ve created my page “Registration” with “Register Form” on it
    3. At this point “Registration page” works ok (shows “Register Form”)
    4. Then I go to BuddyPress Settings and in Register Page select “Registration page”
    5. When I go to “Registration page”, all the content has been overwrite with BuddyPress registration fields

    Some code

    Source (2014)

    I’m not sure if I’m doing something wrong or simply this code it’s not working anymore.

    Any idea about how to do this (with a free option)?

    Thank you

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

    #272197
    wubs23
    Participant

    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.

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

    #272168
    zerlauth
    Participant

    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

    ivanecky844
    Participant

    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.

    #271973
    maxpozitiv
    Participant

    I can’t find how to duplicate new added field in User Profile.
    I have to add about 30 fields. The only difference between them is a name. So the easiest way is to simply copy them. Could you help me with this issue?

    #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
    thaianebet
    Participant

    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?

    #271523
    jamescushing
    Participant

    Hi all,

    I’m trying to customise the registration form using css classes (to work with a framework I’m using) – I was able to use the ‘bp_xprofile_field_edit_html_elements’ action to add some, but this only seems to apply to text inputs.

    How can I achieve the same for other fields such as selects and checkboxes? Ideally I’d like one hook in which I can customise the form completely… is this possible?

    If not, how easy would it be to create my own form entirely and post to the registration script as BP does?

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

    tapoulton2
    Participant

    Hi all,

    I’m new to BuddyPress but I’m quickly getting to grips with it. I am, however, having an issue with the registration and profile fields.

    Registration: it’s simply not doing anything when selecting “complete signup”. It sometimes redirects to the homepage and nothing shows up on the backend.

    Profile Fields: I’m getting duplications of the same field group, “Base (Primary)”. I’ve entered some new fields into the first of the duplicates, but nothing shows up on the registration page.

    Any support would be hugely appreciated.

    Cheers!

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

Viewing 25 results - 751 through 775 (of 5,755 total)
Skip to toolbar