archproject Posted January 14, 2011 Share Posted January 14, 2011 Hi there, I was wondering if I can have those people who registered in my prestashop would have another account created in my wordpress site as well automagically. for example I create an account EMAIL/USERNAME : [email protected]PASSWORD : password the above details would be created in my wordpress blog as well without me creating the account for him/her. this would make my customers to be able to login to my wordpress blog as well.. is this doable? Link to comment Share on other sites More sharing options...
rocky Posted January 15, 2011 Share Posted January 15, 2011 This may be difficult, since I don't know what encryption Wordpress uses for its passwords. If it is just a plain unsalted MD5, then you could add code like the following in authentication.php: Db::getInstance()->Execute("INSERT INTO `wp_customer` (`email`, `password`) VALUES ('".$customer->email."', MD5('".Tools::getValue('passwd')."'))"); You will need to give me information about how the accounts are stored in WordPress for me to be more specific.If they are using different databases, it will be more difficult, since you will need to establish a connection to another database first before you can run a query. Link to comment Share on other sites More sharing options...
ahimsa Posted March 25, 2011 Share Posted March 25, 2011 Any one found a solution for that ? Link to comment Share on other sites More sharing options...
archproject Posted March 26, 2011 Author Share Posted March 26, 2011 I tried posting a question in wordpress support site but no one replied ... I guess nobody knows exactly ... Link to comment Share on other sites More sharing options...
Jaktis Posted March 29, 2011 Share Posted March 29, 2011 Wordpress stores it's users in wp_users in the following tables:ID user_login user_pass user_emailaccording to this page: link the passwords are salted with md5. Link to comment Share on other sites More sharing options...
ksangakara1 Posted April 1, 2011 Share Posted April 1, 2011 niceeee Link to comment Share on other sites More sharing options...
dwidoo Posted November 4, 2011 Share Posted November 4, 2011 up is it possible guys? Link to comment Share on other sites More sharing options...
arturobelver Posted April 16, 2014 Share Posted April 16, 2014 up Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now