YOURLS Integrated QRCodes plugin with exposed options and full integration
This is an updated fork of Inline QRCode which is more compact, configurable, and just as efficient with more features.
assets/phpqrcode.php
.qr
to any short url to display qr codeiqrcodes
folder to YOURLS/user/plugins/
YOURLS
root folder. Eg, /absolute/path/to/YOURLS
qrchk.php
into the pages
folder. Automation of this task is planned for a future release.
ln -s user/plugins/iqrcodes/assets/qrchk.php user/pages/qrchk.php
cp user/plugins/iqrcodes/assets/qrchk.php user/pages/qrchk.php
user/plugins/iqrcodes/cache
/path/to/U-SRV/cache/qr
mkdir /PATH/TO/U-SRV/CACHE/qr
chmod -R 777 /PATH/TO/U-SRV/CACHE
chown -R www-data:www-data /PATH/TO/U-SRV/CACHE
chown -R www-data:www-data /PATH/TO/YOURLS/user/plugins/iqrcodes
Want to embed these QR codes into a worpress widget? Check out this gist
If you are using YOURLS with Nginx and using this directive, you may end up with 404's instead of images. You may want to have a look at this comment and thread.
If this becomes an issue, try changing
(try_files $uri $uri/ /yourls-loader.php;)
to
if (!-e $request_filename){ rewrite ^(.+)$ /yourls-loader.php?q=$1 last; }
Inline QRcode by Savoul Pelister is the base of this fork
PHP QR Code by Dominik Dzienia (aka deltalab) generates the actual QR Codes
JavaScript MD5 by Sebastian Tschan (aka BlueImp) hashes the filenames in js
Dogecoin: DARhgg9q3HAWYZuN95DKnFonADrSWUimy3
===========================
Copyright (C) 2016 Josh Panter
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.