• Resolved Alex Wigmore

    (@wigster)


    I am working on a site using PaidMembershipPro + BuddyPress integration.
    We have 2 member types and several member levels set up.

    Members/users can no longer set the “Public” option when editing their profile field visibility.
    There is an accompanying message which states:
    “Note: Your profile is only visible to other active members and no fields are shown publicly.”

    I have been digging through the plugin code and to me, it looks like there’s possibly a bug/glitch: On line 143 of ‘includes/profiles.php’ it is calling the function pmpro_bp_get_level_options with an argument of 0, this function (pmpro_bp_get_level_options) then returns a default setup of restrictions if the user_level is 0, notably it disables a few things with the setting pmpro_bp_restrictions of -1.

    Long story short:
    Since updating to the latest version of PMpro-BuddyPress the ability to change user fields to “public” via the radio buttons has disappeared.

    Thanks in advance,
    Alex

    • This topic was modified 1 year, 6 months ago by Alex Wigmore.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Kim White

    (@kimwhite)

    Hello Alex,

    I have reported this to our developers. Thank you for your patience as we look at the issue. We will reply when we have something to report.
    Thank you,

    Kim W

    Plugin Author Andrew Lima

    (@andrewza)

    Hi @wigster

    Thank you for your patience. The profile fields have been designed this way, as even though the fields are set as “Public” they aren’t truly publicly available as BuddyPress is locked down to members only.

    It will still be treated as public fields, but only members will be able to view profiles and the fields. The “Public” option will be available if you have set the non-members option to allow access or if you restrict only parts of BuddyPress to non-members.

    You may revert this and bring back the “Public” option, by adding this code to your site: remove_filter( 'bp_xprofile_get_visibility_levels', 'pmpro_bp_hide_public_non_members' );

    I hope this helps clear things up.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘“Public” Radio Option Doesn’t display – bug?’ is closed to new replies.