Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions

Closed Thread
 
Thread Tools Display Modes
  #11  
Old 08-16-2011, 03:04 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't disagree with anything anyone said above (specifically, I agree that it shouldn't be important enough to bother attempting it), but if you really want to play around, I was thinking this:

- create a temporary admin account with permissions to do what you need to do below, and log in to that account.
- create a new user that will become the current user 1's user
- merge user 1 to the new user (this deletes the current user 1)
- create a new user that will become your user 1 - note the id of this user
- go to the database and in tables user, userfield, and usertextfield (and administrator, if you made the new user in the previous step an admin), set userid = 1 where userid = the id from above.
- merge your current account to the user 1 account.
- delete the temporary admin account

I don't know how well this will work. The instructions for merging users says the "Posts, threads, calendar events, private messages, post count, reputation, contacts, friends and ignore list" will be merged, but I guess the profile information (and maybe other things I haven't thought about) will not be, so when you create the new users you probably want to copy as much of the profile info as you can. Also you'll have to give the displaced user 1 the new password you use when creating his new user.
  #12  
Old 08-16-2011, 06:09 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
I can't think of 1 mod hard coded to use userid 1 for anything, and if there was you shouldn't be using such a mod to begin with- god knows what other stupid things the coder may have done.
I have to say I totally agree with this statement. Any coder that hard-codes any mod to use userid 1 only, is doing something that is so far off the track, who knows what else they have done that will cause problems on down the line. I would avoid any mods like that as well as any coders that code something to that degree.
  #13  
Old 08-16-2011, 06:14 AM
CK CK is offline
 
Join Date: Dec 2007
Location: http://xenforo.com/
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you khpp, I'm going over your steps again and again in my head an I missing were do we keep the information of the user that currently resides as USERID1?

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

Quote:
Originally Posted by Boofo View Post
I have to say I totally agree with this statement. Any coder that hard-codes any mod to use userid 1 only, is doing something that is so far off the track, who knows what else they have done that will cause problems on down the line. I would avoid any mods like that as well as any coders that code something to that degree.
Remember foromail?
  #14  
Old 08-16-2011, 07:10 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CK View Post
Remember foromail?
Nope, sorry, can't say as I remember that. Was that a mod on here?
  #15  
Old 08-16-2011, 10:46 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CK View Post
Thank you khpp, I'm going over your steps again and again in my head an I missing were do we keep the information of the user that currently resides as USERID1?
The first merge will move all "Posts, threads, calendar events, private messages, post count, reputation, contacts, friends and ignore list" of the current USERID1 to the first new user you create. To keep the profile information you would have to reproduce it yourself. Maybe have two windows open and so you could look at the USERID1 info while creating the new user.

I think you could probably do this more completely and automatically by writing a script because then you could copy all the profile information (but of course that means doing some php programming).
  #16  
Old 08-16-2011, 02:34 PM
CK CK is offline
 
Join Date: Dec 2007
Location: http://xenforo.com/
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
The first merge will move all "Posts, threads, calendar events, private messages, post count, reputation, contacts, friends and ignore list" of the current USERID1 to the first new user you create. To keep the profile information you would have to reproduce it yourself. Maybe have two windows open and so you could look at the USERID1 info while creating the new user.

I think you could probably do this more completely and automatically by writing a script because then you could copy all the profile information (but of course that means doing some php programming).
I shall give this a go now that I understand the process a bit better, bit of lateral thinking on your part, hats off to you everyone else has posted how complicated the whole process would be.

I'm going to give this a go tonight and will post back the results.
  #17  
Old 08-16-2011, 02:41 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CK View Post
I shall give this a go now that I understand the process a bit better, bit of lateral thinking on your part, hats off to you everyone else has posted how complicated the whole process would be.
Thanks, I just thought you should have some kind of answer to the original question if I could think of one. But in defense of everyone else, this probably will not turn out to be a perfect solution (i.e. one that the current USERID1 wouldn't notice).
  #18  
Old 09-12-2011, 10:06 PM
CK CK is offline
 
Join Date: Dec 2007
Location: http://xenforo.com/
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
Thanks, I just thought you should have some kind of answer to the original question if I could think of one. But in defense of everyone else, this probably will not turn out to be a perfect solution (i.e. one that the current USERID1 wouldn't notice).
All sorted now BTW look

http://www.the-sps.org/members/chemicalkicks.1/

YAY
  #19  
Old 09-12-2011, 10:55 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CK View Post
Banned from vBulletin?
  #20  
Old 09-12-2011, 11:06 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Banned from vBulletin?
I show his avatar and sig as an ad for Xenforo. I'd ban him too if he came on my forum advertising a competitor.

Not to mention it seems way off topic.
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:35 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05244 seconds
  • Memory Usage 2,256KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete