Skip to Content Skip to Menu

CB Gallery - The 'ShareMedia' button does not disappear after the custom limit

4 hours 27 minutes ago - 4 hours 26 minutes ago #343153 by erichburkhard
My environment:
Joomla: 5.4.1
CB: pkg_communitybuilder_2.11.0+build.2026.01.12.21.55.56.a25ef0f6c
CB Gallery: plug_cbgallery_3.0.1+build.2026.01.22.15.13.24.b8e3d0daf

In the backend I do the following setting (the limit of fotos to be uploaded is 8

 

Now I upload 8 fotos as a sequence .... in the frontend the 8 fotos are visible and the 'ShareMedia' button as well (but this button should have been disappeared because the limit has been reached)

 

... now I do a browser resfresh ...... in the frontend the 8 fotos are still visible AND the 'ShareMedia' Button has been correctly disappeared

 

My question: Is it possible that there is a 'refresh' missing in the code after the upload of the 8th foto? Can you reproduce this behaviour?

 
Last edit: 4 hours 26 minutes ago by erichburkhard.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50093
  • Thanks: 8573
  • Karma: 1468
3 hours 50 minutes ago - 3 hours 45 minutes ago #343154 by krileon
The share window doesn't refresh the entire display after an upload. It just inserts a new container after each upload. So it's not going to hide the share button until next page visit. So what you're seeing is normal. I've added a feature ticket to review implementing dynamically toggling the create buttons based off limits being reached or no longer reached.

forge.joomlapolis.com/issues/9810


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.
Last edit: 3 hours 45 minutes ago by krileon.

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

Moderators: beatnantkrileon
Powered by Kunena Forum