vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Mass-merging user accounts - how? (https://vborg.vbsupport.ru/showthread.php?t=175617)

tobias_t 04-09-2008 12:31 PM

Mass-merging user accounts - how?
 
Hi everybody,

For reasons that are too complex to describe here, we have a large number of forum accounts that share e-mail addresses (mostly in pairs of two). We need to resolve this for a planned forum upgrade that requires every account to have a unique email address.

We now want to batch-merge these "twin accounts" according to certain criteria, so that for example the account with the higher post count (or the more recent "last activity" date) absorbs the posts of the other account, which then gets deleted.

The existing merge function obviously doesn't help here. Any hint on how to solve this would be very appreciated!

Best, Tobias

Dismounted 04-09-2008 01:08 PM

The only way you can get this automated is by coding a script yourself, or having someone code it for you. This may have a large impact on the server though during the process. You would have to query the fetch who needs to be merged, and replicate the merge function.

tobias_t 04-09-2008 01:41 PM

Thanks! I will pass that on to our database experts.

--------------- Added [DATE]1207753901[/DATE] at [TIME]1207753901[/TIME] ---------------

Any hint on in which vbulletin script to look for the original merge function?

--------------- Added [DATE]1207754158[/DATE] at [TIME]1207754158[/TIME] ---------------

Never mind, I found it.


All times are GMT. The time now is 09:40 AM.

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.00941 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
  • (3)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