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

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

Version: 3.5.4 Rating:
Released: 04-17-2006 Last Update: 05-09-2006 Installs: 35
Uses Plugins
Additional Files  
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.

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!

Show Your Support

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

Comments
  #42  
Old 11-05-2006, 04:51 PM
SCRIPT3R SCRIPT3R is offline
 
Join Date: Jan 2005
Posts: 1,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

are there still plans for an updated version... 3.6.x - or would you allow a port?
Reply With Quote
  #43  
Old 12-02-2006, 11:08 AM
HaMaDa4eVeR's Avatar
HaMaDa4eVeR HaMaDa4eVeR is offline
 
Join Date: Jun 2004
Location: Sudan
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RidinHighSpeeds View Post
It didn't say in the readme file, but should I create a new scheduled task for this hack??
you don't need to add new scheduled task, Installation script will add it automatically.

Quote:
are there still plans for an updated version... 3.6.x - or would you allow a port?
I'll port it soon
Reply With Quote
  #44  
Old 12-03-2006, 03:50 PM
SCRIPT3R SCRIPT3R is offline
 
Join Date: Jan 2005
Posts: 1,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HaMaDa4eVeR View Post
I'll port it soon
thnx, looking forward to it. i was working on a port, but i haven't touched it in a few weeks and now i won't worry about it. i'm more interested in just the ability to move threads after however many days. i have a bit of discussion inside the coders forum if you want to read what's been discussed thus far. when you port, please secure the ability to just move threads without the post count coming into play.
Reply With Quote
  #45  
Old 12-04-2006, 10:19 PM
Derekclarke's Avatar
Derekclarke Derekclarke is offline
 
Join Date: Dec 2005
Location: N.Devon
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have installed this today, however when i looked in the sheduled tasks, so i could run the script immediatly. I found their is no autodelete shedule.

I am using the Latest version of VB. not sure if their is an issue on this version.

please can you advise.

Thanks
Reply With Quote
  #46  
Old 12-20-2006, 12:50 PM
Rop Rop is offline
 
Join Date: Nov 2006
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another vote here for a port to v3.6.4!

Looks like this would be exactly what I'm looking for: I have an RSS feed that auto-creates news articles pumped into a special forum as new threads. Those are then displayed on the portal through vBadvanced's 'news' module. This mod would help auto-delete all old news articles.

Suggestion: Add an option to leave sticky threads in place (or remove them, as set by the option).

Thanks HaMaDa4eVeR!

-Rob-
Reply With Quote
  #47  
Old 12-20-2006, 04:20 PM
vauge vauge is offline
 
Join Date: Oct 2004
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump for 3.6.4 port request.
Reply With Quote
  #48  
Old 01-08-2007, 01:16 AM
tuanluu tuanluu is offline
 
Join Date: Aug 2005
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

me too
Reply With Quote
  #49  
Old 01-12-2007, 05:19 PM
bts420 bts420 is offline
 
Join Date: Jan 2007
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this in 3.6.4 (only version I have)

It wasn't working, it would delete all posts regardless of the number of days you specified in the options.

Modified autodelete.php

Changed
(".$vbulletin->options['created']." * 86400)
to
($vbulletin->options['created'] * 86400)

In 2 places within the PHP script.
I also had to manually setup the cron job. Not sure why thats not installing. Now the script works fine.
Reply With Quote
  #50  
Old 01-15-2007, 08:26 PM
SCRIPT3R SCRIPT3R is offline
 
Join Date: Jan 2005
Posts: 1,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HaMaDa4eVeR View Post
I'll port it soon
is your port still going to happen? if so, can you give me an idea as to what "soon" means? thnx.
Quote:
Originally Posted by GearTripper View Post
thnx, looking forward to it. i was working on a port, but i haven't touched it in a few weeks and now i won't worry about it. i'm more interested in just the ability to move threads after however many days. i have a bit of discussion inside the coders forum if you want to read what's been discussed thus far. when you port, please secure the ability to just move threads without the post count coming into play.
Reply With Quote
  #51  
Old 01-31-2007, 07:42 PM
stinger2's Avatar
stinger2 stinger2 is offline
 
Join Date: Jul 2005
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

another vote for porting this....thx
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 06:27 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.05670 seconds
  • Memory Usage 2,312KB
  • 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
  • (5)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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
  • 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