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.
| Value | Effect |
|---|---|
| Enabled | NSFW files are shown in listings |
| Disabled | NSFW 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.
| Value | Effect |
|---|---|
| Enabled | NSFW thumbnails are blurred, the blur is removed on mouse over |
| Disabled | NSFW 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).
| Value | Effect |
|---|---|
| Enabled | NSFW files can be picked in random mode |
| Disabled | Random 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.
| Value | Effect |
|---|---|
| Enabled | Show banners in pages with NSFW content |
| Disabled | Hide 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.
| Value | Effect |
|---|---|
| Enabled | Only administrators and managers can change the NSFW flag |
| Disabled | Users 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.
| Value | Effect |
|---|---|
| String(s) | Content that matches any rule is rejected |
| Empty | No content is checked |
Content that matches a rule is rejected with a Stop words found error. The rules are checked against:
| Content | Checked fields |
|---|---|
| Files | Title, description, filename and original filename |
| Albums | Name and description |
| Users | Name, username, email, bio and website |
| Categories | Name, URL key and description |
| Tags | Name 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:
cashalso blockscashew. Use\bto 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.
richard blank
costa rica[\\\'s]*? call center
call center sales
\bfree\s+money\b
example\.comThe first three rules are the defaults for new installations, to block known spam.
