• Hey Guest, don't forget to VOTE on each RFC topic. Your voting determine Chevereto development! No votes, no development.
  • 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

Is it possible to add a "Lock Categories" option in the admin dashboard?

user_0094e

Chevereto Member
I found that when a user uploads an image, after the administrator modetate and put in correct specified category...

the user can modify the image category again...

this causes the administrator modetate meaningless...causing chaos.

Is it possible to add a "Lock Categories" option in the admin dashboard?(Or "not allow changing categories after uploading.")

not allow the user adjust the category again.
 
Last edited:
We already have lock nsfw editing so we could also get lock category (or anything else) editing.
 
Guys 🥹 please give this post a like... please...
I modified it this way:
In /content/legacy/themes/Peafowl/snippets/form-image.php

Add this line to top
Code:
use Chevereto\Legacy\Classes\Login;

Changed the line: (line 31)
Code:
if (Handler::var('categories') !== [])
to:
Code:
if (Handler::var('categories') !== [] && Login::isAdmin())

If you don't want users to select categories when uploading, make the same change in: /content/legacy/themes/Peafowl/snippets/anywhere_upload.php (line 189)
Code:
if (Handler::var('categories') && Login::isAdmin())
 
Last edited:
I modified it this way:
In /content/legacy/themes/Peafowl/snippets/form-image.php

Add this line to top
Code:
use Chevereto\Legacy\Classes\Login;

Changed the line: (line 31)
Code:
if (Handler::var('categories') !== [])
to:
Code:
if (Handler::var('categories') !== [] && Login::isAdmin())

If you don't want users to select categories when uploading, make the same change in: /content/legacy/themes/Peafowl/snippets/anywhere_upload.php (line 189)
Code:
if (Handler::var('categories') && Login::isAdmin())
Thank you so much☺️

self modifications can only be temporary, still hoped that will be incorporated into the official version.
 
Enough likes I guess,hope will think about adding this feature.

Been looking forward to this for a long time.🥹
 
Back
Top