Skip to:
Content
Pages
Categories
Search
Top
Bottom

Profile field visibility enforced but members can override


  • midoggy
    Participant

    @midoggy

    Hi,

    I’m using WordPress 4.3.1 and just updated Buddypress to 2.4. Since the update of Buddypress the profile fields can be overwritten by the members although I choose “enforce profile visibility” in the settings. Before the update everything worked. I just tried it with WP 2015 and the problem still exists.

    My Website is http://community.midoggy.de

    Thank you for your help,
    Julia

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

  • scoobs2000
    Participant

    @scoobs2000

    quick mention – I have the same problem – upgraded to buddypress Version 2.4.0 about 15min ago and now visibility settings when set to Enforce field visibility by admin is ignored on the front end.

    before upgrade all base fields where set to “all members” and set to “Enforce field visibility” with no issues

    after upgrade – no changes and been made to above settings, and are still applied – but members can change.

    WordPress 4.3.1 running Kleo Child theme.

    Cheers,


    r-a-y
    Keymaster

    @r-a-y

    Hi midoggy and scoobs2000,

    It looks like the “Enforce field visibility” does enforce the admin’s visibility choice, but the user is able to see the “Change” link when editing.

    Even if the user tries to change the visibility setting, the profile field should still use the enforced value from the admin area, but I do agree that this makes for a poor user experience. We should remove the “Change” link when the “Enforce field visiblity” setting is in effect and make a note that the visibility cannot be toggled for that particular field.

    I can confirm that the “Change” link did not show up in v2.3.4. I’m going to open a bug report.


    scoobs2000
    Participant

    @scoobs2000

    thanks – i’m still on a dev site with only about 20 test users I’ll have a look manually updating each member.
    cheers,


    midoggy
    Participant

    @midoggy

    Hi r-a-y,

    yes, I tried it, the user can change it, bud it has no effect. Nevertheless, it’s not a good solution, I think.

    I see it in settings > profile visibility. before the update, there was just a column named visibility and the status, now there is dropdown instead of just the status…


    midoggy
    Participant

    @midoggy

    Thank you r-a-y!


    scoobs2000
    Participant

    @scoobs2000

    ok I had a quick look at this – I’m unable to make change – eg, login as a “non-admin” user, update profile including trying to edit a field – no change,

    login as admin – and edit change the individual profile file visibility settings, save and then revert back and save again – no change,

    still able to change visibility settings from the front end (profile page)

    Not sure if its just me, I can’t seem to find the “default visibility settings” either from the admin dashboard – not sure if its gone, moved, or I’m missing something.

    for now – I’ll just override the profile loop template in the child theme and remove the change settings links and remove the visibility tab completely – in my case I really don’t need these to be changed by users as site is a private members site –

    but mentioned it, as it did appeared as a bug + original mention of the same issue.

    cheers,


    scoobs2000
    Participant

    @scoobs2000

    re, confirming if the settings stick – I’m unable to confirm as I had already stripped the visibility check from the child theme template to ensure all fields are displayed (base) no matter what, I was only using the admin enforce setting to remove the change links on the profile page.

    I have now completely removed the visibility settings page from the profile and remove the links from the profile field loop. – I’m 100% happy with my solution (was a to-do-task) – any updates to the core will have no effect on my customs.
    (I’m using s2member to manage all fields outside the base group)

    Cheers,


    r-a-y
    Keymaster

    @r-a-y

    I’ve filed a bug report with a fix here:
    https://buddypress.trac.wordpress.org/attachment/ticket/6730/6730.01.patch

    Until v2.4.1 is released, manually apply the changes to /bp-core/bp-core-caps.php.

    Thanks for uncovering the bug!


    midoggy
    Participant

    @midoggy

    Thank you 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Profile field visibility enforced but members can override’ is closed to new replies.
Skip to toolbar