Hi, i would like to add a button in the login page to take me to the signup page of UM, what should i add to the button to redirect from login to signup.html
You should add this code in your login page.
<input type="button" name="myButton" value="to Signup" onclick="location.href='http://ipaddress/user/signup'">
ok Thanks
ok i done that but have slite problem, im getting error 404 not found. look like hotspot is blocking the page.
i disable hotspot it and tried going to the page and it work. is there a firewall rule i can use?
Of course the hotspot service has firewall rule. You should enter ip address of UM in walled garden by hotspot. Path: IP → Hotspot → Walled Garden IP List. If you do it, then you can access to the signup page.
Im still getting a error404 from when i try to go to signup page from login page.
This error message means that the signup page is not found
See this link, here is described how you can create the own signup page.
http://wiki.mikrotik.com/wiki/User_Manager/4/User_Signup
so you should do these things:
- create “umfiles” directory. (Note: The name “umfiles” has to be so, not otherwise)
- create “signup.html” and “signup_pay_form.html” (for content see this link) und insert these files in “umfiles” directory.
- download the file “general.js” from this link and insert it in “umfiles” directory too.
- insert the “umfiles” directory in “file” directory from RouterOS.