• 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

Feature 'adjustment' suggestion

SubnetMask

Chevereto Member
I've noticed that when creating an album as 'any can access with link', the album in the link tends to be only two characters... This is not great. I'd like to suggest that instead of the album being only two random characters, instead it is created as at minimum 12 random characters. Longer would be even better. Or even better than that, have that a configurable option where the person running the server can specify the length, from two to whatever.

Just a thought.
 
There's the internal variable id_padding which can be used to get more characters on the encoded ids. Table variables, name id_padding a higher number denotes greater padding.
 
So I finally got this figured out. For anyone else interested, the MySQL command to change this value is this:

UPDATE chv_variables SET variable_value='your_new_value' WHERE variable_name='id_padding' AND variable_id=1;

However, changing t didn't make that much difference it seems.

By default, the value is 999. Even after changing that as high as 12,000, I only ended up with three character link IDs instead of the default two.

I'm not sure how this padding works, but these link IDs should really be 16 character (yes, I know I previously said 12 character... Maybe 12 character hard minimum with a 16 character default minimum and a... much larger... hard max?) randomly generated alpha-numeric strings at MINIMUM, and ideally, that should be configurable in the Web UI.

Side question - when will my posts no longer need to be approved? While I haven't posted much, I've only been a member/signed up since July 2017... It's kind of getting old...

Edit: Changing it to 120,000 resulted in a four character ID.

Edit2: I changed the value to 2400000000000000024000000000000000, which gave a better (but not ideal( value of BnMLrv72JgsP for the album, but I think that broke Cheverto, as I got 'that page doesn't exist' for that album. There's got to be some better way to generate long random strings that won't break things. Micro$oft Office 365 nonsense makes crazy long strings for files and whatnot - not that I'm a fan of Micro$oft at all - point being there's got to be an easy way to do it.
 
Last edited:
Back
Top