Search Results for 'profile fields'
-
AuthorSearch Results
-
January 20, 2013 at 10:58 pm #151253
In 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.January 19, 2013 at 8:53 pm #151155In reply to: Unable to paste YouTube code into profile fields
Ben Hansen
Participantnice one thanks for that might have to add an embed field to see what folks do with that.
January 19, 2013 at 8:52 pm #151154In reply to: Unable to paste YouTube code into profile fields
modemlooper
ModeratorYup.
January 19, 2013 at 8:51 pm #151153In reply to: Unable to paste YouTube code into profile fields
Ben Hansen
Participantah gotcha so just put that into the bp-custom file then?
January 19, 2013 at 8:48 pm #151152In reply to: Unable to paste YouTube code into profile fields
modemlooper
ModeratorAny oEmbed WordPress allows but you have to match up field name with code
January 19, 2013 at 8:28 pm #151150In reply to: Unable to paste YouTube code into profile fields
Ben Hansen
Participantoh i figured she was just talking about as an update. That code you have there is pretty cool @modemlooper would that work with any oEmbed or just youtube? you know me and code but it looks like it would work with any oEmbed. Also is that something which would be placed inside bp-custom? BTW i like your site design.
January 19, 2013 at 8:18 pm #151149In reply to: Unable to paste YouTube code into profile fields
modemlooper
ModeratorI wrote you a code sample: http://modemlooper.me/allow-youtube-embed-in-buddypress-profile-fields/
January 19, 2013 at 7:56 pm #151147In reply to: Unable to paste YouTube code into profile fields
Ben Hansen
Participantno i’m saying if you put the link (as text not anchor tag) it will substitute the embed automatically it’s called an oEmbed more info here:
January 19, 2013 at 6:19 pm #151140In reply to: Unable to paste YouTube code into profile fields
ninjini
ParticipantBen, do you mean I can’t embed the video on the page, and that I can only put a link to YouTube (and therefore send the visitor away from my site)?
January 19, 2013 at 6:03 pm #151139In reply to: Unable to paste YouTube code into profile fields
Ben Hansen
Participantfyi you should not be pasting embed code you should be pasting the youtube page url or shortlink for the video
January 19, 2013 at 5:57 pm #151138In reply to: Standard profile fields cleared on BP profile save
ninjini
ParticipantYes I installed it correctly thanks 😀
January 19, 2013 at 5:02 pm #151134In reply to: Add xprofile fields to WordPress edit user profile
modemlooper
ModeratorYou can show the bp profile fields loop and then write a custom save. Not too difficult but a little work.
January 19, 2013 at 4:07 pm #151129In reply to: Standard profile fields cleared on BP profile save
danbpfr
Participanthave you correctly installed BP ?
Read here: https://codex.buddypress.org/user/setting-up-a-new-installation/installation-wizard/If you use only the BP’s profile component, somewhere it’s like using a hammer to kill flies. 🙂
January 19, 2013 at 2:31 pm #151127In reply to: Standard profile fields cleared on BP profile save
ninjini
ParticipantThanks I checked for that line of code in green highlight and it is present, so am using the latest version. It seems that some things are missing from my non-standard template then? I have the BuddyPress Template Pack and everything seems otherwise ok. I have no idea how to troubleshoot and fix this. Any ideas?
January 19, 2013 at 1:54 pm #151125In reply to: Unable to paste YouTube code into profile fields
ninjini
ParticipantThanks for your reply! I guess it’s yet *another* thing that’s not working using the non standard theme. I had thought as much, just wanted someone to confirm. Very frustrating 🙁
-
AuthorSearch Results