Community discussions

MikroTik App
 
Electrogics
just joined
Topic Author
Posts: 4
Joined: Sat Mar 13, 2021 8:00 pm

Hotspot Portal accesible variables

Sun Mar 14, 2021 6:25 am

Hi All,
I want to detect in the portal if the checkbox in the Cookie under --> IP> Hotspot> Hotspot Server Profile > Login tab is checke or unchecked.
The Trial is working like this:
 
  <p class="info $(if error)alert$(endif)">
               $(if error == "") 
                   $(if trial == 'yes')
                   <br />Free trial available, <a href="$(link-login-only)?dst=$(link-orig-esc)&amp;username=T-$(mac-esc)">click here</a>.
                   $(endif)
                $(endif)
                $(if error)$(error)$(endif)
 </p>
 

now I'm trying like this:
  
  $(if Cookie == 'no')
  <br>no cookie</br>
$(endif)
Seems that Cookie is not the variable I need, i also tried "cookie" small "c" but no success.
Please anyone help me if there are list of variables we can pull in the hotspot portal, thanks

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot], maxslug, mkx, patrikg and 91 guests