vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Merge tool for 'imported_<user>" to "user" (https://vborg.vbsupport.ru/showthread.php?t=189241)

Floris 08-27-2008 05:40 AM

Merge tool for 'imported_<user>" to "user"
 
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?


All times are GMT. The time now is 09:57 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01021 seconds
  • Memory Usage 1,708KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete