YOURLS Plugin – Popular Links

UPDATE: This version only works for 1.5-1 and below. Version 1.6 and 1.7 you should go here


Short post, but I have thrown together a short plugin for YOURLS (using a lot of the code from that shows the most popular links created in 1,30,365, and 1000 days on a YOURLS site. It’s based on code from Mrtech, but is now in the form of a plugin.

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


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.