QR Code Vouchers

534 views
Skip to first unread message

Eliot Ness

unread,
Oct 21, 2015, 3:48:49 PM10/21/15
to Grase Hotspot
As i search around i find out something interesting:
http://www.binaryheartbeat.net/2015/02/mikrotik-usermanager-qr-code-vouchers.html

You just need : jquery.min.js   and   jquery.qrcode.min.js

I test it in nightly build and works.
For qrcode i use "http://10.1.0.1/grase/uam/hotspot?
Test made on xperia android with "neoreader" and on voucher scan it auto login

But i cant make a nice looking coupon as i see on demo above, im not css expert
I also see the https://github.com/GraseHotspot/grase-www-portal/wiki/Customising-printed-tickets-vouchers
That is need the above extension

But... i need help in css to make a good looking voucher.
Anybody here can help ?

Timothy White

unread,
Oct 21, 2015, 4:59:56 PM10/21/15
to Grase Hotspot
Hi Eliot

Can you share how you are making it work? The mikrotik code appears to allow login insecurely with the username and password in the get parameters. The Grase Hotspot by default users javascript so that we can use CHAP authentication instead of passing the password in plain text over the WiFi.
We do have the option on insecure logins, so I'm guessing that's how you have made it work?

When you say you need help with the CSS, have you go the voucher printing with the QR code? The main thing you need to modify with the Mikrotik template is that it's using ID's as it's only printing a single voucher. This won't work when you want to print multiple templates, so you'll need to change some of them to classes.

Regards

Tim

--
This mailing list is for the Grase Hotspot Project http://grasehotspot.org
---
You received this message because you are subscribed to the Google Groups "Grase Hotspot" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grase-hotspo...@grasehotspot.org.
To post to this group, send email to grase-...@grasehotspot.org.
Visit this group at http://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.
To view this discussion on the web visit https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/ab5b87c9-895c-4982-bc18-57bf350779d3%40grasehotspot.org.

Edward Allen

unread,
Oct 21, 2015, 9:44:07 PM10/21/15
to Grase Hotspot

While we look at features could we have a color for our of quota users, we already have red for expired but it would be nice to have another for our of capacity/quota. Also I'm not sure but users complain about capacity total not being correct for the month, I've seen at least one user whose sessions don't add to the monthly total shown.

Eliot Ness

unread,
Oct 22, 2015, 3:40:34 AM10/22/15
to Grase Hotspot
Test made with chap on your nightly build on a raspberry pi2
On edit ticket print, it can print a template with the qr code in point that you want, but that works on a simple ticket as you say.
On a multiple tickets,  it comes mess, tickets are in correct possition but qr not,....that need a few changes on

Anyway since this morning (too bad), raspberry gone on his owner, as i write before it just passes form my hands, and i cant go far.
I make an order to get one, so in next 10 days i will have it, to continue practice and tests.
I hope till then, a guru from here finish the qr addon.....looking interested and awesome!

Timothy White

unread,
Oct 22, 2015, 5:26:51 AM10/22/15
to Grase Hotspot
Hi Eliot

Can you share the modifications you made to Grase to get it working?

Regards

Tim

--
This mailing list is for the Grase Hotspot Project http://grasehotspot.org
---
You received this message because you are subscribed to the Google Groups "Grase Hotspot" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grase-hotspo...@grasehotspot.org.
To post to this group, send email to grase-...@grasehotspot.org.
Visit this group at http://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.
Reply all
Reply to author
Forward
0 new messages