I am trying to customize Voucher Template in userman 2.9.40. The code for “prepaid time” is “u_prep_time”. What is the code for “Uptime limit”? Please let us have a full code list in a wiki or somewhere.
We will make it soon and put on the Wiki.
Uldis,
Thanks for the prompt reply. I can have the code for “uptime limit” for my immediate use?
![]()
Uldis, come on, say something!
Here is the info on the Voucher Template:
http://wiki.mikrotik.com/wiki/User_Manager/Voucher_template
And here is info on the constants used for it:
http://wiki.mikrotik.com/wiki/User_Manager/Character_constants#Voucher_template_constants
Uldis, very good work. Thank you.
This is great, but when can we get this variable for us in the status page or other hotspot webpages ?
Regards
Paul
I have to add images in voucher template, I have read wiki and I have found this code:
…but I have a problem: where I store logo.jpg in my mikrotik’s folder?
Thanks in advance
--------------F------------
Currently you can set remote url, where image is availabe e.g. http://IP_address/image.png
Edit:
If HotSpot is enabled on this router, then you can set path to image from it,
e.g. image is saved on /hotspot/ directory, then http://hotspot_server_IP_address/hotspot/image.png
Hot Snot !!
I was trying to figure out how to put it on the RB… ![]()
PS: Remember…
There is an issue with the templates…
There is a situation in which you may inadvertantly reset them !! ![]()
I cant remember the deatails off hand..
just search for my prev. post on the templates…
Things that make you go Hmmmmm…
Craig
Dont know why, but under 2.9.42,
Local graphics files stored under the hotspot folder do NOT display on vouchers…
Hmmmm…