We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42628
    • 21 Posts
    Hello guys, i got problem with Login snippet.
    The mail after registering is coming, im opening it, clicking on activate link, then im trying to log in, its saying that user is disabled. Whats going on?
      • 30912
      • 463 Posts
      Have you got the activation snippet on a page that is published?

      [[!ConfirmRegister]]

        • 42628
        • 21 Posts
        Quote from: Tyreal2012 at Feb 01, 2013, 11:03 AM
        Have you got the activation snippet on a page that is published?

        [[!ConfirmRegister]]

        Oh right.. i forgot to publish it! Thanks very much.. i tried once, its working! If ill have problems, ill reply again.
          • 42628
          • 21 Posts
          Ok now i got problem with..
          When i fill all forms and click registrate button it should redirect to page, where is writte smthing like "Thx for registrate,check your mail to activate ur acc". Thats working ONLY in my chrome. Me and my friends(testers) cant seen it. I mean after clicking register button, it redirect to main page(the mail is coming, but it should appear the text i wrote above).

          [[!Register?
          &submitVar=`registerbtn`
          &activationResourceId=`13`
          &activationEmailTpl=`lgnActivateEmailTpl`
          &activationEmailSubject=`StereoShoots - Thanks for Registering!`
          &submittedResourceId=`15`
          &usergroups=`Members`
          &validate=`nospam:blank,
          username:required:minLength=^4^,
          password:required:minLength=^4^,
          password_confirm:password_confirm=^password^,
          fullname:required,
          email:required:email`
          &placeholderPrefix=`reg.`
          ]]

          Thats register code. &activationResourceId=`13` is the "Thx for registrate,check your mail to activate ur acc" page. but its redirecting to home. How can i solve this problem?
            • 30912
            • 463 Posts
            Is the activation page published?

            My calls are as follows:

            Register Page:
            [[!Register? 
            &submitVar=`registerbtn`
             &activationResourceId=`14` 
            &activationEmailTpl=`My_lgnActivateEmailTpl` 
            &activationEmailSubject=`Please activate your account` 
            &submittedResourceId=`13` 
            &activationttl=`604800`
             &postHooks=`UserGroup` ]] 
            [[$My_lgnRegisterForm]]


            my thank you page (id 13)

            <p>Thank you for registering for the Artisan Portal, you will receive an email with your activation link inside, please click this link to activate your account.</p>

            and confirmation page

            [[!ConfirmRegister]]
            


            Have you tried taking the code exactly from the RTFM and trying that, If it works in Chrome it should work in any other browser - are you also logged into the manager in Chrome? cos to me that sounds like a published issue as the default error page is 1 - which is your homepage smiley
              • 42628
              • 21 Posts
              Quote from: Tyreal2012 at Feb 04, 2013, 06:01 AM
              Is the activation page published?

              My calls are as follows:

              Register Page:
              [[!Register? 
              &submitVar=`registerbtn`
               &activationResourceId=`14` 
              &activationEmailTpl=`My_lgnActivateEmailTpl` 
              &activationEmailSubject=`Please activate your account` 
              &submittedResourceId=`13` 
              &activationttl=`604800`
               &postHooks=`UserGroup` ]] 
              [[$My_lgnRegisterForm]]


              my thank you page (id 13)

              <p>Thank you for registering for the Artisan Portal, you will receive an email with your activation link inside, please click this link to activate your account.</p>

              and confirmation page

              [[!ConfirmRegister]]
              


              Have you tried taking the code exactly from the RTFM and trying that, If it works in Chrome it should work in any other browser - are you also logged into the manager in Chrome? cos to me that sounds like a published issue as the default error page is 1 - which is your homepage smiley
              The problem is solved, the ids in calling were wrong wink
                • 30912
                • 463 Posts
                Congrats smiley

                I always find, check check and check again smiley
                  • 3749
                  • 24,544 Posts
                  It's very easy to confuse the Register, ConfirmRegister, Thank You for Registering, and Registration Confirmed pages. If you refer to the wrong page, nothing works and you don't know why.
                    Did I help you? Buy me a beer
                    Get my Book: MODX:The Official Guide
                    MODX info for everyone: http://bobsguides.com/modx.html
                    My MODX Extras
                    Bob's Guides is now hosted at A2 MODX Hosting