-
Notifications
You must be signed in to change notification settings - Fork 14
All modules
Kokonotsuba uses modules for a decent amount of its features. Some modules are absolutely necessary to run an imageboard, while others are completely optional. Using config.php, you can decide on what modules you want to use. Due to the nature of modules, with enough knowledge of PHP and how kokonotsuba works, you can write your own custom modules and use them on your board.
Open config.php and scroll down to Line 118, and edit the $ModuleList array. This page includes a list of all available modules and what they do. If you add or remove a module, you won't notice any changes immediately - that is because you also have to rebuild index.html for the changes to take place. In order to do that, open the admin panel, log in as any rank (janitor/mod/admin) and press [Rebuild]. Alternatively, you can create a new thread or reply to any existing thread. Note that some modules are included in config.php by default.
Ban/warn function, available to mods/admins. Included by default.
Post/image deletion for janitors/mods/admins. Also allows janitors to temporarily ban someone on top of deleting their post (ban duration and reason in config.php - JANIMUTE_LENGTH, default 20 min). Included by default.
Old Kolyma era module for "ads", repurposed in 2023 for fullbanners on Heyuri.
Instead of .gif files being thumbnailed, the user can optionally make them always animated, even when minimized. Included by default.
"Hardcore" anti flood module that allows threads to be created only once every X seconds (configurable in module file, default 10), no matter the user.
Unused/outdated.
Allows mods/admins to autosage a thread - making it impossible to bump. Included by default.
Adds BBCode and emotes: https://www.heyuri.net/bbcode/ By editing the $emotes array you can add your own emotes. Included by default.
Unused/outdated.
Adds a catalog mode. Included by default.
Displays country flags next to names, like on /pol/, /bant/ etc. By editing FLAG_MODE in config.php you can change the module's behaviour based on including "flag" in the email field.
Prevents cross site request forgery attacks. Included by default.
Displays image EXIF data by clicking a button next to any image. Additionally, if chosen, can add an Imgops and iqdb button.
Allows janitors to warn users.
Adds a tripcode based messaging system. TODO explain
Legacy unused Pixmicat module for editing posts, both for users and moderators. Not broken but likely janky. Not fully translated.
Makes the board "read-only": Only mods/admins can post. Configurable.
Adds Google's ReCAPTCHA v2 as verification.
RSS feed for post notifications. Included by default.
Shows the first 2 octets of an user's IP in posts.
2chan's soudane (yep) function. Acts similarly to upvotes or likes on posts.
Same as above, but "nah" instead of "yep". Soudane and soudane2 don't conflict with each other and can be used together.
Barebones board stats module, allows you to view your boards PPD, PPH, last post and all posts. Included by default.
This is done by navigating to /koko.php?mode=module&load=mod_stat&stats=
and: alltime
or lastpost
or ppd
or pph
.
Allows mods/admins to sticky threads. Included by default.
Allows mods/admins to lock threads. Included by default.
Displays a list of all threads under the post form. Can be used for textboards.
Wordfilter module. Edit the $FILERS array to add your own wordfilters. Remember to use regular expressions. Included by default.