vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Un-Delete A User... (https://vborg.vbsupport.ru/showthread.php?t=82752)

trevelyn1015 06-09-2005 08:09 PM

oh...

and what does that mean?

haha

Andreas 06-09-2005 08:14 PM

That does mean that you have to put your table prefix in front of user, userfield and usertextfield in the queries I posted :)
I don't know what your table prefix is - you must know that as it is your installation.
(Can be found in config.php => $tableprefix)

trevelyn1015 06-09-2005 08:25 PM

$tableprefix = 'forum2_';

Andreas 06-09-2005 08:50 PM

Then put forum2_ in front of user, userfield and usertextfield in the queries I posted.

trevelyn1015 06-09-2005 09:01 PM

ok, i did them all...

and they all worked...

now he is userid 509... but how do i assign all of those "guest" posts to that username?

Andreas 06-09-2005 09:18 PM

ACP / Import & Maintenance / Update Counters - if the posts still carry his userid
If not you must assign it.

trevelyn1015 06-09-2005 09:36 PM

yeah, the posts no longer carry his userid...

his name had been deleted...

and i can't do anything to a "guest", can i?

Andreas 06-09-2005 09:41 PM

Then
[sql]update forum2_post set userid=509 where username='D.'[/sql]

You must also do this for Threads, PMs and Usernotes

trevelyn1015 06-09-2005 10:07 PM

oohhhhhhh....

you are the man, kirby! :)

khaales 05-06-2008 01:38 PM

hello Andreas

and tanx for your good guide for this important problem
i has same prob and i do from your posts one by one. now my deleted user is alive again and his posts are linked to his name and user name... but some problem:

1- what do you mean "You must also do this for Threads, PMs and Usernotes"
I put "Threads, PMs and Usernotes" in place of "post" in your last SQL Query but it has error and say the thread have not user name or something like this

2- His number of posts and thanks and thanked and ... is still 0 from wher i can update them. i was update some thing in ACP but not effected!

thank you very much


All times are GMT. The time now is 10:58 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.01001 seconds
  • Memory Usage 1,723KB
  • 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
  • (1)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