Search Results for 'profile fields'
-
AuthorSearch Results
-
May 16, 2012 at 7:55 pm #134674
In reply to: Interactive Profile Fields During Registration
bojan85
ParticipantMay 15, 2012 at 9:50 pm #134622In reply to: Search Member / Profile fields by URL?
shanebp
ModeratorI’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 commaif ( 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/
May 15, 2012 at 9:21 pm #134621In reply to: Search Member / Profile fields by URL?
yoramz
Memberi’m looking for the same things to do with my site.
did you find a solution for that?May 15, 2012 at 8:44 pm #134620In reply to: Interactive Profile Fields During Registration
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…
May 15, 2012 at 7:46 pm #134618In reply to: Interactive Profile Fields During Registration
Sabrin_N
ParticipantOMG, 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?
May 12, 2012 at 11:31 pm #134437In reply to: Request: Secured Profiles Option
energynet
ParticipantNot 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>
`
May 7, 2012 at 7:18 pm #134129In reply to: Search Member / Profile fields by URL?
perywinkle
ParticipantThe 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”May 2, 2012 at 12:07 pm #133849In reply to: How to hide profile fields
Paul Wong-Gibbs
KeymasterI 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.
May 2, 2012 at 6:06 am #133841In reply to: How to hide profile fields
maylene
MemberI’d be interested in this as well.
May 2, 2012 at 2:28 am #133828In reply to: SPAM ON ACTIVITY PAGE!
jonnylons
ParticipantThis 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?
April 30, 2012 at 11:12 pm #133779In reply to: Custom profile fields with drop down menus
ajm845
MemberAssuming 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.
April 30, 2012 at 12:08 pm #133746In reply to: Let users create their own xprofile fields
Hugo Ashmore
ParticipantGo 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.
April 30, 2012 at 11:53 am #133745In reply to: Custom profile fields with drop down menus
Paul Wong-Gibbs
KeymasterI don’t know about date range, but for your dropdown box, you would have to manually build that list of universities yourself.
April 30, 2012 at 11:52 am #133744In reply to: Let users create their own xprofile fields
Paul Wong-Gibbs
KeymasterThe 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.
April 27, 2012 at 7:45 pm #133669In 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?April 25, 2012 at 1:49 pm #133559@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.
April 25, 2012 at 2:57 am #133532fmeroney
Member@mercime so i fixed it by decativating, deleteing, and reinstalling BP. Everythings kosher so far.
Thanks,
April 25, 2012 at 12:46 am #133523@mercime
ParticipantMore 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.
April 24, 2012 at 11:16 pm #133517fmeroney
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?
April 24, 2012 at 9:38 pm #133514fmeroney
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?
April 24, 2012 at 8:26 pm #133506@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.
April 24, 2012 at 4:24 pm #133488In reply to: How to limit the characters of the profile bio.
shanebp
ModeratorYou 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.phpYou 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.April 23, 2012 at 12:33 pm #133433temmy
MemberThanks 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
April 22, 2012 at 3:29 am #133381In reply to: Collate Custom Profile Fields Data
Scorpiion4984
Member@mercime Thank you
April 21, 2012 at 3:40 am #133343In reply to: Collate Custom Profile Fields Data
@mercime
ParticipantThere’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
-
AuthorSearch Results