Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 2,476 through 2,500 (of 3,575 total)
  • Author
    Search Results
  • #112952

    In reply to: Export Users

    xsn0w
    Participant

    The plugin @Pisanojm suggested might work if we can add the custom profile loop fields to it.

    #112915

    In reply to: Update profile fields

    Jenny Beaumont
    Participant
    #112914

    In reply to: Update profile fields

    Jenny Beaumont
    Participant

    I’m looking for something similar – need to be able to update user profiles as an admin from backend…let me know if you find anything! :)

    #112760
    Brajesh Singh
    Participant

    @all, great going, nice to see the movement :)
    @mercime, thanks :)
    @djpaul,
    just updated the xprofile template tags to cutdown the query for select/multiselect fields. Please have a look here https://trac.buddypress.org/ticket/3233

    #112674
    Brajesh Singh
    Participant

    I am interested in improving the xprofile fields to allow developers to add new field types. currently we have a limited set of fields(say multiselect/checkbox etc). An example extension could be allowing to add an specializationn of select box with Country drop down which will save numerous times for many site owners. I am not sure if that needs to go in the core plugin, but certainly we need to add some action/filters in the core to make that happen. Also, currently, xprofile needs to improve the queries for fetching select field(My benchmark shows one query per item in the dropdown list of a field). So, if we have a field with 100 items in select menu on the edit profile/register page, It will do 100+ queries for that single field.

    If improving xprofile fields is still on the card, I will be very happy to work on it.

    #112612
    latinosamorir
    Participant

    @candy2012.

    Thanks!!!

    I have not tried this yet but soon will. I’ve been waiting for a year for this solution. I wonder why the BP gurus dropped the ball on this.

    #112543
    ARHistoryHub
    Participant

    1. Go to members/single/profile/edit.php in your theme.
    2. Find and delete this line `

    `
    3. Paste this `

    ` after each instance of this line ` `.

    And it’s a similar sort of process for the register.php – found in the registration folder in your theme.
    Sloppy, but oh well.

    #112327
    vbsql7
    Member

    Thanks for the help so far.
    Knowing that the extra tags were coming back, I tried to take the quick fix and strip them like this:
    `

    `
    …but I still get the same result — data wrapped in P tags.

    I spent some time trying to learn about the xprofile functions but I did not find a clear example that I could make work.

    Would I would like to find a loop that gives me rather tight control of what is happening.
    Perhaps like this (pseudo code):
    `
    $user = bp_get_profile($user_id);
    for ($i = 0;$user.fields.count;$i++) {
    $field = $user.fields($i);
    echo $field->name;
    echo $field->data;
    }
    `

    #112315
    Paul Wong-Gibbs
    Keymaster

    `
    remove_filter( ‘bp_get_the_profile_field_value’, ‘wpautop’ );
    `

    would do it but also remove the paragraph tags from all other fields

    Paul Wong-Gibbs
    Keymaster

    Thanks!

    Bowe
    Participant

    You can map profile fields from Facebook to BuddyPress with WP-FB-Autoconnect with custom code. It is indeed on the roadmap!

    javiervd
    Member

    Will do, hopefully you guys already fixed it :)

    Paul Wong-Gibbs
    Keymaster

    Could you report as a bug on https://buddypress.trac.wordpress.org/? We may have already fixed it in our development version of BuddyPress, but you reporting the issue would prompt us to check. You can use your username and password from this site. Thanks!

    #112164
    Paul Wong-Gibbs
    Keymaster

    Unfortunately, you can’t do this out of the box. It’s possible with some code, but I wonder if anyone’s done a plugin for it; I’m sure someone will link if there is

    José M. Villar
    Participant

    I use https://buddypress.org/community/groups/wp-fb-autoconnect/ premium version. Its developer has automatic profile fields population in his roadmap, but with no release date unfortunately

    #112019
    Slushman
    Member

    Thanks Paul! I took a break to finish the other parts of the plugins and the rest of that project, but now I’m back working on this part again. Unfortunately, I can’t make head or tails of that function. I’ve tried sending a variable array to that function based on the parameters it gives on line 584, but it never adds the field. It appears xprofile_insert_field() requires a the group_field_id too, which I’m also trying to create a new Field Group, but I can’t find a way to get the ID # of the group I’m creating, and it doesn’t appear the group is created either. Is there a tutorial or a working plugin that does the same thing I can see HOW they did it?

    candy2012
    Member

    @ivoss – God bless you for posting that link! (http://pastebin.com/RLreXE7X)

    I lost days on this already!

    These lines (aroung 150) are CRUCIAL for getting the values posted to the database (basically that `$fields_ids[]` function

    `

    <input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="” />`

    candy2012
    Member

    well, that (velomash) will not help much unfortunatelly .. nor will the required fields be cheked or the information for all group fields saved to the database!
    Buddypress is so damn buggy on this one, wonder if they really thought of the purpose of implementing those fileds without proper connection to teh registration form; who the h* (sorry!) will go to fill in the fields if not requested upon registration?

    #111944
    candy2012
    Member

    here’s my workaround for this problem

    https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/multiple-profile-group-fields-in-registration/?_wpnonce=98e520cdd5#post-98202

    as no buddypress gurus EVER botherd to give a feedback on this, and left everyone here in the dark for more than 1 year

    #111943
    candy2012
    Member

    the above still sucks of course (or rather the whole registration process for buddypress sucks!), anyway, the above code will unfortunatelly NOT validate the fields! So it would be possible for a user to register without filling those fields in …

    Yeah, you tell me how happy I was as I realized that!
    1 more day lost with this s*, but eventually found a workaround (I am sure it’s not the perfect solution, but at least it’s SOMETHING!)

    So in order to have the required fields really checked, please add this to your header:

    `

    $(document).ready(function() {
    $(“#signup_form”).validate();
    });

    `
    where signup_form is the id of your form (

    ). If your form has an other id please remember to change accordingly.

    Now go to each form field in your form and add this class:

    ` class=”” `

    example:
    ` <input type="text" name="” id=”” value=”” class=””/> `

    And VERY important, around line 150, see that you have added this piece of code (basically replacing / expanding that `<input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="” />`)

    `

    <input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="” />`

    So that was it, now it should work. Unlike the buddypress gurus out there, I didn’t want to leave any of you in “half darkness”, so I came back to post the solution I found.

    I hope it will help you, even though it’s just a workaround, and I am 100% sure there must be a much more elegant solution than this.

    But as I said, as the buddypress gurus could not care less about poor users who struggle to get that bpress working as it should, a “second best” solution is always better than NO solution!

    #111935
    r-a-y
    Keymaster
    #111926
    webrgr
    Member

    Hi I also am interested in this type of development, country – state using drop-down lists still have not found anything about agardeseria any help that can be done about it.
    thanks beforehand

    #111925
    webrgr
    Member

    Hi I also am interested in this type of development, country – state using drop-down lists still have not found anything about agardeseria any help that can be done about it.
    thanks beforehand

    #111906

    I´m looking for the same kind of thing as Natasha but just different environment (university).
    Has anybody gone further on a real case (solution) and any piece of code that might be picked up as a starter.
    Thanks a lot.

    Andrés

    #111905

    Hi everybody. Has anypne made any advance on this? I´d love to make something as the example that Rlwpub2 presents but for a university, so the first set of options would be teacher / student and then particular profile options for each of them.
    Thanks in advance for any help you may supply.
    Andrés

Viewing 25 results - 2,476 through 2,500 (of 3,575 total)
Skip to toolbar