Author |
Topic  |
Giapai
New Member

92 Posts |
Posted - 02 April 2001 : 11:42:02
|
thnx i cam accross something else now... i registered with a new name.. and.. it worked i got the welcome page with the message to check my email for the password.. but when i was redirected ( like when the messageboard automaticly sends you to another page) I got a page telling me this.. There Was A Problem With Your Details
You must choose a UserName You Must give an email address You Must enter a valid email address Which is kinda weird cause i did received the email with the password And when i logged in with that name and password i came to welcome page and i sucesfull logged in but when when that page redirected me to another page i ended up at the same page There Was A Problem With Your Details
You must choose a UserName You Must give an email address You Must enter a valid email address
Go Back To Enter Data
no other errors soo its working but i guess some lines are not pretty well communicating with eachother (perhaps missed an "end if" ? just guessing and trying to think) but dang dude your fast 
I tried it a third time and i ended up on a page where i could fill in all the info again? All Fields marked with * are required
If you change your email address, a new password will be sent to your new address. Please make sure it is a valid address.
+ i receive one email with the password and 1 email with a new password telling me You received this message from Giapai Message Board because someone has changed your email address on the forums at http://www.websamba.com/mindvision/Giapai/
and yes in case yo wonder i used three different email addresses and three different names
Edited by - Giapai on 02 April 2001 11:48:30
Edited by - Giapai on 02 April 2001 11:50:01 |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 02 April 2001 : 11:55:33
|
Yeah, I can identify the errors you are getting. I was just testing this thing and realized there is a bug in the mod. And I can't beleive no one has reported it. *looks for the bug spray*
I'm working on it now.
|
 |
|
Giapai
New Member

92 Posts |
Posted - 02 April 2001 : 12:06:34
|
quote:
Yeah, I can identify the errors you are getting. I was just testing this thing and realized there is a bug in the mod. And I can't beleive no one has reported it. *looks for the bug spray*
I'm working on it now.
*hands Davio the bug spray* See knew i could help out some way 
|
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 02 April 2001 : 17:41:16
|
*sprays* Ok, I got them. Send me your inc_profile.asp, pop_profile.asp, and your register.asp files. And since I want to get you involved again ( ) I'm gonna give you a function that you need to replace with the one in your inc_functions.asp. Copy the following code:function emailPassword(sendemail) '// Create an array of characters to choose from for the passwords. '// If you would like to add uppercase letters or high ASCII characters, '// simply add them to the array, just remember to modify intNumChars '// variable to match number of characters in the array.
intNumChars = 35
pwArray = Array("a","b","c","d","e","f","g","h","i","j","k","l", _ "m","n","o","p","q","r","s","t","u","v","w","x", _ "y","z","1","2","3","4","5","6","7","8","9") '// This picks 6 random numbers and pulls corresponding letters from the '// array. If you want a larger, or smaller, password simply adjust the '// number of characters you grab.
Randomize pwd1 = (Int(((intNumChars - 1) * Rnd) + 1)) pwd2 = (Int(((intNumChars - 1) * Rnd) + 1)) pwd3 = (Int(((intNumChars - 1) * Rnd) + 1)) pwd4 = (Int(((intNumChars - 1) * Rnd) + 1)) pwd5 = (Int(((intNumChars - 1) * Rnd) + 1)) pwd6 = (Int(((intNumChars - 1) * Rnd) + 1))
'// Make the password!
strPassword = pwArray(pwd1) & pwArray(pwd2) & pwArray(pwd3) & _ pwArray(pwd4) & pwArray(pwd5) & pwArray(pwd6)
emailPassword = strPassword
if sendemail = "yes" then '## Emails Password to the new email address. strRecipientsName = Request.Form("Name") strRecipients = Request.Form("Email") strFrom = strSender strFromName = strForumTitle strsubject = strForumTitle & "- Your Email Address Has Been Changed " strMessage = "Hello " & Request.Form("name") & vbCrLf & vbCrLf if Request.QueryString("mode") <> "EditIt" then strMessage = strMessage & "You received this message from " & strForumTitle & " because someone has changed your email address on the forums at " & strForumURL & vbCrLf & vbCrLf else strMessage = strMessage & "You received this message from " & strForumTitle & " because you have changed your email address on the forums at " & strForumURL & vbCrLf & vbCrLf end if if strAuthType="db" then strMessage = strMessage & "Your New Password is: " & strPassword & vbCrLf & vbCrLf end if strMessage = strMessage & "You can change your information and password at our website by selecting the ""Profile"" link." & vbCrLf & vbCrLf strMessage = strMessage & "Happy Posting!" %> <!--#INCLUDE FILE="inc_mail.asp" --> <% end if end function And paste it over the emailPassword() function you have in your inc_functions.asp file. You're just replacing it with this one. Or you can just delete the one from your inc_functions.asp file first, then paste this one in it's place. Whichever is easier for you.
And I'll fix the other files for you.  Doesn't that sound great? 
|
 |
|
Giapai
New Member

92 Posts |
Posted - 02 April 2001 : 17:48:47
|
quote:
*sprays*
And I'll fix the other files for you.  Doesn't that sound great? 
oh my god aint you the best? owk am going to work on that and send you the files after i replaced the code with what you just posted here 
|
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 02 April 2001 : 17:56:26
|
Gee, you got yer eye on this topic don't you? 
|
 |
|
Giapai
New Member

92 Posts |
Posted - 02 April 2001 : 18:01:03
|
quote:
Gee, you got yer eye on this topic don't you? 
err no i have a nose for bugspray 
|
 |
|
Giapai
New Member

92 Posts |
Posted - 02 April 2001 : 18:18:30
|
Ok done, send, and away.  the asp files are the way they was when i uploaded last time with the "bad" email mod implemented
Edited by - Giapai on 02 April 2001 18:25:57 |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 02 April 2001 : 18:33:06
|
quote: err no i have a nose for bugspray
LoL!! 
Sent them back!
|
 |
|
Giapai
New Member

92 Posts |
Posted - 02 April 2001 : 18:41:01
|
Microsoft VBScript compilation error '800a0401'
Expected end of statement
/mindvision/Giapai/inc_functions.asp, line 1886
intNumChars = 35pwArray = Array("a","b","c","d","e","f","g","h","i","j","k","l", _ woopsie guess i made a mistake copy paste it...... gonna check and i let ya know how it went lol
|
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 02 April 2001 : 18:56:00
|
It should be separated, like this:
intNumChars = 35
pwArray = Array("a","b","c","d","e","f","g","h","i","j","k","l", _
|
 |
|
Giapai
New Member

92 Posts |
Posted - 02 April 2001 : 18:56:23
|
ok i checked it out and saw what i did wrong but... than i got another error invalid character error? please go there and see the error http://www.websamba.com/mindvision/giapai/
btw the first error was a thing i over looked after pasting the code i told ya it wasnt pasting the text same way as it was posted here so i had to put everything back on the right lines lol and i forgot one.. intNumChars = 35pwArray = i forgot to put pwarray line on a new line 
|
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 02 April 2001 : 18:58:51
|
Just look at how I posted the function in the other post. It should be just like that.
The error you are getting is basiccally the same reason for the first error. They need to be on a new line. After the underscore _, you need to have a break.
|
 |
|
Giapai
New Member

92 Posts |
Posted - 02 April 2001 : 18:58:55
|
quote:
It should be separated, like this:
intNumChars = 35
pwArray = Array("a","b","c","d","e","f","g","h","i","j","k","l", _
gosh ya just beat me with that lol before you look into the other error think i found it ;-)
|
 |
|
Giapai
New Member

92 Posts |
Posted - 02 April 2001 : 18:59:52
|
grrrrrrrrrrrrrrrr you just way too fast for me lol
|
 |
|
Topic  |
|
|
|