• Remember to address to the Bug Tracking guidelines and to follow the instructions in the post ticket template.
  • Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Reviewing All password protected albums have same name "Private album"

Version
4.2.4
PHP version
8.2.10
Database driver
MySQL
Database version
8.0.37
Web browser
Chrome

user_5207e

Chevereto Member
All password protected albums have same name "Private album". Hence, users can't distinguish which one is which.

Reproduction steps
  1. Create an album
  2. Set privacy to Private(Password protected)
  3. Go to album list. (see screenshot)
Unexpected result

All albums have name "Private album" and no way for the user to see which is which album. But for admins it shows name and cover pic.

Error log message

1740833171765.png
 
Issue seems to be with this line of code in functions-render.php. Commenting this code make the album name visible again. But not sure how to fix it.

Code:
    if ($stock_tpl === 'ALBUM' && $isRequesterAdmin === false && $item['privacy'] === 'password' && ! ($item['user']['id'] && $item['user']['id'] === ($requester['id'] ?? null)) && Album::checkSessionPassword($item) === false) {
        $fill_tpl = 'album_password';
    }
 
We consider all the album content as private, including its title. The padlock should be visible only to third-parties, both owner and admin should be able to see the album name/image on list.

Can you indicate in which context does the padlock show up wrong?
 
Back
Top