Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 3,376 through 3,400 (of 3,608 total)
  • Author
    Search Results
  • #48240

    In reply to: No extended profile

    3314629
    Inactive

    Hi everybody

    Thank you for the replies. Unfortunately, as i mentioned, there isnt anything relevant in the buddypress submenu in wpmu.All i have is general settings, component setup and forums setup. And even in component setup, i dont have extended profiles, only activity streams, blog tracking, bbpress forums, friends, groups, private messaging. Why am i missing some of the fields you mention?I installed bp and wpmu 3 times already and its always the same.Are there some missing files or something?

    Edit: yeah i went through and somehow i have missing files and directories. weird..

    thanks

    #48225

    In reply to: No extended profile

    Jeff Sayre
    Participant

    @emreth

    To add additional profile fields, you need to navigate to the BuddyPress submenu grouping in WPMU’s backend. If BuddyPress is installed and activated, this submenu group is found at the very bottom of the menu column.

    So, go to

    BuddyPress > Profile Field Setup

    and set up the additional fields you want.

    By default, when you activate BuddyPress, all of its components are activated. To selectively disable a component, you go to

    BuddyPress > Component Setup

    #48224
    Jeff Sayre
    Participant

    You need to log into WPMU’s backend as site admin ( /wp-login.php), and then go to

    Site Admin > Options > Allow new registrations

    and set the options you want.

    Also I am unable to create an extended profile like shown in some of the demos. It only allows me change the “base” and avatar. I can’t put birthday, location, etc.

    To add additional profile fields, you need to navigate to the BuddyPress submenu grouping in WPMU’s backend. If BuddyPress is installed and activated, this submenu group is found at the very bottom of the menu column.

    So, go to

    BuddyPress > Profile Field Setup

    and set up the additional fields you want.

    #47980
    Jeff Sayre
    Participant
    #47979
    Jeff Sayre
    Participant

    I have filed this ticket in trac to report this bug.

    #47850
    peterverkooijen
    Participant

    I’ve split the function as follows:

    function xprofile_add_signup_fields() {
    global $bp_xprofile_callback, $avatar_error, $avatar_error_msg;

    /* Fetch the fields needed for the signup form */
    $fields = BP_XProfile_Field::get_signup_fields();

    if ( $fields ) {
    ?>
    <div id="extra-form-fields">
    <?php
    for ( $i = 0; $i < count($fields); $i++ ) {
    if ( $bp_xprofile_callback[$i]['field_id'] == $fields[$i]->id && isset($bp_xprofile_callback[$i]['error_msg']) ) {
    $css_class = ' class="error"';
    } else {
    $css_class = '';
    }
    ?>
    <div class="extra-field">
    <?php if ( $css_class != '' ) { echo '<div class="error">' . $bp_xprofile_callback[$i]['error_msg'] . '</div>'; } ?>
    <?php echo $fields[$i]->get_edit_html($bp_xprofile_callback[$i]['value']); ?>
    </div>
    <?php
    $field_ids .= $fields[$i]->id . ",";
    }
    ?>
    </div>
    <input type="hidden" name="xprofile_ids" value="<?php echo attribute_escape( $field_ids ); ?>" />
    <?php
    }
    }
    add_action( 'signup_extra_fields', 'xprofile_add_signup_fields' );

    function xprofile_avatar_field() {
    global $bp_xprofile_callback, $avatar_error, $avatar_error_msg;

    if ( !(int) get_site_option( 'bp-disable-avatar-uploads' ) ) {
    ?>
    <div id="avatar-form-fields">
    <h3><?php _e('Profile Picture (Avatar)', 'buddypress'); ?></h3>
    <p id="avatar-help-text"><?php _e('You can upload an image from your computer to use as an avatar. This avatar will appear on your profile page.', 'buddypress'); ?></p>
    <?php
    if ( $avatar_error ) {
    $css_class = ' error';
    } else {
    $css_class = '';
    }
    ?>

    <div class="avatar-field<?php echo $css_class; ?>">
    <?php if ( $css_class != '' ) { echo '<div class="error">' . $avatar_error_msg . '</div>'; } ?>

    <label for="file"><?php _e( 'Select a file:', 'buddypress' ) ?></label>
    <input type="hidden" name="MAX_FILE_SIZE" value="<?php echo get_site_option('fileupload_maxk') * 1024; ?>" />
    <input type="hidden" name="slick_avatars_action" value="upload" />
    <input type="hidden" name="action" value="slick_avatars" />
    <input type="file" name="file" id="file" />
    </div>
    <script type="text/javascript">
    jQuery(document).ready( function() {
    jQuery('form#setupform').attr( 'enctype', 'multipart/form-data' );
    jQuery('form#setupform').attr( 'encoding', 'multipart/form-data' );
    });
    </script>
    </div>
    <?php
    }
    }
    add_action( 'signup_avatar_field', 'xprofile_avatar_field' );

    Unfortunately it doesn’t work 100%. I was able to register a test user, but first name, last name and avatar were not stored.

    With the old combined function first name and last name were stored correctly, so I must have made a mistake in splitting them. Where?

    Comments + suggestions appreciated!

    #47849
    peterverkooijen
    Participant

    There are already fields for first_name and last_name in wp_usermeta, so it shouldn’t be necessary to create custom profile fields for them in bp_xprofile.

    How can I add these first_name and last_name fields to the registration form, instead of one “Name” field? And how could the one fullname be generated from first_name and last_name?

    btw, this is standard across a lot of social media sites. Look at Facebook – aside from the fact that they login with email instead of username, they also have display name, first and last….just like BP can have

    Exactly, but how?! Do I really have to get into complicated custom coding to get an “industry standard” registration process?

    Where is that built-in “name & last name” feature that Nicola Greco mentioned?

    #47847
    peterverkooijen
    Participant

    Following Mike Pratt’s suggestion I’ve added custom profile fields for separate first name and last name and made them required.

    They now show up on the registration form, but there’s already the required field “Name” there.

    Is there a way to autogenerate “Name” from “first name” and “last name”?

    Aren’t separate first name and last name already a default part of the system somewhere? I noticed user management in wp-admin has separate first and last name fields. Where are they stored? Can’t I use that for the registration form as well?

    Very confused…

    #47586
    Jeff Sayre
    Participant

    This has not yet been implemented. As this thread has not seen any activity for 4 months, I would suggest searching the trac and see if it was ever added as a feature request / enhancement ticket. If not, you can add it yourself!

    You login to trac using your BP.org credentials.

    As a side note, the reordering of groups would need to exclude the first field group as it is the grouping of fields that appear on the signup page.

    #47566
    Jeff Sayre
    Participant

    Update:

    By the way, I should have provided a little more detail. Whereas I call this a bug, technically what is happening is all profile data, except URLs, are filtered to make them searchable–unless the field data has more than 5 non-comma separated words in a row (don’t ask why that limit, I don’t know).

    So, if you hover your cursor over the field value, you’ll see this toward the end of the link:

    ?s=

    This creates a search link for the keyword or phrase which when clicked on should perform a search that brings up related results. Of course, on a development site, you more than likely will not have any relevant results.

    Whereas in general I like the idea of making data searchable via links (it’s sort of like tags), this implementation is flawed. At a minimum, it should not be linking the user’s “Full Name” field as the best search result for that is for the viewer to stay exactly where they currently are–on that member’s profile. Also, linking radio button groups or checkbox selections seems unnecessary. The data in these types of fields is often too specialized to be of much meaning in a search. Furthermore, the code arbitrarily excludes phrases over 5 words long. Finally, clicking on one of these links can be confusing to users as it sends them to the members homepage without explaining what is going on. Only in very large sites will any relevant results be returned.

    It might be nice if there was an administrative option to not make profile fields clickable.

    I have not yet figured out an appropriate patch to the filter function. But, when I do, I’ll add it to this trac ticket.

    In the meantime, if you wish to simply deactivate this “feature”, you could use a remove_filter() call to disable the offending filter.

    #47551
    Jeff Sayre
    Participant

    @jensenrandy-

    I’ve actually just isolated the bug. Interestingly enough, bp.org (this site) also has this bug. I suppose you could call it a feature, but creating links to what seems like nothing is a bug to me. Go into your profile on this site and look for yourself.

    Of course the clue was in the linking text I highlighted in my first post–but I failed to notice. I can get the profile fields to work properly by commenting out a certain filter. I’m trying to determine the proper patch. I’ll post the bug ticket number back here when I have it all figured out.

    #47542
    petronic
    Participant

    Hi,

    yes everything is public in the current version of BuddyPress. In order to view these new fields all that you have to do is to fill them.

    I not sure if I misunderstand what your problem is, so I apologize if this is something you already know.

    So, after you finished adding new fields in admin section, go to your Buddypress profile page, hit Edit profile. On the first page you will see fields from the Base group. If you are using Buddypress default theme, look at the gray bar just under SocialNetwork title. On this bar you will see something like:

    [ME] [MY PROFILE] [Base] [and here should be your new groups]

    Just click on your group, enter some text in those fields and they will be shown on your profile page.

    #47490
    Jeff Sayre
    Participant

    I just tried this on a test site of mine. Within the Basic field grouping, all fields, including radio button fields, are turned into links. Yep, radio button fields. Tell me how that makes sense. It grabs the text from the selected option field and displays that as a link. I can understand it display the text from the selected radio button, but turning that into a link makes no sense at all.

    The linking occurs in other field groups as well, not just the basic field group.

    I’ll look at the codebase tomorrow to see what’s going on. I think it is something in get_edit_html() that is causing this issue.

    #47415
    Jeff Sayre
    Participant

    So this only appears to happen in the Admin user’s profile fields. Okay, a few more questions:

    1. What happens if you delete the “blah” data, save the emptied out field, and then reenter some data in that same field?
    2. What happens if you create a new text field and try entering data? Does it also create links?
    3. What happens if you delete that field then recreate it and enter data?

    #47387
    loumitch
    Participant

    there are four original wordpress blogs in a folder off the root..(/maria/ being one of them, the others are linked in the blogroll section of her blog) then i have wpmu installed in the /profiles/ directory and that’s where buddypress is installed too

    doesn’t seem like they should interfere or anything, they’re using different databases and different prefixes for the table fields.

    #47345

    My guess (and this is a long-shot) is that you cannot leave the field blank once you’ve entered something in there, but BuddyPress also won’t lock you into that screen if it is.

    Otherwise users could find themselves in all sorts of redirect problems going from profile group to group.

    I haven’t tried that part yet myself though.

    If there’s 5 required fields on the page, and you fill in 4 of them, in my opinion it should still save the 4 you filled in.

    #47321
    Jeff Sayre
    Participant

    Haha! You are correct! This must be a bug. Otherwise, it seems useless to have a message saying you have to do something when in fact you don’t.

    #47319

    But, if you leave that screen and go back to it, the information gets saved. :) The activity stream doesn’t say it got saved, but they do.

    #47316
    Jeff Sayre
    Participant

    Ironically enough, if you save your profile without all of the required fields filled in on the page, it still saves the data. Not sure if this is a bug or not, but I kind of like it like this actually

    John,

    I just tried editing a test user profile field in which a newly-created required field had not yet been modified by that user. I changed some data in a different field and when I clicked on “Save Changes”, I got a message stating that:

    There were problems saving your information. Please fix the following:
    "Allow this profile group to be seen by" cannot be left blank.

    In other words, since I had not entered data in this new required field, it would not let me save my changes.

    #47309

    The only fields that show up during registration are the ones in the main group, and even then they have to be marked as required. Any other profile fields won’t show up during registration, but just like Jeff said will need to be filled in.

    (Ironically enough, if you save your profile without all of the required fields filled in on the page, it still saves the data. Not sure if this is a bug or not, but I kind of like it like this actually.)

    I suspect in the future there will be more selections and features as to which fields to show on registration, etc…

    #47294
    Jeff Sayre
    Participant

    Any profile fields you add after a user has registered will be blank until they go into their profile and add data to them. If you have set a profile field as “Required”, the next time a user edits their profile data, they will not be able to save their changes unless they have entered data into any required fields.

    #47220
    mrbuddypress
    Participant

    Did you manage to get it hiding certain fields? I need to ask people for sensitive data that I don’t want shown on the public profile. Would this suffice and where in the code do I need to flip it?

    #47218

    In reply to: Alignment in profile

    carpconnect
    Participant

    Ok i have done the update and still have the issue in user profile ‘activity’ with profile image alignment?

    In edit profile the fonts are better but not perfect but still have the poor alignment with overlaps?

    Also extra profile fields align to left once then pass the left menu which is not pleasant to look at.

    Am i the only one getting these issues?

    Apart from the changing the Buddypress nav bar image and setting new size my css files are standard with default buddypress themes.

    This is on firefox on linux.

    cheers

    Dan Butcher
    Participant

    Jeff, thanks for the clarification.

    I made sure that Blog Tracking was enabled when I realized that it should allow my students’ comments to show up in their activity list; I did this after just a few students had commented on a post. For some reason, though, their comments are not appearing as part of their activity.

    I’m beginning to think that something is wrong with my database. My site and blogs seem to be working correctly as far as posts go, but user data is not showing up in the database consistently. I’ve had two users register, but their required profile fields have not been added to the appropriate tables, etc.

    Since I’m well underway with my summer courses, I can’t afford to do any sort of re-install, but once the semester ends in early August, I think I will do the install from scratch and hopefully eliminate these sorts of problems.

    #47132

    In reply to: Hidden Profile Fields.

    mrbuddypress
    Participant

    I can’t find this…is there a plugin?

Viewing 25 results - 3,376 through 3,400 (of 3,608 total)
Skip to toolbar