Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

  • john.horning
    Participant

    @johnhorning-1

    We discussed it here: https://buddypress.org/support/topic/dont-hide-fields-when-user-views-his-own-profile/, but I got stuck. Maybe I’ll revisit.


    john.horning
    Participant

    @johnhorning-1

    Yes I have data. I’ve tried switching themes and disabling all other plugins.
    A bit frustrating. I have a lot of fields. That couldn’t be an issue could it?

    This was supposed to be an alternative to the user profile page. I’m merely trying to get all fields to show, regardless of whether there’s data or not. I tried in vain to modify the profile page.

    Any more suggestions?


    john.horning
    Participant

    @johnhorning-1

    Okay. Please check this: http://pastebin.com/uxLZJHfr

    If you want to see the result, register at http://actiontakers.org
    then go to http://actiontakers.org/my-dashboard/


    john.horning
    Participant

    @johnhorning-1

    Can I get an answer to my original question?
    I can display field labels, but not data.


    john.horning
    Participant

    @johnhorning-1

    Actually – looks like the problem might be with bp_the_profile_field_value(). I’m able to display all the fields with labels, but no values.


    john.horning
    Participant

    @johnhorning-1

    Okay – discovered that the overload file needs to be in wp-content/themes/buddyboss-child/buddypress/members/single/profile and verified it by making a random change to the file, but I’m still not seeing fields without values.

    PS For some reason, the system won’t allow me to paste the code.


    john.horning
    Participant

    @johnhorning-1

    Thanks for the quick response, but doesn’t seem to be working for me. I created the template overload of profile-loop.php and stored it in wp-content/themes/buddyboss-child/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile. I’ve pasted the entire file below after modification.

    I can’t find it now, but there was a thread somewhere that indicated that the following line needed to be changed in bp-xprofile-template.php so was wondering what you thought of that.
    $hide_empty_fields_default = ( ! is_network_admin() && ! is_admin() && ! bp_is_user_profile_edit() && ! bp_is_register_page() );

    Anyway, here’s my profile-loop.php:
    `


    john.horning
    Participant

    @johnhorning-1

    You’re right – the problem was my custom theme.
    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
Skip to toolbar