README markdown
This commit is contained in:
parent
674b2e8f1a
commit
6fcf33af61
12
README.md
12
README.md
@ -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;}
|
||||||
|
Loading…
Reference in New Issue
Block a user