vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   vBCron and Pruning (https://vborg.vbsupport.ru/showthread.php?t=60175)

allan grossman 03-27-2004 06:54 PM

Thank you, Kirby - that's exactly what I needed.

edit: I also think if they incorporate this into vB 3.1 they should slip Kirby a couple hundred bucks for his trouble :)

allan grossman 03-27-2004 07:34 PM

Quote:

Originally Posted by Limitter

Ich spreche kein Deutch :)

What does the mod do?

Indy 03-28-2004 04:42 AM

KirbyDE - Many Thanks!!

Haven't had a chance to apply your hack yet since I've been in the process of moving to a new server and all of the associated stuff that goes along with it.

I plan on doing so though!

Thanks again!
Indy

RCK 07-09-2004 08:53 PM

Yeah thanks for your help KirbyDE :)

JoeWho 10-11-2005 07:20 PM

Hi,

Will this work on 3.5.0.r3

I would like to use this if it would work?

JoeWho

EricR 11-06-2005 02:46 AM

Quote:

Originally Posted by JoeWho
Hi,

Will this work on 3.5.0.r3

I would like to use this if it would work?

JoeWho

This does not work with 3.5+, but thankfully Andreas released a plugin which makes it oh-so-simple. For those of use who already had this on 3.0, here's the steps to complete your upgrade to 3.5+.
  1. Grab the 3.5 plugin from Andreas's post here and install it. Overwrite can be left at the default "no".
  2. If you made any custom changes to the prune.php file you'll need to make the same changes to the plugin. To do so, open the Plugin Manager and edit the plugin "Auto-Prune Threads". This is the new location for the code that was previously in prune.php. For example, to preserve Stickies (make them immune to auto-prune), change the following:
    Find this (appears only once)
    Code:

    sticky IN (0,1)
    and change it to this
    Code:

    sticky != 1
  3. Delete your /includes/prune.php file, it is no longer needed.
  4. Delete your "Prune" task (which used to call the prune.php file) from the Scheduled Task Manager, it is no longer needed.

For 3.5, auto-prune is part of the hourly cleanup #1 in case you ever want to run it manually.

Many many thanks to Andreas for writing this AND helping me thru the upgrade steps :)


All times are GMT. The time now is 06:17 AM.

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.01121 seconds
  • Memory Usage 1,728KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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