Uridium Posted March 26, 2009 Posted March 26, 2009 I liked the idea of a Password Retrivel system on a game but it dawned on me that as players get to know one another and sometimes fall out they may give their email addy away to a friend quite harmlessley only to find with the Password Retrieval from old they could just Pissss people off by entering their Addy all the time to send out new passwords...... So whys this one better ? Well this one still uses the email system as before but on registration users Now have to enter a Secret question so they can retrieve passwords. Even if a user gets their email address correct and the Secret Question Wrong then No email will be sent to a user saying a password reset occured.. Both the email and the secret Question have to be exact.. Will post in a few moments when i get the files ive adjusted together..... Quote
Impossible Posted March 26, 2009 Posted March 26, 2009 Re: [MCCODES V2] Reset password + Secret question before password is sent. Sounds like it will be a good idea, but there is one problem... When a member wants to reset their password, what happens if they noob spell, then they don't know exactly what they entered. Maybe it should contain a conformation screen so no one misspells their secret question answer. Or just make members use a small word to describe their questions. Quote
Uridium Posted March 26, 2009 Author Posted March 26, 2009 Re: [MCCODES V2] Reset password + Secret question before password is sent. good thinking :) i'll do it so both questions have to match Quote
Uridium Posted March 26, 2009 Author Posted March 26, 2009 Re: [MCCODES V2] Reset password + Secret question before password is sent. Okies here goes SQL You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. call this file resend.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Part 2 to follow could put it here but incase i mess it up lol Quote
AlabamaHit Posted March 26, 2009 Posted March 26, 2009 Re: [MCCODES V2] Reset password + Secret question before password is sent. Why make a completely different...Wouldn't it be easier to modify the other password recovery that checks email? But just change it to verify the username to the serect word..I think that would be easiest for you...Unless you don't have the old one already...If you don't have old one...then bout same thing to just make your own like you are. Quote
Uridium Posted March 26, 2009 Author Posted March 26, 2009 Re: [MCCODES V2] Reset password + Secret question before password is sent. Open up register.php and find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Underneath add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Same file Alter this line from You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. To this one You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Same File Again find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Underneath Add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. And Thats it i havent added this to the preferences.php file yet but will do over time. Quote
Uridium Posted March 26, 2009 Author Posted March 26, 2009 Re: [MCCODES V2] Reset password + Secret question before password is sent. Why make a completely different...Wouldn't it be easier to modify the other password recovery that checks email? But just change it to verify the username to the serect word..I think that would be easiest for you...Unless you don't have the old one already...If you don't have old one...then bout same thing to just make your own like you are. I dont have an old copy of it i lost quite a lot of files on a reformat so im back to the basic MCC V2 at moment Quote
AlabamaHit Posted March 26, 2009 Posted March 26, 2009 Re: [MCCODES V2] Reset password + Secret question before password is sent. Ouch that sucks...... I have had computer problems I bought a new one and it came with a bad core in processor so I sent it back...And my luck lol...They didn't have any more of those models So i order parts and built my own....Long story short 2 and 1/2 weeks of a problem with computer cause when i got my first new one(the one that broke) i sold my old one...So i was without... But I was lucky though I didn't lose nothing. Cuaes i have 2 Hard drives i use as backups... Sorry, to hear you lost all yout stuff that sucks bad.. Quote
Uridium Posted March 26, 2009 Author Posted March 26, 2009 Re: [MCCODES V2] Reset password + Secret question before password is sent. I suppose thats the beauty of CE forums whatever ive lost i can usually track down what ive posted on here.. Quote
MyGunWars Posted March 26, 2009 Posted March 26, 2009 Re: [MCCODES V2] Reset password + Secret question before password is sent. Added It And Edited It For My Site But Not Done Editing Yet. Quote
Uridium Posted March 26, 2009 Author Posted March 26, 2009 Re: [MCCODES V2] Reset password + Secret question before password is sent. Added It And Edited It For My Site But Not Done Editing Yet. well if ya edit it and make it better dont forget to share :) Quote
Impossible Posted March 26, 2009 Posted March 26, 2009 Re: [MCCODES V2] Reset password + Secret question before password is sent. Works great, thanks for the mod! +1 (Also, making a new login.php to match the resend.php that you have would be nice also.) Quote
SteveDave Posted March 26, 2009 Posted March 26, 2009 Re: [MCCODES V2] Reset password + Secret question before password is sent. Funny, just yesterday I was testing a Reset Password mod and decided not to use it because I instantly realized it could be easily abused. Perfect timing for this, and a big +1 to you. I trust it works and will add it soon. Thanks a lot for sharing, when I have more experience in PHP I plan to give back a lot to the CE community as it has helped me so much already. :-) Quote
HITMAN 17 Posted March 26, 2009 Posted March 26, 2009 Re: [MCCODES V2] Reset password + Secret question before password is sent. what about the old members who dont have a secret question Quote
Uridium Posted March 26, 2009 Author Posted March 26, 2009 Re: [MCCODES V2] Reset password + Secret question before password is sent. Once ive done the part for preferences.php those that are already regd on the game can set a new Secret Question via settings For those that havent had hance to set a new secret question and cant access the login page will have to use other means IE mail to staff Quote
Cronus Posted March 26, 2009 Posted March 26, 2009 Re: [MCCODES V2] Reset password + Secret question before password is sent. The best way would be to just set up a form they can fill out and you can make a staff mail their email manually using an email from the site to verify their email address. If they can't verify their email, they can't get their account back, simple as that. Quote
Uridium Posted March 26, 2009 Author Posted March 26, 2009 Re: [MCCODES V2] Reset password + Secret question before password is sent. Update for Preferences.php Open up preferences.php find.. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Underneath Add.. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Still in prefs find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Underneath add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Finally Add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. With the rest of the links in preferences. Quote
Impossible Posted March 26, 2009 Posted March 26, 2009 Re: [MCCODES V2] Reset password + Secret question before password is sent. Again, great! It works, it's clean, neat, easy to implement. Quote
SteveDave Posted March 27, 2009 Posted March 27, 2009 Re: [MCCODES V2] Reset password + Secret question before password is sent. I just added it to my game, works great and looks great too. Thanks for this illusions. Quote
Eruondo Posted June 7, 2009 Posted June 7, 2009 Re: [MCCODES V2] Reset password + Secret question before password is sent. +1 Nice mod! Just one problem though. It sends the mail even if the secret question is wrong. Quote
MrGi Posted June 7, 2009 Posted June 7, 2009 Re: [MCCODES V2] Reset password + Secret question before password is sent. Just an idea, As Someone said before, About the newb spelling. Why not make it send to an email to confirm, and save there question. That way, They always have it on hand, Unless they are stupid and delete the mail. Quote
Modern-Empires Posted July 17, 2009 Posted July 17, 2009 Re: [MCCODES V2] Reset password + Secret question before password is sent. thanks this is a good mod, Quote
Diesel Posted November 7, 2009 Posted November 7, 2009 I just wanted first say thanks for this free contribution as it saved me a lot of time. However, this mod isn't exactly what it says it is...let me explain. When registering, it asks you to enter a security question, and then re-enter it for confirmation. There's no place to enter an answer for the security question. So basically what you have is a second password just so people can request a password change. I have edited yours so the user has to choose one of the supplied security questions, and then enter an answer for the security question. Thanks though :thumbsup: +1 Quote
Zero-Affect Posted November 9, 2009 Posted November 9, 2009 I have actually done this idea along time ago see example at Killah-city Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.