09-01-2009 2:35 AM
Rob
Top 25 Contributor
Joined on 08-25-2009
Posts 20
Forgot your password?
Reply Contact
I have developed a mod for changing passwords when you've forgotten what it is so the admin does't have to do it. It is designed to work in version 3. Its comprised of 2 asp files and all you have to do is create a 'Forgot your password' link to one of the pages from the login page.
First it validates the email address against email addresses in the db then it sends a pw change request to that email address so only the owner of the email address can authorize the change. Then the password is changed and emiled back.
Is anyone interested in it? I'm just not sure if I should post all the code in this post or if the files can be attached to it.
Cheers
Rob
Filed under: customization, mod
09-01-2009 7:09 AM In reply to
Spooky
Top 10 Contributor
Joined on 08-19-2009
Denver CO
Posts 49
Re: Forgot your password?
Reply Contact
I would be interested in seeing it. I do not think you can do attachments here though.
09-01-2009 7:14 AM In reply to
Smokey Jones
Top 10 Contributor
Joined on 08-24-2009
Posts 84
Re: Forgot your password?
Reply Contact
I like this idea!
09-01-2009 9:17 AM In reply to
mikehall
Top 10 Contributor
Joined on 08-09-2009
Chandler, AZ
Posts 456
Re: Forgot your password?
Reply Contact
Let me see if I can get this thing configured right so you can upload those files.
09-01-2009 6:12 PM In reply to
SQLDude
Top 50 Contributor
Joined on 09-01-2009
Posts 5
Re: Forgot your password?
Reply Contact
Sure, count me in, please.
09-01-2009 7:02 PM In reply to
mikehall
Top 10 Contributor
Joined on 08-09-2009
Chandler, AZ
Posts 456
Re: Forgot your password?
Reply Contact
Attachments seem to be causing errors on the thread. If you want to email the files to me I can set them up for download.
09-01-2009 7:07 PM In reply to
drizzt09
Top 10 Contributor
Joined on 08-22-2009
Ontario Canada
Posts 322
Re: Forgot your password?
Reply Contact
I would love to get a copy of this coding
you can always email it to me
drizzt09@gmail.com
thanks
09-02-2009 10:10 AM In reply to
DesertDog2
Top 25 Contributor
Joined on 09-02-2009
Posts 16
Re: Forgot your password?
Reply Contact
Sounds great im in!
On the same note I forgot my password for this forum and used the forgot password link and never received the email, not sure if its working correctly. Anyway I just created a new account so I could create this post. Just an FYI.
09-02-2009 9:35 PM In reply to
mikehall
Top 10 Contributor
Joined on 08-09-2009
Chandler, AZ
Posts 456
Re: Forgot your password?
Reply Contact
I'll look into that as well. In the meantime, anyone who wants Rob's code can download it at
http://www.brainjar.com/AspFootballPool ... ssword.zip
Nicely done.
Filed under: customization, password
09-04-2009 6:25 AM In reply to
Smokey Jones
Top 10 Contributor
Joined on 08-24-2009
Posts 84
Re: Forgot your password?
Reply Contact
Rob! Nicely done! This code rocks!!
09-06-2009 10:32 AM In reply to
drizzt09
Top 10 Contributor
Joined on 08-22-2009
Ontario Canada
Posts 322
Re: Forgot your password?
Reply Contact
ok got this working using the gmail server code, except when the emails come through they dont look right. they are printing all the HTML coding instead of using the coding. I have checked in live and gmail, through web and outlook. also thorugh my work email on exchange/outlook
This is how they look in the emails:
Password Change Request
A request has been made to change your password. <a href=
http://nflpool.tk/userPasswordChange.as ... &id=AC01B9>
Click here</a> to comfirm this change or delete this email to cancel the request.
Password Changed
Your password has been changed. The new password is <b>KITGBQ</b>.<br><br><br>Login at
<a href=http://waverly.brinkster.net>http://waverly.brinkster.net</a> to begin playing.
09-06-2009 2:21 PM In reply to
DesertDog2
Top 25 Contributor
Joined on 09-02-2009
Posts 16
Re: Forgot your password?
Reply Contact
same result in outlook.
09-06-2009 3:05 PM In reply to
drizzt09
Top 10 Contributor
Joined on 08-22-2009
Ontario Canada
Posts 322
Re: Forgot your password?
Reply Contact
ok Rob gave me the fix for this
replacing the line
cdoMessage.TextBody = bodyText
with
cdoMessage.HTMLBody = bodyText
in email.asp solved it. Good work Rob.
09-07-2009 6:00 PM In reply to
DesertDog2
Top 25 Contributor
Joined on 09-02-2009
Posts 16
Re: Forgot your password?
Reply Contact
That did it thanks.
09-09-2009 6:17 AM In reply to
Smokey Jones
Top 10 Contributor
Joined on 08-24-2009
Posts 84
Re: Forgot your password?
Reply Contact
drizzt09:
ok Rob gave me the fix for this
replacing the line
cdoMessage.TextBody = bodyText
with
cdoMessage.HTMLBody = bodyText
in email.asp solved it. Good work Rob.
Won't this affect all e-mails that are sent? When I did that I had to add HTML formatting to all of my pages that send an e-mail. Especially the updateScores.asp and updateSchedules.asp because the e-mail will be one line of text like this:
The game schedule for Week 1 has been updated. Thu 9/10 8:30 pm TEN at PIT Sun 9/13 1:00 pm DAL at TB Sun 9/13 1:00 pm DEN at CIN Sun 9/13 1:00 pm DET at NO Sun 9/13 1:00 pm JAX at IND Sun 9/13 1:00 pm KC at BAL Sun 9/13 1:00 pm MIA at ATL Sun 9/13 1:00 pm MIN at CLE Sun 9/13 1:00 pm NYJ at HOU Sun 9/13 1:00 pm PHI at CAR Sun 9/13 4:15 pm SF at ARI Sun 9/13 4:15 pm STL at SEA Sun 9/13 4:15 pm WAS at NYG Sun 9/13 8:20 pm CHI at GB Mon 9/14 7:00 pm BUF at NE Mon 9/14 10:15 pm SD at OAK (All times Eastern)
Page 1 of 2 (21 items) 1 2 Next >