Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Auto Purge Threads Details »»
Auto Purge Threads
Version: 1.05, by Seductor Seductor is offline
Developer Last Online: Oct 2013 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.x.x Rating:
Released: 12-09-2011 Last Update: 06-02-2012 Installs: 74
Re-useable Code Additional Files Translations  
No support by the author.

What does this hack do ?
This tool is based on Auto Delete/Move tool by HaMaDa4eVeR for vBulletin 3.6.4.

This hack can delete the threads that was created before X days in your specific forums or it can move threads to specific(Archive) through scheduled task.

Features:
Turn On the plugin
Turn On/Off Move system.
Turn On/Off Delete system.
Specific forums for move and delete.
Specific "Archive Forum".
Protected Users.
Delete Type (soft/hard).
Automatically update counters.
Choose to delete/move stickies.
Set how old must a thread be.
NO Code Modifications needed!

Installation:
1. Unzip the download package and copy the contents of the folder UPLOAD to your forum root
2. Go to the VB AdminCP->Plugins & Products click "Manage Products". Then click
"Add/Import Product" at the bottom of the page.
3. Click "Browse" button and point to the installation XML file included in this ZIP package.
4. Click "Import"
5. Once the gallery import is complete, you can setup your Auto Purge. Go to VB AdminCP -> Options -> Auto Purge Threads to setup the Auto Purge.
Also, you can change the cron setup in the task manager.

NOTE:
The default settings are:
- Soft delete for the threads that have been created before 15 days ago.
- Protected user that have id 1 & 2.
- It will running everyday at 5.00 AM.

Updates:

-------
v1.00
It is now vBulletin 4.x.x compatible.
Cron task added successfully. Removed some old SQL queries.
Removed the zero replies thread search.
Spanish translation added.

v1.01
You can set if you want to remove stickies.
If you move your threads, you can set if you want to unstick them if they are sticky.
XML tidied.

v1.02
You can set if you want to manually update your forum counters.
PHP tidied and optimized.

v1.03
Now you can move and/or delete different forums.
v1.03b
Fixed a MYSQL error.
v1.03c
Fixed a bug related to Protected users.

v1.04
Fixed a bug (thanks gocreate).
You can set if you want to remove locked threads.
You can set if you want to remove only threads without replies that match your other conditions.

v1.04b
Now you can protect some threads from moving/deletion.

v1.04d
Some bugs fixed.

v1.05
You can send PM when AutoPurge finish its work.

Next updates:
(sighs)

Special thanks to BirdOPrey5

Any donation?
I'm not begging but If you want, I would be glad to receive a small donation. There are 4.4 million unemployed in my country and It is hard to be employed.

Download Now

File Type: zip AutoPurge_1.0.0.zip (3.7 KB, 54 views)
File Type: xml autopurge_1.0.0_es.xml (4.9 KB, 31 views)
File Type: zip AutoPurge_1.02.zip (4.0 KB, 31 views)
File Type: xml autopurge_1.0.3_es.xml (6.3 KB, 31 views)
File Type: zip AutoPurge_1.03c.zip (5.8 KB, 66 views)
File Type: zip AutoPurge_1.04.zip (6.1 KB, 28 views)
File Type: zip AutoPurge_1.04d.zip (7.0 KB, 49 views)
File Type: zip AutoPurge_1.05.zip (10.9 KB, 356 views)

Screenshots

File Type: png autopurge.png (136.2 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
BCP Hung, Klangfuzzi

Comments
  #52  
Old 01-02-2013, 01:28 PM
Markco Markco is offline
 
Join Date: Oct 2005
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am using version vb4.20pl3 and 1.5 plug-in do not work automatically, work manually, no error message.
Reply With Quote
  #53  
Old 01-17-2013, 10:38 AM
Barbara1 Barbara1 is offline
 
Join Date: Jun 2010
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

4.2.0 PL3 (test forum- closed to public and almost duplicate of the live forum). i have edited the settings the way i wanted them, i pressed the "run now" from task manager, but instantly i got the message "Done" and nothing happened.
i think i am missing something. any ideas?

edit: at the task manager everything about the hack's settings is with an asterisk. dunno if this has to do with the "run now" option
Reply With Quote
  #54  
Old 01-30-2013, 02:22 PM
Big-Pete Big-Pete is offline
 
Join Date: May 2009
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anychance of this being updated to work with vB4.2 ??
Reply With Quote
  #55  
Old 01-31-2013, 07:53 AM
Markco Markco is offline
 
Join Date: Oct 2005
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Markco View Post
I am using version vb4.20pl3 and 1.5 plug-in do not work automatically, work manually, no error message.
The cron works fine but not of log in Control Panel Log Viewer while Log Entries is yes !!!
Reply With Quote
  #56  
Old 02-27-2013, 07:09 PM
vicius_the_one vicius_the_one is offline
 
Join Date: Dec 2010
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone can make me understand please ? : is it working to move/delete threads after x days of inactivity ? That is all I want
Reply With Quote
  #57  
Old 03-11-2013, 08:16 AM
Klangfuzzi Klangfuzzi is offline
 
Join Date: Feb 2013
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

May I suggest an additional feature?
To make this mod perfect fitting for my forum, it would need the option:
"Move threads with no activity for x days"
Means. No Post since x days
Reply With Quote
  #58  
Old 05-14-2013, 12:43 PM
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see many questions and issues above... does that imply that the mod doesn't work??

did anyone test it on vb4.2??

I will try that as well if I finish my updates...
Reply With Quote
  #59  
Old 06-11-2013, 04:20 AM
maisev maisev is offline
 
Join Date: Apr 2012
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fxdigi-cash View Post
I see many questions and issues above... does that imply that the mod doesn't work??

did anyone test it on vb4.2??

I will try that as well if I finish my updates...
It is working on vb 4.2.1
Reply With Quote
  #60  
Old 07-06-2013, 01:01 AM
adwade adwade is offline
 
Join Date: Aug 2006
Location: SouthEast, TN
Posts: 323
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Seductor View Post
I think it could work properly in 3.8.X, but I didn't test it.
Two quick questions:
1)Has anyone tried this version with vB 3.8.x
2)Rather than the Protected Users feature, would it be possible to tweak a line or two of code and change it to function against only Targeted Users?

Allow me to explain...
We have a NewBot that automatically posts stories (via an RSS feed) and I am hunting for a way to automatically delete old stories off the board.(i.e. say after they're 1yr old) So rather than Protecting certain users, I would like to be able to run this MOD and have it ONLY function against our NewsBot's threads.
Reply With Quote
  #61  
Old 07-06-2013, 04:55 PM
Seductor Seductor is offline
 
Join Date: May 2011
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry guys, it should be working for 4.2.1. I'll try to improve this plugin soon
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 11:31 PM.


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.11096 seconds
  • Memory Usage 2,345KB
  • Queries Executed 26 (?)
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
  • (3)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
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (9)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete