gnu-social/DOCUMENTATION/DEVELOPERS/Plugins/Sample Plugins/Sample/includes
2021-07-16 19:44:34 +01:00
..
actions [DOCUMENTATION][DEVELOPERS][PLUGINS] Some updates to Plugins doc 2021-07-16 19:44:34 +01:00
classes [DOCUMENTATION][DEVELOPERS][PLUGINS] Some updates to Plugins doc 2021-07-16 19:44:34 +01:00
locale [DOCUMENTATION][DEVELOPERS][PLUGINS] Some updates to Plugins doc 2021-07-16 19:44:34 +01:00
README [DOCUMENTATION][DEVELOPERS][PLUGINS] Some updates to Plugins doc 2021-07-16 19:44:34 +01:00
SamplePlugin.php [DOCUMENTATION][DEVELOPERS][PLUGINS] Some updates to Plugins doc 2021-07-16 19:44:34 +01:00

The Sample plugin shows best practices for development of GNU social plugins.

It adds a "Hello" menu item to the default menu and tracks how many times it
has greeted each user.

Installation
============
add "addPlugin('Sample');"
to the bottom of your config.php

Settings
========
none

Example
=======

addPlugin('Sample');