Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 2,501 through 2,525 (of 3,593 total)
  • Author
    Search Results
  • #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

    #111889
    @mercime
    Participant
    4ella
    Participant

    please do that !! –:) with some explanation or some possibility how to get the content below that Tab or sub Tab (text , images ) the best should be some self creating custom fields form on the EDIT subnav page ( and the content on the publishes part – the similar process how profile EDIT and PUBLIC subnav Tabs works .

    #111873
    candy2012
    Member

    hmm … I am afraid that plugin does smth. else, namely automatically registering a new user to a group, but what we meant here were the registration fields from xprofile.

    Actually, I figured out a way to have them displayed, although there’s a lot of css fun you’ll have afterwords :-)

    In register.php you should look for this

    and replace with this

    This will display all the fields, but you’ll still miss the Title of each group.

    To get that displayed, you can do this:

    Look for

    and just above it place this: `

    `

    That should do the trick.

    It’s a dirty hack from a no-programmer, so please do not criticize. As anyone can notice, no programmer / developer ever cared to offer any help with this.
    Actually very annoying that no one frm the development team ever thought about it, leave alone giving a hand here …

    Hope you’ll find the trick useful though

    #111846
    JessicaKay
    Member
    #111839
    candy2012
    Member

    Anyone managed to come up with a solution to this?
    It’s a bit lack of logic to allow fields to be set as required in the backend but never show them to the user when registering … what kind of required fields are they than?

    Thank you!

    #111836
    candy2012
    Member

    I have the same problem – latest BP / WP (3.1.2) versions installed. Fact is that in the buddypress “Profile Field Setup” you are allowed to create different groups of fields and set for each field if it’s required or not.
    BUT, all fields other than those from the 1st group are NOT considered in the registration process!
    The email is apparently sent once the user completed only the 1 step, and it just stops after asking the user to upload a photo.

    So basically, the extra group fields (no matter how “required” they might be) are fully IGNOFRED in the registration process!

    Anyone please help?
    This is a buggy

    Thank you!

    #111649
    Paul Wong-Gibbs
    Keymaster
Viewing 25 results - 2,501 through 2,525 (of 3,593 total)
Skip to toolbar