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)

sdsvtdriver 05-21-2008 11:45 PM

after installing into 3.5.4 I get this error message when I attempt to set the number of days on a forum:

Quote:

Fatal error: Field pruneafter is not defined in $validfields in class vB_DataManager_Forum in includes\class_dm.php on line 485

Nogura 05-23-2008 10:32 AM

Quote:

Originally Posted by mariocaz (Post 1526292)
and how can I change the hook ???, help!!

In your admin panel, go to Plugins & Products and then Plugin Manager. Select Edit on Auto-Prune Threads and select cron_script_cleanup_hourly from the drop-down box.

mariocaz 05-23-2008 11:28 PM

Thank you very much Nogura!!

I did it, so I hope with this the mod works again perfectly.

sdsvtdriver 06-17-2008 07:03 AM

Quote:

Originally Posted by sdsvtdriver (Post 1527434)
after installing into 3.5.4 I get this error message when I attempt to set the number of days on a forum:

Any ideas?

This appears to be the only autoprune for 3.5.4 and I run an NNTP gateway which fills up fast. :)

sdsvtdriver 06-26-2008 09:18 AM

anyone? :(

sdsvtdriver 06-30-2008 08:46 AM

I had to manually add:

PHP Code:

    'pruneafter'        => array(TYPE_UINT,          REQ_NO), 

in
./includes/class_dm_forum.php

the plugin
Quote:

$this->validfields['pruneafter'] = array(TYPE_UINT, REQ_NO);
should have done the same thing, but didn't. Ideas?

isearchclick 08-02-2008 12:06 AM

Andreas, i have uploaded your hack for auto prune i want to know if set to 0 will it delete threads or posts and if i just want the hack to delete thread say every 30 days will it do this no matter wheather the threads have replies or not please advise?
Tony

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

HI! is this hack will be released for 3.7-3.8?

creativepart 03-03-2009 06:30 PM

Is there any reason it has to use cron_cleanup_hourly? Could it be set to cron_cleanup_daily and run only once per day?

Dimoks 05-21-2009 06:58 AM

Hi
Please help me... I need mod for auto delete thread after X day... but amount of days set separately for each thread.


All times are GMT. The time now is 10:52 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.01102 seconds
  • Memory Usage 1,735KB
  • 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_php_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