Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 1,376 through 1,400 (of 5,755 total)
  • Author
    Search Results
  • #250331
    Don
    Participant

    Hello,

    I just installed BuddyPress on my new WordPress Multisite network (v4.4.2) configured for subdomains and it doesn’t appear to have been installed correctly, or I am missing a critical configuration setting.

    After installing BuddyPress on my Multisite network through “Plugins > Add New” the following menu items were added to my “Users” menu:

    1) Manage Signups
    2) Profile Fields

    The issue is, when selecting Manage Signups, I am taken to an empty “Users > Add New” interface where it indicates (directly under the interface title) 2 total users and 1 Super Admin (I’m setting this up for the first time).

    When clicking the “Registration is disabled. Edit settings” link in the “Manage Signups” window, I am taken to my Multisite Network Settings where I have the following selections saved:

    • Logged in users may register new sites

    • Send the network admin an email notification every time someone registers a site or user account.

    When linking to “Users > Add New” through the original Multisite Users menu (“Users > All Users) the two current users are listed as expected. At this point, the function of “Manage Signups” is not clear.

    Thank you for your assistance,
    Don

    #250311
    XrossGG
    Participant

    Hello. Too often new applicant members on my website complete the required fields but do not upload the required profile picture. Often people don’t have a profile picture on their harddrive/desktop, and they don’t want to take a picture with the cmputer camera. My question is therefore if any of you has good ideas to increase the conversion at this point? IS there maybe a mobile application that allows you to easily upload a picture?

    FYI, people are now filling out their basic data on the membership registration page. When done they are told an email is waiting for them and htey shoudl confirm their application. In the email it says that they should click on a link to confirm registration and to upload a profile picture. It will automatically take them to their personal edit profile picture page.

    miguelcortereal
    Participant

    Register page and both frontend and backend edit screens are missing the checkboxes from checkbox fields.

    This is happening in the primary fields group, labels are shown but their input tags which contain the checkboxes aren’t showing at the HTML.

    Wordpress 4.4.2 and BuddyPress 2.4.3 are fully updated as of today’s versions.

    register page here to check it out.

    #250283
    shanebp
    Moderator

    afaik, by default all profile fields are visible ( and editable ) by site admins.
    So there is no need for Visibility: Admins Only.
    Fields set to Visibility: Only Me will be visible to the member and site admins.

    ShMk
    Participant

    Hello,
    I have a BuddyPress website with various user roles, I’m looking to display the user Profile tab differently (reorder and hide some fields) based on the user role.
    How could I do this?

    #249935
    jrb9406
    Participant

    I have a problem with the profile fields for buddypress. The table has some odd spacing (see link)

    https://www.flickr.com/photos/138564821@N02/25031841016/in/dateposted-public/

    I’m trying to figure out what’s going on with my spacing. I imagine it’s CSS, but I can’t seem to find what CSS code is causing this. I tried probing around with firebug, and I can change colors, fonts, etc., but the table still looks odd.

    Thanks in advance!

    #249918
    shanebp
    Moderator

    There are several multi-select fields available when you create a profile field.
    https://codex.buddypress.org/administrator-guide/extended-profiles/

    #249905
    johnywhy
    Participant
    #249904
    johnywhy
    Participant
    #249894
    johnywhy
    Participant

    Hi

    What’s the standard way to display field-groups in the user’s front-end profile?

    Currently, i see the fields in the backend editor, but not the front-end profile. That’s the whole idea, right?

    thx!

    http://www.pixhoster.info/f/2016-02/59f7bd475c9d2874ca038c69360c4ce8.png

    ufodisko
    Participant

    I created an extra tab on the user’s profile page and I would like to display the profile fields in it.

    This is how I created the extra tab in the first place, I created a new bp-custom.php with this inside

    function profile_new_nav_item() {
    
        global $bp;
    
        bp_core_new_nav_item(
            array(
                'name'                => 'About',
                'slug'                => 'about',
              'default_subnav_slug' => 'extra_sub_tab', // We add this submenu item below
                'screen_function'     => 'view_manage_tab_main'
            )
        );
    }
    
    add_action( 'bp_setup_nav', 'profile_new_nav_item', 10 );
    
    function view_manage_tab_main() {
        add_action( 'bp_template_content', 'bp_template_content_main_function' );
        bp_core_load_template( 'template_content' );
    }
    
    function bp_template_content_main_function() {
        if ( ! is_user_logged_in() ) {
            wp_login_form( array( 'echo' => true ) );
        }
    }
    
    function profile_new_subnav_item() {
        global $bp;
    
        bp_core_new_subnav_item( array(
            'name'            => 'Extra Sub Tab',
            'slug'            => 'extra_sub_tab',
            'parent_url'      => $bp->loggedin_user->domain . $bp->bp_nav[ 'about' ][ 'slug' ] . '/',
            'parent_slug'     => $bp->bp_nav[ 'about' ][ 'slug' ],
            'position'        => 10,
            'screen_function' => 'view_manage_sub_tab_main'
        ) );
    }
    
    add_action( 'bp_setup_nav', 'profile_new_subnav_item', 10 );
    
    function view_manage_sub_tab_main() {
        add_action( 'bp_template_content', 'bp_template_content_sub_function' );
        bp_core_load_template( 'template_content' );
    }
    
    function bp_template_content_sub_function() {
        if ( is_user_logged_in() ) {
            echo 'you are here';
        } else {
            wp_login_form( array( 'echo' => true ) );
        }
    }

    See where it says “echo you are here” in the last function, I would like to display the profile fields there. I have the code below but I can’t figure out how to embed it there.

    <div class="bp-widget <?php bp_the_profile_group_slug(); ?>">
    <h4><?php bp_the_profile_group_name(); ?></h4>
    <table class="profile-fields">
        <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
            <?php if ( bp_field_has_data() ) : ?>
                <tr<?php bp_field_css_class(); ?>>
                    <td class="label"><?php bp_the_profile_field_name(); ?></td>
                    <td class="data"><?php bp_the_profile_field_value(); ?></td>
                </tr>
            <?php endif; ?>
            <?php
            do_action( 'bp_profile_field_item' ); ?>
        <?php endwhile; ?>
    </table></div>
    #249884
    Are
    Participant

    Hello, I was wondering how to fetch and display buddypress xprofile fields for each member in a sidebar widget or sidebar hook on their member profile page instead of under the profile tab?
    I know I can use the bp_get_profile_field_data But I´m not sure exactly how to implement this. I´m a novice with php.

    Thankful for any help!

    Martin

    (I´m running the latest version of both wordpress and buddypress)

    #249838
    shanebp
    Moderator

    I’ve added a group in BuddyPress profile panel…

    If you add / move that group into the Base (Primary) field group in wp-admin > Users > Profile Fields, then it will appear on the registration screen.

    #249742
    johnywhy
    Participant

    the basic php filter code was share with me, needed for this. Now i’m investigating how to put a ‘Rich Text’ checkbox on the fields editor.

    Feel free to help over here
    https://wordpress.org/support/topic/how-to-add-textarea-field-to-buddypress-xprofile-custom-fields-type

    thx!

    #249741
    johnywhy
    Participant

    thank you very much!

    your solution is slightly different from this other one, which helps me learn.
    https://wordpress.org/support/topic/how-to-add-textarea-field-to-buddypress-xprofile-custom-fields-type?replies=5#post-8009134

    thx!

    #249706
    johnywhy
    Participant

    BP IS AWESOME, AND THANK YOU to all the devs who built it.

    But, plz add multi-line, plaintext <textarea> field

    We don’t want our members formatting certain fields with bold text, big fonts, colors, etc etc. We want our CSS to control presentation of those fields.

    i feel this is a fundamental web-design principle, so i think it’s an important BP omission.

    i tried to add ‘textarea’ to plugin ‘buddypress-xprofile-custom-fields-type’. It almost works, and i think just needs a minor tweak to complete the mod, as explained here:

    How To Get Plaintext Multiline Field?

    thx!!

    #249701
    johnywhy
    Participant

    note, i also edited the .po file, and generated a new .mo from that

    you can download my zip here:
    https://www.dropbox.com/s/nx0ox3weg5khlpi/buddypress-xprofile-custom-fields-type-JW-TEXTAREA.zip?dl=0

    i noticed modernizr.js mentions ‘textarea’. Not sure what it’s doing, but i don’t think this is the cause:
    ‘ var c = a.html5 || {},
    d = /^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,
    e = /^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,
    f, g = “_html5shiv”,
    h = 0,
    i = {},
    j;
    (function() {
    try {
    var a = b.createElement(“a”);
    a.innerHTML = “<xyz></xyz>”, f = “hidden” in a, j = a.childNodes.length == 1 || function() {
    b.createElement(“a”);
    var a = b.createDocumentFragment();
    return typeof a.cloneNode == “undefined” || typeof a.createDocumentFragment == “undefined” || typeof a.createElement == “undefined”
    }()
    } catch (c) {
    f = !0, j = !0
    }’

    #249700
    johnywhy
    Participant

    hmm, ok, taking a different approach. i’m inspecting donmik’s files in ‘buddypress-xprofile-custom-fields-type’. Hope that’s ok, donmik!

    i found ‘datepicker’ in:

    bp-xprofile-custom-fields-type.php
    classes\Bxcft_Field_Type_Datepicker.php
    lang\buddypress-xprofile-custom-fields-type.pot
    lang\en_US.mo
    lang\en_US.po

    (ignoring the non-english files for the moment).

    i simply duplicated all the ‘datepicker’ code-chunks in these files, and replaced ‘datepicker’ with ‘textarea’.

    also duplicated the file ‘classes\Bxcft_Field_Type_Datepicker.php’, renamed it ‘Bxcft_Field_Type_Textarea.php’, and removed any date-specific code i found there.

    and so on and so forth.

    then i zipped it, uploaded to wordpress, activate, and added my new Textarea field to a form.

    i actually got no errors, and actually got a text field on my registration form!

    unfortunately, it’s only a one-line textbox, not a multiline textarea.

    hrm. In inspector, the displayed field is:

    <input type="string">

    so something in donmik’s code, or BP, or WP, is causing this to render as an <input> rather than <textarea>

    ….

    #249696
    johnywhy
    Participant

    thx for that! css will be our quick-and-dirty fallback. But not a long-term solution.

    it would be cool to develop a proper control. i’m guessing this is part of the recipe for displaying on the user-profile page:

    bp_profile_field_data()

    but would be awesome if someone can share the full recipe to develop a custom field.

    i’m looking here for clues-

    Profile Fields Loop

    and also searching the buddypress install for ‘multiselectbox’– just to see how that one gets handled 🙂

    thx!

    #249689
    calvin
    Participant

    After adding the fields you want using xprofile, go to your regi page. If you are using google chrome, right click on the multiline box and inspect

    you should find out the the id of the visual/text box something similar this ‘wp-field_664-editor-tools’ (yours should be a bit different cos field number is different)

    you should also find out the id of the mce panel using the same method

    After that you should be able to add the custom css to your theme stylesheet.
    Example (hiding the item using css):
    #wp-field_664-editor-tools {display:none;}

    You may need to double check on the edit profile page. if it still appears there, you can use the same method to hide it.
    Hope this helps.

    #249668
    johnywhy
    Participant

    hi, thx for reply.

    enter in user registration form, and display in user front-end profile.

    want to be able to use it like any other field in “user fields” editor.

    thx!

    #249651
    SuitePlugins
    Participant

    Greetings vendocartoni,

    Cimy User Extra Fields seem to serialize these entries in the database. I do not know of a tool to assist with the import but if you are familiar with coding you can use maybe_unserialize to unserialize the data to an array then create an update/insert function to store the information to BP Profile.

    #249650
    vendocartoni
    Participant

    Hi, I’m trying to migrate from Cimy User Extra Fields (https://wordpress.org/plugins/cimy-user-extra-fields/) to BuddyPress xProfile to copy extra fields that I’ve used since 2014.

    On my db I’ve (for example) on _signups
    a:11:{s:20:”cimy_uef_wp_PASSWORD”;s:6:”user_password”;s:21:”cimy_uef_wp_PASSWORD2″;s:6:”user_password”;s:21:”cimy_uef_wp_FIRSTNAME”;s:0:”test_user_fn”;s:20:”cimy_uef_wp_LASTNAME”;s:0:”test_user_ln”;s:27:”cimy_uef_SCHOOL”;s:0:”test_user_schoolname”;s:13:”cimy_uef_CITY”;s:6:”test_user_cityname”;s:17:”cimy_uef_POSTCODE”;s:0:”19000″;s:12:”cimy_uef_JOB”;s:16:”cimy_uef_COUNTRY”;s:5:”Italy”;s:12:”from_blog_id”;s:1:”6″;s:10:”alo_em_opt”;s:1:”1″;}

    and I need to upgrade, for example:
    s:13:”cimy_uef_CITY”;s:6:”test_user_cityname”;

    a) _signups
    s:7:”field_4″;s:10:”test_user_cityname”;
    b) _bp_xprofile
    37(id autoinc) 4(cat campo) 6003284(id utente) test_user_cityname(city Genova in questo caso) 2016-02-09 09:54:05(data di inserimento autoincrement)

    I don’t understand how sync s:13 with s:7, what are s:13 and s:7?

    There is a tool to import/export users extra fields?

    Thanks.

    #249648
    johnywhy
    Participant

    Solved.

    It’s this plugin:

    Introducing Conditional Profile Fields for BuddyPress plugin


    really appreciate the awesome developer who built this!

    not this one. Unfortunately doesn’t work on WP 4.4.2
    https://wordpress.org/plugins/buddypress-conditional-profile-field/

    johnywhy
    Participant

    BP 2.4.3
    Xprofile Custom Fields 2.4.1

    Hi

    How can i use BP controls on the registration page to load values into WP user fields?

    Alternatively, how to sync a BP field to a WP field, after registration?

    thx!

Viewing 25 results - 1,376 through 1,400 (of 5,755 total)
Skip to toolbar