We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25979
    • 178 Posts
    Hi,

    is there any way I could have had a webgroup made when new user registers?
    I have a custom field clgroup with a name changing for each new user. I want to be able to have every user in different webgroup. Is it possible with WebLoginPe? if so, how can i achieve that?

    Regards,

    Mike
      //Why use windows since there is a door?//
      • 11975
      • 2,542 Posts
      Hi,

      I guess you could use plugins event.
      WPE supports most of them.

      :-)
        Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
        • 25979
        • 178 Posts
        Can you be more specific. I don’t really catch sad I know what are plugin’s events but how can i use it? Or maybe is there a plugin I could use for that purpose?
          //Why use windows since there is a door?//
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Create a plugin to use one of the WebLoginPE events, and in the plugin code create the group and assign the new user to the group. It would have to be an event that is triggered after the user is created, since you’d need his new user ID to assign it to the new group.
            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
            hmm, I give it a try smiley thx sottwell
              //Why use windows since there is a door?//