vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - Restore Posts and Threads of Deleted User. (New Version) (https://vborg.vbsupport.ru/showthread.php?t=236861)

borbole 02-24-2010 10:00 PM

Restore Posts and Threads of Deleted User. (New Version)
 
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 admincp and includes folders to your forum root folder maintenaning the structure intact and then import the Restore Posts And Threads.xml file inside the mod package to Plugins&Products in the acp of your forum.

To make use of the mod go to the Maintenance area at your acp, click the drop down list and you will see a new option added called: Restore Deleted User. Click on it and configure it accordinly.


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.




If you will need support with this mod, then please post at the mod thread at my forum. Thanks :)

http://www.forumservices.eu/vb/showt...f-Deleted-User

NiTRoN 02-25-2010 11:48 AM

woot first!

princeedward 02-25-2010 12:09 PM

NICE ONE! ...or can you please create too the same mod as to transfer thread/post to another users...meaning

Change Threads/Posts Owner

LIKE THIS ONE!

well gonna try this might useful or need it later.....

thanks and best regards

:p:up:

steve1966 02-25-2010 01:05 PM

thanks will use that now hope it works ?

edit yes it worked for me voted nominated

borbole 02-25-2010 01:14 PM

Quote:

Originally Posted by NiTRoN (Post 1991191)
woot first!

Thanks for marking it as installed.

Quote:

Originally Posted by princeedward (Post 1991203)
NICE ONE! ...or can you please create too the same mod as to transfer thread/post to another users...meaning

Change Threads/Posts Owner

LIKE THIS ONE!

well gonna try this might useful or need it later.....

thanks and best regards

:p:up:

That seems like it will require some work and I don''t have so much free time now to spend into creating bigger mods.

Quote:

Originally Posted by steve1966 (Post 1991240)
thanks will use that now hope it works ?

It will work. I have tested it thoroughly multiple times before submitting it.

samiro 02-26-2010 10:53 AM

Be careful when you install this script
my DB was 300 MB
now it increased to 900 MB

The support of my hosting are trying to help me and nothing worked.
For some reason this script increased the DB
My site is slow now.

Suddenly need a lot of RAM

borbole 02-26-2010 01:38 PM

Quote:

Originally Posted by samiro (Post 1991910)
Be careful when you install this script
my DB was 300 MB
now it increased to 900 MB

The support of my hosting are trying to help me and nothing worked.
For some reason this script increased the DB
My site is slow now.

Suddenly need a lot of RAM

How many posts were restored when you used this mod? The mod itself doesn''t affect the db in that way. It simply runs the query needed to assign back the posts of the deleted user.

steve1966 02-26-2010 01:43 PM

looks like the same problem for me my db has increased

borbole 02-26-2010 02:21 PM

Quote:

Originally Posted by steve1966 (Post 1992005)
looks like the same problem for me my db has increased


How many posts were restored when you used this mod?

steve1966 02-26-2010 02:55 PM

Quote:

Originally Posted by borbole (Post 1992032)
How many posts were restored when you used this mod?

about 6000


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