This will show the last 5 threads in Forum "1" with the thread creator.
external.php?type=
JS&forumids=
1&limit=5&orderby=lastpost
There is tons of different data you can pull per thread. (The EX: link is fake)
This is crude, but you can make a template around the data.
EX: +
Site Upgrade Time (Zachariah)
Code:
<script type="text/javascript" src="http://www.yoursite.com/forums/external.php?type=JS&forumids=1&limit=5&orderby=lastpost"></script>
<script type="text/javascript">
URL = "http://www.yoursite.com/forums/";
i =0 ;
for (t in threads)
{
document.write(' + <font size="1"><a href="', URL, 'showthread.php?t=', threads[t].threadid, '" target="_self"><span style="text-decoration: none">', threads[t].title, '</span></a> (', threads[t].poster, ')</font><br />');
}
</script>
There is a lot of info on the subject "external.php?type=JS"
Quote:
Originally Posted by Steve Machol
|