PDA

View Full Version : Merge tool for 'imported_<user>" to "user"


Floris
08-27-2008, 05:40 AM
Hi there,

vB has the functionality to merge imported_user with user.
But since I recently obtained about 5 .sql dumps from various sites I acquired I have about 10K+ imported_ users that didn't merge properly because of mismatching emails. However, a lot of them are actually that user and we wish to have some sort of mass merge tool.

Would it be possible for someone to be so kind to write some sort of script that I could run on the database that searches for certain conditions? Such as if the password hash is the same and username is spelled the same (minus the imported_ part; including capitalization) then assume the account is from the same user and merge it.

Things like that..

Marco van Herwaarden
08-27-2008, 06:05 AM
Password hash the same doesn't mean a thing unless the salt is identical i guess. So you only have the username. Now how to determine which email address to use, how do you figure that?

Floris
08-28-2008, 08:40 AM
I can assume the imported_ is old and the current user is new.

Dr.Absolute
09-07-2008, 04:06 AM
Can someone make an import tool besides impex for merging 2 vbulletins?

Marco van Herwaarden
09-07-2008, 08:39 AM
How does this question relate to this thread? Also why would anyone want to reinvent the wheel?