Search Results for 'profile fields'
-
AuthorSearch Results
-
January 22, 2013 at 4:31 pm #151471
In 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..
January 20, 2013 at 10:58 pm #151253In reply to: Adding custom profile fields to Member Profile
modemlooper
ModeratorWhen outside the members loop you have to pass it a user id.
bp_get_profile_field_data( array( ‘field’ => ‘cancer type’, ‘user_id’ => bp_displayed_user_id() ) );
January 20, 2013 at 10:19 pm #151248danbpfr
Participanthi @ronaldvogel,
this plugin will add a birthdate to BP profiles
https://wordpress.org/extend/plugins/buddypress-xprofile-custom-fields-type/
To make a widget for your need, read the Codex and also here:
http://bp-tricks.com/snippets/displaying-certain-profile-fields-on-your-members-profile-page/January 20, 2013 at 10:11 pm #151247In reply to: Adding custom profile fields to Member Profile
ebraxton30
ParticipantYea…I got that. Did that. I’m trying to use the code above to make them show up on the members page and the single members page and it’s not working.
When I try to add the code in, it’s not showing up and I think it’s because I’m not inserting it exactly right. I see the location that it is supposed to be, but I’m not sure I’m keying in the correct characters. Can someone help me with the exact location and characters? Is this the right code?
<?php bp_member_profile_data( ‘field=cancer type’ ); ?>
Or do I just need to insert the code without <?php..?>
January 20, 2013 at 2:50 pm #151211In reply to: Downloading all site member profile info?
jakewho
ParticipantWhat I was really hoping is that there is a plug-in available, which would allow me to better manage my BuddyPress users. For example, I would like to be able to view and sort on all of the fields in my registration form, including the custom fields that I have added to the form. In addition, it would be nice if the plug-in allowed me to download the information to CSV or some other easily usable format.
sounds like no one has created such a plug-in as of yet…
January 20, 2013 at 2:23 pm #151208In reply to: Downloading all site member profile info?
danbpfr
Participanthi @jakewho,
if your goal is to collect serialized informations about your members, you have to create your own data mining solution i guess. 😉
profile informations are stored in 4 different tables: wp _bp_xprofile_data, fields, group, meta
So if you are confortable with msql queries and php, you can recreate your own custom BP Profile Component.
If no one answered to you, it’s probably because nobody want to reinvent the whell.
January 20, 2013 at 6:37 am #151198In reply to: Adding custom profile fields to Member Profile
modemlooper
ModeratorIn the WordPress Admin under the Users you will see a link called prifile fields. This is where you create fields.
January 20, 2013 at 3:03 am #151184In reply to: Unable to paste YouTube code into profile fields
danbpfr
ParticipantI modified the function because $var strip the whole profile information.
Insert the $var in the if and it’s ok !<code>
if( strtolower( $field_name ) == ‘youtube’ ) {
$val = strip_tags( $val );
return wp_oembed_get( $val, array(‘width’=>400) );
return $val;</code>January 20, 2013 at 12:48 am #151168In reply to: Unable to paste YouTube code into profile fields
modemlooper
Moderatorupdated my blog post to include other services besides youtube
January 19, 2013 at 11:37 pm #151164In reply to: Unable to paste YouTube code into profile fields
danbpfr
ParticipantYou’re right @modemlooper !Sorry…
Though i tried several times before posting, but now it works. Huh ! 🙄January 19, 2013 at 11:02 pm #151161In reply to: Unable to paste YouTube code into profile fields
modemlooper
ModeratorNot true, http://dev.taptappress.com/admin/profile/
I have it in a second group called my info.
January 19, 2013 at 10:33 pm #151158In reply to: Unable to paste YouTube code into profile fields
danbpfr
ParticipantThank you @modemlooper,
the code is ok, but it will work only on the first field group.
It would be better to have this “information” on a custom field group. -
AuthorSearch Results