Auto login code for wapka.... By mario
Posted: Mon Jul 10, 2023 10:28 am
Auto Login Wapka.Org
How the codes work....
This auto login feature will save user ip and browser name.... The user will be login automatically true ip address so when you clear browser cache you lost login session and expect new login session by yourself, by save the login on the browser again.... This is the introduction page... Check my comments of this post do not comment because i will post the code step by step as comment here now.
DP
Wapka coding help
Public group • 54 participants
DP
Mashionmario
13h ago
Auto Login Wapka.Org
How the codes work....
This auto login feature will save user ip and browser name.... The user will be login automatically true ip address so when you clear browser cache you lost login session and expect new login session by yourself, by save the login on the browser again.... This is the introduction page... Check my comments of this post do not comment because i will post the code step by step as comment here now.
2 Likes • 10 comments • No shares yet
2
DP
Type...
DP
Mashionmario
Any questions should be submitted in group private message only.
You that have just enter this post yes you , start reading from buttom
4h ago
DP
Mashionmario
If user already have acount before this feature was added then do that in user editor... Create page direct user to save login page and and user just click button then ip and browser should be save in range as i do mine in the email confg.
If you understand the step by step you will fixed the problems by yourself. Legend won't waste time to do what i am saying now.
4h ago
DP
Mashionmario
Re-Code your registration form & configuration.
<email>{{VAR(IP)}}@{{VAR(BROWSER)}}.com</email>
<var_email>{{POST(email)}}</var_email>
Without user have this setup no way to login user to your set.
Let me say Guest: Ip is 80.80.88.88 and browser Chrome
Check User lister step 1.
It says will fetch data of ip and browser
4h ago
DP
Mashionmario
Step 3.
Authentication.html
Page pattern
/(?<login>[a-z]+)/*/(?<password>[0-9]+)/*
In registration form do not allow users password to have alphabet just number only.. but if you need strong security then let pattern be /(?<login>[a-z]+)/*/(?<password>[a-z-A-Z-0-9]+)/*
can you see the difference?
How the codes work....
This auto login feature will save user ip and browser name.... The user will be login automatically true ip address so when you clear browser cache you lost login session and expect new login session by yourself, by save the login on the browser again.... This is the introduction page... Check my comments of this post do not comment because i will post the code step by step as comment here now.
DP
Wapka coding help
Public group • 54 participants
DP
Mashionmario
13h ago
Auto Login Wapka.Org
How the codes work....
This auto login feature will save user ip and browser name.... The user will be login automatically true ip address so when you clear browser cache you lost login session and expect new login session by yourself, by save the login on the browser again.... This is the introduction page... Check my comments of this post do not comment because i will post the code step by step as comment here now.
2 Likes • 10 comments • No shares yet
2
DP
Type...
DP
Mashionmario
Any questions should be submitted in group private message only.
You that have just enter this post yes you , start reading from buttom
4h ago
DP
Mashionmario
If user already have acount before this feature was added then do that in user editor... Create page direct user to save login page and and user just click button then ip and browser should be save in range as i do mine in the email confg.
If you understand the step by step you will fixed the problems by yourself. Legend won't waste time to do what i am saying now.
4h ago
DP
Mashionmario
Re-Code your registration form & configuration.
<email>{{VAR(IP)}}@{{VAR(BROWSER)}}.com</email>
<var_email>{{POST(email)}}</var_email>
Without user have this setup no way to login user to your set.
Let me say Guest: Ip is 80.80.88.88 and browser Chrome
Check User lister step 1.
It says will fetch data of ip and browser
4h ago
DP
Mashionmario
Step 3.
Authentication.html
Page pattern
/(?<login>[a-z]+)/*/(?<password>[0-9]+)/*
In registration form do not allow users password to have alphabet just number only.. but if you need strong security then let pattern be /(?<login>[a-z]+)/*/(?<password>[a-z-A-Z-0-9]+)/*
can you see the difference?
=======================================Step 2.
Authentication.html
Add user login.
Config.Code: Select all
<username>{{VAR(login)}}</username> <password>{{VAR(password)}}</password> <email>{{POST(crosscheck)}}</email> <url>/index?login=success</url>
Code:Code: Select all
<input type="hidden" name="crosscheck" value="{{VAR(IP)}}@{{VAR(BROWSER)}}.com"/> <button id="submit" style="border:none; background:none;"><img src="loadingimage.gif"> Logged in Successful</button> <script type="text/javascript"> function submit2() { document.submitForm2.submit2(); // Submits the form without the button } setTimeout(function submit2(){ document.getElementById("submit").click() }, 0000); </script>
Step 1.
index.html
USER LISTER
Config:Code: Select all
<email>{{VAR(IP)}}@{{VAR(BROWSER)}}.com</email>
Code:You should know that email is different now. This will allow you too fetch data from specific Guest to login quick.Code: Select all
{{GOTO(/authentication/%var(psw)%/%username%/}}