diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-04-12 21:08:54 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-04-12 21:08:54 +1000 |
| commit | c596d457112bb3288c0d650884022f72a9d7f35c (patch) | |
| tree | c26e9bcfa138b47641328460235a94b3c5fd035f /inc/config.php | |
| parent | 614491880fb8b1efa7b6edd9a360af2e35e18af1 (diff) | |
New `capcode` field for posts and custom capcodes (run install.php to upgrade tables)
Diffstat (limited to 'inc/config.php')
| -rw-r--r-- | inc/config.php | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/inc/config.php b/inc/config.php index a8bbde53..819d597a 100644 --- a/inc/config.php +++ b/inc/config.php @@ -21,7 +21,8 @@ 'mod' => Array(), 'spam' => Array(), 'flood_filters' => Array(), - 'wordfilters' => Array() + 'wordfilters' => Array(), + 'custom_capcode' => Array() ); // Database stuff @@ -395,6 +396,29 @@ $config['mod']['link_lock'] = '[Lock]'; $config['mod']['link_unlock'] = '[-Lock]'; + // Moderator capcodes + $config['capcode'] = ' <a class="capcode">## %s</a>'; + + // Custom capcodes, by example: + // "## Custom" becomes lightgreen, italic and bold + //$config['custom_capcode']['Custom'] = Array( + // '<a class="capcode" style="color:lightgreen;font-style:italic;font-weight:bold"> ## %s</a>' + //); + + // "## Mod" makes everything purple, including the name and tripcode + //$config['custom_capcode']['Mod'] = Array( + // '<a class="capcode" style="color:purple"> ## %s</a>', + // 'color:purple', // Change name style; optional + // 'color:purple' // Change tripcode style; optional + //); + + // "## Admin" makes everything red and bold, including the name and tripcode + //$config['custom_capcode']['Admin'] = Array( + // '<a class="capcode" style="color:red;font-weight:bold"> ## %s</a>', + // 'color:red;font-weight:bold', // Change name style; optional + // 'color:red;font-weight:bold' // Change tripcode style; optional + //); + // Spam filter $config['spam']['hidden_inputs_min'] = 4; $config['spam']['hidden_inputs_max'] = 12; |
