README.md 800 Bytes
Newer Older
1 2 3
Several example plugins are included in the plugins/ directory. You
can enable a plugin with the following line in config.php:

chimo's avatar
chimo committed
4
```php
5 6
    addPlugin('Example', array('param1' => 'value1',
                               'param2' => 'value2'));
chimo's avatar
chimo committed
7
```
8 9 10 11 12 13 14 15 16 17

This will look for and load files named 'ExamplePlugin.php' or
'Example/ExamplePlugin.php' either in the plugins/ directory (for
plugins that ship with StatusNet) or in the local/ directory (for
plugins you write yourself or that you get from somewhere else) or
local/plugins/.

Plugins are documented in their own directories.

Additional information on using and developing plugins can be found
chimo's avatar
chimo committed
18
at the following locations:
19

chimo's avatar
chimo committed
20 21
* [Plugin Development](doc/Plugin_development.md)
* [Community Plugins](http://www.skilledtests.com/wiki/GNU_social_plugins)
22