vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - Auto Purge Threads (https://vborg.vbsupport.ru/showthread.php?t=275314)

Seductor 05-18-2012 12:18 PM

@Easy5s.net Send me a pm.

thunderclap82 05-24-2012 01:37 PM

Any plans to implement the requested feature of pruning from the last reply instead of original post? I, too, would love this feature.

Seductor 05-31-2012 08:54 AM

Quote:

Originally Posted by thunderclap82 (Post 2332319)
Any plans to implement the requested feature of pruning from the last reply instead of original post? I, too, would love this feature.

But... what would it need to check from the last reply?

Seductor 06-04-2012 09:12 PM

The new PM notifier is a sh...t :\ It sends a lot of PMs, does not work as I expected.

nodofollow 07-25-2012 06:59 PM

is it possible to make thread to closed not purged ?

bzcomputers 09-23-2012 01:42 PM

Quote:

Originally Posted by thunderclap82 (Post 2332319)
Any plans to implement the requested feature of pruning from the last reply instead of original post? I, too, would love this feature.

Could definitely use this mod also if it added the option to go form the date of the last post in thread instead of original thread posting date.

bzcomputers 10-17-2012 08:04 AM

I get this error when running cron job manually:

Quote:

Fatal error: Call to a member function query_read_slave() on a non-object in /home/XXXXXX/public_html/forum/includes/functions.php on line 8503
functions.php: lines 8503-8598

Code:

$data = $db->query_read_slave("
                SELECT *
                FROM " . TABLE_PREFIX . "navigation
                WHERE state & " . NAV_DELETED . " = 0
                ORDER BY navtype, displayorder
        ");

Edit:
If I turn off "Enable PM's" this error does not show.

bzcomputers 10-18-2012 04:05 AM

There also seems to be in error in updating counters for the archive forum also.

I had to edit cronautopurge.php:

Code:

$threadman->save();
                        //Update forum counters
                        if($buildcounters)
                        {
                                build_forum_counters($thread['forumid']);
                                build_forum_counters($to);
                        }
                        echo "Auto Move Threads:<i>".$thread[title]."</a></i><br>";

                        log_cron_action('Threads moved.', $nextitem);


If I change "$to" above to the actual forum id of the archive forum it works but it will not work using the archive forum input in the admin settings.

Example: If you set "20" in admin settings for archive forum it does not update, if you set "20" directly in the cronautopurge.php "build_forum_counters(20);" it works.

Shazz 11-06-2012 02:29 AM

The only option I'm using is to move threads from one forum to the other.
I need the threads moved every night at midnight, I know there is code for a scheduled task for this as well.

If anyone can assist I will definitely make it worth your wild.

ndahiya 01-01-2013 09:04 PM

Hi Seductor,

Are you planning to release an update to this with the bugs fixed? Would appreciate it.

I am looking to set up a craigslist style classifieds forum, and think i can comine this with a "forms" plugin to achieve the result.

One other extension suggestion (good to have) is to have a per thread (user selected) ad expire duration, and use that to check in the cron job rather than the standard expire duration.

TIA

ndahiya


All times are GMT. The time now is 07:28 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.02235 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
  • (2)bbcode_code_printable
  • (3)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