Back to vBulletin 4.x Add-ons

Make RSS Feed Checking More Frequent
Mod Version: 1.00, by Dan Druff

vB Version: 4.1.12 Rating: (0 vote - 0 average) Installs: 6
Released: 28 Jun 2012 Last Update: Never Downloads: 0
Not Supported Code Changes Re-usable Code  

This modification adds options for checking RSS feeds more frequently than every 10 minutes.

You will now have the option to set RSS feeds to be checked every 2 minutes or 5 minutes, in addition to the existing options of 10 minutes and up.

This is mostly done through minor source code edits.

First, edit includes/class_dm_rssfeed.php

Search for:
Code:
                        case 600: // every 10 minutes
... and add IMMEDIATELY AFTER...
Code:
                        case 300: // every 5 minutes
                        case 120: // every 2 minutes

Next, edit admin/rssposter.php

Search for:
Code:
                600  => construct_phrase($vbphrase['x_minutes'], 10),
... and add IMMEDIATELY BEFORE:
Code:
                120  => construct_phrase($vbphrase['x_minutes'], 2),
                300  => construct_phrase($vbphrase['x_minutes'], 5),
That's it! Now you will have the option in the RSS Feed Manager to add feeds to be checked every 2 or 5 minutes. You can also go back to your existing feeds and change them to be checked every 2 or 5 minutes.

One more thing... you will have to modify the RSS Poster Robot settings in the Scheduled Tasks, or the feeds still won't be checked more frequently than once every 10 minutes.

To do this, go to the Admin Control Panel, select Scheduled Task Manager, and then click Go under RSS Poster Robot.

Make sure Days of the Month, Days of the Week, and Hour are all set to *. Then go change the first column of Minute also to *. The result should look like the below attachment.

Download

No files for download.

Screenshots

Click image for larger version
Name:	rssposter.png
Views:	181
Size:	27.4 KB
ID:	139401  


vblts.ru supports vBulletin®, 2022-2024