Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 2,251 through 2,275 (of 3,594 total)
  • Author
    Search Results
  • Paul Wong-Gibbs
    Keymaster

    Newly-added mandatory fields stay unset until a user goes to edit their profile (for whatever reason); then they must set them.

    #129280

    I even changed to a buddypress theme and am still having this issue. The profile fields are not showing on the search option form.

    #129231
    Marcella
    Participant

    Hi man, yeah pretty much. You’ll connect the dots in the back-end and the previously discussed functionality will be applied on the front.

    Does seem fairly bespoke though, and wouldn’t necessarily define this as “much needed” as the information can always be captured later.

    All depends on the audience though, also…. if you need to capture specific information from others and don’t care how they use the site afterwards then you could use a Gravity Form.

    #129187
    bojan85
    Participant

    Wow that looks great!! So if I understand it right depending on what role the user selects on the drop down menu at the buddypress registration the relevant registration form will show up below?

    The screenshot looks awesome and I think the ability to direct users on 1st stage to specific xprofiles group will be a much needed addition to bp, especially for us novices

    #129144
    Lindsayannb
    Member

    Ahhh “search_terms” Is what I was missing. I was looking for the “fields” which would only yield the contents of the profile fields correct?

    Would I really need to use a loop? Doesn’t the search_terms inherently search all profiles with that term and display the search terms page?

    I mean all I would need to do is display all search terms as links (just as they would display on a profile page) in a navigation bar on the member directory.

    Another way to do this would be if you can allow people to use tags in the signup form. Essentially all I am looking for is some type of taxonomy I can use for members that the members set for themselves. I am not married to the idea of using the search_terms.

    #129142
    @ChrisClayton
    Participant

    @Lindsayannb – Essentially what you would want to do is utilise the built in “search_terms” parameter (which your already using for the profile fields links) and modifying the searchterm based on what is selected via the dropdown menu – https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-members-loop/

    Haven’t looked indepth into this specific loop yet, (and i’m not sure if it will work on a directory page) but their is a profile field loop which might help… (https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-profile-data-loop-bp_has_profile/)

    #129128
    Marcella
    Participant

    Thinking something like this.

    Still struggling to see how it would work for more than the 1st stage / 1st option directing to the xProfile Group associated with that.

    Although that might be my lack of understanding the possible direction a user may take when building out their registration fields.

    This interface might confuse users, Google + / Groups / BuddyPress / ahhh head aches.

    Will probably opt in for a simple drop down on either side.

    View post on imgur.com

    #129125
    abysshorror
    Member

    @marcella1981 +1 plugin :)

    #129119
    bojan85
    Participant

    @marcella1981
    I think a plugin would be a great addition to bp..I would believe more users would like to be able to create different registration profile fields for different users (dating sites, networking sites, job sites etc.,..that’s a good question..maybe something simple in the bp admin like the buddypress user account type plugin…or maybe is it possible to create the plugin as add on to the main Extended Profile Fields menu?

    I wish I could be more of a help..
    Cheers, Bojan

    #129118
    Marcella
    Participant

    Hey @bojan85

    Guess there is a small need for a plugin like this.

    I’m trying to visualise how you would configure a plugin to meet the requirements you need and also any others like @davidveldt

    Possible scenarios?

    Multiple routes for registration depending on which items were selected at the “required” stage.

    If this was to come “out the box” with BuddyPress, how would you expect to set this registration up within wp-admin / bp-admin?

    #129112
    bojan85
    Participant

    @marcella1981,

    Hey Marcella, first of all thank you for taking the time to help us, What I am trying to do is very similar as david have two different registration forms depending if their user role is an athlete or coach. I have the regular Bp default theme with the frisco theme, and latest wp and bp.

    I have been trying to figure it out for a couple days but cant seem to move forward..where in the register.php do i enter the php code and jquery script? I tried a couple different places..I have matched the group fields with the $roles array I’m guessing thats the only thing im doing right so far…

    Sorry for the all the questions I am a beginner at all this..Any tips or help how to move forward would be greatly appreciated!

    #129051

    In reply to: Multiple Account Types

    @ChrisClayton
    Participant

    theirs some really helpful code in here which sounds exactly like what your after – https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/interactive-profile-fields-during-registration/

    #128813
    Marcella
    Participant

    If you could stub out the functionality of the plugin I’d be happy to consider it :)

    #128795
    SK
    Participant

    @DJPaul I know you have closed the ticket as won’t fix.

    However, I’d invite you to consider this:

    I think the functionality that we are after is “conditional” or “nested” fields. i.e. a list of states loading based on country selected.

    The data (countries/states/cities/etc) need not necessarily be packaged with BuddyPress….maybe admins can load their own lists via csv etc…what’s important is the BEHAVIOR of the field…loading lists for a sub-field based on the value chosen for a field…

    Come to think of it, conditional/nested fields could have many more applications than just addresses.

    #128769
    David Veldt
    Participant

    @Marcella,

    Wow! What a thoughtful and detailed reply! Thank you so much for all of this.

    ps. A plugin would be AWESOME – you now have 2 votes (gotta start somewhere!)

    #128756
    MikeTime360
    Member

    r-a-y,

    Awesome solution. I think that will work. Thank you.

    -Mike

    #128748
    Marcella
    Participant

    hey dude, all depends on how many people would want it as a plugin and it may have already been done before.

    with David having a very specific case it was ok here but would need some more work to be practical.

    if you need some help getting something like this working you could describe what you need, what theme you have etc and maybe take it from there.

    #128741
    bojan85
    Participant

    not to hijack this thread but Wow this was exactly what I have been looking for but being a beginner this would be hard for me to implepement….no thoughts of relasing this as a plugin marcella?

    #128731
    @ChrisClayton
    Participant

    Buddypress doesn’t make it easy to allow “profile types” out of the box, you will either need to hire a developer or use a plugin, this one might get you half way their – https://buddypress.org/community/groups/buddypress-user-account-type-lite/

    @djpaul also suggested to someone else with a similar-ish question, of using xprofile fields and a some custom coding. https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/interactive-profile-fields-during-registration/ (Theirs some great discussion on that thread regarding similar things that you might be interested in reading)

    #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…

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