• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

test please delete

Collapse
This is a sticky topic.
X
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Byeee

    Comment


      Originally posted by Bear View Post
      stuff about phplist

      OK - got it sorted. It seems that if you play around with the placeholder [CONFIRMATIONURL] (even copy and paste it), it no longer recognises it as a system placeholder.

      anyway - a reinstall and no mucking about and it's sorted.

      only took a day to get sorted
      Si posse, recte, si non, quocumque modo rem

      Comment


        Originally posted by Bear View Post
        The URL getting sent out is just http://mydomain.com/phplist/?p=confirm

        where phplist is a directory set up for the phplist install. The Unique user id is missing. It should send out something like:

        http://mydomain.com/phplist/?p=confi...1bc0f0e3c29602


        I'll have a quick look at the defaultconfig.inc

        Cheers

        Edit: nope - looks fine in there too
        Hmm... I've downloaded it and had a look. defaultconfig.inc (in version 2.10.5) has the addition of the "?uid=xxxxx" bit happening in getUserConfig at line 741:

        Code:
        $value = eregi_replace('\[CONFIRMATIONURL\]', $url . $sep . 'uid=' . $uniqid, $value);
        which is only executed if $userid is set (default is 0 if it's not passed).

        That function is called from about 17 different places, but the ones relating to sending a confirmation email to a new user seem to be getting their $userid value from Sql_insert_id(), so you might want to check that.

        Does your database correctly support returning the ID of the last SQL INSERT? I presume so, but have a check to be on the safe side.

        Comment


          Originally posted by Bear View Post
          OK - got it sorted. It seems that if you play around with the placeholder [CONFIRMATIONURL] (even copy and paste it), it no longer recognises it as a system placeholder.

          anyway - a reinstall and no mucking about and it's sorted.

          only took a day to get sorted
          Now you tell me

          Comment


            Evening folks

            Nasi Goreng - om nom nom nom
            Where are we going? And what’s with this hand basket?

            Comment


              Originally posted by voodooflux View Post
              Evening folks

              Nasi Goreng - om nom nom nom
              Evening VF.

              No food yet - but I think we are still eating the chilli from Harry's party!!

              Comment


                Originally posted by NickFitz View Post
                Hmm... I've downloaded it and had a look. defaultconfig.inc (in version 2.10.5) has the addition of the "?uid=xxxxx" bit happening in getUserConfig at line 741:

                Code:
                $value = eregi_replace('\[CONFIRMATIONURL\]', $url . $sep . 'uid=' . $uniqid, $value);
                which is only executed if $userid is set (default is 0 if it's not passed).

                That function is called from about 17 different places, but the ones relating to sending a confirmation email to a new user seem to be getting their $userid value from Sql_insert_id(), so you might want to check that.

                Does your database correctly support returning the ID of the last SQL INSERT? I presume so, but have a check to be on the safe side.
                Originally posted by NickFitz View Post
                Now you tell me



                Thanks anyway Nick
                Si posse, recte, si non, quocumque modo rem

                Comment


                  Originally posted by HeliCraig View Post
                  Evening VF.

                  No food yet - but I think we are still eating the chilli from Harry's party!!
                  Evening chief

                  Chilli at a party? I thought jelly and ice cream was the norm!
                  Where are we going? And what’s with this hand basket?

                  Comment


                    Originally posted by voodooflux View Post
                    Evening chief

                    Chilli at a party? I thought jelly and ice cream was the norm!
                    Not quite old enough for ice cream and jelly really! So we all had Chilli / Potatoes and pizza's etc. You should have seen our fridge last week - was full of Sainsbury's pizza's!!

                    Anyway tonight I plan to crack on with some Plan b work.

                    Comment


                      Originally posted by HeliCraig View Post
                      Anyway tonight I plan to crack on with some Plan b work.
                      Yeah, same here
                      Where are we going? And what’s with this hand basket?

                      Comment

                      Working...
                      X