We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28215
    • 4,149 Posts
    This is an auto-generated topic for Login 1.5.0-rc1 by splittingred.

    Brief Description:

    Loads a simple login/logout form, with password retrieval functionality and a register form snippet.
    New in 1.5.0

    • [li][[#15]] Added ability to assign roles when using &usergroups in Register, ie: &usergroups=`my-group-name:Member`
    • Added math hook to Register, allowing anti-spam math field measure
    • Added fix to allow overriding of class_key for new users in Register
    • [/li]

    New in 1.4.0

    • Added redirectBack to Register, Login and ConfirmRegister that allows dynamic redirection handling for other forms needing login/registration
    • Added redirectTo, redirectParams to ConfirmRegister that will redirect after successful confirmation
    • Added persistParams to Register snippet, useful for shopping cart implementations to persist parameters across the registration process
    • [[#27]] Fixed issue with activationEmail always overriding normal email
    • [[#27]] Fixed issue with activationEmail always overriding normal email
    • [[#29]] Added loginResourceParams, logoutResourceParams, which allows attaching REQUEST parameters to login/logout redirection URLs
    • [[#26]],[[#14]] Added activationEmail property for better handling of middle men in activation steps
    • Added changelog to build

    See the Official Documentation here:
    http://rftm.modx.com/display/ADDON/Login
      shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
      • 30585
      • 833 Posts
      @splittingred

      Hey Shaun -- Great job as always.

      Just a couple of things to point out before I file bug reports. I first wanna make sure I can separate expected behaviors from real issues.

      1 - Front-end profile update button not updating records after form submission
      Is this related to Access Permissions in the manager? All regular web users have a role of Member which has an authority level of 9999. Does this mean that they can’t even update their own profile?

      2 - No signup emails and page reload after form submission
      Now, this issue was reported before by myself and others and a bug was filed by goldsky here: http://bugs.modx.com/issues/2870. Up until now, I was using the fix discussed in these posts: http://modxcms.com/forums/index.php/topic,57479.msg330428.html#msg330428 and http://modxcms.com/forums/index.php/topic,57660.msg330157.html#msg330157 to allow signups and it all worked just fine. After updating the snippet to the current RC1, the issue is back. The snippet calls are all the same. The only thing changed is the package including all default chunks. Was the fix considered?

      3 - Logout link doesn’t end session and redirects to http://site-homepage.html/?service=logout
      If no logoutResourceId is specified, it redirects to http://site-homepage.html/?service=logout. It doesn’t seem to be redirecting to self as hoped.
      In all cases, the session is not ended.

      That’s all I have for now and I hope there’s not more. You guys must be heavily loaded with the pending release of Revo 2.0.5.

      My environment:

      MODx : 2.0.4-pl2
      PHP : 5.2.12
      MySQL : 5.0.67
      Browser : Chrome 8 / FF 4b7 / IE 9

        A MODx Fanatic
        • 28215
        • 4,149 Posts
        treigh: yes, definitely file them as bugs here: http://github.com/splittingred/Login/issues

        Thanks!
          shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
          • 30585
          • 833 Posts
          Done!

          All three were filed.
            A MODx Fanatic
            • 20014
            • 200 Posts
            just wondering I am templating a login area and was wonder if a could add the
            [[%login.username]]

            to the input value instead of having a label like this:
            <input class="loginUsername" type="text" name="username" value="[[%login.username]]"/>

            and if I can clear that field with javascript?
              • 12236
              • 48 Posts
              Digital Butter - MODX Premiere Partners Reply #6, 15 years, 9 months ago
              Yeah, you could put the value in the title="" attribute of the input field and use this jquery plugin to swap it in and out at the right times: http://remysharp.com/2007/01/25/jquery-tutorial-text-box-hints/
                • 31471
                • 206 Posts
                Is there a chance to get a "Login" posthook for the register/confirmregister snippets?
                It’s function could be very simple: to automatically login the user that just registered.
                  • 6890
                  • 21 Posts
                  Nice job splittingred.

                  I’ve run into an issue with the [[!ConfirmRegister]] snippet. A confirmation email successfully sends to the registering user, and when following the link the user is added to the website, however the link returns a 404 error onto the website. Which doesn’t seem correct to me. Is this right?

                  MODX Also spits the following error to me:
                   
                  [2010-12-06 04:20:30] (ERROR @ /index.php) modUserProfile: Attempt to set NOT NULL field internalKey to NULL
                  [2010-12-06 04:20:30] (ERROR @ /index.php) modUserGroupMember: Attempt to set NOT NULL field member to NULL
                  


                  Any ideas?
                    • 47846
                    • 1 Posts
                    Hey,

                    this is my website www.xyz.com, this is just for security reason. I've installed Modx successfully, but i'm troubling after installation i got this link of my website http://xyz.com/modx-2.2.14-pl/ instead of this i my website showing the Cpanel files like cgi-bin and modx when i enter www.xyz.com. please help me about on this as soon as possible. [ed. note: nero5575 last edited this post 12 years, 3 months ago.]