Junior Spellweaver
- Joined
- Nov 22, 2012
- Messages
- 184
- Reaction score
- 26
Hello
this release was full user panel script
i have add much features in this script much more then v.1 and much more security.
Features
Documentation & Setup
1-mailing system
1 -Edit UserPanel\includes\functions.php search for this 4 line and enter your data you must use gmail !
2- Enable less secure apps in gmail account
--------------------------------------------------------------
2- Configure your server
1. You have to downlod this version of XXAMP
2.Download
3. Watch this video to know how setup MSSQL PDO DRIVER with XXAMP
4. Download
5. User panel work only with SQL Server 2012 or above versions, so if you working in previous version and you wanna install User panel u must
update to
--------------------------------------------------------------
3- Run database query
IF you install previous version of user panel and you already run previous query use this one
Else if this your first installation for user panel run this query
--------------------------------------------------------------
4- Configure datebase connection
-Edit \UserPanel\connect.php file and enter your data
--------------------------------------------------------------
5- Edit your server name in footer
open file UserPanel\includes\templates\footer.php
type your server name & don't be bastard and delete my credit :happymod:
------------------------------------------------------------------------------------------------------------------
6-Turn off age restriction
some kalonline client have age restriction so u have to turn it off
open MainConfig.txt in your server side folder
set AgeLimit to -1
------------------------------------------------------------------------------------------------------------------
7-Download
------------------------------------------------------------------------------------------------------------------
have fun & notice me if you found any bug or meet any problem.
and sorry for poor grammar english was not my mother language..
this release was full user panel script
i have add much features in this script much more then v.1 and much more security.
Features
- Full registration system with generating secret number & storing ip in datebase & sending email to user with s.n
---------------------------------
In user panel
---------------------------------
in email
----------------------------------- - All account informtions
IP look like this becuase user panel running in localhost !
-----------------------------------
if you wanna try any feature have relation with ip just change IP column from ::1 to any thing else..
and dont worry IPs will saved normally when user panel working in real host not local host
------------------------------------------------------------------------------------------------------------------ - Power security for users
-If user choose to notify him if stranger ip logged in
-If user choose logged with only with registration ip.
---------------------------------------------------------------------------------- - Edit informations
Change account password
limit 1 time per day
fresh user have to wait 1 day after registering to change password
-------------------------------------------------------------------------
-------------------------------------------------------------------------
If you wanna try this feature after create account and you dont wanna wait 1 day
open table [dbo][Times] then enter next day date in [ChangePassword] column
-------------------------------------------------------------------------
Change account email
limit 1 time per day
fresh user have to wait 1 day after registering to email
-------------------------------------------------------------------------
-------------------------------------------------------------------------
If you wanna try this feature after create account and you dont wanna wait 1 day
open table [dbo][Times] then enter next day date in [ChangeEmail] column
-------------------------------------------------------------------------
Resend secret number
------------------------------------------------------------------------- - Forget password
sending email to user email with link to reset password
for best secure link expire after 30 min & only user ip can use this link & link was generated by function that generate 250 letter and number randomly
link sending to user email if user type his email or his username
--------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------- - Charactes Trade System [notification will send to user after his char sold]
--------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------
u can edit price type by change INDEX of price varible in CharacterStore.php , if u leave index 31 user will work with geons if u make change u will be need to change some things in html file..
PHP:$priceType = 31;
- Rage Set
----------------------------------------------------------------------------------------- - Guild Time Reset
----------------------------------------------------------------------------------------- - Improve security from previous version & Improve design
Documentation & Setup
1-mailing system
1 -Edit UserPanel\includes\functions.php search for this 4 line and enter your data you must use gmail !
PHP:
$mail->Username = "YOUR_EMAIL";
$mail->Password = "YOUR_EMAIL_PASSWORD";
$mail->SetFrom("YOUR_EMAIL_ONE_MORE_TIME");
$mail->Subject = "YOUR_SERVER_NAME";
You must be registered to see links
--------------------------------------------------------------
2- Configure your server
1. You have to downlod this version of XXAMP
You must be registered to see links
[Only this version will work with user panel] !2.Download
You must be registered to see links
3. Watch this video to know how setup MSSQL PDO DRIVER with XXAMP
You must be registered to see links
4. Download
You must be registered to see links
5. User panel work only with SQL Server 2012 or above versions, so if you working in previous version and you wanna install User panel u must
update to
You must be registered to see links
--------------------------------------------------------------
3- Run database query
IF you install previous version of user panel and you already run previous query use this one
PHP:
USE [kal_auth]
CREATE TABLE Times (
UID int NOT NULL DEFAULT 0,
ChangePassword smalldatetime NOT NULL DEFAULT 0,
ChangeName smalldatetime NOT NULL DEFAULT 0,
ChangeEmail smalldatetime NOT NULL DEFAULT 0,
ResendSecret smalldatetime NOT NULL DEFAULT 0);
USE [kal_auth]
ALTER TABLE [Login] ADD
Email varchar(255) NOT NULL DEFAULT 0,
SN varchar(255) NOT NULL DEFAULT 0,
IP varchar(255) NOT NULL DEFAULT 0,
PassToken varchar(255) NOT NULL DEFAULT 0,
LastLogin smalldatetime NOT NULL DEFAULT 0,
Security_1 bit NOT NULL DEFAULT 0,
Security_2 bit NOT NULL DEFAULT 0;
Else if this your first installation for user panel run this query
PHP:
USE [kal_auth]
CREATE TABLE Notifications (
UID int NOT NULL,
Date Datetime NOT NULL,
Type bit NOT NULL);
USE [kal_auth]
CREATE TABLE Times (
UID int NOT NULL DEFAULT 0,
ChangePassword smalldatetime NOT NULL DEFAULT 0,
ChangeName smalldatetime NOT NULL DEFAULT 0,
ChangeEmail smalldatetime NOT NULL DEFAULT 0,
ResendSecret smalldatetime NOT NULL DEFAULT 0);
USE [kal_auth]
ALTER TABLE [Login] ADD
Email varchar(255) NOT NULL DEFAULT 0,
SN varchar(255) NOT NULL DEFAULT 0,
IP varchar(255) NOT NULL DEFAULT 0,
PassToken varchar(255) NOT NULL DEFAULT 0,
LastLogin smalldatetime NOT NULL DEFAULT 0,
Security_1 bit NOT NULL DEFAULT 0,
Security_2 bit NOT NULL DEFAULT 0;
USE [kal_db]
ALTER TABLE [Player] ADD
SellID int NOT NULL DEFAULT 0,
ToSell int NOT NULL DEFAULT 0,
Price bigint NOT NULL DEFAULT 0
;
GO
4- Configure datebase connection
-Edit \UserPanel\connect.php file and enter your data
PHP:
$hostname = "YOURHOST\SQLEXPRESS";
$username = "YOUR USERNAME";
$pw = "YOUR PASSWORD";
$dbauth = "kal_auth";
$dbdata = "kal_db";
5- Edit your server name in footer
open file UserPanel\includes\templates\footer.php
PHP:
<footer class="footer bg-light">
<p class=" text-dark m-0 p-0 ml-3 float-left">Your Server Name</p>
<p class=" text-dark m-0 p-0 mr-3 float-right">Designed & Developed By <a href="https://www.facebook.com/she.ba.332" class="">0verlimit</a> </p>
</footer>
------------------------------------------------------------------------------------------------------------------
6-Turn off age restriction
some kalonline client have age restriction so u have to turn it off
open MainConfig.txt in your server side folder
set AgeLimit to -1
PHP:
AgeLimit = -1
------------------------------------------------------------------------------------------------------------------
7-Download
You must be registered to see links
You must be registered to see links
------------------------------------------------------------------------------------------------------------------
have fun & notice me if you found any bug or meet any problem.
and sorry for poor grammar english was not my mother language..
Attachments
You must be registered for see attachments list
Last edited: