Skip to content

Content ​

/dashboard/settings/content

Content settings control how not safe for work (NSFW) content is shown across the website, and which words aren't allowed in user content.

A file is NSFW when it is flagged as unsafe. Users can flag their files when uploading or editing them, and administrators and managers can flag any file from the file manager.

Show not safe content in listings ​

Toggles the display of NSFW files in listings, such as explore, search, albums and user profiles.

ValueEffect
EnabledNSFW files are shown in listings
DisabledNSFW files are hidden from listings

This setting applies to guests. Logged-in users choose for themselves in their account settings, where NSFW display is off by default for new accounts.

These always see NSFW files in listings, whatever is set here:

  • Administrators.
  • Users browsing their own files, such as in their own profile.

Hiding NSFW files from listings doesn't make them private: they are still reachable by direct link.

Blur NSFW content in listings ​

Toggles a blur filter on NSFW files in listings.

ValueEffect
EnabledNSFW thumbnails are blurred, the blur is removed on mouse over
DisabledNSFW thumbnails are shown without blur

The blur applies only to thumbnails in listings. The file page itself shows the file without blur. Selected files in a listing are also shown without blur.

Show not safe content in random mode ​

Toggles NSFW files in random mode (/?random).

ValueEffect
EnabledNSFW files can be picked in random mode
DisabledRandom mode picks only safe files

When disabled, logged-in users can still get their own NSFW files. Random mode must be enabled in website settings for this setting to matter.

Show banners in not safe content ​

Pro feature

This setting is available in Chevereto Pro.

ValueEffect
EnabledShow banners in pages with NSFW content
DisabledHide banners in pages with NSFW content

WARNING

In Chevereto 5 this setting has no effect. Pages with NSFW content use the NSFW version of each ad space instead. To show no banners next to NSFW content, leave the [NSFW] ad spaces empty in banners settings.

Lock NSFW editing ​

Lite/Pro feature

This setting is available in Chevereto Lite and Pro.

Toggles whether users can change the NSFW flag of their files.

ValueEffect
EnabledOnly administrators and managers can change the NSFW flag
DisabledUsers can change the NSFW flag of their own files

Use this when moderators should have the last word on what is NSFW, so users can't unflag files that were flagged for them.

This setting can't be changed when website mode is set to personal.

Stop words ​

Pro feature

Stop words are available in Chevereto Pro. If CHEVERETO_ENABLE_STOPWORDS is set to 0, stop words aren't checked, whatever is set here.

Defines words and phrases that aren't allowed in user content. Write one rule per line.

ValueEffect
String(s)Content that matches any rule is rejected
EmptyNo content is checked

Content that matches a rule is rejected with a Stop words found error. The rules are checked against:

ContentChecked fields
FilesTitle, description, filename and original filename
AlbumsName and description
UsersName, username, email, bio and website
CategoriesName, URL key and description
TagsName and description

Writing rules ​

Each line is a regular expression, matched anywhere in the text:

  • Text is lowercased before matching, so write your rules in lowercase.
  • A plain word matches it anywhere, even inside another word: cash also blocks cashew. Use \b to match whole words only, as in \bcash\b.
  • Escape characters that have a meaning in regular expressions, such as ., (, ), ?, *, + and /, with a backslash: example\.com.
txt
richard blank
costa rica[\\\'s]*? call center
call center sales
\bfree\s+money\b
example\.com

The first three rules are the defaults for new installations, to block known spam.

Released under the Apache-2.0 License.