Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Auto Delete/Move Thread After X days Details »»
Auto Delete/Move Thread After X days
Version: 1.00, by HaMaDa4eVeR HaMaDa4eVeR is offline
Developer Last Online: Nov 2012 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.4 Rating:
Released: 02-16-2007 Last Update: Never Installs: 121
 
No support by the author.

What does this hack do ?
This is second version of Auto Delete/Move Hacks, this hack can delete the zero post threads that was created before X days in your specific forums or it can move the zero post threads to specific(Archive) through scheduled task, by defualt delete the zero post every ten days, sure you can change the period as you want,
this is where the Auto Delete After X Days comes in handy!

Features:
  • Turn On/Off system "All system".
  • Turn On/Off Move system.
  • Turn On/Off Delete system.
  • Specific forums "this hack will work on this forums only".
  • Specific forums " Archive Forums".
  • Protected Users.
  • Delete Type (soft/hard).
  • Created days.
  • NO Code Modifications needed!

Install instructions:

1- Upload the file to forum/includes/cron.
2- Import the Product XML file through your Admincp.
3- Enjoy.

NOTE:
Do not forget to review the hacks options in vBulletin options under "Auto Delete/Move After X Days " to set it as you want, the defualt setting are:-
- Soft delete for the threads that have zero replay and created before 30 days ago.
- protected user that have id 1 & 2.
- it will running every ten days.
- check the attachments.


that's all
Any questions, comments, suggestions, pleaes let me know

Enjoy!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-17-2007, 11:50 AM
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Posts: 724
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome! I think I might just have a use for this...

[high]* projectego clicks install[/high]
Reply With Quote
  #3  
Old 02-17-2007, 04:19 PM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way so I can set the time I want for specific threads?
Reply With Quote
  #4  
Old 02-17-2007, 05:29 PM
SCRIPT3R SCRIPT3R is offline
 
Join Date: Jan 2005
Posts: 1,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you set this up without any delete options? i just want to have threads moved to a new section after however many days.
Reply With Quote
  #5  
Old 02-18-2007, 12:32 AM
FunaGuy's Avatar
FunaGuy FunaGuy is offline
 
Join Date: Dec 2005
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can u make it also for move closed thread after X days... ?
Reply With Quote
  #6  
Old 02-18-2007, 06:18 AM
HaMaDa4eVeR's Avatar
HaMaDa4eVeR HaMaDa4eVeR is offline
 
Join Date: Jun 2004
Location: Sudan
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Is there a way so I can set the time I want for specific threads?
you can specific forum only,
Quote:
Can you set this up without any delete options? i just want to have threads moved to a new section after however many days.
Quote:
Can u make it also for move closed thread after X days... ?

sure you can
User the delete thread or move the read or the both
Reply With Quote
  #7  
Old 02-18-2007, 06:56 AM
SCRIPT3R SCRIPT3R is offline
 
Join Date: Jan 2005
Posts: 1,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

suggestions...

ok, so delete type will only correspond w/ Auto Delete Thread After X days; could you move the Delete Type menu selection to within the Auto Delete Thread After X days fieldset.

could you set this up for multiple forums/archives; ie: Effected Forums A = Archive Forum A & Effected Forums B = Archive Forum B and so forth?
Reply With Quote
  #8  
Old 02-18-2007, 10:42 AM
Barteken Barteken is offline
 
Join Date: Feb 2006
Location: Belgium
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

could you make it with inactive threads, because its kinda useless moving a thread that is still active. It should be handy that when a thread is inactive and X days old is moved to an archive forum...

Grtz
Reply With Quote
  #9  
Old 02-19-2007, 01:50 AM
FunaGuy's Avatar
FunaGuy FunaGuy is offline
 
Join Date: Dec 2005
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HaMaDa4eVeR View Post
you can specific forum only,



sure you can
User the delete thread or move the read or the both
Its moved all unreplied threads to Archive

I mean to say I want Its Move all closed threads to Archive not Unreplied
Reply With Quote
  #10  
Old 02-19-2007, 09:19 AM
HaMaDa4eVeR's Avatar
HaMaDa4eVeR HaMaDa4eVeR is offline
 
Join Date: Jun 2004
Location: Sudan
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
suggestions...

ok, so delete type will only correspond w/ Auto Delete Thread After X days; could you move the Delete Type menu selection to within the Auto Delete Thread After X days fieldset.
OK, I'll do it in next relase,
now you all (effected forums) >>> (archive)

Quote:
could you make it with inactive threads, because its kinda useless moving a thread that is still active. It should be handy that when a thread is inactive and X days old is moved to an archive forum...
to do that you should change the /cron/cronautodelete.php file in line 31 :
find:
Code:
AND `replycount` = '0'
just delete it and it will delete/move the threads that created before X days ago.
Quote:
I mean to say I want Its Move all closed threads to Archive not Unreplied
It need small change in mysql query,
to do that you should change the /cron/cronautodelete.php file in line 31 :
find:
Code:
AND `replycount` = '0'
replace it with:
Code:
AND `open` = '0'
Best Regards
Reply With Quote
Reply


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 04:53 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.07408 seconds
  • Memory Usage 2,297KB
  • Queries Executed 23 (?)
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_code
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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