![]() |
--
|
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. :(
|
On lines 493-495, try changing
Code:
$emails = $DB_site->query("SELECT email,username FROM user WHERE userid='$u'"); Code:
$email = $userinfo[email]; |
Bingo! Nice job Kevin. It works great now!
-Rob |
It seems odd that no one else ran across this error mine...is no one else using email verification? Or is it just no one has installed it? :D Anyway I fixed the problem both in the instructions and the zip file.
|
Oh oh......I just had a new member sign up and I received the welcome email! LOL Time to go look at the code again.... :)
|
Why not use $bbuserinfo[userid] and $bbuserinfo[email]. Would cut down on the number of queries needed in fact it should eliminate any extra queries.
These should contain valid data if the member is already registers. |
I prefer to wait the final release before install this hack cause the final release come soon :)...i hope :rolleyes:
|
Quote:
Code:
$userinfo=verifyid("user",$u,1,1); Rob: I think I found the problem, maybe. On line 497, try changing this Code:
mail($newuseremail,$subject,$message,"From: \"$bbtitle Mailer\" <$webmasteremail>"); Code:
mail($email,$subject,$message,"From: \"$bbtitle Mailer\" <$webmasteremail>"); |
Nice job once again Kevin. Works great. I verified it with different email addresses. thanks!!!
|
Thanks for the hack, Kevin! I was looking for something like this, but unfortunately, there isn't really a need, IMO, because you can vBulletin to verify all new user's e-mail, but just change the permissions so users awaiting e-mail confirmation can still view everything. Then, just edit the confirmation templates and viola, you have your own welcome message.
|
I followed this to a T...NOTHING! I tried it several times tonight and got NO email!
I KNOW I did everything like you said, but it still doesnt work! It is checked YES in the CP and register.php was saved and uploaded to the server to the admin area. I really want this to work...it would save me from doing it manually (Which I do EVERYTIME a new user signs up)! |
Tubedogg, you are an excellent hacker. However, I won't be using this hack for two reasons.
1. I have email verification on, so every new member gets an email already. If I want to include a welcome message in it, I could change a template, I think. I think two emails is unnecessary. 2. I (and my members) prefer a more personal touch than some auto-generated thing. Whenever a new person registers, whoever sees the new name first will post a welcome message to that member in our main chatting forum. Other people will reply with their own greetings. I don't think we've missed anyone in a long time (OK, we only have 190-some members and have been opened only 11 months, but still...) You registered on my board, and there was a welcome message to you. You never posted anything, so I don't even know if you saw it. In case you missed it, look here: http://www.jjr512.com/forums/showthr...light=tubedogg :) |
You're right I never saw it :) I registered for whatever reason to test something and then just never posted. I have been busy lately, that's why I haven't been pumping out the hacks as much as usual ;) but I have more free time as of today so hopefully it's back to great hacking!
|
everything is set up ok-but no welcome email is sent
also: $emails = $DB_site->query_first("SELECT email,username FROM user WHERE userid='$u'"); i dont even see that line in my register.php |
Does this hack work on the vbulletin final release?
|
I was just gonna ask the same question. :)
|
Yes. I'm running it on my Forums. Works great.
|
tnx,
i'll check it out |
I had installed this hack for vB 2.0.0 final, also no email send
|
free html i just registered and it worked for me
|
it doesnt seem to work for me on vb 2.0 :mad:
|
Quote:
|
it doesnt seem to work for me either way i really want this hack too =(
|
yeah i think because you had the email option on.
|
can't get this hack to work. I have double checked all the files but the emails are not being sent. I have run tests by registering as test but no luck. a little help please?
|
same problem with me
|
I got it, I did not turn off the email notification in the control panel.:rolleyes:
|
i installed it wrong :D works now i got confused
|
when a member signed up on my board i recieved the e-mail:confused:
|
Go back through this thread because I had a similar problem and Tubedogg explained how to fix it.
|
worked thanks
|
All times are GMT. The time now is 04:08 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:
|