Search Results for 'profile fields'
-
AuthorSearch Results
-
June 10, 2013 at 5:06 pm #165707
In reply to: Duplicate profile field names
danbp
ParticipantHi @henrywright-1,
i guess you can also filter by group profile ID
<?php if ( bp_has_profile('profile_group_id=2') ) : echo bp_get_profile_field_data( 'field=Email' ) endif; if ( bp_has_profile('profile_group_id=45') ) : echo bp_get_profile_field_data( 'field=Email' ) endif; ?>June 9, 2013 at 3:14 am #165641In reply to: [Resolved] Show empty fields in profile
junithorn
ParticipantJust an FYI to anyone curious, here is the solution:
<?php do_action( 'bp_before_profile_loop_content' ); ?> <?php if ( bp_has_profile('hide_empty_fields=0') ) : ?> <?php while ( bp_profile_groups() ) : bp_the_profile_group(); ?> <?php if ( bp_profile_group_has_fields() ) : ?> <?php do_action( 'bp_before_profile_field_content' ); ?> <div class="bp-widget <?php bp_the_profile_group_slug(); ?>"> <h4><?php bp_the_profile_group_name(); ?></h4> <table class="profile-fields"> <?php while ( bp_profile_fields() ) : bp_the_profile_field('hide_empty_fields=0'); ?> <?php if ( bp_field_has_data() ) : ?> <tr<?php bp_field_css_class(); ?>> <td class="label"><?php bp_the_profile_field_name(); ?></td> <td class="data"><?php bp_the_profile_field_value(); ?></td> </tr> <?php elseif ( !bp_field_has_data() ) : ?> <tr<?php bp_field_css_class(); ?>> <td class="label"><?php bp_the_profile_field_name(); ?></td> <td class="data"><?php bp_the_profile_field_value(); ?></td> </tr> <?php endif; ?> <?php do_action( 'bp_profile_field_item' ); ?> <?php endwhile; ?> </table> </div> <?php do_action( 'bp_after_profile_field_content' ); ?> <?php endif; ?> <?php endwhile; ?> <?php do_action( 'bp_profile_field_buttons' ); ?> <?php endif; ?> <?php do_action( 'bp_after_profile_loop_content' ); ?>June 7, 2013 at 9:12 pm #165572In reply to: Error in saving profile but data is saved
devrap
ParticipantI’m having this same issue, but on a newer version of BP (1.7.1). I’ve submitted a ticket to report this bug, https://buddypress.trac.wordpress.org/ticket/5046#ticket. The error doesn’t occur if *all* fields of the extended profile are filled out.
@mercime
ParticipantJune 6, 2013 at 5:52 pm #165471In reply to: [Resolved] Show empty fields in profile
junithorn
ParticipantErr, sorry I had those two reversed.
June 6, 2013 at 4:59 pm #165466In reply to: Call specific User profile fields to a page.
Kingrammer
Participantsome more details if they will help,
It’s a brand new install of wordpress and buddypress. a multisite install, subdomains.
The only other plugin is Theme My Login. Custom Community Theme being used at the mo.
Would someone give me a nudge? Thank you so much to anyone with suggestions. Learning Buddypress and reading through the Ofcom radio broadcasting guides at the same time are pickling my brain!1
June 6, 2013 at 12:22 am #165433Shuji Suzuki
ParticipantThanks!
It indeed was.June 6, 2013 at 12:09 am #165432modemlooper
Moderatorlooks like your theme is hard handing your form css. you will need to find the css and edit it.
June 5, 2013 at 5:01 pm #165413modemlooper
Moderator$user_id = get this from WordPress;
xprofile_get_field_data( $field, $user_id );The way you are getting members id is only good on member pages. If you are on a blog post you can get the author id, if you want logged in user id get that.
June 5, 2013 at 12:01 am #165385In reply to: Display Profile Groups
@mercime
ParticipantDo you know how to rearrange the order of those groups?
@ebraxton30 near the bottom of the Extended Profile webpage I linked to above, I’ve listed ways to rearrange profile fields and profile field groups.June 4, 2013 at 7:22 pm #165376In reply to: Display Profile Groups
ebraxton30
ParticipantThank you so much. I was not clear on how it would display, but your example helped me out. I was using Gravity Forms User Registration add-on and those existing entries were not populating or connecting to the fields I had created through the profile group fields. This actually works much better for this particular site.
Do you know how to rearrange the order of those groups? My profile groups are not in the same order as they are in the admin area.
June 4, 2013 at 7:22 am #165340In reply to: Display Profile Groups
@mercime
Participant@ebraxton30 Change to Twenty Twelve theme and deactivate all plugins except BuddyPress to test if your installation is working as expected -> https://codex.buddypress.org/user/before-installing/
Extended Profiles https://codex.buddypress.org/user/buddypress-components-and-features/extended-profiles/
Example of User Profile page which includes four profile field groups containing many profile fields each. http://testbp.org/members/mercime/profile/public/ Only the “General” profile group shows up during registration. Feel free to register at testbp.org, the official BuddyPress test site.
June 4, 2013 at 6:19 am #165337In reply to: problem sidebars theme Nebraska
millo
Participanthi,
no activate BP template pack plugin. It is new installation.General Information
WordPress Version: 3.5.1
URL: http://redpublica.loading.es
Theme Version: 1.2
Framework Version: 2.1
PHP Version: 5.4.15Installed Plugins
ajax-event-calendar/ajax-event-calendar.php
backupwordpress/plugin.php
bbpress-enable-tinymce-visual-tab/init.php
bbpress-like-button/bbpress-like.php
bbpress/bbpress.php
bp-avatar-suggestions/bp-avatar-suggestions.php
buddy-bbpress-support-topic/buddy-bbpress-support-topic.php
buddypress-activity-plus/bpfb.php
buddypress-followers/loader.php
buddypress-profile-tabs/bp-profile-tabs.php
buddypress-twitter/loader.php
buddypress-xprofile-custom-fields-type/bp-xprofile-custom-fields-type.php
buddypress/bp-loader.php
carousel-without-jetpack/jetpack-carousel.php
contact-form-7/wp-contact-form-7.php
duplicate-post/duplicate-post.php
launchpad-by-obox/index.php
login-with-ajax/login-with-ajax.php
revslider/revslider.php
tinymce-advanced/tinymce-advanced.php
use-google-libraries/use-google-libraries.php
wordpress-importer/wordpress-importer.phpThanks
June 2, 2013 at 1:50 am #165196In reply to: HTML in profile fields no longer allowed?
joejozwowski
ParticipantI am running into this problem as well, or maybe just a different form of this same issue.
I have several fields that ask for a URL (to a YouTube Channel or Tumblr blog) and instead of the link going tohttp://www.youtube.com/user/myChannel
this link is generated
http://mysite.com/members/?s=www.youtube.com%2Fuser%2myChannel
June 1, 2013 at 9:04 am #165163In reply to: How to add additional profile fields in buddypress?
@mercime
Participant@adnan0777 BuddyPress Codex is your friend https://codex.buddypress.org/user/buddypress-components-and-features/extended-profiles/
May 30, 2013 at 5:59 pm #165078In reply to: Profile Fields not displaying
gediweb
ParticipantIs there a way to show the new groups at registration? I know I can add all my fields to Base, but I want them separated into sections
May 30, 2013 at 9:20 am #165057maddogmcewan
Participant@jancbeck – i haven’t done much lately to improve the plugin, for me I think next step would be to add the ability to edit fields, then step 2 would be to incorporate some xprofile fields – if i do anything I am happy to share
May 30, 2013 at 7:48 am #165049In reply to: User profile privacy radio buttons are 'grayed out'
Julian Lamprea
ParticipantThe issue is in the core of the xprofile fields integration that have been added to buddypress with errors.
The problem is in the bp-xprofile-template.php file in the method bp_profile_get_visibility_radio_buttons()
Currently that function is rendering the visibility levels as radiobuttons, but is using the same id for all radiobuttons, so, if you want to allow multiple field with visibility options, the current version don’t works because the IDs of each radiobutton is repeated.
The current code of this method is:foreach( bp_xprofile_get_visibility_levels() as $level ) { $checked = $level['id'] == bp_get_the_profile_field_visibility_level() ? ' checked="checked" ' : ''; $html .= '<li><label for="see-field_' . esc_attr( $level['id'] ) . '"><input type="radio" id="see-field_' . esc_attr( $level['id'] ) . '" name="field_' . bp_get_the_profile_field_id() . '_visibility" value="' . esc_attr( $level['id'] ) . '"' . $checked . ' /> ' . esc_html( $level['label'] ) . '</label></li>'; }and the correct way to do it should be:
foreach( bp_xprofile_get_visibility_levels() as $level ) { $checked = $level['id'] == bp_get_the_profile_field_visibility_level() ? ' checked="checked" ' : ''; $html .= '<li><label for="see-field_' . esc_attr( $level['id'] ) . '"><input type="radio" id="see-field_' . esc_attr( $level['id'] ) . '" name="field_' . bp_get_the_profile_field_id() . '_visibility" value="' . esc_attr( $level['id'] ) . '"' . $checked . ' /> ' . esc_html( $level['label'] ) . '</label></li>'; }Notice how I’m adding the correct ID for each radiobutton, thus the visibility options for each field will have the respective ID and will works!
I’m not sure why this issue is not related in the bugs list.
May 30, 2013 at 6:58 am #165048cappazushi
ParticipantThe developer’s site may be lame, but he developed a much needed (if incomplete) plugin for BuddyPress. It isn’t slowing down my test site, by the way.
I’d just like to figure out to modify it to work…well, fully. I’ll be using it for listing collections, by the way — not resumes.
If you can’t help, then, thanks for the bumps. Be nice.
May 30, 2013 at 6:19 am #165046bp-help
Participant@cappazushi
Matter of fact that particular users site moves at a snails pace so in reality whatever they did was garbage because who wants to wait for a site to load when it takes 2-3+ minutes?May 30, 2013 at 5:58 am #165045bp-help
Participant@cappazushi
Don’t listen to that BS. If that person that replied above that mentioned that plugin really wanted to help then they would period. That user is a phony and I will leave it at that!May 30, 2013 at 4:34 am #165041cappazushi
ParticipantI know this thread is over a month old, but I have a question about this plugin. Has anyone successfully modified it to allow for the editing of entries? It looks like the only options are add and delete. “Edit” would really make this plugin complete, though.
I plan on using it for something a little different than resumes, and my using will probably be editing their entries a lot — so forcing them to delete and rewrite them each time would probably make me public enemy number one.
May 29, 2013 at 11:28 pm #165030Henry
MemberI’ve done this too! Many times. Very annoying i agree!
May 29, 2013 at 8:27 am #164975In reply to: Profile Fields not displaying
mewrd
Participanthi i saw this solution does it help?
edited :
If you create a new profile group, then you could move some of those profile fields to these new groups and it won’t show up on all a once in the registration page.
To create a new profile group, login to the WP admin dashboard and navigate to “BuddyPress > Profile Fields” page. Next, click on the “Add New Group” button located in the header text.
here is the link
https://buddypress.org/support/topic/register-page-limit-number-of-profile-fields-shown/May 24, 2013 at 4:41 pm #164712In reply to: [Resolved] change "primary" field title
@mercime
Participant@caspergrimaldi go to admin dashboard menu Users > Profile Fields
Click on Edit Group Link
change “Base” name to what you want
https://codex.buddypress.org/user/buddypress-components-and-features/extended-profiles/ -
AuthorSearch Results