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 Prune Threads (https://vborg.vbsupport.ru/showthread.php?t=99881)

Andreas 11-01-2005 10:00 PM

Auto Prune Threads
 
<font size="3">Auto Prune Threads</font>

Description
This hack gives you the ability to specify if you want to have
threads pruned from a forum after x days.
The amount of days can be set separately for each forum in forum manager.

Details
1 Product XML (3 Plugins, 1 Phrase)

Compatibility Note vBulletin 3.7
As of vBulletin 3.7 Beta 4, the hook used for this Mod does not exist any longer.
After installting this Mod, please change the Hook location to cron_script_cleanup_hourly

sitka 11-02-2005 01:36 AM

looks cool will try out

djr 11-02-2005 02:29 AM

Hi Andreas,

Is it also possible to have a Product for 'Auto Prune Closed Threads' please?

Acido 11-02-2005 02:59 AM

Quote:

Originally Posted by sitka
looks cool will try out

Big Thanx ! I really need this tool.

Snake 11-02-2005 06:43 AM

Nice one Kirby. :)

D@nny 11-02-2005 09:44 AM

cool! I'm happy. :nervous:

nexialys 11-02-2005 11:04 AM

AH HA... i knew it.. .lol

mcncyo 11-02-2005 12:29 PM

I will install this one soon at my site.

Cyricx 11-02-2005 03:43 PM

If I'm looking at the code right, if I set the prune to 0 it will never prune posts in that forum correct?

And does this prune threads that are sticky as well? I would love for this not to prune sticky threads.

Thanks bro!

trancetopia 11-02-2005 05:08 PM

I really need this too :) Very BIG thanks for this.

SkyShadow 11-05-2005 05:06 PM

Hello Andreas,

if I set the prune to 0 it will never prune posts in that forum correct?

Thanks for your support

VBUsers 11-05-2005 06:54 PM

can i use this with 3.5.1?

steadicamop 11-12-2005 09:39 AM

Quote:

Originally Posted by lowandloudinc
can i use this with 3.5.1?

It works in 3.5.1 - just tested it.

Small thing though, only a spelling mistake - in the AdminCP -> Forums -> Forum Manager (the whichever forum), it says "Stetting" instead of "Setting" - nothing major but thought I'd point it out.

Cracking idea though, thanks handy little extra!

[edit]

Easily fixed ... just go to Search Phrases, search for "Stetting", and just change it .... like I said not a bug, just wanted to help :)

[/edit]

fn9mm 11-22-2005 05:14 AM

Got big problems after a week with this plugin using 351
Only after a week cause that's the prune-delay i set for one forum,...
all my links to threads caused blank pages (page not found in IE)
even the non pruned threads
couldn't access admincp neither

got this error amongst others :
invalid argument for *** includes/init.php on line 67
forgot what *** was, sry

any ideas?

Andreas 11-22-2005 05:22 AM

Yes, that the error is not caused by this Hack.

EricR 11-23-2005 04:08 PM

Quote:

Originally Posted by Cyricx
And does this prune threads that are sticky as well? I would love for this not to prune sticky threads.

Out of the box this will prune stickies. To change this, go to your Plugin Manager and edit "Auto-Prune Threads".

Find this (appears only once):
Code:

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

sticky != 1
Now stickies will be immune to the auto-prune.

For anyone upgrading from the 3.0 version, Andreas helped me through this and I posted instructions in the old 3.0 auto-prune post.

Thanks again Andreas!

Vtec44 11-23-2005 06:05 PM

installed! :D Thanks Andreas

Flow Fusion 11-27-2005 02:15 PM

Thanks...!

Julie 12-16-2005 12:05 PM

Howdy!

Is there a way to code in a, only prune X number of threads? Because once I pruned around 100 threads, with 100, 000 or so posts, and I... uhm... broke the server :P So I want to be a little carefull with that thing now :P Hehe... So what I'm looking for is:

A script that will prune X number of threads (and their posts, doesn't matter how many posts belong to them though) each sunday, at X hour (f.ex 4am server time) ... Possible?

Thanks :D

svoec 12-19-2005 03:28 PM

This is one cool hack -- something VB has needed for a while --

Thanks so much --

Just one question -- what triggers the prune ? I don't see it listed in the scheduled tasks?

thanks

Wild Bronco 01-11-2006 01:38 PM

Will it work on 3.5.3?

EricR 01-12-2006 09:15 PM

Quote:

Originally Posted by svoec
This is one cool hack -- something VB has needed for a while --

Thanks so much --

Just one question -- what triggers the prune ? I don't see it listed in the scheduled tasks?

thanks

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

IrPr 01-12-2006 09:58 PM

Quote:

Originally Posted by Geiri
Will it work on 3.5.3?

hah ? works ?

PIKenPIK 01-31-2006 11:43 AM

Great :)

set a forum on 1 day ... now let's see over 86.400 secs :D

DeanoG 04-26-2006 04:08 PM

Great Hack Thanks ... Seems to work on v3.5.4

Konstantinos 05-03-2006 02:37 PM

is there any prune users after not visiting the forum for X days ?

Eagle Creek 05-03-2006 07:50 PM

Great!

Just what I was looking for :bunny:

Thx.

Eagle Creek 05-16-2006 05:47 PM

What about sticky threads?

teedizz 05-17-2006 08:33 PM

what does prune mean? delete?

Eagle Creek 05-17-2006 09:37 PM

Quote:

Originally Posted by teedizz
what does prune mean? delete?

Yes.

telc 06-29-2006 12:11 PM

Will this Autoprune decrement users posts counts?

With the built in vBulletin prune, post counts aren't affected until "update counters" is ran for the post count.

I need to make sure it won't modify post counts unless I choose to run "update counters".

Thanks

Shazz 06-29-2006 03:40 PM

If it does prune , and the thread counted in posts. And it got Pruned" would the posts count go down for the users?
________
cheap glass bongs

telc 07-18-2006 11:38 AM

Quote:

Originally Posted by telc
Will this Autoprune decrement users posts counts?

With the built in vBulletin prune, post counts aren't affected until "update counters" is ran for the post count.

I need to make sure it won't modify post counts unless I choose to run "update counters".

Thanks

Does anyone know?

SCRIPT3R 07-19-2006 03:58 PM

Quote:

Originally Posted by telc
Will this Autoprune decrement users posts counts?

With the built in vBulletin prune, post counts aren't affected until "update counters" is ran for the post count.

I need to make sure it won't modify post counts unless I choose to run "update counters".

Thanks

it shouldn't affect your user's post count's unless you "update counters"... but stranger things have happened.

Shazz 07-19-2006 04:11 PM

It dosent?
Ive ran test of this prune etc.
No ones post ever changed.
________
Chrysler BR platform

egyptsons 07-19-2006 08:31 PM

great ;)
I want this one :)

telc 08-03-2006 04:37 PM

Does the prune ignore sticky threads?

Marris 08-11-2006 12:00 PM

Will this work with 3.6?

Viol8or 08-29-2006 11:40 AM

Can anyone confirm this working under 3.6 or is there an alternative?

Acido 08-29-2006 01:25 PM

working perfect in 3.6 :)


All times are GMT. The time now is 04:48 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.02260 seconds
  • Memory Usage 1,790KB
  • 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
  • (8)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
  • (40)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