Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 1 through 25 (of 4,786 total)
  • Author
    Search Results
  • #259244
    Profile photo of aaronthomas1979
    aaronthomas1979
    Participant

    I appreciate your effort, but things like username, email address, and password, are simply not in the profile fields editor; there is no re-arranging them. I wish it was that easy though! That would be nice! This is definitely going to take some php and/or css editing.

    #259239
    Profile photo of Henry Wright
    Henry Wright
    Moderator

    You should be able to log in to the WordPress admin area > Users > Profile Fields and then drag the Account Profile fields to the Account Details group.

    #259232
    Profile photo of jbboro3
    jbboro3
    Participant

    I have non wordpress installed in sub-domain..The main domain is wordpress with bp installed.. They are sharing the same database with login users and other credentials.. Now what I want is to show some of the values of xprofile fields of main wp domain in to the sub domain (non wp) site..Like for example ‘about’ field..

    I could have done through ‘SELECT’ in the database query using $_session but I see there are no values of xprofile fields are stored in the db.. Am i missing something that it stores value in db? If they are not stored in db, is there any other alternative to achieve my goal..?

    Thanks

    #259142
    Profile photo of danbp
    danbp
    Moderator

    Hi @ma3ry,

    the issue comes probably from the membership plugin who conflicts with BP registration.

    In brief, what ever this plugin does(or not), when BP is activated, you have on registration process the WP login routine (username, email, password) and the little mandatory Name field coming from BP.

    That’s all.
    What probably happen, is that you don’t have this Name field on Single Membership registering…
    Because of this, BP doesn’t know about the user existence and can’t fire the additionnal xprofile fields.

    That the first diagnostic.
    A second one may be more complex, as it is related to the fact you changed the php version and using WP 4.6.x

    You certainly made a big DB dump before that change. And also a new WP install – or at least, a WP update. If you made just a WP upgrade, it would be ok to a certain point.

    If you started a new install after the php change, the problem can be in the old datas you injected to the new DB. But no panic, it’s only an hypothese at the moment.

    So it would be great you give details about this and if possible your server configuration.

    #259139
    Profile photo of ma3ry
    ma3ry
    Participant

    I am running a membership WP v4.6.1 multisite at christiangays.com, chat.christiangays.com, dating.christiangays.com and store.christiangays.com. My registration uses Simple Membership but my profile fields use BuddyPress v2.6.2 with BP Xprofile Custom Fields Type.

    I have just updated to PHP v5.6 but was also having problems with PHP v5.3.

    I started having a problem saving changes to profiles, specifically changing the age (DOB) field. Now I can’t save profiles at all. I get notification of:

    “Please make sure you fill in all required fields in this profile field group before saving.”

    I first tried removing the age field, which is when I found out that I can’t save any settings at all.

    I tried changing all profile fields to “not required”. Still no success.

    I have deactivated network plugins and tried activating site specific plugins.

    I have tried deactivating ALL plugins except those absolutely required.

    I have tried changing theme to twenty-sixteen.

    I don’t know what to try next. Would appreciate any suggestions. Thank you!

    #259059
    Profile photo of danbp
    danbp
    Moderator

    Hi,

    user metas are part of wordpress and stored in wp_usermeta table
    xprofile datas are part of BuddyPress and stored in 4 different tables wp_bp_xprofile_ > data, meta, fields, groups

    BuddyPress Database Diagram


    https://codex.wordpress.org/Database_Description

    Profile photo of ekko848
    ekko848
    Participant

    I’m using the BP xProfile Location plug-in
    https://wordpress.org/plugins/bp-xprofile-location/

    Which adds a ‘Location’ field to BuddyPress profiles.

    It states

    The geocode will be saved in the usermeta table in this format:
    meta_key = geocode_[field id]
    meta_value = [latitude], [longitude]

    I’m not familiar with the usermeta table in BuddyPress. I checked the mysql databases and could not find this inserted (although, I was probably not looking in the right place).

    Where is the usermeta table located so that I can get these values?

    Thanks.

    Profile photo of popmythology
    popmythology
    Participant

    When I click on a user’s profile, it doesn’t display the field labels properly. For example, it should say “Name,” “Gender,” “Website,” etc. but it doesn’t say anything. It shows the answers but not the fields.

    I’ve tried a couple of BuddyPress compatible themes so I know now that it’s not a theme issue but something within BuddyPress itself. Does anyone know how to fix this?

    Screenshot:
    https://sithism.org/wp-content/uploads/2016/09/sithism-buddypress-issue.jpg

    #259015
    Profile photo of rafiamudasar
    rafiamudasar
    Participant

    Hi
    I am using buddypress with extended fields. but I have noticed whenever i update information of fields whether from the dashboard or from front end it lands onto blank page when I go back to previous page changes are being made but its not refreshing properly. Any idea ?

    I have tried to debug via wp config but there was not any error so I dont know why really that white blank screen is appearing

    . help please already posted this but no reply
    Wordpress : 4.6.0
    buddypress: 2.6.1.1

    #258975
    Profile photo of ximie90
    ximie90
    Participant

    Hi,

    I need some help with setting the results in a different order.
    On two seperate locations I want to show the profiles with birthdays in different order.

    location 1) I want to show all ‘members’ (I’ll style it in a 3 or 4 column grid), ordered by First name alphabeticly OR by birthdate excluding year. But I think the first option is easier and actually more natural to users.

    From the documentation here I got this code, and took some stuff out and added the birthdate field.
    This code works as in, it displays the members, add a link to the profile and adds the birthdate.
    Now I just need this to be ordered by name alphabeticly.

    <?php if ( bp_has_members( bp_ajax_querystring( 'members' ) ) ) : ?>
     
       
      <?php do_action( 'bp_before_directory_members_list' ); ?>
     
      <ul id="members-list" class="item-list" role="main">
     
      <?php while ( bp_members() ) : bp_the_member(); ?>
     
        <li>
          <div class="item-avatar">
             <a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a>
          </div>
     
          <div class="item">
            <div class="item-title">
               <a href="<?php bp_member_permalink(); ?>"><?php bp_member_name(); ?></a>        
           </div>
      <?php do_action( 'bp_directory_members_item' ); ?>
     <?php echo bp_member_profile_data('field=geboortedatum');?>
           </div>
           <div class="action">
                <?php do_action( 'bp_directory_members_actions' ); ?>
           </div>
           <div class="clear"></div>
       </li>
      <?php endwhile; ?>
      </ul>
      <?php do_action( 'bp_after_directory_members_list' ); ?>
      <?php bp_member_hidden_fields(); ?>
     <?php endif; ?>

    Location 2) Show 5 profiles with the first upcoming birthdays.
    Changing the above code with this:
    if ( bp_has_members( bp_ajax_querystring( 'members' ).'&max=5' ) ) :

    I get to limit the output of only 5 profiles. But I don’t know if this limit is can/will be applied before or after the order.

    I would like to order these on dates after ‘today’

    I now use a datepicker to add birthdate, but could add 2 seperate number fields for day and month, as I guess this will be easier to filter with.

    So I did get some results, but the ordering is something I can’t figure out and would like some help with. I found a plugin before (buddypress birthday widget) but its not working as I would like it to and after earlier contact I have not received any response from the plugin def for some time now, so I’m trying to make something myself.

    Hope someone can point me in the right direction.

    Kind regards,

    Martijn

    #258926
    Profile photo of amsakwp
    amsakwp
    Participant

    Hello,

    Does anyone know how I can get the Buddypress profile page details to draw from the details displayed on the wp-admin/user-edit page? Specifically I would like for the “first name” and “last name” fields on the Buddypress profile page to autofill form the same database used to store the first name and last name displayed on the admin/user-edit page. I am using a registration page from a different plugin (Memberpress) to have users enter these details initially, but currently when they go to the profile page after registering the last name field is still empty and the first name field contains the user’s username. Who knows how to fix this?

    Thank you!

    #258925
    Profile photo of amsakwp
    amsakwp
    Participant

    Hello,

    I added to the profile page form with several text boxes and multi-line text areas. For some reason though users are unable to click in or type in the multi-line text area fields on the frontend. If I set it up so the text box shows by default (instead of the visual box) the area is initially untypeable in the same way, but after saving users are able to type in them. Has anyone else experienced this? Any idea what the problem might be? It wasn’t an issue previously.

    Thanks!

    #258895
    Profile photo of danbp
    danbp
    Moderator

    What i want is to show view page content in the landing page of buddypress which is home.php . Is there any way i can achieve that?

    bp-templates/bp-legacy/buddypress/members/single/home.php contains dynamic templates and shows by default the member activity template.

    If you use the above code, you’ll get Resume as default content. This is the simpliest way to achieve what you want.

    FYI: the Resume plugin is 4 years old and no more maintained. In 4 years, many things changed in xprofile component and what you actually can do with these fields is much more evoluted than 4 years ago. IMO, you wouldn’t even have to use it, as you can get a similar result directly with BuddyPress.

    #258872
    Profile photo of rafiamudasar
    rafiamudasar
    Participant

    Basically in the final look I have to remove tabs all together and will have custom links/ buttons here and there to edit profile and cv fields. So I was looking for a hook which will extract cv data onto the landing page. I have copied single directory files into theme child and working on that so basically I want to pull data into home.php file of single directory . hope this explains well

    #258845
    Profile photo of karmatiger
    karmatiger
    Participant

    in the activity stream, for each entry there is the user’s avatar, and beside that a header that include their username, latest action (‘updated their profile’ or whatever), and below that smaller print indicating when they were last online.

    That info is all in the activity-header generated on entry.php. How entry.php calls this info is to run the self-echoing function bp_activity_action.

    I want to add xpfofile field data and the delete link to this header. Some would try to ram it into entry.php but then you must fuss around with the CSS to get the info up near or into the activity header, risking breaking something else.

    I’m trying to add it to the bp_activity_action. I found a thread sort of on topic here, but this chap was trying to do something else and his self-discovered solution was to ram it into entry.php before the header rather than using the action hook.

    I’ve created a simple function to test adding something to bp_activity_action, simply trying to add the word “success!” somewhere in the header:

    function SN_member_header() {	
        echo "success!";
    }
    
    add_action( 'bp_activity_action', 'SN_member_header');

    …but nothing appears. What am I missing?

    #258735
    Profile photo of dsnic
    dsnic
    Participant

    I want all profile fields to be visible on my site, so I’ve set visibility for every field to Everyone on Users > Profile Fields. Now the subnav Settings > Profile Visibility is pretty much useless because there are no settings there that users can change.a

    So my question is: how can I hide or remove the subnav Settings > Profile Visibility?

    I’ve been trawling these forums and other sites on Google for hours, and I’ve tried out a couple of codes, but I couldn’t make this happen. I’d really appreciate it if someone could help me with a solution. Thank you so much in advance!

    WordPress: 4.6.1
    Buddypress: 2.6.2

    #258710
    Profile photo of rensketeunissen
    rensketeunissen
    Participant

    At the frontpage it always shows when someone was last active ( we think not so relevant ) . Can you change this by example, not only the name but also show a number of fields in the profile on the front page. I can not find these settings.

    And is it possible to add more sort fields ( now only alphabetically , most recently active) ? Such as location or other items from the profile fields?

    Profile photo of amsakwp
    amsakwp
    Participant

    Hello,

    I am having my site users register through a registration page setup with the Memberpress plugin. Registrants are required to submit first name, last name, username, email, and password. This information is used to fill out these items of the wp-admin/profile.php. While I would like to use the Memberpress registration form and page I would like for the buddypress profile page to remain the users’ main interface to their profile information and social activity. The problem though is that the default first name and last name fields of the Memberpress registration page don’t automatically propagate in the respective fields on the Buddypress profile page. Is there a way I can get these fields to draw from the entries for first name and last name already existing in the user databases (/wp-admin/user-edit.php) to auto-fill in the relevant fields of the Buddypress profile page? Currently after registration the last name field is empty and the first name field contains the username. Yes, the member can delete the username and enter both names again, but I’m trying to avoid this. They may wonder why they need to enter their first and last names twice. Does this make sense? I had assumed that whether registering through the Buddypress page or the Memberpress page the first name and last name would be stored in the same data table serve the same function.

    Profile photo of amsakwp
    amsakwp
    Participant

    Hello,

    I am having my site users register through a registration page setup with the Memberpress plugin. Registrants are required to submit first name, last name, username, email, and password. This information is used to fill out these items of the wp-admin/profile.php. While I would like to use the Memberpress registration form and page I would like for the buddypress profile page to remain the users’ main interface to their profile information and social activity. The problem though is that the default first name and last name fields of the Memberpress registration page don’t automatically propagate in the respective fields on the Buddypress profile page. Is there a way I can get these fields to draw from the entries for first name and last name already existing in the user databases (/wp-admin/user-edit.php) to auto-fill in the relevant fields of the Buddypress profile page? Currently after registration the last name field is empty and the first name field contains the username. Yes, the member can delete the username and enter both names again, but I’m trying to avoid this. They may wonder why they need to enter their first and last names twice. Does this make sense? I had assumed that whether registering through the Buddypress page or the Memberpress page the first name and last name would be stored in the same data table serve the same function.

    #258675
    Profile photo of yetza
    yetza
    Participant

    I found this question in this forum, which is my question also. But the answer (this code) doesn’t work for me. The question is really old, and so is the code. The current register.php has changed quite a bit.

    I did get some guidance from the pastebin code and tried different variations. Here’s a shortened version:

    <?php do_action( 'bp_after_account_details_fields' ); ?>
    
            <?php /***** Extra Profile Details ******/ ?>
            <?php if ( bp_is_active( 'xprofile' ) ) : ?>
    
                <?php do_action( 'bp_before_signup_profile_fields' ); ?>
    
                <div class="register-section" id="profile-details-section">
    
                    <h4><?php _e( 'Profile Details', 'buddypress' ); ?></h4>
    
                    <?php /* Use the profile field loop to render input fields for the 'base' profile field group */ ?>
                    <?php if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( array( 'profile_group_id' => 1, 'fetch_field_data' => true ) ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
    
                    <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    
                        <div class="editfield">
    
                            <?php
                            $field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() );
                            $field_type->edit_field_html();
    
                            do_action( 'bp_custom_profile_edit_fields_pre_visibility' );
    
                            if ( bp_current_user_can( 'bp_xprofile_change_field_visibility' ) ) : ?>
                                <p class="field-visibility-settings-toggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">
                                    <?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?> <a href="#" class="visibility-toggle-link"><?php _ex( 'Change', 'Change profile field visibility level', 'buddypress' ); ?></a>
                                </p>
    
                                <div class="field-visibility-settings" id="field-visibility-settings-<?php bp_the_profile_field_id() ?>">
                                    <fieldset>
                                        <legend><?php _e( 'Who can see this field?', 'buddypress' ) ?></legend>
    
                                        <?php bp_profile_visibility_radio_buttons() ?>
    
                                    </fieldset>
                                    <a class="field-visibility-settings-close" href="#"><?php _e( 'Close', 'buddypress' ) ?></a>
    
                                </div>
                            <?php else : ?>
                                <p class="field-visibility-settings-notoggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">
                                    <?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?>
                                </p>
                            <?php endif ?>
    
                            <?php do_action( 'bp_custom_profile_edit_fields' ); ?>
    
                            <p class="description"><?php bp_the_profile_field_description(); ?></p>
    
                        </div>
    
                    <?php endwhile; ?>
    
                    <!-- <?php $fields_ids[]= bp_get_the_profile_group_field_ids();?> -->
    
                    <input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="<?php bp_the_profile_group_field_ids(); ?>" />
    
                    <?php endwhile; endif; endif; ?>
    
                    <?php do_action( 'bp_signup_profile_fields' ); ?>
                </div><!-- #profile-details-section -->
    
                <?php do_action( 'bp_after_signup_profile_fields' ); ?>
            <?php endif; ?>
    
            <?php /***** Extended Profile Fields: About Me (group 9) ******/ ?>
            <?php if ( bp_is_active( 'xprofile' ) ) : ?>
    
                <?php do_action( 'bp_before_signup_profile_fields' ); ?>
    
                <div class="register-section" id="profile-details-section">
    
                    <h4><?php _e( 'About Me', 'buddypress' ); ?></h4>
    
                    <?php /* Use the profile field loop to render input fields for the 'base' profile field group */ ?>
                    <?php if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( array( 'profile_group_id' => 9, 'fetch_field_data' => true ) ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
    
                    <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    
                        <div class="editfield">
    
                            <?php
                            $field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() );
                            $field_type->edit_field_html();
    
                            do_action( 'bp_custom_profile_edit_fields_pre_visibility' );
    
                            if ( bp_current_user_can( 'bp_xprofile_change_field_visibility' ) ) : ?>
                                <p class="field-visibility-settings-toggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">
                                    <?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?> <a href="#" class="visibility-toggle-link"><?php _ex( 'Change', 'Change profile field visibility level', 'buddypress' ); ?></a>
                                </p>
    
                                <div class="field-visibility-settings" id="field-visibility-settings-<?php bp_the_profile_field_id() ?>">
                                    <fieldset>
                                        <legend><?php _e( 'Who can see this field?', 'buddypress' ) ?></legend>
    
                                        <?php bp_profile_visibility_radio_buttons() ?>
    
                                    </fieldset>
                                    <a class="field-visibility-settings-close" href="#"><?php _e( 'Close', 'buddypress' ) ?></a>
    
                                </div>
                            <?php else : ?>
                                <p class="field-visibility-settings-notoggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">
                                    <?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?>
                                </p>
                            <?php endif ?>
    
                            <?php do_action( 'bp_custom_profile_edit_fields' ); ?>
    
                            <p class="description"><?php bp_the_profile_field_description(); ?></p>
    
                        </div>
    
                    <?php endwhile; ?>
    
                    <!-- <?php $fields_ids[]= bp_get_the_profile_group_field_ids();?> -->
    
                    <input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="<?php bp_the_profile_group_field_ids(); ?>" />
    
                    <?php endwhile; endif; endif; ?>
    
                    <?php do_action( 'bp_signup_profile_fields' ); ?>
                </div><!-- #profile-details-section -->
    
                <?php do_action( 'bp_after_signup_profile_fields' ); ?>
            <?php endif; ?>

    Basically I reused the original profile field loop and made it specific to the group field I want. I have 5 other groups I need in the register form. And repeating the initial loop for each one makes them display beautifully in the register form, but when I fill them out and click submit only the last group is displayed in the profile. It’s like only the last bit of code is being executed, so each loop is overwriting the previous one. In the forums I read that placement of <input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="<?php bp_the_profile_group_field_ids(); ?>" /> is very important but after playing around with it I still have nothing.

    I also found this but have no idea of where or how to use it.

    Any guidance will be greatly appreciated.

    #258626
    Profile photo of danbp
    danbp
    Moderator

    Best recommendation would be to use this premium plugin

    WooCommerce BuddyPress Integration


    and some additionnal add_on like this one:
    https://fr.wordpress.org/plugins/woocommerce-buddypress-integration-xprofile-checkout-manager/

    Note: BuddyPress doesn’t handle registering, it only shows the wp-login form with some more fields (if xprofile component is activated).

    Profile photo of rafiamudasar
    rafiamudasar
    Participant
    Profile photo of grebehead
    grebehead
    Participant

    Hi,

    I’ve installed Buddypress and created extended fields. I’ve found that when I create a new user in the WordPress admin, it copies some of the information from the profile fields into the extended profile fields.

    For example one of my extended fields is ‘Membership type’. When I create a new user with the name ‘Bob’, I find that the ‘Membership type’ is now ‘Bob’ for that record. When I try to overwrite it I find all the fields start overwriting each other every time I click save. For example I change ‘Membership type’ to ‘Individual’ and find that the ‘first name’, ‘nickname’ and ‘display name’ are all now ‘Individual’.

    I’m using BuddyPress version 2.6.2 and WP version 4.6.1

    Can anyone shed some light on what’s going on?

    Many thanks.

    #258444
    Profile photo of giilour
    giilour
    Participant

    Is there a way to filter out some xprofile fields to be displayed on the members profile page? Some fields I want to hide as default.

Viewing 25 results - 1 through 25 (of 4,786 total)
Skip to toolbar