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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
Chimo bc71313158 Don't bail too early.
Apply timeago on timestamps present on page load even if Realtime isn't
enabled.
8 years ago
js Don't bail too early. 8 years ago
.jscsrc Formatting/linting 8 years ago
.jshintignore Formatting/linting 8 years ago
.jshintrc Formatting/linting 8 years ago
LICENSE Add license 8 years ago
README.md Readme: Add install instructions 8 years ago
TimeagoPlugin.php Match expected onPluginVersion declaration 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

  1. Make sure the files are in a folder called Timeago if they're not already
  2. Put the folder in your /plugins/ directory
  3. Tell /config.php to use it with: addPlugin('Timeago');