vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   [HELP] Mod banned a member (https://vborg.vbsupport.ru/showthread.php?t=296411)

killerford 03-22-2013 10:12 PM

[HELP] Mod banned a member
 
A new guy on our forums as a mod on our forums and all of this guys threads he's soft deleted them and now the member is showing as Guest. The mod on our forums don't know what he pressed and now one of our main guy on our forums is showing as a guest and all his threads and posts and on soft delete.. How can i get it all back? Redo everything

Lynne 03-23-2013 12:03 AM

If a user is showing as Guest, then that means the user was deleted. The only way to get him back is by using a database backup from before this was done.

killerford 03-23-2013 12:06 AM

I've registered him back onto the forum. Is there a way of getting his stuff back from my backup files without doing anything? and just adding them to my server files?

Lynne 03-23-2013 01:49 AM

I do not have a query handy to do that, but I know I have seen it posted before (at least for the post and thread table). If I recall, the userid for the post/threadstarter will be 0, but the username will still have the users username there. So, your query needs to set the userid in the post and thread table (possibly attachment/filedata table also, which could get messy) to be the new userid WHERE username=username. So, try a search to find it.

peugeot405 03-23-2013 02:18 AM

If the posts are still existing you might be able to use one of following mods to change them to that user again.

Change Author And Creation Date Of Posts And Articles

Change Threads/Posts Owner/Date for vB4

killerford 03-23-2013 11:08 PM

Thanks for the links, Will try that out.

kerrghann 03-24-2013 03:02 AM

A few suggestions I can give are these:

1. Backup your database fairly frequently.
2. Make sure the mods you put in power know what they're doing and have good judgement.
3. Make a simple guide to help your mods find their way around the modcp so things like this don't happen as often.

Lynne 03-24-2013 04:22 PM

Also, check the permissions you have given your mods in Admincp > Forums & Moderators > Show All Moderators > Edit Permissions

killerford 03-26-2013 01:54 AM

Thanks for the replies guys, helps a lot. Will take a look at these.

M.C. 03-26-2013 06:42 AM

My way of doing that:

Go to your phpMyAdmin
Open your DB and go to "post" table
Find any post your user did (you can do it by "postid" or any other creteria)
There are "Username" and "userid" columns - you need to remember them.
Then go to "user" table, find your new created user (usualy at the very end of table)
Click "Edit" and change his new "Username" and "userid" with old one from "post" table
Save

Now you can go in your Admincp and find all soft deleted posts by username and recover them ;)

No need to roll back your database.


All times are GMT. The time now is 05:02 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.00937 seconds
  • Memory Usage 1,725KB
  • 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
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete