Search Results for 'profile fields'
-
Search Results
-
hi all i have a widget that show the author’s avatar and i pull the wp’s about me field(biological info) but i want to replace it with bp’s my custom field “About me” . I want this so the member will fill his info there and the WP’s admin fields (i am gonna disable the “members” menu there). can anybody help me?
This is from my current widget that pulls the data from the WP’s field:
edit:cannot paste code but it was like ech0 ..getSnippet(get_the_author_description etc .. .. (and with charlimit also)Our nonprofit organization is using Buddypress for our Student Program’s online community. We are also using it to gather all of the student members’ vital information—contact info, university, major, etc.—using many extended profile fields, some required, some not. We’ve put many hours/weeks/months into creating and promoting this online community, but have come to realize that there is apparently no way to export the data we collected into a usable format.
The users’ data is stored in three different tables in the SQL database: wp_users (with the basic login info), wp_bp_xprofile_fields (with the labels of the extended profile fields), and wp_bp_xprofile_data (with the actual extended profile field data). We need the data in either a single Excel spreadsheet or Access database (ultimately the data goes into our Raiser’s Edge and Convio databases). Currently we can export the three tables as individual spreadsheets, but have not been able to then combine the data into one usable document, with the Profile/Extended Profile Field labels across the top row, and all the data (from the wp and bp data tables) for each user across one line in the spreadsheet.
In the absence of any built-in functionality or plugin, I assume we need to write a SQL query of some kind that does the following:
1 – copies wp_users into a new table.
2 – adds new columns to this table for every field from wp_bp_xprofile_fields where wp_bp_xprofile_fields/type value is other than “option” (“textbox”, “selectbox”, etc.).
3 – takes value from wp_bp_xprofile_data/value and adds it to the correct user in the correct column:
3a – wp_bp_xprofile_data/user_id corresponds to wp_users/ID
3b – wp_bp_xprofile_data/field_id corresponds to wp_bp_xprofile_fields/id
3c – Whenever wp_bp_xprofile_fields/type value is “option”, wp_bp_xprofile_data/field_id will instead correspond to wp_bp_xprofile_fields/parent_idHowever, I don’t know much at all about SQL queries. Has anyone had any luck exporting the user data in this (or any other) way? Does anyone have any ideas that could point me in the right direction?
I would like add 2 new profile fields (either in Base or as a new Field Groups, doesn’t matter).
I’d like these fields to be displayed in the member profile pages and search results so they can be searched on directly.
E.G. Dave has noted himself as a ‘Plumber’ in the profile field ‘Profession’. Search for ‘dave’. It returns a list with Dave in it, and in the column ‘Profession’ he is a ‘Plumber’. Click on ‘Plumber’ and it finds all plumbers.Is this possible? Any pointers as to which files and functions I should be using?
Topic: Need to have Real Names
I have a following situation:
I’m running a BuddyPress Social Network and using the default “Full Name” field as First Name for registration. I also added a mandatory custom field called Last Name… So, the members profile page looks like it should.My question:
How can I use the current field configuration to display members Full Names (using both fields)?I’ve been looking, and playing around with different modules to accomplish the following to no avail. As a community music site I want logged in users to click any user avatar and be directed to the users activity stream such as mysite/members/%username%, this works as I like, this is the location that shows the user profile, and the first tab is the personal tab. However, when a person, someone who is not logged in, or who does not have an account to my site, clicks a users avatar. This person needs to be directed to that users mysite/members/%username%/profile url. This is the display area that shows the public tab. This is the part I need to figure out somehow, or another option would be to have the public tab somehow show up on the activity stream display as well. This public tab is what shows all of the extra fields a person can create, and only serves a useful purpose to those first time viewers, and people not registered to my site, such as bio etc, and of course the users themselves. Appreciate any help on this, thanks
WP 3.0.2 and BP 1.2.6
EricTopic: Custom edit field profile
Hello, (i’m french user !)
I use a function to post fields in a profile :
`<?php
function bp_custom_member_list_xprofile_data( $field ) {
echo bp_custom_get_member_list_xprofile_data( $field );
}
function bp_custom_get_member_list_xprofile_data( $field ) {
global $site_members_template;return xprofile_get_field_data( $field, $site_members_template->member->id );
}
?>`
Then to show :
“
“ “Facebook” is the name of the field
But, now i want edit this fields..because the basic edit field do not go into my project
Help me !
WoaHi im trying to do a check on a xprofile field “Gender” as i want to have a different default avatar depending on whether the user is male or female, i have the following code which doesnt seem to work (it displays female avatar for both).
Im guessing you cant check xprofile feilds like this in bp-custom.php, can anyone point me in the right direction on how i can accomplish this?
Thanks in adavnce for any help.
Regards
Tony
`function myavatar_add_default_avatar( $url )
{
global $bp;
if (bp_get_profile_field_data(‘field=Gender’) === “Male”) :
return get_stylesheet_directory_uri() .’/_inc/images/default_avatar_male.jpg’;
else:
return get_stylesheet_directory_uri() .’/_inc/images/default_avatar_female.jpg’;
endif;
}
add_filter( ‘bp_core_mysteryman_src’, ‘myavatar_add_default_avatar’ );`Hi guys,
I LOVE the plugin, BP -Profile search.It enables you to search for members across any number of profile fields and goes far beyond the normal search capabilities for BP.
The only thing is, on my site the search form is very large and takes up too much space.
See http://www.actonthis.co/members/Is there anyway to control this form by ajax so that you click a button and then the form drops down? It would be exactly like posting a forum topic or creating a group from the forum or group directory so I know it’s possible, but i don’t know how to code it.
Does anyone know how to do this or indeed are willing to do it if we can get some funds together from the users of this plugin?
THANKS!