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)
-   -   Mini Mods - AutoBump Threads Periodically For 12 Hours Without Replies. (https://vborg.vbsupport.ru/showthread.php?t=138492)

Attilitus 02-04-2007 10:00 PM

AutoBump Threads Periodically For 12 Hours Without Replies.
 
A new version has been released for vBulletin 3.7. It still works with vB 3.6 and vB 3.5
https://vborg.vbsupport.ru/showthread.php?t=181305
This modification will simply bump all threads which have no replies after 12 hours.

Every 30 minutes a cron script will run and check for threads with no replies that were posted in the last 12 hours. It will then bump all of those threads by modifying the Last Post time to the current time. It will not modify the "thread creation time" so threads will only be "auto-bumped" once. No "bumping" will occur for any threads with 1 or more replies.

This helps ensure that topics that have gone without replies get a second chance before they are forever lost to the abyss of the 2nd page of the thread listing. :D

Requested by dutchbb here: https://vborg.vbsupport.ru/showthread.php?t=130560

If you wish to customize just modify the file autobump_cron.php and change the line:

Quote:

$time=time()-43200;
Simply modify the number 43200 to whatever time period to want the "cutoff" for bumping old threads to be.

You can also change the times when the Cron runs by going into vBulletin Scheduled Tasks and changing the crontimes for autobump_cron.

Enjoy, and click install if you want. (Such a small mod... but still)

Artificial_Alex 02-05-2007 05:06 AM

Wow, this is a sexy mod.:)


Installed - First post.

projectego 02-05-2007 07:01 AM

Great idea for a mod! Nice one, Attilitus! ;)

Atakan KOC 02-05-2007 08:22 AM

Thanks. Installed


https://vborg.vbsupport.ru/external/2007/02/22.jpg

Bellinis 02-05-2007 01:36 PM

Great mod!

Wouldn't it be possible to build in something to exclude certain forums for bumping posts? :)

Attilitus 02-05-2007 07:27 PM

Right now this is literally 1-2 lines of code. :) I just coded it to fulfill a request (only took literally 5 minutes to make it and prepare the product for upload).

When I get a chance I will add some more options.

dutchbb 02-05-2007 10:51 PM

@ projectego: thanks, imo every board should have this!
@ Attilitus: Great work, thanks a lot :)

tank14 02-06-2007 02:35 AM

So if a post should be dead and no one posts it will be bumped every 12 hrs?

Attilitus 02-06-2007 02:53 AM

For the first 12 hours of a Thread's life a check will be performed every time the Cron is run (currently every 30 minutes) to see if it has any replies. If it has no replies it will be bumped, if it has a reply then nothing will be done.

After 12 hours (you can change this by modifying the autobump_cron.php file), if the thread still has no replies, the Cron script will stop bumping it and let it die.

ymy 02-06-2007 05:06 AM

Great mod

I'm going to test this out now

install click . Thanks


All times are GMT. The time now is 02:31 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.00971 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
  • (1)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
  • (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