Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 2,101 through 2,125 (of 3,575 total)
  • Author
    Search Results
  • #134674
    bojan85
    Participant

    @jaimebib nope still no luck for me I have basically given up on this plugin since I cannot seem to reach the author of the plugin..
    @Marcella any news on the idea you had for developing the plugin?

    #134622
    shanebp
    Moderator

    I’d approach this a different way –

    something like:
    `
    $match_ids = $wpdb->get_var( “SELECT user_id FROM wp_bp_xprofile_data WHERE field_id = [whatever the field_id is for State] AND value = [whatever value you want to find] “);
    `

    $match_ids will be a simple array.
    So loop thru the array and create a comma separated string out of the ids.
    Then pass the string to bp_has_members() using ‘include’

    something like
    `
    //$get_these_members is the id string you created
    $get_these_members = ‘include=’ . substr($get_these_members, 0, -1); //trim the last comma

    if ( bp_has_members( $get_these_members ) )
    `

    That way you could search for any value on any profile field.
    Your approach might work, but… yikes.

    https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-members-loop/

    #134621
    yoramz
    Member

    i’m looking for the same things to do with my site.
    did you find a solution for that?

    #134620
    jaimebib
    Participant

    @bojan85 tried to work with this plugin aswell but seems non functional..anybody involved in developing for bp who knows if this is even possible to do? Seems like a very basic function that should be included…

    #134618
    Sabrin_N
    Participant

    OMG, this is almost what i need :) do you already have it working @davidveldt ?

    what i need is:

    you have the registrationform, the only things i want visible is Name and Email. and then i would like to have a selectbox with 2 options: Company or Student.

    When you register as a company and then login you go to the company profile side. if you are a student then you go to the student profile side. The 2 profile have different profile groups to fill out.

    how can i do this?

    #134437
    energynet
    Participant

    Not sure how to ensure that it doesn’t conflict. Here’s the EE profile-loop.php page below… Since I’m a bit new to this, I could certainly copy the original profile-loop.php file into the child theme, but am a bit concerned about me just pasting this new code into it as I don’t know how to identify conflicts other than it not working etc.
    `

    <div class="bp-widget “>

    <tr>

    `

    #134129
    perywinkle
    Participant

    The other option I’ve been toying with is creating the State values: as Idaho_state ( more specific search term )
    Then display state as “Idaho” ( in the profile ) with some php:
    if value “Idaho – ID”
    echo “Idaho”

    #133849
    Paul Wong-Gibbs
    Keymaster

    I would suggest creating a new profile field group for this sort of field, and put some logic into the appropriate theme template to not show fields in that group.

    #133841
    maylene
    Member

    I’d be interested in this as well.

    #133828

    In reply to: SPAM ON ACTIVITY PAGE!

    jonnylons
    Participant

    This is exactly what I have been trying to find an answer to. No one has seemed to provide a straight answer but this goes a long way. Thanks guys. I think I will reference this and work on this problem myself, too, and provide some feedback.

    I think (not sure!) that one of the ways you can stop spam is to put required fields on the profile that utilize human input. Requiring fields like favorite color, or something where people have to actually input something may be helpful to slow down spam. At least, that’s a theory. Anyone have anything like that or provide some feedback on this theory?

    #133779
    ajm845
    Member

    Assuming I have the list in an excel worksheet, I would like to know if it is possible to add that feature to my registration page.

    #133746
    Hugo Ashmore
    Participant

    Go with Paul’s second suggestion, you could make it a simple text input and instruct the user to add items comma separated and then grab the field and run an explode function on the comma to get a list you can loop over and display.

    #133745
    Paul Wong-Gibbs
    Keymaster

    I don’t know about date range, but for your dropdown box, you would have to manually build that list of universities yourself.

    #133744
    Paul Wong-Gibbs
    Keymaster

    The easiest would be for you to create multiple profile fields (job 1, job 2…) and prompt users to leave blank if not appropriate.

    Another approach is to use a text area (one job per line), and then customise the output of this particular field to display how you wanted it to.

    xprofile wasn’t built with the idea of letting *users* (vs admins) creating new profile fields. I think trying to do this would be full of difficulty so I’d recommend against it.

    #133669

    In reply to: Registration Form

    @mercime
    Participant

    == how do you get that field to upload into that users profile? ==
    Profile fields show up in member’s profile page by default. What else do you mean by upload into users profile?

    @mercime
    Participant

    == I would like to be able to track the members and the dates that they lost the love one ==

    @enjoywellbeing You can create profile fields for a) date when their loved one was born and b) date died. Then make the fields required.

    == I am looking for an easy theme to use for this purpose ==

    I would suggest using the default bp-default theme while you’re building your site and adding plugins so you can know that if anything goes wonky, it could very well have been caused by the plugin, etc.

    When you’re close to launching the site, you can use a WordPress theme and use BP Template Pack plugin to transfer BP template files and JS goodness. If you need assistance in fixing alignment, check out the list of WP themes we’ve “Template-Packed” so far.

    fmeroney
    Member

    @mercime so i fixed it by decativating, deleteing, and reinstalling BP. Everythings kosher so far.

    Thanks,

    @mercime
    Participant

    More of the outdated plugin issue and possibly a theme issue, not sure. The best thing is to set up BuddyPress and check everything out using bp-default theme without other plugins activated. When everything’s doing as expected, only then do you change to custom theme and add on plugins (only those which have been upgraded to current WP/BP versions). That way, you’ll know when anything goes wonky and can fix it asap. Only my 2 cents.

    fmeroney
    Member

    @mercime now i understand what you meant, i did try the BP default theme, no luck. I may need to revert to my backup. I have a developer working on the fix now. Any ideas, could this be a BP & WP issue?

    fmeroney
    Member

    @mercime yes sorry that is a typo. I did deactivate it with no luck. I also deactivated BP and reactivated it with no luck. How do I change to bp-default?

    @mercime
    Participant

    @fmeroney just to clarify, you mean you updated to WP 3.3.2 and WP 3.2.2 was just a typo, right?

    Looks more like Buddypress xProfiles ACL plugin needs to be updated. If deactivating xProfiles ACL doesn’t cut it, change to bp-default to see if issue is corrected.

    #133488
    shanebp
    Moderator

    You mean the description field ?

    That’s tougher. How good are you at php ?

    afaik – you need to modify the
    /themes/your-theme/members/single/profile/edit.php

    You won’t see a form field for ‘description’
    BP uses bp_get_the_profile_field_type() to show fields.
    So you need to do an ‘if’ on the bp_the_profile_field_input_name()
    And then use javascript to limit the number of chars allowed – lots of examples of this online.

    temmy
    Member

    Thanks Paul, I’ve been able to add the extra fields as suggested and displayed them on members page using echo bp_member_profile_data(‘field=the field name’); in members-loop

    #133381

    @mercime Thank you

    #133343
    @mercime
    Participant

    There’s no member/xprofile exporter compatible with BP 1.5.5 at this time. There’s the outdated https://wordpress.org/extend/plugins/bp-export-users/ but it’s good up to WP 3.1.4 and BP 1.2.8 only which a plugin developer could check out and should revise to be compatible with BP 1.5.5.

    You can probably start off by exporting the tables from your database: wp_bp_xprofile_data; wp_bp_xprofile_fields; wp_bp_xprofile_groups and wp_bp_xprofile_meta but the best bet is to have a developer set this up

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