'Games', 'A' => 'Anime', 'T' => 'Technology'];
$config['TAGS'] = [
'G' => 'Games',
'OC' => 'Original content',
'A' => 'Anime',
'L' => 'Loop',
'E' => 'Ero',
'H' => 'Heyuri',
'O' => 'Other'];
// Allowed filetypes and mimetypes
// The key is the extention and the value is the associated mime-type
$config['ALLOW_UPLOAD_EXT'] = [
'gif' => 'image/gif',
'jpg' => 'image/jpeg',
'jpeg' => 'image/jpeg',
'png' => 'image/png',
'bmp' => 'image/bmp',
'swf' => 'application/x-shockwave-flash',
'webm' => 'video/webm',
'mp4' => 'video/mp4',
'mp3' => 'audio/mpeg',
];
// Module List
// These are not all modules that come with kokonotsuba that you can enable, there are some unlisted ones too.
// See: https://github.com/Heyuri/kokonotsuba/wiki/All-modules
$config['ModuleList'] = array(
/* modes */
'catalog' => true,
'search' => true,
'threadList' => true,
/* admin */
'rebuild' => true,
'adminDel' => true,
'adminBan' => true,
'fileBan' => true,
'globalMessage' => true,
'blotter' => true,
'janitor' => true,
'moveThread' => true,
'rawHtml' => true,
'deletedPosts' => true,
'cssHax' => true,
'notes' => true,
'edit' => true,
'perceptualBan' => true,
'anonIp' => true,
/* thread modes */
'autoSage' => true,
'lockThread' => true,
'sticky' => true,
/* posting */
'antiSpam' => true,
'csrfPrevent' => true,
'bbCode' => true,
'emoji' => true,
'wordFilter' => true,
'countryFlags' => false,
'antiFlood' => true,
'fieldTraps' => true,
'readOnly' => false,
'viewPosts' => true,
'displayId' => true,
'dice' => true,
'tripcode' => true,
'displayIp' => true,
'animatedGif' => true,
'tegaki' => true,
'quickReply' => true,
'spoiler' => true,
/* misc */
'soudane' => true,
'postApi' => true,
'privateMessage' => true,
'fullBanner' => true,
'imageMeta' => true,
'onlineCounter' => true,
'ads' => true,
'banner' => true,
'addInfo' => true,
'imageServer' => true,
'filter' => true,
'indexCommentTruncator' => true,
'emotes' => true,
'nameRandomizer' => false,
'youtubeEmbed' => true
);
/* Module-specific options */
//mod_anigif
$config['ModuleSettings']['MAX_SIZE_FOR_ANIMATED_GIF'] = 2000; // Max file size for animated gifs (in kilobytes)
//mod_imagemeta
$config['ModuleSettings']['EXIF_DATA_VIEWER'] = false;
$config['ModuleSettings']['IMG_OPS'] = true; //imgops reverse image searcher portal
$config['ModuleSettings']['IQDB'] = false; //iqdb reverse image search protal
$config['ModuleSettings']['SWFCHAN'] = true; //swfchan archive
//mod_countryflags
$config['ModuleSettings']['FLAG_MODE'] = 1; // For the country flags module: 1 = hide flags on posts with "flag" in email field, 2 = show flags on posts with "flag" in email field
//mod_admindel
$config['ModuleSettings']['JANIMUTE_LENGTH'] = 20; // Janitor mute duration (in minutes)
$config['ModuleSettings']['JANIMUTE_REASON'] = 'You have been muted temporarily!'; // Janitor mute reason
//mod_antiflood
$config['ModuleSettings']['RENZOKU3'] = 30; // How many seconds between new threads?
$config['ModuleSettings']['SAME_COMMENT_TIME_WINDOW'] = 10; // How many seconds between posts that can have the same comment?
$config['ModuleSettings']['ALLOWED_COMMENT_REPETITIONS'] = 5; // How many times can the same comment be posted within the SAME_COMMENT_TIME_WINDOW before it starts deleting previous posts with that comment?
//mod_showip
$config['ModuleSettings']['IPTOGGLE'] = 1; // 1 to have OPs toggle IP display, 2 enables for all posts
//mod_blotter
$config['ModuleSettings']['BLOTTER_PREVIEW_AMOUNT'] = 5; //Number of previewed blotter entries on the index and thread view
//mod_pm
$config['ModuleSettings']['PM_DIR'] = __DIR__.DIRECTORY_SEPARATOR;
$config['ModuleSettings']['APPEND_TRIP_PM_BUTTON_TO_POST'] = false;
//fullBanner
$config['ModuleSettings']['SHOW_TOP_AD'] = true; // Whether to show the top full banner ad
$config['ModuleSettings']['SHOW_BOTTOM_AD'] = true; // Whether to show the bottom full banner ad
$config['ModuleSettings']['FULLBANNER_SUBMISSION_COOLDOWN'] = 300; // Seconds between banner submissions per IP
$config['ModuleSettings']['FULLBANNER_REQUIRED_WIDTH'] = 468; // Required banner image width in pixels
$config['ModuleSettings']['FULLBANNER_REQUIRED_HEIGHT'] = 60; // Required banner image height in pixels
$config['ModuleSettings']['FULLBANNER_MAX_FILE_SIZE'] = 204800; // Maximum banner file size in bytes (200KB)
//mod_wf
$config['ModuleSettings']['FILTERS'] = array(
'/\b(rabi-en-rose|rabi~en~rose)\b/i' => 'Rabi~en~Rose',
'/\b(newfag)\b/i' => 'n00b like me',
'/\b(newfags)\b/i' => 'n00bs like me',
'/\b(heyuri★cgi)\b/i' => 'Heyuri★CGI',
'/\b(heyuri cgi)\b/i' => 'Heyuri★CGI',
'/\b(chat@heyuri)\b/i' => 'Chat@Heyuri',
'/\b(polls@heyuri)\b/i' => 'Polls@Heyuri',
'/\b(dating@heyuri)\b/i' => 'Dating@Heyuri',
'/\b(uploader@heyuri)\b/i' => 'Uploader@Heyuri',
'/@party 2/i' => '@Party II',
'/@party ii/i' => '@Party II',
'/\b(ayashii world)\b/i' => 'Ayashii World',
'/\b(partybus)\b/i' => 'partybus',
'/\b(boku)\b/i' => 'BOKU',
);
//mod_threadlist
$config['ModuleSettings']['THREADLIST_NUMBER'] = 50; // Number of lists displayed on one page
$config['ModuleSettings']['FORCE_SUBJECT'] = true; // Whether to force a new string to have a title
$config['ModuleSettings']['SHOW_IN_MAIN'] = true; // Whether to display on the main page
$config['ModuleSettings']['THREADLIST_NUMBER_IN_MAIN'] = 40; // Display the number of lists on the main page
$config['ModuleSettings']['SHOW_FORM'] = false; // Whether to display the delete form
$config['ModuleSettings']['HIGHLIGHT_COUNT'] = 15; // The number of popular responses, the number of responses exceeding this value will turn red (0 means not used)
//mod_onlinecounter
$config['ModuleSettings']['USER_COUNT_DAT_FILE'] = 'users.dat'; //Name of the file generated by mod_onlinecounter to keep track of how many IPs are viewing the page. Stored in board-storages for that board
$config['ModuleSettings']['USER_COUNT_TIMEOUT'] = 10; //Timeout for counting the amount of users. Counts in minutes
//mod_banner
$config['ModuleSettings']['BANNER_PATH'] = $config['STATIC_PATH'].'image/default/'; // Set this to the directory of your banner images
//mod_ads
$config['ModuleSettings']['ADS_STICKY_ROTATE_SECONDS'] = 45;
$config['ModuleSettings']['ADS_INLINE_EVERY_N_THREADS'] = 4; // Insert inline ad after every N threads. Requires at least N threads on the page.
$config['ModuleSettings']['ADS_INLINE_COUNT'] = 2; // Number of ads to show side-by-side in each inline row (1–5).
$config['ModuleSettings']['ADS_POST_AD_EVERY_N_POSTS'] = 15; // Insert a post-style ad after every N reply posts within a thread.
// Slot dimensions are fixed in layout, but containers still cap at max-width: 100%.
$config['ModuleSettings']['ADS_SLOT_DIMENSIONS'] = [
'top' => ['width' => 728, 'height' => 90],
'mobile' => ['width' => 300, 'height' => 250],
'above' => ['width' => 728, 'height' => 150],
'below' => ['width' => 728, 'height' => 150],
'inline' => ['width' => 728, 'height' => 150],
'post_ad' => ['width' => 300, 'height' => 250],
];
//mod_addinfo
$config['ModuleSettings']['ADD_INFO'] = array(
'Read the rules before you post.',
'Read our FAQ for any questions.',
'Modify this by editing $config[\'ModuleSettings\'][\'ADD_INFO\'] in globalconfig.php',
);
//mod_globalmsg
$config['ModuleSettings']['GLOBAL_TXT'] = __DIR__.'/globalmsg.txt';
//mod_adminban
$config['DEFAULT_BAN_MESSAGE'] = '
(USER WAS BANNED FOR THIS POST) 
';
//mod_soudane
$config['ModuleSettings']['ENABLE_YEAH'] = true;
$config['ModuleSettings']['ENABLE_NOPE'] = false;
$config['ModuleSettings']['ENABLE_SCORE'] = false;
$config['ModuleSettings']['SHOW_SCORE_ONLY'] = false;
//mod_search
$config['ModuleSettings']['SEARCH_POSTS_PER_PAGE'] = 50;
$config['ModuleSettings']['SEARCH_TEMPLATE'] = 'kokoimg';
$config['ModuleSettings']['DISPLAY_THREADED_FORMAT'] = false;
//mod_readonly
$config['ModuleSettings']['ALLOW_REPLY'] = false; // allow replies to threads but disallow creating threads when board is read-only
$config['ModuleSettings']['MINIMUM_ROLE'] = Kokonotsuba\userRole::LEV_MODERATOR;
// posterID
$config['ModuleSettings']['DISP_ID'] = false; // if posterID is enabled: false = OPs can open by putting displayid to mail, true = IDs always ON
// deletedPosts
$config['ModuleSettings']['DELETED_POSTS_TEMPLATE'] = 'kokoimg';
$config['ModuleSettings']['PRUNE_TIME'] = 336;
// dice
$config['ModuleSettings']['DICE_AMOUNT_LIMIT'] = 30;
$config['ModuleSettings']['DICE_FACE_LIMIT'] = 9999;
$config['ModuleSettings']['EMAIL_DICE_ROLL'] = false;
$config['ModuleSettings']['COMMENT_DICE_ROLL'] = true;
//mod_spoiler
$config['ModuleSettings']['SPOILER_THUMB_W'] = 255; // Width in pixels of the spoiler thumbnail
$config['ModuleSettings']['SPOILER_THUMB_H'] = 255; // Height in pixels of the spoiler thumbnail
/* bbCode */
$config['ModuleSettings']['supportBold'] = true; // [b]...[/b] into ...
$config['ModuleSettings']['supportSpoiler'] = true; // [spoiler]...[/spoiler] into ...
$config['ModuleSettings']['supportStrikeThrough'] = true; // [s]...[/s] into ...
$config['ModuleSettings']['supportHeading'] = true; // [h]...[/h] into ...
$config['ModuleSettings']['supportCode'] = true; // [code]...[/code] into ...
$config['ModuleSettings']['supportCodeBlocks'] = true; // complete code-block system ([code], [code=lang], syntax highlighting, extraction)
$config['ModuleSettings']['supportItalic'] = true; // [i]...[/i] into ...
$config['ModuleSettings']['supportUnderline'] = true; // [u]...[/u] into ...
$config['ModuleSettings']['supportParagraph'] = true; // [p]...[/p] into ...
$config['ModuleSettings']['supportSw'] = true; // [sw]...[/sw] into ...
(Strange World-style AA)
$config['ModuleSettings']['supportColor'] = true; // [color=X]...[/color] into ...
$config['ModuleSettings']['supportColorBg'] = true; // [colorbg=X]...[/colorbg] into ...
$config['ModuleSettings']['supportNeon'] = true; // [neon]...[/neon] into ...
$config['ModuleSettings']['supportTextShadow'] = true; // [textshadow=X]...[/textshadow] into ...
$config['ModuleSettings']['supportPartybus'] = true; // [partybus]...[/partybus] cycles partybusColor1-8 across each character
$config['ModuleSettings']['supportEcho'] = true; // [echo]...[/echo] into ...
$config['ModuleSettings']['supportFontSize'] = true; // [sN]...[/sN] into ...
$config['ModuleSettings']['supportPre'] = true; // [pre]...[/pre] into ...
$config['ModuleSettings']['supportQuote'] = true; // [quote]...[/quote] into ...
$config['ModuleSettings']['supportRuby'] = true; // ruby-related BBCodes into /