Difference between revisions of "Extensions:Character Warnings"
m (→Installation) Tag: 2017 source edit |
m Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
{{Extensioninfobox|title=Character Warnings|desc=Allows users to add warnings to characters|auth=redcr0wz|status=stable|github={{Github|user=redcr0wz|branch=extension/character-warnings}}|LKVer=2.1.3|migration=yes|package=no}} | {{Extensioninfobox|title=Character Warnings|desc=Allows users to add warnings to characters|auth=redcr0wz|status=stable|github={{Github|user=redcr0wz|branch=extension/character-warnings}}|LKVer=2.1.3|migration=yes|package=no}} | ||
− | Allows users to add warnings to characters. Useful in case you have designs on your website that need warning, such as gory designs or ones with body horror. | + | 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 designs or ones with body horror. |
== Installation == | == Installation == | ||
* Pull the branch | * Pull the branch | ||
Line 17: | Line 17: | ||
== Usage == | == Usage == | ||
Users can configure if icons and warnings are visible or not, just in case they don't need content warnings for warned designs. | Users can configure if icons and warnings are visible or not, just in case they don't need content warnings for warned designs. | ||
+ | |||
+ | Please note that this does not affect embeds at the moment. | ||
== Troubleshooting == | == 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! | 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! |
Revision as of 18:04, 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 designs or ones with body horror.
Installation
- Pull the branch
- Deal with conflicts
- Run
php artisan migrate
- 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.
<img src="{ { asset('/images/content_warning.png') } }" style="width:30%;" alt="Content Warning"></img>
Usage
Users can configure if icons and warnings are visible or not, just in case they don't need content warnings for warned designs.
Please note that this 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: