Fork this repository (or follow the quickstart below) and start writing your own plugin. Batteries included.
If you fork it to develop your plugin, remember to remove (this) origin repository git remote rm origin.
Run from terminal
source <(curl -sL https://raw.github.com/lifeisfoo/VanillaStarter/script/start.sh)and start writing code!
- Download it
curl -L -o vanilla_starter.zip https://github.com/lifeisfoo/VanillaStarter/archive/master.zip;
unzip vanilla_starter.zip- Customize it
- mv VanillaStarter-master MyPluginName
- mv MyPluginName/class.vanillastarter.plugin.php MyPluginName/class.mypluginame.plugin.php
- change
$PluginInfo['VanillaStarter'] = array(to$PluginInfo['MyPluginName'] = array( - change
class VanillaStarterPlugin extends Gdn_Plugin {toclass MyPluginNamePlugin extends Gdn_Plugin { - change what you want!
Feel free to fork and add additional example code and documentation.
Requires Vanilla >= 2.0.18.4
##Author and License Alessandro Miliucci, GPL v3
