We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 309
    • 24 Posts
    First I want to say thank you for the excellent (PE) user management snippet.

    My question is if there is a way to use the `manager` service and limit access to specific groups.

    Something like [!WebLoginPE? &type=`manager` &groups=`California, Nevada`!]

    I know the documentation explicitly says this service should only be given to Admins as it permits access to all users, but I was wondering if there was a way around this.

      • 3707
      • 241 Posts
      The way I do this is to wrap the WLPE call in a PHx conditional. e.g:
      [+phx:mo=`California,Nevada`:then=`{{wlpeManagerTpl}}`:else=``+]

      and then place the WLPE call in the wlpeManagerTpl chunk.
        • 309
        • 24 Posts
        I had tried using phx a few weeks back and couldn’t get it to work. I will look into getting phx working right now and then test this application within webloginpe.
          • 20521
          • 10 Posts
          I have been using WebLoginPE for a new site I am developing and it really is great and very flexible. However, I ran into one thing that I could not get it to do. I wanted to use the notify function for both a new user registration but also when a user modifies their profile. My client wanted to use that function to help make sure that his client database can be updated with new data when someone changes content in their profile.

          Is something like this able to be added?

          Thanks

            • 28042 ☆ A M B ☆
            • 24,524 Posts
            OnWebSaveUser
            Invoked AFTER a user is saved to the DB. This is invoked in both Register() AND SaveUserProfile(). Parameters are ’mode’ (new | update) and ’user’ (an array of ALL the users attributes).
            So you could use this OnWebSaveUser event to send an email with the user’s attributes whenever the user’s profile is saved.
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 23183
              • 102 Posts
              Im having a problem with the WebloginPE Logout button in IE6. It works fine in firefox, but in IE6, its says ’done but with errors on the page’ in the bottom left and when you press the button it does sweet FA sad

              Anyone had a similar probelm or know what could be causing it?
                • 5811
                • 1,717 Posts
                Anyone had a similar probelm or know what could be causing it?
                Yes, I encontered this issue. IE 6 and 7 don’t manage correctly the value of a button.
                I haven’t find a proper workaround. So I am also interested if somebody know how to correct this limitation.

                  • 23183
                  • 102 Posts
                  Quote from: coroico at Nov 10, 2009, 06:25 PM

                  Anyone had a similar probelm or know what could be causing it?
                  Yes, I encontered this issue. IE 6 and 7 don’t manage correctly the value of a button.
                  I haven’t find a proper workaround. So I am also interested if somebody know how to correct this limitation.



                  I havent had a chance to try yest but the work arounds in this post: http://modxcms.com/forums/index.php/topic,20461.msg142207.html#msg142207 might solve the problem.

                  Another question, with the registration form I have a regSucces ID and a I set the pause to `0` but there is still like a 1 second gap where it shows the default login and success message is there a way to get round this?
                    • 20349 ☆ A M B ☆
                    • 453 Posts
                    Here is the quick one.... smiley

                    I want to have a "MUST" filed in the registration form and it all works....

                    BUT... the problem is I want to have only numbers in that field (and if it possbile to have only 10 numbers?)

                    How can I do this? Any help is good wink
                      BASE - Web Design Studio
                      MODX Ambassador

                      Website
                      • 31471
                      • 206 Posts
                      Quote from: Mproject at Dec 18, 2009, 11:11 AM

                      ...I want to have only numbers in that field (and if it possbile to have only 10 numbers?)

                      How can I do this? Any help is good wink

                      Try to ask here:
                      http://modxcms.com/forums/index.php/board,204.0.html