Log in

View Full Version : Show latest Posts on other website (not latest Threads)


Akuma2000
01-07-2008, 06:41 PM
Im using the following code now to show the latest threads on my website:

<script type="text/javascript" src="/forums/external.php?type=js"></script>
<script language="" type="text/javascript">
<!--
for (x = 0; x < 10; x++)
{
document.writeln("<a href=\"/forums/showthread.php?t="+threads[x].threadid+"\" style=\"color:#00f;\"><u>"+threads[x].title+"</u></a> <br>(Posted By: "+threads[x].poster+")<br><br />");
}
//-->
</script>

But this script shows the latest THREADS.
I'd like to let it show the latest POSTS.

Is this possible and what do I have to change on the script?

Thnx in advance!