schlaefer/saito-nsfwbadge

'Not-Safe-For-Work'-Badge for Saito forum

Installs: 221

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:cakephp-plugin

pkg:composer/schlaefer/saito-nsfwbadge

2.0.0 2018-06-27 09:31 UTC

This package is auto-updated.

Last update: 2025-09-29 01:26:27 UTC


README

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.