We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25979
    • 178 Posts
    is there such a posibility?
      //Why use windows since there is a door?//
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Yes.
        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
        • 25979
        • 178 Posts
        sotwell, thx. Can you tell how can I do it?
          //Why use windows since there is a door?//
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Just use the email address as the username.
            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
            • 25979
            • 178 Posts
            i tried to put in the form my e-mail address where login should go but then i got error about illegal characters.
              //Why use windows since there is a door?//
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              Ah, the registration form. Hm. I’ll take a look at it; might need a slight hack of the input validation code.
                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
                • 25979
                • 178 Posts
                yeah i thougt so, but could not do anything like that. I am administrator not a programmer wink
                  //Why use windows since there is a door?//
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  No big deal. Open the file weblogin.class.php in a text editor. Do a search for "Check username for bullshit". In the very next line (line 469, if your editor shows line numbers) there is an array with a list of illegal characters.
                  		$illegals = array('.' , ',' , '/' , '\\' , '`' , ';' , '[' ,  ']' , '-', "'", '*', '&', '^', '%', '$', '#', '@', '!', '~', '+', '(', ')', '|', '{', '}', '<', '>', '?', ':', '"', '='); 
                  

                  Just delete the ’@’, part. It should look like this:
                  		$illegals = array('.' , ',' , '/' , '\\' , '`' , ';' , '[' ,  ']' , '-', "'", '*', '&', '^', '%', '$', '#', '!', '~', '+', '(', ')', '|', '{', '}', '<', '>', '?', ':', '"', '='); 
                  

                  And now you’re a programmer grin
                    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
                    • 25663 MODX Staff
                    • 12,272 Posts
                    Probably should remove the plus sign too since that’s useful in gmail mail names as well.
                      Ryan Thrash, MODX Co-Founder
                      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                      • 25979
                      • 178 Posts
                      Quote from: sottwell at Feb 18, 2008, 12:10 PM

                      No big deal. Open the file weblogin.class.php in a text editor. Do a search for "Check username for bullshit". In the very next line (line 469, if your editor shows line numbers) there is an array with a list of illegal characters.
                      		$illegals = array('.' , ',' , '/' , '\\' , '`' , ';' , '[' ,  ']' , '-', "'", '*', '&', '^', '%', '$', '#', '@', '!', '~', '+', '(', ')', '|', '{', '}', '<', '>', '?', ':', '"', '='); 
                      

                      Just delete the ’@’, part. It should look like this:
                      		$illegals = array('.' , ',' , '/' , '\\' , '`' , ';' , '[' ,  ']' , '-', "'", '*', '&', '^', '%', '$', '#', '!', '~', '+', '(', ')', '|', '{', '}', '<', '>', '?', ':', '"', '='); 
                      

                      And now you’re a programmer grin

                      You’re kidding me. It’s that easy? I have formerly worked with joomla, and such a change there required a ... just to say .. a lot more ...

                      yeah, i could become a programmer, but there is still a lot of stff i don’t know and don’t understand wink

                      Thx Susan
                        //Why use windows since there is a door?//