Search Results for 'profile fields'
-
AuthorSearch Results
-
August 24, 2012 at 7:24 pm #140162
In reply to: User Meta Names… how do I find them?
Quint
ParticipantThanks for responding. What I meant is that I don’t know what the meta names are for each one of the XProfile fields.
What I’m trying to do is map some of the fields in my FormidablePro form to the XProfile fields. Thus, when the user fills out and submits the form, the appropriate XProfile fields are updated. That’s the goal. It’s possible… but I don’t know how to do it. Getting the meta names is a good start.
Didn’t see your response, Paul until after I submitted… will look at it.
August 23, 2012 at 9:28 am #140034danbpfr
Participanthi,
as you can read here https://codex.buddypress.org/releases/version-1-6/ in the Profile Field section, since BP 1.6, each user can set his profile fields to different visibility option from within his profile option admin.
You can also modify the template profile loop from a child theme to avoid site wide not registered users to see profiles unless they are logged in, by adding the contionnal tag if bp_user_is_logged_in.
Add this just after the first line containing do_action and don’t forgot endif at the end of the page, just before the last do_action.August 22, 2012 at 2:49 pm #139984danbpfr
Participantplease post questions one by one.
For the question about template, it seems there is something wrong from within it. As you know also, you paid a $60 licence to use the Huddle themeforest theme. This price includes support and you have to ask them first for disfunction and updates, not here.
FYI, the last update of the theme is 21 August 12. Did you use this update ?
Same question to @travcentralenFor the second question about retrieving profile fields automatic links, i don’t know, but please search a bit on this forum. I saw a similar one in the past 3 days….
August 22, 2012 at 2:28 pm #139981papaitirtha
MemberThank you @Hugo, but unfortunately there is no difference. Impact I tried to replace the whole members folder with the default buddypress members folder but still no change. The problem remains.
If I dnt want the link on the name ( Antonie Blake) and other profile fields then which line I have to delete from the php ? will it be solved then?I don´t know whats happening.
August 22, 2012 at 9:40 am #139969In reply to: Group members list
Hugo Ashmore
ParticipantFor profile fields you could either of the following:
`bp_get_profile_field_data(‘field=location&user_id=’ . bp_get_group_member_id()) `
Echo it or pass it to a variable
or:
`echo xprofile_get_field_data( ‘location’ , bp_get_group_member_id() ) `The file that runs the group members is `/groups/single/members.php`
Edit a copy of that file and place the output where best suits your layout.
August 22, 2012 at 8:46 am #139964In reply to: Group members list
hkcharlie
ParticipantI found this https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/profile-fields-in-members-list-on-groups-page/
but I don’t know where I need to put the code (obviously I need to edit it for the name of my field)August 16, 2012 at 8:53 pm #139634shanebp
ModeratorWithin the context of a wp post
$user_id would be get_the_author_id() ?`
$authorBio = xprofile_get_field_data( ‘Bio’, $user_id );echo ‘Author’s bio: ‘. $authorBio;
`August 16, 2012 at 7:37 pm #139629matthillcomer
MemberCan anyone help me with this? It seems like it would be pretty easy to do… call extended profile field data from BuddyPress for a post author to display next to their author name. Anyone have some tips?
August 16, 2012 at 3:43 am #139574matthillcomer
MemberI have single WP installation running BuddyPress as a plugin. No multisite.
August 16, 2012 at 3:22 am #139573@mercime
Participant@matthillcomer are you referring to posts by multiple authors in single WP or posts by members in subsites of a Multisite installation?
August 15, 2012 at 7:13 pm #139539adminRimma
ParticipantTo clarify my post above, I do not have buddypress showing in the toolbar on the left under settings on the subdomain and when i network activate it, do not see profile fields…
i have declared the root blog as advised…
August 15, 2012 at 6:35 pm #139536In reply to: Replacing Activity Status with xProfiles field data
David Cavins
KeymasterTo display extended profile fields in the members directory, it’s easiest to add a function to your theme’s
functions.phpfile. My theme is based on the bp-default theme, so in my file/wp-content/themes/theme-name/members/members-loop.php, there’s this action at the end of each member’s entry that we can hook into:
Open up your functions.php file and add something like this:
function add_member_custom_extended_profile() { if ( $xprofile_tele = bp_get_member_profile_data( 'field=Telephone' ) ) { echo 'Telephone:' . $xprofile_tele . ' '; } } add_action('bp_directory_members_item', 'add_member_custom_extended_profile');You can get the exact field name to use by looking at a member’s profile page and copying the text in the left-most column.
I originally got this idea from here: http://premium.wpmudev.org/forums/topic/bp-add-profile-field-data-to-members-directory-with-links
August 15, 2012 at 1:29 pm #139517In reply to: How to Hook into the Primary Profile Field [Closed]
frank tredici
MemberThanks @shawn38.
I am running WP 3.4.1 and BP 1.5.6
In my installation there is no `Profile Fields` in the Dashboard > Users navigation path.
The manner in which I get to `Profile Fields` is Dashboard > Buddy Press > Profile Fields
The page ends up being “Extended Profile Fields” and under the “Base (Primary)” tab and I click the Edit button for Name (Primary) (Required) there is no Field Description box like there is on all the other profile fields.
Do you think I have a faulty or incomplete install going on here?
Appreciate your help…
August 15, 2012 at 12:41 pm #139515In reply to: How to Hook into the Primary Profile Field [Closed]
9087877
InactiveThat is strange.When you went to Dasboard/Users/Profile Fields and under Base(Primary) and clicked Add New Field it should have took to to where you can add a Field Title, and Field Description. Did you scroll to the bottom and click “Save?”
August 15, 2012 at 2:58 am #139484In reply to: Why is profile fields displaying info as links?
modemlooper
ModeratorInstall my plugin to get option to remove links. https://wordpress.org/extend/plugins/buddypress-extended-settings/
August 15, 2012 at 2:32 am #139483In reply to: Why is profile fields displaying info as links?
August 13, 2012 at 7:33 am #139201Austin Nichols
MemberThanks, but that only works on the member’s profile page.
August 13, 2012 at 5:56 am #139234c0rp53
Memberhaven’t actually tried it myself but it would be something like:
`
Country:`
and I’d put that just after the latest updates endif in the members-loop.php
I’m not a great coder, just learning with buddypress. Let me know if it works
PS: by doing it that way, you can add some style in style.css
August 8, 2012 at 2:30 pm #138828In reply to: Global Setting for Extended Profile Visibility?
lwaltzer
ParticipantThanks, Paul– I hadn’t clicked into edit existing fields so didn’t see the toggles there.
August 7, 2012 at 6:56 pm #138675In reply to: Global Setting for Extended Profile Visibility?
Paul Wong-Gibbs
KeymasterIn what way? There is an option in the profile fields admin screen to allow an admin to set a specific profile visibility for a specific field.
August 7, 2012 at 4:42 pm #138654In reply to: Strange field in the registration form?!
bg
MemberThanks for your prompt response! I haven’t added any field that says, “Write down whats your favorite hobby is”, and I have also looked into “Profile Fields” under the “Users” menu, but there’s also nothing there?! So, I don’t get it where’s this field coming from?
August 7, 2012 at 4:02 pm #138646In reply to: Strange field in the registration form?!
Paul Wong-Gibbs
KeymasterIt’ll be a profile field set up in wp-admin. Look for “Profile Fields” under the “Users” menu, and delete it.
August 7, 2012 at 9:12 am #1386069087877
Inactive@jloc14 Install and activate @modemlooper ‘s BuddyPress Extended Settings plugin from here https://buddypress.org/community/groups/buddypress-extended-settings/
In the dashboard go to BuddyPress/Extended Settings put a check beside “Profile Field Links Disable auto linking of user profile fields” and at the bottom click “Save Changes.” This will remove the auto linking of those profile fields. Alternatively you can create a file named bp-custom.php and place it in the plugins directory and copy and paste in the below code:
`<?php
// hacks and mods will go here
function remove_xprofile_links() {
remove_filter( ‘bp_get_the_profile_field_value’, ‘xprofile_filter_link_profile_data’, 9, 2 );
}
add_action( ‘bp_init’, ‘remove_xprofile_links’ );
?>`
Save the file and this will accomplish the same goal.August 6, 2012 at 7:44 am #138457In reply to: BuddyPress 1.6 is now available
mairaj
ParticipantJust updated! the new privacy option added to the profile fields are creating confusion in my setup. Is there a way I can disable it?
I requested urgent help on this please.
Thank you very much
August 5, 2012 at 4:00 pm #138429In reply to: How to validate custom profile fields.
Roger Coathup
ParticipantIf you want validation as they type / enter — hook some jQuery onto your form. [That’s standard jQuery form validation, for which you’ll be able to Google for plenty of examples]
In your jQuery, you can call out (POST) to your PHP validation function. Look up AJAX in WordPress for details on how to do this – in particular you are interested in using admin-ajax.php and registering your function as an action. You then specify that action in your jQuery AJAX call.
You might also want to look at some of the WordPress data validation functions.
-
AuthorSearch Results