We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6062
    • 2 Posts
    Hi All,
    Has anyone converted an existing Drupal site to Modx and been able to preserve the users table? I want to tconvert an existing Drupal site, but would like it to be as seemless as possible for my users. I would want them to be able to log in with the same username and password as they did with the Drupal site.

    Is this possible?

    Thanks.

    Chris
      • 4310
      • 2,310 Posts
      I haven’t used Drupal so am not familiar with the way it stores the info but it should be possible with a bit of effort.
      MODx uses 3 tables to hold the important info.
      You’d need to do an export from your Drupal database and sort the important data to match the MODx tables.
      Then import the data into the relevant tables within MODx.
        • 27708 MODX Staff
        • 2,502 Posts
        You’ll certainly want a test before merging the data. I would think that one could write a script that could do this in the future. (not me of course).
          Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub
          • 6062
          • 2 Posts
          OK Guys, Thanks for the replies. I will have to do some playin’ with SQLYog to see what I can break smiley

          Thanks.

          Chris
            • 23491 ☆ A M B ☆
            • 1,056 Posts
            Also, user passwords are stored as an MD5 hash. If Drupal uses some other form of encoding/encryption, you’ll need to decipher it for raw conversion to MD5.
              Mike Reid - www.pixelchutes.com
              MODx Ambassador / Contributor
              [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
              ________________________________
              Where every pixel matters.