Quote:
Originally Posted by dizzy100
rss feeds from your forum is possible
Heres one for pulling the latest threads from your vbulletin board (make sure you have Vbulletin Options > External Data Provider > Enable External Javascript enabled)
PHP Code:
<script type="text/javascript" src="external.php?&type=js"></script>
<script language="" type="text/javascript">
<!--
for (var x in threads)
{
document.writeln("<img class=\"inlineimg\" src=\"YOUWEBSITEADDRESS/images/buttons/lastpost.gif\" alt=\"\" border=\"0\" /> <a href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> <span class=\"time\">(Posted By : "+threads[x].poster+")</span><hr />");
}
//-->
</script>
Substitute YOUWEBSITEADDRESS with the full url to your forum (assumes using ther default theme).
Its not phrased because this mod seems to ignore them This is a shame as stats, banner etc can't be used through internal vbulletin options. However javascript seems to work well.
|
Many thanks. This works. Any chance that I can select just a subset of all threads, like the last 5, from the feed?
Because the feed covers many forums, "Maximum External Records" is set high (50), but I don't want that many threads listed in a column.