Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 2,251 through 2,275 (of 3,575 total)
  • Author
    Search Results
  • #128706
    Marcella
    Participant

    Hey @davidveldt this should do it if you are using the default theme. Otherwise you should integrate as you see fit.

    theme/registration/register.php

    You can add any groups or fields as you require. The groups and fields here are arbitrary.

    ` ‘player’, 4 => ‘coach’, 5 =>’parent’, 6 => ‘instructor’); ?>

    $role) : ?>
    <div id="” class=”role-fields”>

    <label for="”>

    <textarea rows="5" cols="40" name="” id=””>

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

    `

    Create some profile groups to cater for each role. You can find the group id within the BuddyPress admin… In the url bar or investigate your database.

    You should set-up the $roles array above to match your requirements.

    Within the loop you can show any fields you have created within that xprofile group. If you have a select box within that group you would add the following code as outlined in the bp-default register.php

    `

    <label for="”>

    <select name="” id=””>

    `

    Finally add the following jQuery where you house any other code of similar ilk.

    `
    jQuery(“.role-fields”).hide();
    $roles = jQuery(“#roles”);
    jQuery(“#field_2”).change(function()
    {
    $role = jQuery(this).val().toLowerCase();
    jQuery(“.role-fields”).hide();
    jQuery(“#” + $role).toggle();
    });
    `

    Here’s a pastebin for all that above. http://pastebin.com/QFdTdstz

    No need for tabs or accordion this time.

    Hope that helps you on the Road.

    #128698
    Marcella
    Participant

    Oh I can help you with that, lemme set up a local test area.

    #128674
    r-a-y
    Keymaster

    If you create a new xprofile group, then you could move some of those profile fields to these new groups and it won’t show up on the registration page.

    To create a new xprofile group, login to the WP admin dashboard and navigate to “BuddyPress > Profile Fields” page. Next, click on the “Add New Group” button located in the header text.

    #128670
    David Veldt
    Participant

    @Marcella,

    Yeah, that’s how I pictured it as well. Trouble is, I’m not great with jQuery so that’s going to take some studying up. This project might be saved for a rainy day.

    #128632
    Marcella
    Participant

    Just an example here, running with Paul Gibbs start point.

    Create xprofile fields as normal.

    Each career group would also have its own xprofile group.

    Player would have his / her own set of fields.
    Coach would have his / her own set of fields.
    Parent would have his / her own set of fields.
    Instructor would have his / her own set of fields.

    None of the above would be required fields. (as far as BuddyPress is concerned (unless you roll some PHP codes))

    You’d have another xprofile group specifically for required fields (this would be your first group).

    You would make the “type” part of the required group and set it as a select box.

    You could then write your registration form mark-up matching the requirements of jQuery tabs or jQuery accordion.

    The “type” would be the last item on the required fields. Once that was selected you could then show or hide the corresponding jQuery ui-tab-panel that holds those form fields.

    You could then on-the-fly make those fields then required using some jQuery also but a bit hacky.

    #128623
    David Veldt
    Participant

    Hmmm good point. Definitely worth checking out, however I still run into figuring out how to show/hide info depending on what they select from the drop-down. Not sure how to go about this…

    #128616
    Paul Wong-Gibbs
    Keymaster

    Sounds like a lot of info for the sign up form. What about jus putting a dropdown with the ‘person type’ in the first profile field group (which is the one that appears on the registration page by default), and then putting further type-specific fields into their own profile groups.

    With a little bit of coding, you can deny visibility or access to these other profile groups depending on user type, without too much diffficulty.

    #128478

    If I am understanding you correctly you want people to be able to search for others by category?

    You could add a profile field with a drop down selection box with the categories you have in mind.

    I don’t know if you can select more than one so you may have to add this field 5 times if you want them to choose up to 5 categories.

    I’m fairly new at this myself but I’m sure all the profile fields are searchable.

    Anyway – just a thought.

    #128373
    @mercime
    Participant

    You lost me at “but new members registering in these fields should never be visible only to the four basic fields “

    #128281
    landwire
    Participant

    Hi all,

    I modified the code from DuableLLC a bit to check for roles. I post it in case someone is looking for a solution like that:

    This function goes in the functions.php

    `// to exclude only defined roles in the Buddypress Members LOOP

    function exclude_by_role($exclude_roles) {

    $memberArray = array();

    if (bp_has_members()) :
    while (bp_members()) : bp_the_member();
    $user = new WP_User( bp_get_member_user_id() );
    $user_role = $user->roles[0];
    foreach ($exclude_roles as $exclude_role) {
    if ($exclude_role==$user_role) {
    array_push($memberArray, $user->ID);
    break;
    }
    }
    endwhile;
    endif;

    $theExcludeString=implode(“,”,$memberArray);

    return $theExcludeString;
    }`

    Then in the template members-loop.php you use:
    `$excluded_roles = array (‘administrator’, ‘author’, ‘subscriber’); // this can be any roles you have set up

    if (bp_has_members( ‘exclude=’ . exclude_by_role($excluded_roles) . ‘&’ . bp_ajax_querystring( ‘members’ ) ) ) : ?>
    `

    Brian Bowman
    Participant

    Seems that maybe they are only showing the BASE fields…and a user must return to EDIT their profile in order to complete the process. This keeps registration short, but there should be a way to INFORM new users that their not finished. I normally use WelcomePack plugin for this, but I’m having problems with it presently as well.

    #127972
    @mercime
    Participant

    What theme are you using? Has it been updated for BP 1.5+ ? If you change to bp-default theme, is issue corrected?

    #127851
    Paul Wong-Gibbs
    Keymaster

    Pinging the entire core team and a forum moderator is not going to help get a quicker response.
    :)

    This sounds like a weird bug, I have not seen it before. Is it all profile fields? Or just custom fields which you have created? Have you renamed the default profile field (if so, to what)?
    Is it always the same user’s data, or does it change? Is this user an admin or have any other special role on your site?

    #127838
    aces
    Participant
    #127836
    ARHistoryHub
    Participant

    Fixed this by removing ` ` input value from the registration template. Not sure what the implications of this may be, but profile creation and field data seem to work fine.

    #83287
    InHouse
    Member

    Can anyone help with this? I can get the fields to display but they aren’t conditional. If a user doesn’t fill out a field, a blank space is displayed rather than the lower fields moving up. I can’t get Website or Email to hyperlink either. Is there another way of going about this all together?

    #127655
    filmoreha
    Participant

    Facebook book login integration can be done with the WP-FB-Autoconnect plugin. I have tried it myself and it is a solid plugin, however FB avatar support is a tad wonky.

    Really will depend on what your needs are. I am actually looking for answers to mapping profile fields between FB and BuddyPress so that I can roll my own integration.

    #127486

    Tried this is custom php, but got error message:(Fatal error: Call to undefined function bp_get_profile_field_data() in /home/content/42/8142642/html/wp-content/plugins/bp-custom.php on line 4)

    if ( $data = bp_get_profile_field_data( ‘field=user-groups ‘ ) ) : ?>

    Groups: <a href=http://hiresphere.net/user-groups/?s=” title=””>
    #127450

    Thanks again….it isn’t a Suffusion thing after all. I found the members tab in the Profile area again by clicking on the highlighted terms in the profile fields. That is where it was/is. Not terribly convenient, so I will probably add a page link, too. You see, tab is not redundant to those of us who are not using the full functionality of BP, without forums.

    #127220

    In reply to: Change XProfiles look

    Has anyone a clue where I can find the css information about the profile fields…it seems I`m blind

    razzgpe
    Participant

    Hey! I know, its an old topic.

    But did you get a solution?
    I have the same problem. I want to have two fields for first- and lastname instead of fullname (field_1).

    Best regards,
    Razz!

    #127200
    slashmarx
    Participant

    abysshorror – you need to go into profile fields and edit each social media field. associate the given field with the corresponding site in the drop down list.

    I can’t get any of the icons (I have 5 icons currently) other than facebook to be clickable.

    Here is what I am showing on firebug:

    **********************************************
    [div id=”bp-smp-header”>
    [span class=”bp-smp-label”>
    [img alt=”http://twitter.com/FNAT79/ on Twitter” src=”http://www.iamupon.com/wp-content/plugins/boonebgorges-bp-social-media-profiles-884b941/images/icons/twitter.png”&gt;
    [img alt=”emailsupportstaff’s YouTube channel” src=”http://www.iamupon.com/wp-content/plugins/boonebgorges-bp-social-media-profiles-884b941/images/icons/youtube.png”&gt;
    [img alt=”http://www.meetup.com/members/6355514/ on Meetup” src=”http://www.iamupon.com/wp-content/plugins/boonebgorges-bp-social-media-profiles-884b941/images/icons/meetup.png”&gt;
    [a title=”Facebook” href=”https://www.facebook.com/#!/C.E.Neumann”&gt;
    [img alt=”Facebook” src=”http://www.iamupon.com/wp-content/plugins/boonebgorges-bp-social-media-profiles-884b941/images/icons/facebook.png”&gt;
    [/a>
    [img alt=”142244788 on Linkedin” src=”http://www.iamupon.com/wp-content/plugins/boonebgorges-bp-social-media-profiles-884b941/images/icons/linkedin.png”&gt;
    ********************************************************************************


    http://twitter.com/FNAT79/ on Twitter
    emailsupportstaff's YouTube channel
    http://www.meetup.com/members/6355514/ on Meetup

    Facebook

    142244788 on Linkedin

    Any suggestions?

    Thanks!

    #127054

    : )

    No other admin, only me. I think I wasn’t very clear. What I am trying to do is get rid of all that language-the group name, the heading the comes up when you type in the profile fields “editing Profile group…”

    Is it possible to have profiles but not have a heading/name or a group at all?

    As for the images, I meant that I wanted to add an image here to show you what I meant…but that is good to know about profiles, too, for I was thinking that would be a nice option.

    Just trying to keep things clean and uncluttered.

    Thanks so much for the help!

    #127027
    @mercime
    Participant

    Either you’ve forgotten you created that xprofile group name several weeks ago or another Site/Super Admin created that profile group :-)

    It’s not a Groups component but a Profile component. To edit the name of the Profile Group Name, go to wp-admin dashboard menu BuddyPress > Profile Fields and click on the Tab “Getting to know you” and click on Edit Group button under Profile Group Name.

    As for adding an image fields in user profile, can’t do that in default and there’s no plugin for that at this time. You’d have to develop this or find a developer to do this for you.

    #126941
    Quint
    Participant

    This may get you part of the way there:

    BuddyPress Custom Background For User Profile

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