Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

CB Privacy always shows "You do not have access to this profile"

  • warburto
  • warburto
  • OFFLINE
  • Posts: 10
  • Thanks: 3
  • Karma: 0
  • Add-ons
11 years 2 months ago #232685 by warburto
Installed the latest version of the CB Privacy Plugin 3.1. Regardless of the settings for a profile in the privacy section, the other user always gets the message "You do not have access to this profile".

I have tried every setting, and set all to public. The privacy setting for the profile I am testing, i.e. being viewed has an entry of Type Profile, Rule Public, an still get the message.

Obviously if I disable the privacy plugin, all works fine. I want to use the privacy plugin to restrict viewing of certain tabs to connections only, but if the very basics are not working, not much point going further.

Now very weird, but the very first privacy entry (Type Profile, Rule Public) for a profile worked fine, but all subsequent entries for other profiles did not. I deleted the one that worked, and then added again, and that also no longer works.

Can give you access to my site if you need to see settings.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 2 months ago #232713 by krileon
Profile Privacy and Tab/Field Privacy are independent of one another. Profile Privacy controls access to the entire profile and not individual Tabs or Fields. You need to edit your Tabs and Fields to enable privacy controls for them. Set Profile Privacy to "Users" then login as any user and you should be able to access that users profile as it is "Registered Only" type access. "Private" limits access to the profile to CB Moderators and the profile owner themselves. Please be more specific as to exactly what privacy setting you're trying to use.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • warburto
  • warburto
  • OFFLINE
  • Posts: 10
  • Thanks: 3
  • Karma: 0
  • Add-ons
11 years 2 months ago - 11 years 2 months ago #232752 by warburto
Found the problem .. it is sneaky.

The initial record for profile is written to comprofiler_plugin_privacy table with fields subtype and item set to Null and all works fine. When you use the privacy plugin maintenance facility to update the profile record, even without changing anything the NULLs become " ". As soon as this happens, the profile will no longer be displayed.

To test you can simply update a profile record using the plugin maintenance facility, and the profile will no longer be available. Not sure if the same problem exists on the batch update process.
Last edit: 11 years 2 months ago by warburto.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 2 months ago #232773 by krileon

plugin maintenance facility

I've no idea what this is. Please clarify what steps you've taken to duplicate the issue.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • warburto
  • warburto
  • OFFLINE
  • Posts: 10
  • Thanks: 3
  • Karma: 0
  • Add-ons
11 years 2 months ago #232784 by warburto
Wow I thought I had outlined the steps to reproduce quite clearly. View a profile that has a privacy entry in the table of "Type" Profile, and "Rule" Public ... all good.

Now update that privacy record using the maintenance facility in the privacy plugin. Change no values, just update. Now try view that profile and see what message you get.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 2 months ago #232793 by krileon

maintenance facility in the privacy plugin

There is no such thing as "maintenance facility" in CB Privacy. I assume you mean CB Privacy > Privacy, which am able to duplicate your issue from. Will be fixed for next release. For now just don't edit a profile privacy record from there.

forge.joomlapolis.com/issues/4184


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum