YOURLS Plugin – Popular Links (1.7+)

UPDATE: This plugin can be public by making it a page http://laaatech.com/yourls-page-popular-links

 

The YOURLS plugin, originally posted here, I have updated to be compatible for YOURLS 1.7.

The plugin shows and admin page of the most popular links created in 1,30,365, and 1000 days on a YOURLS site

Download here, save as plugin.php and upload to YOURLS_DIRECTORY/user/plugins/popular-links

IMPORTANT:  Make sure to remove/overwrite the old version of Popular Links if you have it on your server.

http://pastebin.com/raw.php?i=Ts7sTZVm

Advanced:

At the bottom of the plugin, you can edit the values

> show_top(1000,5);

1000 means the number of days you are selecting from the database

5 means the number of links you are selecting.