Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Eudemons Online > EO PServer Hosting > EO PServer Guides & Releases
You last visited: Today at 22:53

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

Advertisement



Advanced Register and Password reset V2

Discussion on Advanced Register and Password reset V2 within the EO PServer Guides & Releases forum part of the EO PServer Hosting category.

Reply
 
Old   #1

 
PowerChaos's Avatar
 
elite*gold: 90
Join Date: Feb 2008
Posts: 1,114
Received Thanks: 640
Advanced Register and Password reset V3.1

Hi all .
it is time to release V3.1 of the register script and password reset script

This is how the script looks


this script contains 5 php files and 3 database connection files

Please note , i included a readme.txt file that will help you a lot , but to make sure that you got what you need is the readme.txt file attached as attachment and posted in this post

here is the basic setup that is needed
  • WebServer with PHP MAIL support ( for sending emails , mostly linux)
  • 2 databases ( 1 database works to )
  • Little knowledge of editing ( but you need to read ... )
  • Little knowledge of how to import a SQL file ( read the file first )

This is what the script do
  • Registering a account with lowercase Characters ( after a few checks and everything is lowercase )
  • sending a email with verification for the register page
  • showing the user his information he entered to check if it is the right information
  • storing that information in a database and after inserting the right code it shows it again as second conformation
  • after the final conformation the user account is registered , and code is deleted
  • code can be manual deleted in case they never got the email (fresh code resend)
  • sending a verification email to change the password
  • showing user information after they filled in the code to change his pass
  • cleaning up code to prevent abusing of the code (after pass is resetted)

Quote:
Originally Posted by Changelog
Code:
Version 3.1 ( 14/11/2011 )
*fixed the email solution links
*fixed some mysql errors (mysql close connection)
*updated Readme.txt
updated Changelog.txt

Version 3.0
*removed the die commands that breaks intregration with websites
*can now be included into websites and will show all missing fields (pass ? email ? username ? ) instead just the first missing field
*added a better way to prevent submisions with errors
*added some security so you can not double submit the script ( refresh page ) 
*updated the readme.txt
*updated the changelog.txt

Version 2.1

*added a few more buttons to fix mail problem
*added some more text to know what to edit
*changed mysql_connection to mysql_pconnection ( keep connection open)
*added a few more connection closes to it 
*fixed a wrong htacces , or pass reset woulnd work
*added a changelog.txt
*updated the readme.txt

version 2.0

*created a readme.txt
*added close connetions
*added the email debug
*added error dismissing
*changed the look of the script a bit on errors
*secured the database map and database files
*merged advance register script and pass reset script to 1 release

Version 1.0
*created the advance register script
*created the pass reset script
*made it as easy as possible to use
Quote:
Originally Posted by ReadMe
Code:
##################################
## Copyright PowerChaos Company ##
##     http://powerchaos.com    ##
##################################

Advance register script with pass reset 
to be able to use this script you need to have a few things 

first of all you need to have a server that can send EMAILS with php ( see link on end of post for howto ) 

if you failt at that part , then buy yourself a bit of webhosting ( at http://dehost.org for example ) 
or get yourself a freehost that support mail sending 

then you need to have a litlte editing skills , most parts of the script need a bit of editing to be able to personalise it and to be able to work optimal (else you will send standard emails)

specialy , do not forget to edit your database detais , this script is made to work over 2 differend databases (website <-> vps ) , but can be placed in 1 database to ( vps <-> vps )

so , now you got the basic information , this is how you can install it 

place the map register on your webserver (your website)

that is so far the install

now the edit part
open the scripts with notepad++ (google for it , freeware ) or with a other PHP text editor to easy reconise what to edit

you can open it to with notepad or wordpad , search for the // text  and edit as needed (please READ the comment)

the other solution is to upload everything to your website and if you got cpanel , then you can CODE EDIT the files ( http://dehost.org is a example of a host with cpanel ) 

if you fail to do this , then i ( PowerChaos ) can provide you install support for a low fee (basic install)

please note , if i need to do the install then i need those parts , or the install will not continue

* mysql database acces (webserver and vps/dedi)
* acces to your vps server or dedicated server (database and/or website )
* passwords/usernames of the mysql

This is what i will provide
* basic install of the script so it will work (no site intregration , just in the /register)
* some security to the database so abuse of the 2 fresh accounts can be prevented (if remote intregration)
* configuring the register script to work 100% (including emailing) 

price = 5€
website intregration = 25€ ( registerpage and the other pages that is provided by the advanced register script )

you can contact me at  

please note , payments need to be done first before anything will be done

****
mailserver error or smtp error , what to do ??

you need to take a look at below link to solve that problem

http://cp.powerchaos.com/knowledgebase.php?action=displayarticle&id=16 ( windows email sending )

Thank you
Greets From PowerChaos
last update on 14/11/2011
so , feel free to enjoy this wonderfull script if you got a bit of skills



Link to setup email on windows


Greets From PowerChaos
Attached Files
File Type: txt changelog.txt (1.3 KB, 22 views)
File Type: txt Readme.txt (2.7 KB, 23 views)
PowerChaos is offline  
Thanks
6 Users
Old 06/09/2011, 12:59   #2
 
alaaemad's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 162
Received Thanks: 141
Thx But when i put my email and click in "lost pass request"

i get error

Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\lostpass.php on line 67
You got to be kidding me ... there is a email error!!
does your server support SendMail ??


line from 60 -76

mysql_close($connect);
die ("");
}
}
if(isset($_POST['complete'])){
include ('./connect/db2.php');
include ('./connect/connect.php');
$userid = mysql_real_escape_string($_POST['name']);
$password=mysql_real_escape_string($_POST['curpass']);
$passretype=mysql_real_escape_string($_POST['repass']);
$hash=mysql_real_escape_string($_POST['hash']);
$hash1=mysql_real_escape_string($_POST['hash1']);
$newpass = mysql_real_escape_string($_POST['newpas']);
$renewpass = mysql_real_escape_string($_POST['renew']);
$email = mysql_real_escape_string($_POST['email']);
if($newpass != $renewpass)
{
alaaemad is offline  
Old 06/09/2011, 15:37   #3

 
PowerChaos's Avatar
 
elite*gold: 90
Join Date: Feb 2008
Posts: 1,114
Received Thanks: 640
please redownload the script if you like
i updated the script to prevent that you see that error and that you can do what you need to do

i updated the mail function so you know where to go in case you get a mail error

or i would suggest to start reading the readme.txt file first , so you know that you need EMAIL support on your server ( as that is what is missng)

Greets From PowerChaos
PowerChaos is offline  
Old 06/09/2011, 15:47   #4
 
zukoo's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 506
Received Thanks: 162
Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in c:\wamp\www\register\confirmregister.php on line 86
You got to be kidding me ... there is a email error!!
does your server support SendMail ??


what should I do to my server have support emails?
zukoo is offline  
Thanks
1 User
Old 06/09/2011, 15:56   #5

 
PowerChaos's Avatar
 
elite*gold: 90
Join Date: Feb 2008
Posts: 1,114
Received Thanks: 640
Quote:
Originally Posted by zukoo View Post
Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in c:\wamp\www\register\confirmregister.php on line 86
You got to be kidding me ... there is a email error!!
does your server support SendMail ??


what should I do to my server have support emails?
here is a link to solve that common mail error


Quote:
"sendmail_from" not set in php.ini
open your php.ini and put in your email adress , as that is where the email will be sended from ( it should be located in the script to , so strange that it provide that error)

Quote:
$headers = 'From: ' . "\r\n" .
thats where the headers are

be sure to only change the email adress , and do not remove those lines
Quote:
. "\r\n" .
as you need to know to , you need to use SMTP servers if you want to run it from your computer or from your vps

easy solution like explained in the readme.txt file is to get a FREEHOST or a paid host

as they contain the sendmail into there php ( they are mostly on linux)

anyway , for the users who does not want to do that , here is a link to make your own SMTP server



Greets From PowerChaos
PowerChaos is offline  
Old 06/09/2011, 16:08   #6
 
zukoo's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 506
Received Thanks: 162
I use wamp... This configuration also serves to wamp?
zukoo is offline  
Thanks
1 User
Old 06/09/2011, 22:24   #7

 
PowerChaos's Avatar
 
elite*gold: 90
Join Date: Feb 2008
Posts: 1,114
Received Thanks: 640
yes
it serve for wamp to as it is the same configuration (maybe a little differend , but it should be not that differend)

here is a guide to ues with wamp (skip the smtp part or use the smtp server i provide)

PowerChaos Company - Knowledgebase - sending emails with WAMP

it need a extra program ( fake sendmail) that is already included in Xamp , but not in Wamp (thats the difference)

Greets From PowerChaos

-----

sorry for double post

register script updated now to final version

fixed a few more mirror errors that i found later on

added a few more debug items
added a changelog

for the users who already got the script working , delete the htacces file out of the connect folder or you can not reset passwords (md5.js is blocked )

enjoy the final release

Thank you
Greets From PowerChaos

Merged
Update
changed version to V3

i updated the code a bit so it now can be included into a website with out breaking intregration

if there are more errors , please let me know

first post is updated with a new readme and changelog and the new link

if you want to install it on your vps , be sure to check the 3 links depending on what version of apache you use ( xamp ? wamp ?? appserv ?? lamp ? easy apache ? ... )

they mainly got the same settings , so the install itself shoulnd be all to hard

Greetings From PowerChaos
PowerChaos is offline  
Old 08/06/2012, 21:52   #8
 
[GM]KinG[PM]'s Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 143
Received Thanks: 138
any one have the file plz upload it again
[GM]KinG[PM] is offline  
Old 08/06/2012, 23:03   #9

 
PowerChaos's Avatar
 
elite*gold: 90
Join Date: Feb 2008
Posts: 1,114
Received Thanks: 640
i reuploaded the files as requested
and the link is updated

Greetings From PowerChaos
PowerChaos is offline  
Thanks
1 User
Old 08/07/2012, 08:40   #10
 
[GM]KinG[PM]'s Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 143
Received Thanks: 138
thank you
[GM]KinG[PM] is offline  
Reply


Similar Threads Similar Threads
[release] Advanced register script
05/10/2011 - EO PServer Hosting - 9 Replies
hi all time for the second advanced release this is a register script but with email verification the script itself can work with 2 databases or with a single database ( i wrote it for 2 databases) what does it do ?? let the user register as normal
[RELEASE]Password Reset Tool
04/04/2011 - Dekaron Private Server - 6 Replies
Dekaron Password Reset Tool This tool will change the passwords of all your Dekaron accounts to a 14 character, case-sensitive, alphanumeric string. Such as "8f9EobZouaMztW". You can use the tool both on the dedicated server or off it. It is easiest to just use on the dedicated server by clicking the check box for "Windows Authentication" then you don't have to enter anything, just click and go! The other feature on this tool is importing your new passwords to a MySQL database for...
2. Password reset?
07/11/2010 - Kal Online - 7 Replies
kann man das irgendwie resettet das pass wenn mans vergessen hat D:?
Secondary password reset
12/20/2009 - Kal Online - 19 Replies
If you want to test my secondary password reset hack, post your testing id/unwanted id and primary password here. I will send you a new secondary password by PM. I will accept only 3 testing ids here. Thx.



All times are GMT +2. The time now is 22:53.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.