README markdown

This commit is contained in:
ccd0 2013-11-09 13:40:47 -08:00
parent 674b2e8f1a
commit 6fcf33af61

View File

@ -17,11 +17,11 @@ Create a directory named cc at the root of your Tinyboard installation. Upload
Replace the files templates/post_thread.html and templates/post_reply.html with the files given here. Replace the files templates/post_thread.html and templates/post_reply.html with the files given here.
Add these lines to inc/instance-config.php: Add these lines to inc/instance-config.php:
$config['allowed_ext_files'][] = 'webm'; $config['allowed_ext_files'][] = 'webm';
$config['additional_javascript'][] = 'cc/settings.js'; $config['additional_javascript'][] = 'cc/settings.js';
$config['additional_javascript'][] = 'cc/expandvideo.js'; $config['additional_javascript'][] = 'cc/expandvideo.js';
require_once 'cc/posthandler.php'; require_once 'cc/posthandler.php';
event_handler('post', 'postHandler'); event_handler('post', 'postHandler');
And add this to stylesheets/style.css: And add this to stylesheets/style.css:
video.post-image {display: block; float: left; margin: 10px 20px; border: none;} video.post-image {display: block; float: left; margin: 10px 20px; border: none;}