Hello guys,
I have searched a lot for this, but I can't seem to find a decent answer.
Is there any way to migrate my old site's Joomla data to Dolphin? (ie. users/passwords, comprofiler profiles, kunena forum maybe?)
J.
Hello guys,
I have searched a lot for this, but I can't seem to find a decent answer.
Is there any way to migrate my old site's Joomla data to Dolphin? (ie. users/passwords, comprofiler profiles, kunena forum maybe?)
J. |
There are none that i am aware of. You would most likely need to hire someone to do it. https://www.deanbassett.com |
Okay, thanks. The passwords is not a big deal. It would be cool to get other data migrated though.
I will see if I can make a script or find one |
And then there's the salt...
I've used and looked at a lot of migration scripts, and most of them seem to issue new passwords to their members upon a successful transfer. Just sends out an email to them with a new, random password. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Hey Nathan, Do you have, by any chance, a list of migration scripts that you used for different kinds of data? Is jFusion any good?
J |
Hey Nathan, Do you have, by any chance, a list of migration scripts that you used for different kinds of data? Is jFusion any good?
J None for Dolphin. And I don't code much, either. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
With a little SQL know how this is easy, if tedious to do. Time requirements depends on how much you want to bring over. Profiles are easy, blogs, forums, comments, photos not so much. Even the passwords can be saved / used if you are willing to change the dolphin password checking function. You can even go as far as including a first log in check that allows the use of the old password and adds the salt after first log in. Light man a fire keep him warm for a night, light him ON fire & he will be warm the rest of his life |
I really need to learn joomla, wordpress and all these other popular scripts. I could easily write scripts to do that, but not knowing the tables of the other sites and what data they contain, it kinda sticks a big spear in my side. https://www.deanbassett.com |
With a little SQL know how this is easy, if tedious to do. Time requirements depends on how much you want to bring over. Profiles are easy, blogs, forums, comments, photos not so much. Even the passwords can be saved / used if you are willing to change the dolphin password checking function. You can even go as far as including a first log in check that allows the use of the old password and adds the salt after first log in. I think you are wrong here, the md5 hash is generated with the user pass and a random salt. As far as i remember. so much to do.... |
With a little SQL know how this is easy, if tedious to do. Time requirements depends on how much you want to bring over. Profiles are easy, blogs, forums, comments, photos not so much. Even the passwords can be saved / used if you are willing to change the dolphin password checking function. You can even go as far as including a first log in check that allows the use of the old password and adds the salt after first log in. I think you are wrong here, the md5 hash is generated with the user pass and a random salt. As far as i remember. Yes, but dolphin can be modified to use another password system as well. It's an overkill method, but can be done, and after first logon, a clear text version of the password is thus obtained and then converted to the current dolphin format. So yes, i can be done as long as you know how the other system created the passwords. https://www.deanbassett.com |
I think you are wrong here, the md5 hash is generated with the user pass and a random salt. As far as i remember. Deano has the right of it. When the user logs in to the site, you have access to the clear text version of the password. There really isn't anything stopping the programer seeing it 'in the clear' as it is checked to see if it matches the encrypted hash in the database. So you do an MD5 of the user provided password, check it against the old password database, and if they match uses dolphins password function to add a salt. This makes for a rather simple way to migrate from no salt to salt as users log in. If your concerned about an additional security issues created you can eventually turn this added feature off and then users can restore to using the reset password function. Light man a fire keep him warm for a night, light him ON fire & he will be warm the rest of his life |
You'll have to use Dean's method if you want to avoid sending out new passwords... Joomla's system is deep, very deep..
(stolen from stackoverflow.com)
Example:
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Deano is right but i never told that its not possible. @mscott - hmm! joomla looks very scary. I will hate joomla more now lol. so much to do.... |
Nice following you have there Deano. Light man a fire keep him warm for a night, light him ON fire & he will be warm the rest of his life |
You'll have to use Dean's method if you want to avoid sending out new passwords... Joomla's system is deep, very deep..
(stolen from stackoverflow.com)
Example:
Hi mScott, Is this for Joonla or for Dolphin?
Thanks everyone for answering so far. |
Its for joomla.
You'll have to use Dean's method if you want to avoid sending out new passwords... Joomla's system is deep, very deep..
(stolen from stackoverflow.com)
Example:
Hi mScott, Is this for Joonla or for Dolphin?
Thanks everyone for answering so far.
so much to do.... |
How does Dolphin generate its password? This way I could make a page that generates a correct string for putting it in the boonex database after the user logged in with their correct joomla pass |
Here are the 3 functions you need. It's a little confusing at first but it uses the genRndPwd function to generate the salt. Then takes that salt and the users password and runs it through encryptUserPwd to get the encrypted password. They are all located in /inc/utils.inc.php
// Generate Random Password function genRndPwd($iLength = 8, $bSpecialCharacters = true) { $sPassword = ''; $sChars = "abcdefghijkmnpqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789";
if($bSpecialCharacters === true) $sChars .= "!?=/&+,.";
srand((double)microtime()*1000000); for($i = 0; $i < $iLength; $i++) { $x = mt_rand(0, strlen($sChars) -1); $sPassword .= $sChars{$x}; }
return $sPassword; }
// Generate Random Salt for Password encryption function genRndSalt() { return genRndPwd(8, true); }
// Encrypt User Password function encryptUserPwd($sPwd, $sSalt) { return sha1(md5($sPwd) . $sSalt); } BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |