Skip to content

laaabaseball/Yourls-Popular-Links

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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

Releases

No releases published

Packages

No packages published

Languages