Skip to content

Schlaefer/saito-nsfwbadge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Not Safe For Work"-Bagde

Plugin for Saito-Forum. Set and show NSFW-badge on postings.

Install

Either clone/copy the files in this directory into app/Plugin/NsfwBadge or using composer:

composer require schlaefer/saito-nsfwbadge

Add new database-fields:

ALTER TABLE `entries` ADD `nsfw` TINYINT(1)  NULL  DEFAULT NULL;

Empty the cache in the admin panel to register the DB-changes.

bin/cake plugin load Siezi/SaitoNsfwBadge

See CakePHP plugin documentation for alternative methods.

Uninstall

Remove database-fields:

ALTER TABLE `entries` DROP `nsfw`;

Empty the cache in the admin panel to register the DB-changes.

About

"Not Safe For Work" badge for Saito forum

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages