Search Results for 'profile fields'
-
AuthorSearch Results
-
January 30, 2013 at 9:22 pm #152103
In reply to: xProfile visibility and Members directory search ?
Slava Abakumov
ModeratorI’m definitely sure, that fields visibility should be taken into consideration.
So in your case – user should NOT be visible in a search results by logged out user.January 30, 2013 at 9:17 pm #152101omgbud
ParticipantAdd those secondary group fields you need to the base group so it will shows up on the registration page?
January 30, 2013 at 6:32 pm #152074Tux Kapono
ParticipantActually, how does one get the secondary profile field group to show up in the member’s profile area, ideally on the same page as the base group? It’s only showing the base group on both the registration page (desired) and the profile page (needs both).
January 30, 2013 at 3:57 pm #152062Tux Kapono
ParticipantThanks @mercime!
January 30, 2013 at 3:29 pm #152059@mercime
Participanthttps://codex.buddypress.org/legacy/configuring-components-v1-6/#users-profile-fields
Only add the profile fields you want during registration on the base group. Add new Profile Field Group/s for the fields you want the members to fill in later.
January 29, 2013 at 10:05 pm #152019In reply to: Adding custom profile fields to Member Profile
Danny Albeck
ParticipantThat worked like a charm! Now I have a question.. this is my code:
Belt Level: echo xprofile_get_field_data(‘Belt Level’ , bp_get_group_member_id() );
I have in this profile drop down field about 10 choices. Is it possible to somehow have this output assign a dynamic class or id pending on what your Belt Level is? I want to display this a color block with some css rather then just text on the screen.
Thanks!
January 29, 2013 at 4:46 pm #151995January 28, 2013 at 6:37 pm #151885In reply to: bp_profile_field_data( ‘field= … doesn’t work
mlabrooy
ParticipantHi I am trying to display members telephone#s in the members directory using bp_profile_data_field and I was able to get the email but I was not able to get the telephone number for some reason.
I used bp_member_profile_data(‘field=31’); which I made under user profile fields.
But it still did not work. For the email I used the same exact syntax bp_member_profile_data(‘field=30’) and it worked for me.But the phone number I am having trouble with.
Any advise on how to do this would be helpful.Running the latest version of WP/BP
January 22, 2013 at 10:44 pm #151515In reply to: Removing User name from profile url
modemlooper
ModeratorLike I said, nothing to do with BuddyPress. Connect plugins do not use WP or BP fields for the information. They get it all from the service that is being connected to. Message the developer of the connect plugin about this issue.
January 22, 2013 at 9:17 pm #151506In reply to: Adding custom profile fields to Member Profile
danbpfr
ParticipantIs working on members list page but not on group members list page.
To get a profile field value on the group member page (BP 1.6.3 tested), use this:<code><?php echo xprofile_get_field_data( ‘the_field_name‘ , bp_get_group_member_id() ); ?></code>
Take care, the the_field_name is case sensitive.
January 22, 2013 at 4:53 pm #151476In reply to: Segregated X-Profile Fields for Multisite
asdorff
ParticipantI’ve just done as discribed in article but it doesn’t work. Profiles still the same for all the Network…
I’ve created the ‘bp-custom.php’ in ‘\wp-content\plugins\’, added there the code from the article in documentation ‘Segregated X-profile Fields for Multisite’ but nothing happened…
I don’t understand what means Add the following code to a functionality plugin network activated on your multisite install…
January 22, 2013 at 4:31 pm #151471In reply to: Segregated X-Profile Fields for Multisite
asdorff
ParticipantThanx, modemlooper. I just didn’t find it with search. I’m novice yet. So, thanx for reply. I’ve read the article and start to try.
January 22, 2013 at 3:58 pm #151464In reply to: Segregated X-Profile Fields for Multisite
January 22, 2013 at 4:01 am #151406In reply to: Adding custom profile fields to Member Profile
modemlooper
ModeratorWorks for me. Make sure you are writing the field name exactly as it is. name does not equal Name.
January 22, 2013 at 2:34 am #151398In reply to: Adding custom profile fields to Member Profile
ebraxton30
ParticipantThat didn’t work either. I just am stumped.
January 22, 2013 at 1:22 am #151393danbpfr
ParticipantJanuary 22, 2013 at 1:21 am #151392In reply to: Adding custom profile fields to Member Profile
danbpfr
Participanttried on /groups/single/members.php 1.6.3
none of the solutions are working !
January 22, 2013 at 12:08 am #151386In reply to: Adding custom profile fields to Member Profile
modemlooper
ModeratorThe example may have broke and needs a refresh, try this:
echo bp_member_profile_data( ‘field=Name’, bp_get_member_user_id() );
January 21, 2013 at 9:22 pm #151367In reply to: Adding custom profile fields to Member Profile
ebraxton30
ParticipantNo. it blanked out the screen.
January 21, 2013 at 9:21 pm #151366In reply to: Adding custom profile fields to Member Profile
valuser
ParticipantHere it is see http://pastebin.com/qLe9jXi6
Mods would you be so kind as to put the pastebin link in the first post and delete the others.
Apologies for the mess!
January 21, 2013 at 5:11 pm #151313In reply to: Adding custom profile fields to Member Profile
ebraxton30
ParticipantThat did not work, either. Can someone please offer a solution?
January 21, 2013 at 9:08 am #151269In reply to: Adding custom profile fields to Member Profile
danbpfr
ParticipantHi @ebraxton30,
maybe try with this:
<code>$current_user = wp_get_current_user();
$current_user_id = $current_user->ID;bp_profile_field_data( array(‘user_id’=>get_the_author_meta(‘ID’),’field’=>’cancer type’));</code>
January 21, 2013 at 1:17 am #151260In reply to: Adding custom profile fields to Member Profile
ebraxton30
ParticipantI’m confused. The earlier code is supposed to be used outside the member loop and this most recent code is supposed to be used in the member loop?
I’ve inserted the most recent code and replaced the single quotes. Nothing is showing up. I just can’t seem to figure out why? Here is my latest code in the member-loop.php
January 21, 2013 at 12:49 am #151259In reply to: Adding custom profile fields to Member Profile
modemlooper
Moderatorahh you need php tags. when you cut and paste you may need to retype single quotes.
`<?php bp_member_profile_data( 'field=cancer type' ); ?>`
January 20, 2013 at 11:40 pm #151258In reply to: Adding custom profile fields to Member Profile
ebraxton30
ParticipantI’m still not getting something right. Here is how it is showing up…
What do you mean by “outside the members loop?” I’m adding this code to
members/members-loop.phpHere is how I added it. I’m sorry if this seems like a stupid question…I just really need to get this working and usually can figure this stuff out..
-
AuthorSearch Results