Skip to content

laaabaseball/Yourls-Popular-Links

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Yourls Popular Links

  • The plugin only works for Yourls 1.7+. Download plugin15.php if you need it for Yourls 1.5-1 and below.

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

Download plugin.php, 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.

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.

** Bonus! Want it as a public page?

Save popularlinks.php

Upload it to the /pages directory of your YOURLS installation.

It will appear on your site as YOURLS-SITE/popularlinks

As with the plugin, you can customize it by editing the values