Skip to:
Content
Pages
Categories
Search
Top
Bottom

New profile fields!

  • Avatar of budskab
    budskab
    Participant

    @budskab

    Hi…

    I’ve made some new profile field groups, and profile fields inside of them.

    But where do I see them? So far I’ve tried “Registration page”, front end “settings” on user page and looked everywhere in the admin area.. I can’t find them!

    Do I have to activate them inside my theme or something?

    Thanks in advance!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @budskab
    They are not visible until the user fills them out. In the My Account Menu at the top right hover over it and select Profile/Edit. When you are on the next screen below the profile tabs you will see “Base” and whatever other field group you created. By default you will be on “Base” these fields are the ones that correspond with your registration form. The other Field Group button you made will display the other fields you created within that field group. This is assuming your theme is functioning correctly. If you are still having issues you may want to try some basic troubleshooting by activating a known theme that works well with BP like Twenty Twelve or bp-default as well as disabling any plugins other than BP. Good luck!

    Avatar of budskab
    budskab
    Participant

    @budskab

    Hi

    Ahh… There they are… Is there a way to make them a little more visible for the users?

    Otherwise could we link to “../members/admin/profile/edit/group/2/” in a usermanual, and then the user will be directed to their own profile edit page?

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @budskab
    This link should work below. You could also add an image to replace the text providing you know some basic html.

    
    <a href="<?php global $current_user; echo home_url() . '/' . $current_user->user_login . '/profile/edit/group/2/'; ?>">Edit My Profile</a></div>
    
    Avatar of budskab
    budskab
    Participant

    @budskab

    Adding an image would be easy enough yes..

    Thanks for the line.. I’m still new to PHP, so this is the hardest part right now :) But the line above seems logic… could i then just change the ‘profile/edit/group/2/’ part to other profile URLS? Sure would be cool. Our users are most likely not that techie and we desperately need to make it easy filling out their profiles :)

    Can I change the standard registration fields in any way?

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @budskab
    The code I provided calls the current user dynamically if that is what you are wondering. Even thought it is one link it will take each user to their edit profile field group you created. Feel free to experiment around with it. Try these as well:

    
    <a href="<?php global $current_user; echo home_url() . '/' . $current_user->user_login . '/profile/edit/group/1/'; ?>">Edit My Profile</a></div>
    

    Or:

    
    if ( is_user_logged_in() ) {
    <a href="<?php echo bp_loggedin_user_domain(); ?>">Profile</a>//link to users profile
    <a href="<?php global $current_user; echo home_url() . '/members/' . $current_user->user_login . '/friends/'; ?>">Friends</a>//link to users friends 
    <a href="<?php global $current_user; echo home_url() . '/members/' . $current_user->user_login . '/messages/'; ?>">Messages</a>//link to users messages
    }
    

    As a final thought if you add those links I would wrap them in a conditional to check if the user is logged in like the links just above.

    Avatar of premiumwebsites
    premiumwebsites
    Participant

    @premiumwebsites

    Is this code added in the page editor or one of the php files?

    I would like to send a user to the edit profile area on the page that comes up when the user logs in.

    Dotty

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

You must be logged in to reply to this topic.