Please enable JavaScript in your browser!
Home
Explore
Help
Sign In
biodantas
/
gnu-social
forked from
diogo/gnu-social
Watch
1
Star
0
Fork
0
Files
Branch:
master
Branches
Tags
1.1.x
1.2.x
GS-Oembed-plugin
Nodeinfo
PGSQL
XMPPHP
activitypub
cache_refactor
experimental
issue-305
issue-323
issue-326
issue-337
issue-338
lib_refactor
master
new_modules_system
nightly
nightly-backup
nightly-old
stomp-has-me-stomped
tests-backup
v2-backup
v2-experimental
v2-other
v2-upstream
v2.0.0beta0
v1.20.x
v1.20.9release
v1.2.x
v1.2.0beta4
v1.1.x
v1.1.3release
1.2.0beta4
1.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');