We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26503
    • 620 Posts
    Sean Kimball Reply #1, 15 years ago
    Am I reading the right docs here?? it seems there is something not working on every little function for the login extra?!!

    Using Revo 2.1.3, login 1.7 ...

    The register.confirm register is not behaving as stated in the docs.

    here is the register snippet:

    [[!Register?
    	&submitVar=`registerbtn`
    	&activationResourceId=`65`
    	&activationEmailTpl=`myActivationEmailTpl`
    	&activationEmailSubject=`Thanks for Registering!`
    	&submittedResourceId=`64`
    	&validate=`
    		nospam:blank,
    		username:required:minLength=^6^,
    		password:required:minLength=^6^,
    		password_confirm:password_confirm=^password^,
    		fullname:required,
    		email:required:email`
    	&placeholderPrefix=`reg.`
    ]]
    



    the content of the activationresourceid =

    [[!ConfirmRegister? &redirectTo=`66` &authenticate=`0`]]
    


    After a user registers, they are redirected to the correct resouce, 64, they get the registratio email but the link always goes directly to the homepage, AND always logs the user in - even though I have specified it to not do that!

    the url looks like:

    http://www.domain.com/index.php?id=65&lp=eTl6anJrNTI%253D&lu=c2VhbjY5


    So that is the correct id, resource 66 is viewable by any user, whether logged in or not & is just contains some basic welcome text..

    AAARRRGGGHHHHH!!!


    any suggestions to get this working??

    -sean
      *** Not just websites, we also create signage, banners, print, trade show displays and more! ***

      Sean Kimball CLP, CLS.
      Technical Director / Sr. Developer | BigBlock Studios
      ._______________________________________________.
      Bigblock Studios http://www.bigblockstudios.ca Web site design & development.
      27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
      phone/fax: 905-426-5525
      • 3749
      • 24,544 Posts
      I think that's a bug that's been fixed. Try updating the Login package.
        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
        • 26503
        • 620 Posts
        Sean Kimball Reply #3, 15 years ago
        Hi Bob;

        I updated it before I ran into this particular problem because I was having issues with other elements of the login extra... the package is 1.7.0 rc2 ~ which I believe is the most recent.

        -sean
          *** Not just websites, we also create signage, banners, print, trade show displays and more! ***

          Sean Kimball CLP, CLS.
          Technical Director / Sr. Developer | BigBlock Studios
          ._______________________________________________.
          Bigblock Studios http://www.bigblockstudios.ca Web site design & development.
          27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
          phone/fax: 905-426-5525
          • 3749
          • 24,544 Posts
          I thought this commit fixed that bug, but maybe I'm wrong: https://github.com/splittingred/Login/commit/d53a25f90f254514dd3d6c155ffe7d7fe9eaa6e5#diff-3.

          You might check the files to make sure those changes are there.
            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
            • 26503
            • 620 Posts
            Sean Kimball Reply #5, 15 years ago
            Is it possible that commit isn't available from the package management in the manager?

            -sean
              *** Not just websites, we also create signage, banners, print, trade show displays and more! ***

              Sean Kimball CLP, CLS.
              Technical Director / Sr. Developer | BigBlock Studios
              ._______________________________________________.
              Bigblock Studios http://www.bigblockstudios.ca Web site design & development.
              27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
              phone/fax: 905-426-5525
              • 3749
              • 24,544 Posts
              I don't know. You'd have to look at the code in the files you have to find out. They should all be under core/components/login (Ignore the _build file).

              It's possible that there's still a bug there.
                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