Skip to content

pp-work/forum-theme

 
 

Repository files navigation

This is a highly tailored version of Kasper Kronborg Isager's Bootstrap for Vanilla, developed by/for Piratpartiet.

Currently it depends on the Vanilla-PirateWeb-Plugin being installed, because without it, Smarty will die complaining about an unrecognized tag. This will be fixed. In the meantime, you can edit views/default.master.tpl and remove the two instances of {pw_link}.

Initial development & launch had to happen quickly so it's a bit messy and hairy in places.

To make it look the way it was intended, enable "Display root categories as headings" in Forum Settings -> Categories.

To set a category-specific icon (using Font Awesome) for the category page, edit a subcategory. If you'd like to use, say, fa-binoculars, type fa-fa-binoculars in the field "Css Class" (fa-fa not fa!). To set a color, add one of pp-purple pp-orange pp-limegreen pp-pink pp-yellow pp-red pp-blue pp-darkblue pp-turquoise (defined in less/themes/pirat.less).

We don't use activities. If you want them, edit or remove views/activity/all.php.

Original README below.


Bootstrap for Vanilla

Release Depencency Status

Bootstrap for Vanilla has been rewritten from scratch on top of Bootstrap 3 in this second installation of the most popular theme for Vanilla Forums. Kickstart your Vanilla-powered community forums with a fresh and solid theme that is ready to be customized to your heart's desires.

Getting started

To get started using Bootstrap for Vanilla, either:

$ git clone kasperisager/vanilla-bootstrap bootstrap

Included themes

Default Bootstrap Cerulean Cosmo
Cyborg Darkly Flatly Journal
Lumen Paper Readable Sandstone
Simplex Slate Spacelab Superhero
United Yeti

Compiling assets

The following instructions assume that you have already installed Node.js on your computer. If this is not the case, please download and install the latest stable release from the official Node.js download page. If you are using Homebrew, you can also install Node.js via the command line:

$ brew install node

Notice: It is important that you install Node in a way that does not require you to sudo.

Once you have Node.js up and running, you will need to install the local dependencies using npm:

$ npm install

Tasks

Build - npm run build

Compiles all theme assets using Gulp. LESS stylesheets will be compiled to design/style.css and Javascripts will be concatenated and output to js/custom.js.

Watch - npm run watch

Watches the assets for changes and runs the appropriate Gulp tasks. Also starts a Livereload server that will push the changes to your Vanilla installation automatically.

If you come across any bugs or if you have a feature request, please file an issue using the GitHub Issue tracker. Bootstrap for Vanilla won't be supported through http://vanillaforums.org so please stick to using GitHub for inquiries about bugs and feature requests. Thanks!

File a new issue or feature request


Copyright © 2014 Kasper Kronborg Isager. Licensed under the terms of the MIT License

Packages

No packages published

Languages

  • PHP 51.5%
  • CSS 42.3%
  • JavaScript 6.2%