Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laaabaseball/Yourls-Popular-Links
https://github.com/laaabaseball/Yourls-Popular-Links
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/laaabaseball/Yourls-Popular-Links
- Owner: laaabaseball
- Created: 2015-03-18T08:14:36.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-11-24T10:47:43.000Z (almost 2 years ago)
- Last Synced: 2024-08-02T06:16:46.256Z (4 months ago)
- Language: PHP
- Homepage: http://kurtonium.com/yourls-plugin-popular-links-1-7
- Size: 16.6 KB
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - Popular Links - Adds an admin page that displays your shortener's most popular links. (Plugins / P)
README
# 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