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)

AtoZ 07-03-2008 05:22 AM

Anyone have this working in 3.7 or are there plans to update? Thanks.

futuredood 07-05-2008 04:08 PM

Quote:

Originally Posted by AWJunkies (Post 1419218)
Works on 3.6.8 P2 when you create the task yourself cause he programed it all wrong for it to auto install.

Hi can you tell us more about how to get this to work, or where you found the answer? I installed it and need to know how to set up the cron job. Thanks.

AtoZ 07-06-2008 05:21 AM

futuredood, read back through the thread and you'll find the solution.

Quote:

Originally Posted by voclain (Post 1296678)
All I did was make a NEW SCHEDULED TASK and had it point to .php file that I uploaded into the "CRON" folder.


tekguru 07-10-2008 09:06 AM

Working for me on vB 3.7.1PL2. All I needed to do was set up the CRON job and modify the cronautodelete.php setting from `replycount` = '0' to `replycount` >= '0' and it now archives my 'News' into 'Old News' - superb!

AtoZ 07-10-2008 04:48 PM

Quote:

Originally Posted by tekguru (Post 1571791)
Working for me on vB 3.7.1PL2. All I needed to do was set up the CRON job and modify the cronautodelete.php setting from `replycount` = '0' to `replycount` >= '0' and it now archives my 'News' into 'Old News' - superb!

Excellent. Thanks for the info!

StreetTriple 09-13-2008 07:38 AM

hi there,
i've 3,6,8 patch level 2 and the mod not function...
i've tryed to run this query in mysql:
Code:

INSERT INTO " . TABLE_PREFIX . "cron (weekday,day,hour,minute,filename,loglevel,active,varname, volatile,product)) VALUES (-1, 10, 0, 'a:1:{i:0;i:0;}', './includes/cron/cronautodelete.php', 1, 'Auto Delete/Move  Thread After  per days')
but i've received this error:
Quote:

query SQL:
INSERT INTO forum_vbcron( weekday,
DAY , HOUR , minute, filename, loglevel, active, varname, volatile, product )
VALUES ( -1, 10, 0, 'a:1:{i:0;i:0;}', './includes/cron/cronautodelete.php', 1, 'Auto Delete/Move Thread After per days'
)
Messaggio di MySQL:
#1136 - Column count doesn't match value count at row 1
PLEASE HELP ME!

RayJohns 10-30-2008 05:08 AM

Very handy, thanks. A couple of notes about installation. I'm running on 3.7.3 PL1. I moved the files to the proper locations, and imported the XML. However, I had to manually add a cron job in order to get it working. It appears there is install code in the package to install a cron job, but I don't think it worked (at least not on my vb). I could be wrong, but after uploading the .php file and importing the XML, I did not see a scheduled task listed in the cron job section.

For anyone who has the same problem, here is how I setup my cron job (see attached).

Also, I wanted to point out that because the PHP code uses 86,400 (the number of seconds in a full day) as a multiplier when figuring out how old the threads are, you can actually specify something like .5 days if you want to delete/move threads every 12 hours. Or you could use .25 to delete threads every 6 hours for example. I was just about to hack the code to do this, because I needed to remove threads (once a day) that were older than 12 hours. However, since the code uses the # of seconds to figure it out, you can fine tune the time frame using a fractional value for the number of days in the settings. Very handy!

Nice job on the product - I just clicked the "installed" button for you :-)

Ray

M.C. 01-19-2009 11:55 AM

Thanks, Ray! I had same problem on 3.8 and after addin cron job manually it seems it working... ;)

xlguy 01-25-2009 11:23 PM

So this is working ok in 3.8 then?

BlueNinjaGo 04-15-2009 07:45 PM

Nvm


All times are GMT. The time now is 11:15 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.01138 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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