vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Administrative and Maintenance Tools - Restore Posts and Threads of Deleted User. (https://vborg.vbsupport.ru/showthread.php?t=242229)

borbole 05-09-2010 10:00 PM

Restore Posts and Threads of Deleted User.
 
1 Attachment(s)
Has it ever happen to you when a user in a moment of angry deletes his/her account and later comes back? Or his/her account was deleted by the evil admin and all his/her posts appear as guests? If it has happen, then this mod is for you.

With this mod you can assign back his/her posts and threads. All the user has to do is to register again, be that with the same username as before or a new one. Then you can reassign back all their posts.

I know that this can be also done with a query at phpmyadmin, but this mod is meant to make it easier for those that are not so tech swavy and are not familiar with phpmyadmin and are afraid of messing things up.

Installation:

To install the mod, upload the includes folder to your forum root folder and then import the Restore Posts And Threads.xml file inside the mod package to Plugins&Products in the acp of your forum. Then go to the mod setting option: Restore Deleted User. It can be found on the left side of the Admin Panel, right above the Maintenace section. And enter the information accordingly.


Note: After assigning the posts and/or threads, go to: Admin CP -> Maintenance -> Update Counters and run the Rebuild Thread Information, Rebuild Forum Information, Update User Names, Update Post Counts.

Note, before you run the last option ( Update Post Counts), read the description under the title.

laztrix 05-17-2010 12:23 AM

I was just looking for something like that and tested it so far so good.
Great job.

borbole 05-17-2010 10:39 AM

Thank you for your feedback :)

Dj Smuggla 06-01-2010 01:36 PM

Thanks m8, this looks like a great mod...

Installed

funmasti 06-02-2010 05:20 AM

its a great mod. now we can tens- free while deleting any thread

borbole 06-02-2010 01:50 PM

Glad that you guys like it :)

Peter_AUS 06-05-2010 05:56 AM

Thanks have wanted something like this for a while, and now will be able to test it out as well. Will report back any issues.

Floris 06-05-2010 06:03 AM

Quote:

Originally Posted by funmasti (Post 2046903)
its a great mod. now we can tens- free while deleting any thread

You can not "delete" a user when deleting a thread/post. It's a separate function from the admincp to prune an account.

Sweeks 06-08-2010 01:22 PM

Is it 100% necessary to run the last option, if you dont would that mean the reassigned user wont have a post count for all their posts? If so, couldnt we just view all posts by the user and stick in their post count from there?

Thanks.

borbole 06-08-2010 02:34 PM

I guess you can do it like that as well by entering the post count manually at their profile when editing the user in your Acp.


All times are GMT. The time now is 10:23 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.01416 seconds
  • Memory Usage 1,729KB
  • 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)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