Support » Plugin: Buddypress Xprofile Custom Fields Type » Birthdate not showing

Viewing 15 replies - 1 through 15 (of 26 total)
  • Plugin Author Miguel López

    (@atallos)

    In the faq of this plugin, there is an answer for this question. Can you check this and see if it works for you?

    Why my fields are not showing?
    If you are using Buddypress 1.7, you need to check if you have the new hook “bp_custom_profile_edit_fields_pre_visibility”. Check in your edit.php (edit profile form) and register page if this line of code: . If you don’t see it, you must add it just before the code of visibility settings.

    Plugin Author Miguel López

    (@atallos)

    The faq was not complete.

    Why my fields are not showing ?
    If you are using Buddypress 1.7, you need to check if you have the new hook “bp_custom_profile_edit_fields_pre_visibility”. Check in your edit.php (edit profile form) and register page if this line of code: <?php do_action ( ‘bp_custom_profile_edit_fields_pre_visibility’ ); ?>. If you don’t see it, you must add it just before the code of visibility settings.

    Yeah, it was in the edit.php page. Trying to find the register page…

    http://postimg.org/image/7mdivn3yf/

    [No bumping, thank you.]

    I’m having the same problem, but I’ve checked the register.php and edit.php, both files have the <?php do_action ( ‘bp_custom_profile_edit_fields_pre_visibility’ ); ?> line of code, but URL and Age types are not working for me.

    Still not working for me. I appreciate the time.

    Plugin Author Miguel López

    (@atallos)

    Sorry for the delay.

    I really don’t know why this happens. Can you try to turn on debug mode and see if any error, warning or something appears.

    This function “bxcft_edit_render_new_xprofile_field” is responsible of showing the fields of my plugin. If you know a little of php you can put code to see if this function is working or not.

    All work fine in v.1.4.9.3 , but not working for me in 1.5.6.3

    … Same problem with e-mail field

    Plugin Author Miguel López

    (@atallos)

    R J, have you checked if you have the new hook in your edit.php?

    Yes, I added hooks to the files. This doesn’t help.

    I’ve got the same problem. I’ve tried to find the visibility settings and can’t anywhere. I even used number55’s screenshot to help try and locate it (http://postimg.org/image/7mdivn3yf/) but none of the code there is in my register.php page, I also can’t find the edit.php page…

    I’m using BP 1.7 with WP 3.5.1 and Custom Community theme.

    Before I posted this I just had an idea and changed over to Buddypress Default theme and the fields appear! I’ve also just tried Montezuma, Mystique and Twenty Twelve and they all work. So its something to do with just Custom Community theme. http://wordpress.org/themes/custom-community

    Plugin Author Miguel López

    (@atallos)

    First, thanks for reporting this. I download Custom Community theme and I see what you say. In your case, 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.

    Yep that sorts it thanks!

    Did what you told me with the debug and still no joy. Nothing came up regarding bxcft_edit_render_new_xprofile_field. I am using Buddy: Multi-purpose WordPress & BuddyPress Theme

    Plugin Author Miguel López

    (@atallos)

    crypt0rchid, Great!

    number55, I’m sorry but it’s a premium theme and I can’t buy all themes to try them. I don’t know why fields are not showing, the most likely cause is the missing hook, the hook is the key, but if you say the hook is there, I really don’t know what is happening…

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘Birthdate not showing’ is closed to new replies.