PDA

View Full Version : External.php not showing up feeds


mr1dul
07-30-2013, 05:09 AM
Hello..

I have vb 3.8.7 installed at 2 web site at the following URL's

http://management.ind.in/forum/
http://mba.ind.in/forum/

Now the problem is that the external.php for both the forum are NOT showing up feeds. The forums are open to guests, and the external data provider setting are as under

Enable External Javascript - Yes
Enable RSS Syndication - Yes
Enable Podcasting (RSS Enclosure) - Yes
Enable XML Syndication - Yes

But the feeds are not showing up at

http://management.ind.in/forum/external.php
http://mba.ind.in/forum/external.php

I contacted my host for the issue and he said. VBSEO may be the problem. I disabled vbseo but still no use.

Plz help.

kh99
07-30-2013, 09:58 AM
There is a setting for "Thread Cutoff" which by default refers to the thread creation date. The default setting is 30 days, and although you have recent posts, it looks like the newest thread on your forum was created several months ago, so that would be why nothing shows up in your RSS feed.

You can add lastpost=1 to the url to make it use the last post date instead of the thread creation date. So for example this url: http://management.ind.in/forum/external.php?lastpost=1 has a feed with some content. If you can't add that to the url everywhere you need to, you could force it to be the default by creating a new plugin using hook external_start, and code like this:

if (!isset($_GET['lastpost']))
{
$vbulletin->GPC['lastpost'] = 1;
}

mr1dul
07-31-2013, 06:40 AM
working brother....
thanks a lot

you rock :)