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

dutchbb 02-06-2007 08:46 AM

Now that I'm using it, i think these are essential functions that need to be added:

- exclude (or better include) a list of forum ID's
- exclude closed and soft-deleted topics

Hopefully these can be added some time :)

Hornstar 02-06-2007 10:23 AM

A very useful thing to keep threads alive. nice work.

Eagle Creek 02-16-2007 01:33 AM

Is is possible to use this in only one forum?
And when a thread has only one post, how can the last-post date be different then the make-post date?

dutchbb 02-25-2007 02:55 PM

Quote:

Originally Posted by dutchbb (Post 1175861)
Now that I'm using it, i think these are essential functions that need to be added:

- exclude (or better include) a list of forum ID's
- exclude closed and soft-deleted topics

Hopefully these can be added some time :)

Can you still do this Attilitus? Can't really use it without those options because mods complain about old topic reports being bumped.

ahmednadir 02-27-2007 03:51 AM

this is an excellent mod
thanks alot for this

Deadly Assassin 03-05-2007 07:16 AM

i have installed - thanks.

Just sit back and wait for it to do its thing now i suppose!

dbirosel 03-13-2007 09:48 PM

That would be great if we can:


- turn off/on the mod
- Set the forums we want it active in
- have a field in the admincp, to edit the time to be bumped.


Couple suggestions. :D Thank you. Installed.

Eagle Creek 06-05-2007 09:53 AM

I do like it but.. I only want to use it at a single forum. Any suggestions?

alrasm 09-18-2007 04:18 AM

<font color="Green">thanks alot
it's an exellant topic</font>
i'm going to try it
best regards

Shinou 09-24-2007 09:50 AM

I was just wondering, when it starts "bumping" does the New Post icon come up or does it stay as No new reply?

Rick 09-29-2007 04:19 AM

It's been bumping 0 reply threads repeatedly on this site: www.explorerforum.com/forums


All times are GMT. The time now is 09:27 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.01223 seconds
  • Memory Usage 1,748KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete