Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • @johnhorning-1

    Participant

    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.

    @johnhorning-1

    Participant

    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?

    @johnhorning-1

    Participant

    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/

    @johnhorning-1

    Participant

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

    @johnhorning-1

    Participant

    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.

    @johnhorning-1

    Participant

    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.

    @johnhorning-1

    Participant

    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:
    `

    @johnhorning-1

    Participant

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

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