Difference between revisions of "Extensions:Character Warnings"
m (→Usage) Tag: 2017 source edit |
m (→Usage) Tag: 2017 source edit |
||
Line 19: | Line 19: | ||
Warnings can be added under "Edit Profile". | Warnings can be added under "Edit Profile". | ||
− | Users can | + | Users can choose if censored icons and warnings are visible or not for them in their settings, just in case they don't need content warnings. |
Please note that this extension does not affect embeds at the moment. | Please note that this extension does not affect embeds at the moment. |
Revision as of 18:17, 7 November 2023
Description | Allows users to add warnings to characters |
---|---|
Author(s) | redcr0wz |
Status | stable |
Github | extension/character-warnings |
LK Version | 2.1.3 |
Contains a Migration | |
Allows users to add warnings to characters, akin to Toyhouse's warning pages. Useful in case you have designs on your website that need warning, such as gory or body horror designs.
Installation
- Pull the branch
- Deal with conflicts
- Run
php artisan migrate
- Run
php artisan update-extension-tracker
- Run
php artisan optimize
twice - Enjoy ^_^
Configuration
The warning image is the content warning thumbnail in site settings. I suggest making it 200x200 in size.
Adjust the size of the warning pop-up in this line in profile.blade.php
to your liking by changing the percentage in "width:30%;".
<img src="{ { asset('/images/content_warning.png') } }" style="width:30%;" alt="Content Warning"></img>
Usage
Warnings can be added under "Edit Profile".
Users can choose if censored icons and warnings are visible or not for them in their settings, just in case they don't need content warnings.
Please note that this extension does not affect embeds at the moment.
Troubleshooting
Contact redcrowz on Discord if you encounter any issues! This is my first extension and my coding experience is pretty limited, but I'll do my best!
Images
See Also
Keep these extensions in mind if you plan on installing this: