Announcement

Collapse
No announcement yet.

A registration inconsistancy.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    So you have modified the original code, correct? Does the welcome email work when you upload the original file?
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment


    • #17
      The file that was changed was function.php . I have changed that back to the original, and I do not get a welcome email.
      http://www.makemydinner.net/downloads/mmd_abadge.gif http://www.adimaging.com/downloads/a...adi_abadge.gif

      Comment


      • #18
        Sorry then. I don't know what the difference is between your beta 4 and mine. Also to my knowledge no one else is having this problem. There must be something unique in your setup that's causing this but I don't know what that would be.
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment


        • #19
          Make sure email verification is off. Run this query:

          SELECT COUNT(*) AS count FROM mailqueue;

          Remember the number it returns.

          Now, register a new user but don't browse the boards/CP at all. Rerun the above query.

          Is the number different? If so, then run this query:

          SELECT * FROM mailqueue ORDER BY dateline DESC LIMIT 1;

          That will tell you what the most recent email is -- it should be the welcome mail. If it is, visit a couple threads in the boards and see if the values from those queries change.

          Comment


          • #20
            I ran the query, and the value was 0. I then went to another machine on my network, and registered making sure not to click any links.

            I then reran the query and the value was still 0.
            http://www.makemydinner.net/downloads/mmd_abadge.gif http://www.adimaging.com/downloads/a...adi_abadge.gif

            Comment


            • #21
              The only other thing I could think of is that you're moderating new members. If you do that, then they won't receive a welcome email when they register.

              If that's not the case, out of curiosity, what happens if you turn email verification on and do what I said in my post above, again? (Should probably go 0 -> 1 -> 0.)

              Comment


              • #22
                I turned email varification on.

                I went to a different machine and registered, leaving the "Thank you for registering" screen on, making sure not to click any links.

                I ran the query, and the value is now 1.

                Running the query must have emptied the que, as I just got the varification email and after running the query again the value is now back to 0.

                As an additional note, I just got the welcome email. But I don't get them when email varification is turned off.

                Is there a hack that will send email out instead of waiting in the que? I am just concerned that if someone registers, they will wait a good amount of time for their confirmaiton email as this is a brand new board with only 2 users.
                Last edited by aric; Thu 17 Jul '03, 3:42pm.
                http://www.makemydinner.net/downloads/mmd_abadge.gif http://www.adimaging.com/downloads/a...adi_abadge.gif

                Comment


                • #23
                  I believe someone posted a code change to make them send out immediately, but I forget where it was.

                  Beta 5 will have the option to disable the queue.

                  Comment


                  • #24
                    ED. I have edited one file in setting up my configuration with my Mac OSX Server. It was talked about earlier in this thread, includes\functions.php . I have replaced that with the original, and the problemm still exists.

                    Can you think of a file that if changed would be causing this problem?
                    http://www.makemydinner.net/downloads/mmd_abadge.gif http://www.adimaging.com/downloads/a...adi_abadge.gif

                    Comment


                    • #25
                      Actually, I just had a bit of a "duh" moment. Let me know if this fixes the problem (of not getting a welcome email) for you.

                      In register.php, find:

                      Code:
                      vbmail($email, $subject, $message);
                      Replace it with:

                      Code:
                      vbmail(htmlspecialchars_uni($_POST['email']), $subject, $message);
                      Now try registering (without email confirmation). Do you get a message after visit the board?

                      Comment


                      • #26
                        YES YES YES! That did it! I have been trying to fix this problem for almost a week! You are the man.

                        http://www.makemydinner.net/downloads/mmd_abadge.gif http://www.adimaging.com/downloads/a...adi_abadge.gif

                        Comment


                        • #27
                          Great. This change will officially appear in beta 5.

                          Comment


                          • #28
                            Interesting. Can you explain why the old code works on my forums but not his? Is this a server OS issue?
                            Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                            Change CKEditor Colors to Match Style (for 4.1.4 and above)

                            Steve Machol Photography


                            Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                            Comment


                            • #29
                              OK I am running into a small problem.

                              When I register a new member from my local network, everything works fine. i get teh welcome email after I have clicked on a link.

                              I just had a friend register from across town, and I am having a problem. Here are my mail server logs.

                              SMTP IN:

                              Jul 17 2003 20:40:55 SMTP Incoming connection established over TCP/IP...
                              Jul 17 2003 20:40:55 Connection originator claims to be DNS name: "localhost [127.0.0.1]"
                              Jul 17 2003 20:40:55 Actual connection IP address is: [127.0.0.1]
                              Jul 17 2003 20:40:55 SMTP Server posted 1 messages with a total size of 1 (k).

                              SMTP Out:

                              Jul 17 2003 20:40:55 SMTP connection attempt for host "swbell.net" using DNS Cache values.
                              Jul 17 2003 20:40:55 DNS Cache for Host "swbell.net" will expire at: Thu, Jul 17, 2003 22:33:39.
                              Jul 17 2003 20:40:56 SMTP connected to server "sbcmail1.prodigy.net:25" using TCP/IP to send data for host "swbell.net".
                              Error Log:

                              Jul 17 2003 20:40:55 Warning: SMTP Incoming connection:
                              Jul 17 2003 20:40:55 Connection originator claims to be: "adimaging"
                              Jul 17 2003 20:40:55 Actual connection IP address is: 127.0.0.1
                              Jul 17 2003 20:40:56 Error reading data from .

                              The SMTP Out shows a connection was made, but no email sent. And the error logs last line shows error reading data from. I have never seen this before. Does "error reading data from" mean it does not know who the email is from?

                              Any ideas?
                              Last edited by aric; Thu 17 Jul '03, 7:39pm.
                              http://www.makemydinner.net/downloads/mmd_abadge.gif http://www.adimaging.com/downloads/a...adi_abadge.gif

                              Comment


                              • #30
                                Originally posted by Steve Machol
                                Interesting. Can you explain why the old code works on my forums but not his? Is this a server OS issue?
                                Steve, I'm guessing you get notifications of registrations. That code path sets the $email variable.

                                Comment

                                widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                                Working...
                                X