Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Restore Posts and Threads of Deleted User. (New Version) Details »»
Restore Posts and Threads of Deleted User. (New Version)
Version: 1.00, by borbole borbole is offline
Developer Last Online: Oct 2015 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.1.x Rating:
Released: 02-24-2010 Last Update: 04-22-2012 Installs: 87
DB Changes Uses Plugins
Additional Files  
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Filgga

Comments
  #82  
Old 10-07-2011, 12:10 PM
mavherzog's Avatar
mavherzog mavherzog is offline
 
Join Date: Dec 2004
Location: Columbus, WI
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting behavior I observed with this tool.

Installed and it worked as advertised...but post-installation, threads loaded ridiculously slow. In fact, it effectively shutdown the site. I have no idea why, but when I removed the product, this was resolved.

I can recreate this issue at will. Has anyone else seen this?
Reply With Quote
Благодарность от:
MediaHound
  #83  
Old 01-08-2012, 03:10 PM
MediaHound MediaHound is offline
 
Join Date: May 2004
Location: Florida
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do not leave this mod installed, it will cripple your site.
It constantly runs queries to set userids against usernames as has been mentioned already on the thread.
This mod needs to be removed from here.
Reply With Quote
  #84  
Old 01-08-2012, 04:56 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MediaHound View Post
Do not leave this mod installed, it will cripple your site.
It constantly runs queries to set userids against usernames as has been mentioned already on the thread.
This mod needs to be removed from here.
I do not know how your eyesight is pal, but before you download and use a mod, read the description first. It says right there with bolded and capital text as well:

Then after you are done restoring the deleted user/s, DISABLE it.

It can''t be clearer than that.
Reply With Quote
  #85  
Old 01-08-2012, 07:19 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Then after you are done restoring the deleted user/s, DISABLE it.
Ouch! I saw that, but wasn't sure why you would want to disable a user after you just restored it. It didn't matter to me since I didn't actually need to restore anyone at the time.

So I vote YES it can definitely be made clearer. e.g. A line at the beginning of the installation instructions: "This mod should normally be disabled. Only enable it long enough to restore a member." Then at the end another line: "Now disable the mod and only enable it long enough to restore a member."
Reply With Quote
Благодарность от:
MediaHound
  #86  
Old 01-08-2012, 08:39 PM
MediaHound MediaHound is offline
 
Join Date: May 2004
Location: Florida
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol @ editing the knee-jerk reaction post:
"I will be blunt here. I do not know how your eyesight is pal, but before you download and use a mod, read the description first before throwing tantrums like a drama queen. It says right there with bolded and capital text as well: *Then after you are done, DISABLE it. *
"
You might want to clarify your instructions and explain to people why they should disable it. Like Videx said I am not the only one and there are plenty of other people who have complained in the thread.
I'm personally throwing a tantrum because your horrible modification left my board sucking resources for quite some time before I narrowed it down to you. You should go as far as to putting a warning into the header, visible to admins, that the mod needs to be disabled, and a link to easily do that. I stand by my position that this modification should be pulled from vbulletin.org until you patch it.

You also wrote:
"I do not know how your eyesight is pal, but before you download and use a mod, read the description first. It says right there with bolded and capital text as well:

Then after you are done restoring the deleted user/s, DISABLE it.

It can''t be clearer than that."

Of course it can be made clearer. Stop clowning around.
Reply With Quote
  #87  
Old 01-13-2012, 11:44 PM
lovevn lovevn is offline
 
Join Date: May 2004
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone use this mod with vbulletin 4.1 ? I installed and tried to restore the threads and posts it said everything ok but after update counter the new user's post& thread is still 0 post.
Reply With Quote
  #88  
Old 01-14-2012, 04:29 PM
zelnik zelnik is offline
 
Join Date: Aug 2008
Posts: 374
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi borbole,

I'm hoping you can help me, I've installed this on my test site running 4.1.10 or whatever the new version is

I can restore old posts/threads to a new users, that seems to work.

However when I get their user info profile and search for threads and posts by that user nothing comes up?

I've reset all the counters as described.

PS: I should say the post count display on the postbit seems to be correct for the user, but nothing when you search for new posts or threads
Reply With Quote
  #89  
Old 01-28-2012, 06:05 PM
steveinid steveinid is offline
 
Join Date: Apr 2008
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed and ran this. It worked, but I had to go and delete all users entries in the blog portion of the cms. When I went to the blogs it gave me a fatal error. I went in phpmyadmin and saw that the users old userid was still assigned to the blog entry. I changed the old id to the new id. That didn't work... still got a fatal error. I deleted the blog entries for the user and all is back to normal... I HOPE.
Reply With Quote
  #90  
Old 01-28-2012, 08:22 PM
14DH01 14DH01 is offline
 
Join Date: Sep 2010
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mod very best
i love you
Reply With Quote
  #91  
Old 02-13-2012, 10:26 PM
Altari Altari is offline
 
Join Date: Sep 2011
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't use this mod on a big forum.
Mine is about 1 000 000 posts and there was 300 online users : i enabled it and forums came out of control, with only server errors because this mod execute an ugly sql request each time postbit_display_complete is called --> SQL crash alone, can't disable it.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:54 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04868 seconds
  • Memory Usage 2,300KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete