You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Apply timeago on timestamps present on page load even if Realtime isn't enabled. |
8 years ago | |
---|---|---|
js | 8 years ago | |
.jscsrc | 8 years ago | |
.jshintignore | 8 years ago | |
.jshintrc | 8 years ago | |
LICENSE | 8 years ago | |
README.md | 8 years ago | |
TimeagoPlugin.php | 8 years ago |
README.md
Timeago plugin for GNU social
This tiny plugin adds JavaScript on your GNU social pages so that fuzzy timestamps ("2 minutes ago") stay up to date after the initial page load.
Thanks to the timeago jquery plugin which does all of the heavy-lifting.
Instructions
- Make sure the files are in a folder called Timeago if they're not already
- Put the folder in your /plugins/ directory
- Tell /config.php to use it with: addPlugin('Timeago');