Plugin Author
donmik
(@atallos)
Hi,
If you don’t see the fields in edit form, you have to update your theme, this is a theme issue.
i am having the same issue with birthday and website options not showing up to be edited. i have checked my file edit.php as you suggested…
the problem is caused by the missing hook. Custom Community Theme doesn’t have the new hook introduced by BP 1.7.
So, for edit.php, go to custom-community/members/single/profile/edit.php. Just before this code:
<?php if ( bp_current_user_can( ‘bp_xprofile_change_field_visibility’ ) ) : ?>
Write this:
<?php do_action( ‘bp_custom_profile_edit_fields_pre_visibility’ ); ?>
The fields should appear. For registration page, do the same thing, before:
<?php do_action( ‘bp_custom_profile_edit_fields’ ) ?>
Write this:
<?php do_action( ‘bp_custom_profile_edit_fields_pre_visibility’ ); ?>
Try it and tell me if it solves your problem.
i am using the iBuddy theme (it is free) https://wordpress.org/themes/ibuddy/ and everything is okay in the file…
whats next? how do i fix this?
thanks so much 🙂
Plugin Author
donmik
(@atallos)
This is an old post, now buddypress 2.0 changed more things. You need to copy the files from buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/edit.php for edit profile form and buddypress/bp-templates/bp-legacy/buddypress/members/register.php for registration.
If you don’t want to copy you need to see what php is using now buddypress to display the fields and replace your code with the new code from buddypress.