Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 3,426 through 3,450 (of 3,578 total)
  • Author
    Search Results
  • #42584
    Mike Pratt
    Participant

    I’m sure you can but I haven’t looked at xprofile_fields just yet. A bunch of other problems to solve. Burt Adsit might be able to help

    #42579
    Jeff Sayre
    Participant

    It\’s not found in a form. It is located in the wp_bp_xprofile_fields table as a piece of data.

    The function xprofile_add_signup_fields in the file bp-xprofile-signup.php extracts it from that table.

    #42494
    peterverkooijen
    Participant

    Why don’t you just add two additional profile fields (last name & first name) , make them required so they show up on registration and then write a custom function to tweak the sign up email?

    Yes, that’s what I want to do. But how would that work?

    I’d already tried editing wpmu-functions.php, replace ‘Dear User’ with ‘Dear DISPLAYNAME’ and then add this line:

    \’$welcome_email = str_replace( “DISPLAYNAME”, $user->display_name, $welcome_email );\’

    But the display_name field in wp_users has the username, not the full name. Full name and other profile fields are in wp_bp_xprofile_fields + wp_bp_xprofile_data. I have no clue how to get them from there.

    Is it possible to write a function to retrieve full name (or first + last) from wp_bp_xprofile_data and put the result in the email? How does that work? Can you point me to a code example that shows the basic principles?

    #42493
    Mike Pratt
    Participant

    Why don’t you just add two additional profile fields (last name & first name) , make them required so they show up on registration and then write a custom function to tweak the sign up email?

    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. Make FullName your Display name.

    #42464
    nicolagreco
    Participant

    if i’m not wrong, the Full Name has a filter, if you use it, you could replace it with the wp built-in name & last name, or use xprofile fields fot that,

    it depends on your php & wp skills :)

    #42452
    Jeff Sayre
    Participant

    I assume you’re specifically talking about customizing a BuddyPress template. If so, then you need to look in the BuddyPress profiles tables in MySQL.

    For instance, the field definition for the “Full Name” field is stored in the wp_bp_xprofile_fields table and any corresponding datum is stored in the wp_bp_xprofile_data table.

    With respect to this:

    At the moment Buddypress/WP MU makes it very hard, perhaps impossible, to flexibly use member’s real names or other data (companyname, city) in the site or have something like ‘Hello John’ in email notifications.

    That is not true. Any piece of stored data can be accessed and spit out in any number of ways. It just must first be in the database. Look in the bp-xprofile.php file and the bp-xprofile subdirectory for a number of functions that can be called to extract a user’s data.

    By the way, I did see your other post about this topic and it was answered appropriately. With the default WPMU and BuddyPress setup, you will not be able to use a user’s full name until they’ve entered that data. They will not be able to enter their full name until after they register.

    So, unless you hack the wp-signup.php or register.php files, and require that a full name be provided when registering, you will not be able to send them a welcome email with their full name since that piece of data does not yet exist.

    All of what you are asking is possible but requires either a pre-existing plugin, a custom hack, or your ability in customizing and coding a BuddyPress template.

    #42100
    Paul Wong-Gibbs
    Keymaster

    This is in the pipeline to come in future releases of BuddyPress (after v1.0).

    #41930
    enlightenmental1
    Participant

    somewhat of a similar issue:

    xprofile fields are filled in, but don’t show on the profile,

    changes made to certain fields don’t “save” or “show” on the profile

    using trunk from a couple of weeks ago… and haven’t kept vary god track of the trunks

    proly a few new ones since…. but my install gets more and more customized as time goes..

    these updates, are they only to bp-xprofile files? or would i want to get the whole trunk?

    danke

    #41636
    takuya
    Participant

    Is it still possible to rearrange via phpmyadmin, editing the filed IDs?

    #41630
    Shelley Keith
    Participant

    That fixed it, thanks!

    #41623
    Roy McKenzie
    Participant

    EXCELLENT!

    #41607
    Burt Adsit
    Participant

    Well, that was easy. I just try and clarify things and it gets hunted down by Andy. I could get used to this.

    #41605
    Andy Peatling
    Keymaster

    Found the problem, if you update to the latest it’s fixed.

    #41604
    Andy Peatling
    Keymaster

    In this first version it’s not possible to re-arrange, but it’s a high priority feature once 1.0 is out.

    #41603
    Shelley Keith
    Participant

    I’ve reset my email domain registration limitations if you want to test on wearesau.net.

    #41601
    Andy Peatling
    Keymaster

    Checking this now.

    #41600
    Shelley Keith
    Participant

    If I leave it blank or deselect checkboxes (or any applicable action that means leaving it blank/unused) the information does not disappear from the user profile. The previously active checkboxes still show, the deleted information in the text field still shows, etc.

    If you go back to the “edit” screen the checkboxes will still be deselected and the text field will still be empty, and hitting “submit” will give you a success message, but the info will still show on the viewable profile.

    #41597
    Burt Adsit
    Participant

    I’m way confused as to what you are talking about.

    1) You enter info in a profile field. Save the profile.

    2) The info shows in the profile field.

    3) You change the info in a profile field, leaving it blank. Save the profile.

    What happens then?

    #41646
    Burt Adsit
    Participant

    The theme and the profile back end don’t support this right now but there is a mod you can try.

    Change line 11 which reads:

    <?php if ( bp_field_has_data()) : ?>

    To read:

    <?php if ( bp_field_has_data() && bp_field_has_public_data()) : ?>

    In /bp-themes/buddypress-member/profile/profile-loop.php

    Then you will manually have to use phpmyadmin and go into the table bp_xprofile_fields and change all the profile field records that are parent fields and have \’0\’ in the column \’is_public\’ to \’1\’ for the fields you want to show on the profile and \’0\’ for the fields you don\’t want to show.

    Parent fields are the ones that have a \’0\’ in the \’parent_id\’ column.

    #41484
    Burt Adsit
    Participant

    Any field you create in the profile backend will appear in each user’s profile. Even if it doesn’t have anything in it.

    More fields:

    if ( 999 == $field_id || 998 == $field_id || 2 == $field_Id)

    #41482
    takuya
    Participant

    and if I want more fields not auto-linked? How can I set multiple field ids?

    #41303
    thebigk
    Participant

    @DJPaul: I tried that. I created one profile and exported the database using phpMyadmin. But the excel sheet looks too confusing. I’ll try this once more time though.

    @Burtadsit: Yes, that’s most confusing.

    Let’s say, I’ve created following fields in buddypress:

    Name:

    Email:

    Phone

    Job:

    Occupation:

    My old database too; has all this data. How do I go about importing? Is there any better way than excel import?

    #41284
    Burt Adsit
    Participant

    You can import anything you want into a mysql table. The catch is that tables relate to each other. The profile fields you see are composed of three tables that interrelate. We’ve got profile groups, fields and field data. Groups are composed of Fields and Fields have Data. They are all linked to each other.

    What is the source data you are working with?

    #41278
    takuya
    Participant

    When will this be fixed officially? Commenting out the add_filter removes all the auto linking functions. I only want one section without auto linking.

    takuya
    Participant

    User generated profile fields! I’d like if this feature is built in or by a plugin. However at this moment, wpmu admin is the only person who can add/delete profile fields.

Viewing 25 results - 3,426 through 3,450 (of 3,578 total)
Skip to toolbar