Search Results for 'profile fields'
-
AuthorSearch Results
-
June 16, 2012 at 6:04 am #135892
In reply to: How Do I Join this Group?
@mercime
ParticipantYou’re welcome. testbp.org’s running BP 1.6 trunk and the registration page just has the profile fields you can add as site/super admin.
June 16, 2012 at 4:19 am #135887In reply to: [Resolvd] SVN Version and profile fields
@mercime
ParticipantYes, there are major changes in upcoming BP 1.6. You can add profile fields via dashboard menu Users > Profile Fields
June 15, 2012 at 5:40 pm #135856In reply to: Profile fields and Activity Stream not working.
@mercime
ParticipantUsually a custom theme issue. Change to bp-default theme and check if issue is corrected.
June 14, 2012 at 6:27 pm #135776perywinkle
ParticipantThis seems to happen in the regular profile loop output too.
I’m looking around for ways to have the profile fields
‘respect’ line breaks or carriage returns….June 14, 2012 at 6:57 am #135757In reply to: Different Profile for different user type
modemlooper
Moderatoryou could create custom profile php. save the user type to user meta. then do an if statment to populate page.
Id have one page that switches through user type and then calls a seperate page with profile code
you might have trouble with different fields
June 13, 2012 at 4:43 pm #135735Stanley Ojadovwa
MemberI working on getting a list of members based on the fields they selected on the extended profiles fields in buddypress. Here is my code
{
global $wpdb;
$membership_group = “Orange Membership (30,000 Naira/Year)”;
$db_query = “SELECT user_id FROM wp_bp_xprofile_data WHERE field_id = 33 AND value = “” .$membership_group .”””;
$match_ids = $wpdb->get_var($db_query);
$get_these_members = ‘include=’ .$match_ids;if (bp_has_members($get_these_members, ‘per_page optional=9’)) { ?> //Some Codes here
?>
}The result is returning just the first member it gets from the query instead of a list of members. Please what i’m i doing wrong.
Thanks
June 9, 2012 at 11:13 am #135611In reply to: Group Friend invite
wiesson
MemberThanks for reply. I’ve found my error! I habe made a big mistake. I deleted the wp_bp_xprofile_fields id=1 (name) …
i created a new tab for the profile, switched the name field to the new tab and then deleted the new tab (forget to pull the name-field out^^) …. no its working correctly. thanks for your help!
June 7, 2012 at 12:53 pm #135547In reply to: Private profile fields
differentflies
MemberJohn – have you resolved this question? I’m interested in doing the same thing… would be grateful for guidance if you’ve been able to achieve what you described.
June 6, 2012 at 1:59 pm #135519shanebp
ModeratorWhat does this mean “matches the page” ?
You need to know the field_id (numeric) of the profile field(s) you want to match.
Take a look at this:
https://buddypress.org/community/groups/creating-extending/forum/topic/search-member-profile-fields-by-url/June 4, 2012 at 4:34 pm #135465In reply to: check if field has new value in buddypress xprofile
shanebp
ModeratorUntested, but try this:
`
add_action (‘xprofile_updated_profile’, ‘profile_change_notify’);
function profile_change_notify ($id, $posted_field_ids, $errors) {
$global $wpdb;if( $errors )
return;$names = ”;
foreach( (array)$posted_field_ids as $field_id ) {
$sql = ” SELECT name FROM wp_bp_xprofile_fields WHERE id = ‘$field_id’ “;
$name = $wpdb->get_var( $sql );
if( $name == ‘Country’ || $name == ‘City’ )
$names .= ‘ ‘ . $name;}
if( $names != ” ) {
$user = new WP_User ($id);
wp_mail (‘myname@mydomain.com’, ‘Subject ( ‘ . $user->user_login . ‘ just updated the Profile )’, $names);
}
}
`June 2, 2012 at 2:22 pm #135399fmeroney
MemberThis Plugin may help, tested on a single site, hasn’t been tested on a multi-site install. I was having the same issue, so I had this developed. Let me know if it works for you.
FYI: I submitted it to WP for inclusion in their repository, should be there soon.
June 1, 2012 at 5:48 pm #135370In reply to: Insert BP extended profile fields into Custom Posts
enderandrew
MemberI’m looking to do something similar but for a template. I’d like to have an author bio at the top of author pages.
May 31, 2012 at 12:23 am #135296shanebp
ModeratorIf you’re trying to load members-overview.php as a separate page, take a look at this plugin:
https://wordpress.org/extend/plugins/allow-php-in-posts-and-pages/If not, then use the bp-custom approach I mentioned above – you’ll need to learn it anyway.
Basically, you need to ask better questions, ie. what, where – exactly, why etc.
Use http://pastie.org/ and show your code.May 30, 2012 at 10:50 pm #135291thirstcard
Membermembers-overview.php only loads when i put locate_template( array( ‘members/single/members-overview.php’), true ); into member-header.php and then display the member profile page.
I need to get members-overview.php to work outside the loop. The idea is to be able to display profile fields anywhere and not just display them on the member profile page.
May 30, 2012 at 7:43 pm #135285odarma
Participant@mercime i reinstall everything form 0 using a backup of my Data Base and it fail, so i think its an error in my DB what is wrong, so maybe ill have to reset my page
May 30, 2012 at 5:00 pm #135274shanebp
ModeratorAre you sure members-overview.php is loading ?
Do a simple echo in that file to check.also try : locate_template( array( ‘members/single/members-overview.php’), true );
May 30, 2012 at 4:47 pm #135273thirstcard
MemberThanks shanebp but I do need to create members-overview.php.
How can I insert profile data into this file once i’ve created it?
bp_get_profile_field_data( ‘field=Location’ ); doesn’t seem to work so I am assuming I need to have a loop somewhere which makes the profile data available to that file?
Hope someone can give me some pointers on this?
May 30, 2012 at 4:45 pm #135272odarma
Participant@mercime it didn´t work so ill to reinstall from 0 and then mount a backup of my DB and my wp-content y hope it fix it.
May 30, 2012 at 4:09 pm #135269shanebp
ModeratorSo overview.php creates some html that you want to reuse in various template pages ?
You probably better off just creating a function in bp-custom.php.
Then call that function wherever you like.May 29, 2012 at 8:11 pm #135237In reply to: Search Member / Profile fields by URL?
perywinkle
ParticipantHey Thanks @shanebp
I’ll give that a try…May 29, 2012 at 5:23 am #135214gmxperry
ParticipantActually, I think I got it. I’ve just put a link in the BP profile and WP profile so at least the user can access those fields to edit.
May 29, 2012 at 4:19 am #135211gmxperry
ParticipantThat’s true, I hadn’t even thought of that. Is there any way for me to add a link in the “Edit” profile option which will direct them to the WP profile?
I guess I should say, I’m sure there’s a way, I’m just not sure which file I would have to make changes to in order to get that to display properly.
Thanks for your reply!
May 28, 2012 at 6:18 am #135150Paul Wong-Gibbs
KeymasterEven if you hooked it to the correct place, I doubt that the form save handler would work.
May 27, 2012 at 10:16 pm #135147gmxperry
ParticipantAnother update: Right below where I found those hooks, I also found the code that actually generates the fields and whatnot. If there is a way for me to directly copy-and-paste that right into the BP profile edit page somehow – or even create fields that can be associated with those liveTV fields – I’ll do that too.
Thank you again for any help!
May 27, 2012 at 8:20 pm #135136In reply to: Cant update user profile
fallingup
ParticipantI created a new user, and still can not edit default (name) fields
-
AuthorSearch Results