vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Auto Delete Move Threads After X Day (https://vborg.vbsupport.ru/showthread.php?t=113324)

HaMaDa4eVeR 04-17-2006 10:00 PM

Auto Delete Move Threads After X Day
 
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.

History
  • 19-04-2006 Fix Uninstallation bug.
  • 22-04-2006 adding update counter for forums.
  • 09-05-2006 version 2.0
    - Enable Hack to work in Specific forums.
    - Adding Move threads options with On/Off System.
    - Specific forums " Archive Forums".

    Features:.



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

Enjoy!

soulface 04-18-2006 10:36 AM

OK this is what i was looking for. but is there any way that, i want to auto deleted thread of a specific forum. not all forum ? thx

Quarterbore 04-18-2006 03:21 PM

I would love to see this work on a per forum basis as well.

Also, any way to use this script to identify and transfer a post to an archive database before deleting?

PHPGeek2k3 04-18-2006 07:56 PM

bug in your uninstall protion of the product xml

Code:

$db->query_write("DELETE FROM ". TABLE_PREFIX." WHERE filename='./includes/cron/autodelete.php'");
should be

Code:

$db->query_write("DELETE FROM ". TABLE_PREFIX."cron WHERE filename='./includes/cron/autodelete.php'");
thanks
- James

COBRAws 04-18-2006 08:35 PM

I thought about something similar for my board, but im no coder, at least not a pro.

Im wondering if you can make something similar to a Move after X days hack but not for 0 replys thread.

let me know,
cheers

HaMaDa4eVeR 04-19-2006 05:14 PM

Quote:

OK this is what i was looking for. but is there any way that, i want to auto deleted thread of a specific forum. not all forum ? thx
well, I'll include this option in the next version
thanks
Quote:

I would love to see this work on a per forum basis as well.

Also, any way to use this script to identify and transfer a post to an archive database before deleting?
please explain more, I didn't get your point

PHPGeek2k3 : I'll fix it ,,thanks :)
Quote:

I thought about something similar for my board, but im no coder, at least not a pro.

Im wondering if you can make something similar to a Move after X days hack but not for 0 replys thread.

let me know,
cheers
dear I'll provide to you the XML file can delete threads depending of days amount.
thanks all

ahmed-samara 04-19-2006 10:42 PM

thanks:up:

COBRAws 04-20-2006 01:40 AM

Quote:

Originally Posted by HaMaDa4eVeR
dear I'll provide to you the XML file can delete threads depending of days amount.
thanks all

Ummm, I was asking if you could make a hack based in what I ask. I already know what this Extension does. But in your PM you told me to write here...

HaMaDa4eVeR 04-20-2006 08:15 AM

Quote:

Originally Posted by COBRAws
Ummm, I was asking if you could make a hack based in what I ask. I already know what this Extension does. But in your PM you told me to write here...

check the attachment and upload the file to /includes/cron directory, now the hack will delete all threads after X day not zero post only, let me know if you need help.
ahmed-samara: :) thank you :rolleyes:

alluidh 04-20-2006 12:16 PM

Hope your next version for specific forum(s) will come soon, because I need it much :D


All times are GMT. The time now is 11:57 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.19817 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
  • (2)bbcode_code_printable
  • (5)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