vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=236861

Restore Posts and Threads of Deleted User. (New Version)
by borbole
25 Feb 2010 12:42

2 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 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 25 Feb 2010 12:48

woot first!

woooot second....
by princeedward
25 Feb 2010 13:09

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 25 Feb 2010 14:05

thanks will use that now hope it works ?

edit yes it worked for me voted nominated

borbole 25 Feb 2010 14:14

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 26 Feb 2010 11:53

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 26 Feb 2010 14:38

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 26 Feb 2010 14:43

looks like the same problem for me my db has increased

borbole 26 Feb 2010 15:21

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 26 Feb 2010 15:55

Quote:

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

about 6000

borbole 26 Feb 2010 16:16

Quote:

Originally Posted by steve1966 (Post 1992048)
about 6000

Maybe that is why. When you ran the update counter it increaed the db size. I just tried it with 1000 posts right now and the db size remained intact.

steve1966 26 Feb 2010 17:32

Can this cause a problem for my forum

borbole 26 Feb 2010 17:49

Not at all. All it does is run a query that reassigns back the posts of deleted user. Don''t worry.

steve1966 26 Feb 2010 18:02

Hi ok thanks

IRANCITY 27 Feb 2010 08:27

greats work


All times are GMT. The time now is 15:31.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.