vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Merge user account (dupes) (https://vborg.vbsupport.ru/showthread.php?t=46880)

Sasq 12-20-2002 10:00 PM

Merge user account (dupes)
 
I am not offering support for this hack

This is a quick little script to be installed only into your admin dir (and best removed when its not needed)

most of the info came from this thread thanks to nightrider72 .

install and use instructions are ...

install into your admin dir,
to use it...
make sure your logged in....
you will need the user id of both accounts, the primary account is the one you wish to keep.

the secondary id number is the account that you wish to make go away....

submit, it will check the db for the user names and display both names and id, if yes, click, if its wrong back out of there.

when you click yes, it updates the posts, threads, pm's subscribed forums etc... it also updates the post count for both users... (ie the primary user inherets all of the posts, and the secondary user should have nothing)

there is very little error checking in this script, and use at your own risk.

It is working fine here - even if it is a little brutal, but saves the need to shell in and access the db that way (or use phpmyadmin)

AGAIN, USE THIS AT YOUR OWN RISK

Dean C 12-21-2002 04:46 PM

This is quite a nice little hack...

- miSt

Herman 12-21-2002 10:18 PM

Indeed it is, I think I'll beta test it for you. :)

[high]* Herman clicks install[/high]

Sasq 12-22-2002 02:20 AM

Hope it works as it does here :)

Dan

Herman 12-22-2002 01:49 PM

It works over here, nice work Sasq!

-Shift

EcpHosting 12-22-2002 06:16 PM

Excellent hack! We had the old nasty phpBB and upgraded to a VB and accidently created a dupe user (admin). Erg. BUT THIS HACK SOLVED IT! Thank you kindly. :D

Sasq 12-22-2002 11:22 PM

I'm glad to hear that its useful :D

DrkFusion 12-23-2002 02:08 AM

Looks neat, I may use it on my gc.

Thanks

orozery 12-26-2002 09:30 AM

Thank you very much! works great!

fury 12-29-2002 05:46 AM

Nice idea! I'll take a look at it tomorrow.

It's something I've been considering doing myself for a while, thanks for doing the work :D


All times are GMT. The time now is 12:34 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.01061 seconds
  • Memory Usage 1,726KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete