Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya > Shaiya Private Server > Shaiya PServer Guides & Releases
You last visited: Today at 12:11

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release] Email Verification Registration & Password Change

Discussion on [Release] Email Verification Registration & Password Change within the Shaiya PServer Guides & Releases forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
Hazious's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 15
Received Thanks: 32
[Release] Email Verification Registration & Password Change

I've reworked the of this registration and changed it from mssql to sqlsrv also created a secure way to change your password via email verification.

To use this, add it to your web server, and navigate to register.php. You must first add a table to your database, and edit config.php to add your SMTP User/Pass. As of now, I currently use PHPMailer, and have it configured to use gmail. You can edit this if you wish.

You must edit these variables in config.php:
PHP Code:
// Database configuration parameters
$db_host "127.0.0.1"// Your database host
$db_user "Shaiya"// Your database username
$db_pass "Shaiya123"// Your database password

// Server URL and Script Directory
$url "http://127.0.0.1/Register/";

// Configuration for email (Configured for gmail currently)
$smtp_user ""//Your gmail email | ex. 
$smtp_pass "Shaiya123"//Your gmail password
$reply_to_email ""//Email players can reply to
$reply_to_name "Shaiya Server"//Can be your server's name 
After doing that, add this table to your database:
PHP Code:
USE [PS_UserData
GO 
/****** Object:  Table [dbo].[User_Verification]    Script Date: 01/24/2012 13:40:58 ******/ 
SET ANSI_NULLS ON 
GO 
SET QUOTED_IDENTIFIER ON 
GO 
SET ANSI_PADDING ON 
GO 
CREATE TABLE 
[dbo].[User_Verification]( 
    [
UserID] [varchar](18NOT NULL
    [
VerifyKey] [varchar](maxNOT NULL,
    [
email] [varchar](maxNOT NULL,
    [
RegisterDate] [datetimeNOT NULL CONSTRAINT [DF_User_Verification_RegisterDate]  DEFAULT (getdate()), 
    [
VerifiedDate] [datetimeNULL
    [
isVerified] [bitNOT NULL CONSTRAINT [DF_User_Verification_isVerified]  DEFAULT ((0)) 
ON [PRIMARY

GO 
SET ANSI_PADDING OFF 
I know it's not perfect but feel free to make changes.

If you find any bugs, or have any comments, I'll be glad to know.
Attached Files
File Type: zip Register.zip (38.0 KB, 316 views)
Hazious is offline  
Thanks
2 Users
Old 11/16/2015, 01:43   #2
 
elite*gold: 0
Join Date: Aug 2013
Posts: 244
Received Thanks: 56
delete
[Admin]Slice is offline  
Thanks
1 User
Old 11/16/2015, 16:10   #3
 
AxelMac's Avatar
 
elite*gold: 0
Join Date: Aug 2012
Posts: 454
Received Thanks: 111
This script is of a other, please delete it -.-'
AxelMac is offline  
Thanks
1 User
Old 11/17/2015, 01:16   #4
 
elite*gold: 0
Join Date: Aug 2013
Posts: 244
Received Thanks: 56
Quote:
Originally Posted by AxelMac View Post
This script is of a other, please delete it -.-'
read the post, he mentioned that he edited the other script, changed it to sqlsrv and some other things. please read before u judge.-.
[Admin]Slice is offline  
Old 11/17/2015, 07:32   #5
 
AxelMac's Avatar
 
elite*gold: 0
Join Date: Aug 2012
Posts: 454
Received Thanks: 111
Quote:
Originally Posted by [Admin]Slice View Post
read the post, he mentioned that he edited the other script, changed it to sqlsrv and some other things. please read before u judge.-.
it's not is changed...
AxelMac is offline  
Reply


Similar Threads Similar Threads
[Release]Email Verification Registration
03/20/2016 - Shaiya PServer Guides & Releases - 34 Replies
*Note to the mods before I begin* I know I have a previous thread relating to this exact (almost) thing here]. But I thought I should make a new thread for it, as the old one was made when I was a horrible PHP developer (not saying I'm good now, just better than I was) and it's highly inefficient and should be forgotten about. I just finished reworking this registration that I had made awhile back when I was first learning PHP. I cleaned up a lot of it, and made it overall more efficient,...
Verification Email
09/15/2014 - League of Legends - 2 Replies
Yo, nachdem ich heut mal versucht habe, mein passwort zu ändern, warte ich seit mehreren stunden vergeblich auf die dazugehörige aktivierungsmail. Rito supp hab ich auch schon angeschrieben, bis jetzt tut es mich aber ignorieren. Ich hab die vermutung, dass es an meiner addresse liegt (web.de). Hatte schon jemand ähnliche probleme mit der mail und weiß, worans liegt? (schon filter neutral eingestellt, mehrere male versucht, richtige passwörter usw. eingeben)
[Release] Shaiya Registration System with email Verify and User Login
05/09/2014 - Shaiya PServer Guides & Releases - 16 Replies
Delete me
ABout email verification
11/02/2010 - Silkroad Online - 5 Replies
Guys, if i buy one account with E.Verification, how can i keep my EMAIL safely? PS: Hotmail.com
Help|Email Verification
07/09/2009 - Silkroad Online - 2 Replies
What's Email verification is making ? And is it possible to cancel it after you make it ? I want to do it because I got a character that someone know his secret answer ,and I gave the player to someone(not the same person) ,and I afraid that the person who know the answer will give it to the other one and he will be able to change my password and details ...



All times are GMT +1. The time now is 12:13.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.