Skip to:
Content
Pages
Categories
Search
Top
Bottom

What Is XProfile?

  • I’m new to Buddypress and I’m modifying the registration page. I’ve come across this line of code in register.php

    which makes me raise the question, what is “xprofile” and what purpose does it serve? or better yet what role does it play in my register.php file for buddypress?

Viewing 11 replies - 1 through 11 (of 11 total)

  • modemlooper
    Moderator

    @modemlooper

    it’s the profile fields you set up in the admin. xprofile = extended profiles. Meaning you can add as many fields as you want.

    I came across this code in the register.php file

    I’m creating a join page with registration fields (regardless of if someone has signed in or not) and I want all of them to show, but apparently the fields stop loading when it reaches the line above.

    How does that line affect the display of my fields? Is it saying “if the ability for someone to create a profile has been approved”?..what does that mean?


    pcwriter
    Participant

    @pcwriter

    @v_andreev

    Like @modemlooper said, xprofile fields are added through your WordPress backend admin area (MUCH easier than trying to hack your way through register.php).

    Go to “Buddypress” > “Profile Field Setup” and add your registration fields there. Any fields you add in the first (“Base”) group will appear on your registration page.

    thanks so much for the reply…

    I found it almost right after I made my second post and began adding fields already…so basically the register.php code looks for these fields and displays them…my only other question is how would someone add a avatar for their profile..is this one of the options in the admin area too?…


    modemlooper
    Moderator

    @modemlooper

    after they sign up the xprofile fields there is a second screen that asks to upload an avatar.


    pcwriter
    Participant

    @pcwriter

    No, uploading an avatar is the second step in the registration process. Once a user fills out the form on your signup page (filling in all the fields you define in “Profile Field Setup – Base Group”) and clicks the “Complete Sign Up” button, the next page they see will allow them to upload their avatar. Users can also change their avatar right in their member’s profile after they have registered on your site.


    pcwriter
    Participant

    @pcwriter

    @modemlooper

    Ya beat me to it! :-)


    modemlooper
    Moderator

    @modemlooper

    Though, I think in 1.3 the avatar uploading happens after you click the confirmation link in email. This was discussed as a change not sure if it went in.

    thanks guys..


    parakeet
    Participant

    @parakeet

    As a newbie, I’m finding it bizarre that the system apparently keeps two separate sets of user profile data in two different parts of the world – standard WordPress user stuff and BuddyPress stuff. Right?

    We’ve seen your post at https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/buddypresswp-users-how-does-it-work/ — there was no real need to bump this very old topic. Closing this topic in favour of the above.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘What Is XProfile?’ is closed to new replies.
Skip to toolbar