Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • @brianbws

    Participant

    I think it figured something out. The difference between my local machine and the server is the php version. The server was on PHP 7.2 and local machine was on PHP 7.0.3. Upgrading my local machine to PHP 7.1.4 or PHP 7.2 breaks the ‘only me’ visibility.

    @brianbws

    Participant

    Yes. I have not added any additional roles or messed with capabilities. My repeated testing has been as a logged in subscriber.

    @brianbws

    Participant

    This is just crazy. I made an exact copy of my production site on my local machine and ‘only me’ visibility works as it should, fields are hidden to other subscribers. In production it does not, fields are visible to other subscribers. Only difference between the two site instances is the URL.

    What could cause this?

    On a separate issue, ‘Only me’ doesn’t seem to be respected when ‘Allow members to override’ is set (even when the viewed user hasn’t overriden the ‘only me’ setting).

    Is this just me?

    @brianbws

    Participant

    The field is set to ‘only me’ and ‘enforce field visibility.’ I login as subscriber. The subscriber can’t see ‘only me’ fields from admin users, but they can see ‘only me’ field from other subscribers.

    This seems to be a bug and I can’t figure it out. Assigning subscriber to an account that is already a subscriber seems to have no effect.

    @brianbws

    Participant

    Can you share the solution? I’m having the same problem!

    @brianbws

    Participant

    Thanks @r-a-y!

    @brianbws

    Participant

    Unfortunately no change in BuddyPress 3.2.0. Bug is still present.

    @brianbws

    Participant

    Cool. Your fix doesn’t work for me because it’s a default install on a non modified theme with no other plugins active besides BuddyPress.

    @brianbws

    Participant

    Thank you. I’ve tried examining the BuddyDrive implementation, but I am just lost and I don’t understand backbone at all.

    I’ve also been patiently waiting and watching for any other use of the BP_Attachment API on Github, but unfortunately have found none.

    It’s such a cool feature, but I fear too complex for me. Hope others take up the cause soon.

    @brianbws

    Participant

    Please let me know if you found a solution because I can’t get filtering to work in the front-end either. :/

    bp_init also didn’t work for me. I had to hook into init.

    @brianbws

    Participant

    So I’ve taken a stab at it and gotten the tab to show in the correct place, but my Cover_Photo_Attachment attachment class still is not uploading images and I’m not sure why. Trying to follow the great work of @imath and the BP_Attachment documentation.

    Also having trouble trying to get the Avatar UI to show for a nice upload experience. Is it even possible to repurpose that UI for this? Any help would be appreciative.

    See my code:

    https://gist.github.com/brianrc/912c95d28e913b3aad23

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