vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Swapping USERID (https://vborg.vbsupport.ru/showthread.php?t=268573)

CK 08-15-2011 12:58 PM

Swapping USERID
 
I was advised via support to post for help here, I'll preface by saying that I'll be doing this on a backup as proof before trying anything on the board.

So I'm running vBulletin 4.1.5 and I would like to swap two existing USERID's. If anyone could advise of a step by step that I could try out I would be eternally grateful.

vbresults 08-15-2011 02:06 PM

I misunderstood what you were trying to do; never mind.

CK 08-15-2011 02:12 PM

Bugger, thank you anyway.

Videx 08-15-2011 06:52 PM

You can't swap IDs, but you can change names. Swap names, swap IDs.

Agree you really need to tell us what you're trying to accomplish if you want a more meaningful answer.

CK 08-15-2011 09:32 PM

Quote:

Originally Posted by Videx (Post 2233867)
You can't swap IDs, but you can change names. Swap names, swap IDs.

Agree you really need to tell us what you're trying to accomplish if you want a more meaningful answer.

Basically I'm not USERID 1.

I would like my username to be associated with USERID 1, so I need to swap everything I've ever posted to show up as USERID 1 and the member that had populated as USERID 1 I would like to swap to my current USERID.

I hope that makes sense :) I'm not very good at explaining.

Zachery 08-15-2011 09:51 PM

Don't, its not worth the trouble.

CK 08-15-2011 10:26 PM

Quote:

Originally Posted by Zachery (Post 2233916)
Don't, its not worth the trouble.

I understand that's the general feeling but if it's all the same I would really appreciate it if someone would explain the steps I would take and I'll try it out on a backup of the DB.

DivisionByZero 08-15-2011 10:53 PM

Do you have any idea what an undertaking that is?

First, you'll have to shut down the board (if it's a busy one), then wipe the caches and manually edit all sorts of fields in dozens of tables.

What's so important about being #1 anyway? What I do with my boards, when I install them, is.... just before the installation step where you enter the first user details (usually admin), I set the auto_increment to 1000001. Kinda like the facebook way.

Optionally, get vbseo and then nobody will see the parameters in the browser anyway.

CK 08-15-2011 11:24 PM

Well I'm converting away from vBulletin in the next 2 weeks.

I have ran into problems with mods being hardcoded to have the admin set as 1, I'm just trying to cover all future bases.

I perhaps had the misguided idea that I would be able to run various SQL queries that would do the changing like black magic.

My database is backed up every 4/5 hours and it's never down for that so I don't perceive that to be an issue. This topic always seems to get smacked down, I've seen people post that they've done it but I've ever seen any step by step instructions.

BirdOPrey5 08-16-2011 01:32 AM

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.

Have you considered merging your account into userid1 and then taking over the account?


All times are GMT. The time now is 12:18 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.01117 seconds
  • Memory Usage 1,727KB
  • 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
  • (2)bbcode_quote_printable
  • (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