vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   how i can change the user id (https://vborg.vbsupport.ru/showthread.php?t=50230)

meCOOL 03-15-2003 09:28 PM

how i can change the user id
 
hi

i want to know how i can change the user id becouse i have a user have id 2 and he dont join my forum from 6 month or more and i want to give it to anther one

i try to change it from the database in userid but he change the name also

so if someone know it i hope he will help me

filburt1 03-15-2003 09:48 PM

It's doable but can cause more problems than it will fix. I wouldn't recommend doing it.

note to hackers: I'm referring to dropping the auto_increment and then readding it :)

Chris Gwynne 03-16-2003 12:17 AM

Heh, I remember when I wanted to do this. It's a looong process and it'll most likely mess up like filburt said :p ... NOT recommended.

DrkFusion 03-16-2003 01:00 AM

Isn't there a query, that will reorganize the auto_increment?

For instance, few days ago in userids, I had only 2 members on a test board, but every new user had a userid of 20022+. I am not even sure what I did, but it reorganized the autoincrement, and made it start from the latest smallest figure, but this required me to delete new entries.

filburt1 03-16-2003 01:14 AM

That's what I'm talking about but every other table will be completely screwed up with the new userid associations. There's no reason to fill in the gaps.

Erwin 03-16-2003 03:27 AM

Instead of changing userid, just change username and password. Then, use the "ezboard" hack released here to associate the username to the other username's posts. It works.

meCOOL 03-16-2003 10:09 AM

i try it but its not working

i do everything but the script change the name but the posts still the same


All times are GMT. The time now is 05:18 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.01039 seconds
  • Memory Usage 1,716KB
  • 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
  • (7)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