Please enable JavaScript in your browser!
Home
Explore
Help
Sign In
kim
/
gnu-social
forked from
diogo/gnu-social
Watch
1
Star
0
Fork
0
Files
Branch:
nightly
Branches
Tags
1.1.x
1.2.x
1.20.x
aab
activitypub
experimental
master
new_data_handler
new_modules_system
nightly
v2.0.0beta0
v1.20.x
v1.20.9release
v1.2.x
v1.2.0beta4
v1.1.x
v1.1.3release
gnu-social
/
plugins
/
Sample
brunoccast
5c0a3102ff
[ROUTES] Allow accept-header specification during router creation
5 years ago
..
actions
9de79f0a36
Update prepare() method on Action subclasses.
8 years ago
classes
4520e8c517
Old examples of lacking 'new' before 'Exception'
10 years ago
locale
c7afe2f86c
[TRANSLATION] Update Plugin POs
5 years ago
README
a614205663
Add plugin READMEs
8 years ago
SamplePlugin.php
5c0a3102ff
[ROUTES] Allow accept-header specification during router creation
5 years ago
README
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');