Skip to Content Skip to Menu

CB Gallery 3 : Issue with "main gallery" ( all photos)

7 hours 16 minutes ago - 7 hours 2 minutes ago #343029 by Toulouzing
Hi !
I have an issue with the new feature which allow to display photos of all users in a flat way ( see topic  CB Gallery 3.0: Search in albums from all users ?  ) and i prefer to open a new topic.

When I am connected as  superadmin I have all photos displayed - that's OK
When I am connected as registered , I should have also all photos but I get only some of them without any logic ( no specific album, no specific user)

I tried with 3 test users ( the site is in development) - the total of photos is 45 . User1 get 34 , User2 get 31, User 3 get 28 . 

I do not find the reason.

Edit : more statistics.... 8 published photos are never displayed ( except for superadmin) , 28 always displayed, 9 are in between.... It seems independant of user owner of album, of album and of privacy
Last edit: 7 hours 2 minutes ago by Toulouzing.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50035
  • Thanks: 8559
  • Karma: 1467
6 hours 37 minutes ago #343030 by krileon
Unpublished media that doesn't belong to the user won't be visible. Media with privacy settings that the viewing user doesn't have permission for won't be visible. Same for album privacy and the Gallery tab itself privacy. The server side aggregation will remove those and it will try to fill up the remaining paging slots with new media if it can, but it will give up eventually. That is all working as expected.


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.

6 hours 25 minutes ago - 4 hours 16 minutes ago #343031 by Toulouzing
Thank you Kyle. I posted about my issue because the photos are all published with no particular privacy setting on photos,albums or gallery tabs.

So, i do not know in which direction I can test and find the root cause
Last edit: 4 hours 16 minutes ago by Toulouzing.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50035
  • Thanks: 8559
  • Karma: 1467
3 hours 42 minutes ago #343032 by krileon
The only reason for media to not display is the media isn't accessible for one reason or another. Published state and privacy controls are just some of the ways they would be inaccessible. Profile privacy is also taken into consideration for example since these are uploads to a profile gallery. Tab access checks are taken into account for profile galleries as well. Everything is designed to respect access restrictions otherwise you'd have data leaking. Those 8 photos still being visible to super users confirms this since super users are exempt from basically all access checks.


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.

3 hours 19 minutes ago #343033 by Toulouzing
Kyle, I am sorry to insist . Each users can see the photos of others in accordance with privacy and publish state . It's OK
The weird thing is on the gallery main .

I wanted to show you a picture of the table showing the problem but it seems that it is not possible anymore to upload files on the forum (it's a png <<1MB). So, you can find it in ImageBB:   ibb.co/C44Bczw

As an exemple, a user cannot see all of its own published photos in the gallery main. I am really convinced there is an issue which is not at privacy level (either users, or galeries, or tab)

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50035
  • Thanks: 8559
  • Karma: 1467
3 hours 5 minutes ago #343034 by krileon
Is this issue visible on the sandbox account you provided earlier? If so will take a look tomorrow. If not please PM backend and frontend credentials with URLs to view your 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.
The following user(s) said Thank You: Toulouzing

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

Moderators: beatnantkrileon
Powered by Kunena Forum