![]() |
--
|
thanks for writing this out. I have been meaning to add this is and glad you have done.
|
Oh :)
Thx you very much guy :D |
good hack ;)
thanks tubedogg |
Hmmmmm....Kevin, when does the email get sent out to the user? I ran a test twice by registering the username of test and I didn't receive the welcome email. It is set to YES in the control panel and the hack installation was successful. It was a breeze to install. Any ideas?
|
If you use email verification, it should get sent after the email is verified. If not, it should get sent right after registration.
Double-check that you saved and reuploaded register.php (I forgot to do this at first...;)). Other than that, I can't think of any reason why it wouldn't work...You said it appeared in the control panel, which is right. And it's set to yes, which is right. Hmm...one thing to try. On lines 426 and 498, which should look like this: Code:
mail ($newuseremail,$subject,$message,"From: \"$bbtitle Mailer\" <$webmasteremail>"); Code:
mail($newuseremail,$subject,$message,"From: \"$bbtitle Mailer\" <$webmasteremail>"); |
Verifying now....code is all there in register.php. I'll try making the code change you suggest and see what happens. I registered two separate test users last night and did not receive the email. :(
|
It worked! Taking that space out after "mail" in the code worked. Don't ask me why, it doesn't make any sense, but I've tested it twice with email verification turned off and on and it worked both times.
However, there is something strange...with email verification turned off, the message starts out as expected: Welcome test, (test is the username) With email verification turned on, the message received after verification starts out like this: Welcome , Any ideas? |
On line 493 of register.php, try changing
Code:
$emails = $DB_site->query_first("SELECT email,username FROM user WHERE userid='$u'"); Code:
$emails = $DB_site->query("SELECT email,username FROM user WHERE userid='$u'"); |
No email sent. :(
|
All times are GMT. The time now is 10:06 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|