We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1343 ☆ A M B ☆
    • 2,213 Posts
    Hello,

    I need to run webloginpe outside of modx. Does anyone know how I can accomplish this goal?

    Thanks
    AMDbuilder
      Patrick | Server Wrangler
      About Me: Website | Tweets |  MODX Hosting
      • 1343 ☆ A M B ☆
      • 2,213 Posts
      Anyone have an idea on this one?

      I need to have a user registration page outside of modx that registers the user in modx. It doesn’t need to be WLPE...

      Anyone?
      AMDbuilder
        Patrick | Server Wrangler
        About Me: Website | Tweets |  MODX Hosting
        • 36693
        • 66 Posts
        You could try something like including the MODx API in your external page (it will have to be PHP), and executing (I forget the proper term) the snippet that way.

        Otherwise, pull all the content out of the snippet and drop it into a library for your own use. Problem with future upgrades will result, and no doubt the snippet will depend on MODx functionality, so you’ll have to provide equivalents.

        Depending on what you want, creating an empty template and page depending on it that includes just the snippet. You could potentially then include that somehow in your page.

        Just brainstorming... I’m sure there’s a cleaner method somewhere that might work more efficiently!
          • 1343 ☆ A M B ☆
          • 2,213 Posts
          I need to allow a lot of people to register for an account to a website. I have a list of all the people that are approved to register, but due to policy the website registration must be opt in so I can’t pre-populate the database as I would be providing the email addresses.

          The solution I thought of was to create a registration page protected by htaccess (only approved people can register) and then I can send out an email to those people with a generic htaccess username/password and allow them to register instantly.

          I guess the question is more how can I create a few hundred users without providing the system email addresses.

          This only needs to work for a month or two tops and then going forward new people will approve pre-registration thus saving me time/trouble.

          Whatever the solution please provide me with some examples as I lack php coding skills...

          AMDbuilder
            Patrick | Server Wrangler
            About Me: Website | Tweets |  MODX Hosting
            • 9207 ☆ A M B ☆
            • 2,475 Posts
            Oiy... I winced when I saw your post. I think that it would be quite difficult to port the WebLoginPE snippet. I’ve been dealing with it INSIDE MODx for about a week now, and I’m still struggling with it (my notes here:
            http://wiki.modxcms.com/index.php/WebLoginPE
            ). I think the internals are heavily reliant on MODx methods and database tables... that means that porting it over may be more trouble than it’s worth. Is there any way to bring over the other site into MODx? Or is there some other stand-alone package?
              • 3749
              • 24,544 Posts
              I’m probably being dense here, but why not let them register through WLPE in MODx on that password protected page?
                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