Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
AutoBump Threads Periodically For 12 Hours Without Replies. Details »»
AutoBump Threads Periodically For 12 Hours Without Replies.
Version: 1.00, by Attilitus Attilitus is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.4 Rating:
Released: 02-04-2007 Last Update: 02-04-2007 Installs: 41
Uses Plugins
Additional Files  
No support by the author.

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.

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)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-05-2007, 05:06 AM
Artificial_Alex Artificial_Alex is offline
 
Join Date: Nov 2006
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, this is a sexy mod.


Installed - First post.
Reply With Quote
  #3  
Old 02-05-2007, 07:01 AM
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Posts: 724
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great idea for a mod! Nice one, Attilitus!
Reply With Quote
  #4  
Old 02-05-2007, 08:22 AM
Atakan KOC's Avatar
Atakan KOC Atakan KOC is offline
 
Join Date: Feb 2006
Location: Istanbul
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. Installed


Reply With Quote
  #5  
Old 02-05-2007, 01:36 PM
Bellinis's Avatar
Bellinis Bellinis is offline
 
Join Date: Aug 2005
Location: Amsterdam, the Netherland
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod!

Wouldn't it be possible to build in something to exclude certain forums for bumping posts?
Reply With Quote
  #6  
Old 02-05-2007, 07:27 PM
Attilitus's Avatar
Attilitus Attilitus is offline
 
Join Date: Mar 2005
Posts: 393
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 02-05-2007, 10:51 PM
dutchbb dutchbb is offline
 
Join Date: Nov 2003
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ projectego: thanks, imo every board should have this!
@ Attilitus: Great work, thanks a lot
Reply With Quote
  #8  
Old 02-06-2007, 02:35 AM
tank14 tank14 is offline
 
Join Date: Oct 2006
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So if a post should be dead and no one posts it will be bumped every 12 hrs?
Reply With Quote
  #9  
Old 02-06-2007, 02:53 AM
Attilitus's Avatar
Attilitus Attilitus is offline
 
Join Date: Mar 2005
Posts: 393
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 02-06-2007, 05:06 AM
ymy ymy is offline
 
Join Date: Feb 2003
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod

I'm going to test this out now

install click . Thanks
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:20 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07780 seconds
  • Memory Usage 2,288KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete