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.

 

2 comments on “YOURLS Plugin – Popular Links (1.7+)

  1. Interested visitor March 6, 2014 6:14 pm

    is there a chance to make these statistics public (in a .php site)?

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>