vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - Auto Delete/Move Thread After X days (https://vborg.vbsupport.ru/showthread.php?t=139646)

HaMaDa4eVeR 02-16-2007 10:00 PM

Auto Delete/Move Thread After X days
 
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!

projectego 02-17-2007 11:50 AM

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

[high]* projectego clicks install[/high]

COBRAws 02-17-2007 04:19 PM

Is there a way so I can set the time I want for specific threads?

SCRIPT3R 02-17-2007 05:29 PM

Can you set this up without any delete options? i just want to have threads moved to a new section after however many days.

FunaGuy 02-18-2007 12:32 AM

Can u make it also for move closed thread after X days... ?

HaMaDa4eVeR 02-18-2007 06:18 AM

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... ?
https://vborg.vbsupport.ru/external/2007/02/15.jpg
sure you can
User the delete thread or move the read or the both

SCRIPT3R 02-18-2007 06:56 AM

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?

Barteken 02-18-2007 10:42 AM

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

FunaGuy 02-19-2007 01:50 AM

Quote:

Originally Posted by HaMaDa4eVeR (Post 1185110)
you can specific forum only,


https://vborg.vbsupport.ru/attachmen...9&d=1171727246
sure you can
User the delete thread or move the read or the both

Its moved all unreplied threads to Archive :mad:

I mean to say I want Its Move all closed threads to Archive not Unreplied :(

HaMaDa4eVeR 02-19-2007 09:19 AM

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


All times are GMT. The time now is 04:12 PM.

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.01077 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
  • (3)bbcode_code_printable
  • (7)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