vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Userid modification (https://vborg.vbsupport.ru/showthread.php?t=106064)

ben_erhan 01-23-2006 01:45 AM

Userid modification
 
When I setup the forum,I have made some test.I deleted some usernames and these users ids are the firsts.
But now My admins want these user id numbers.
for example userid=2 does not exist.How can I change 143 to 2 and 228 to 3.

Now the userid 3 exists.
I am waiting your reply?

GTAce 01-23-2006 01:47 AM

Do you know how to edit the database directly? If so, you can do it there by editing the _user table

ben_erhan 01-23-2006 01:50 AM

Yes you can say the reply.I can make this.

Evil X 01-23-2006 02:17 AM

if you have phpmyadmin you can do it real easily

ben_erhan 01-23-2006 02:32 AM

I have tried,
But I can not find any messages and threads of the users.Also private messages.
In my opinion it does not happen with changing only userid.Maybe we must change threads and messages options.
If there is anybody knows I hope he writes

Marco van Herwaarden 01-23-2006 11:18 AM

Just 1 advice: Don't even try this, it is far more complicated then just changing the value in a table.

Besides there is no reason at all. The userid is just an internal number without a meaning.

ngocha85 10-11-2006 05:22 PM

Quote:

Originally Posted by Marco van Herwaarden
Just 1 advice: Don't even try this, it is far more complicated then just changing the value in a table.

Besides there is no reason at all. The userid is just an internal number without a meaning.

without a meaning? i don't think so!
i have a forum, 1 month ago, hacker created user with user ID = 1111111.
And now, sometime i must update counter (Update User Titles and Ranks, Update Post Counts,...), process --> long time!!:confused:

sorry for my ENGLISH!

But, can you help me?

ngocha85 10-12-2006 05:22 PM

bump

ZacUSNYR 10-12-2006 05:50 PM

Create a new user - manually change that ID to the one you want and then merge the two users together.

But as suggested before - don't bother. A lot of features are tied to userid in vB - if you change a userid directly on an active user - you'll be getting SQL errors or posts showing up as a guest.


All times are GMT. The time now is 08:05 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.00951 seconds
  • Memory Usage 1,720KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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