Log in

View Full Version : Display whole first post of thread on html/php page?


barnettgs
09-08-2006, 11:10 AM
Hi, I have tried 'How to display latest thread on any normal pages' and it worked great but they are only showing the links...

I would like to see whole of first post of any thread to be displayed on html page - similar to news blog - and visitors can click on news titles to reply if they want to.

Is that possible?

Thanks

Here's the code for displaying latest threads - maybe it can be altered to show the first post as well?
<script type="text/javascript" src="external.php?type=js"></script>
<script language="" type="text/javascript">
<!--
for (var x in threads)
{
document.writeln("<a href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> (Posted By: "+threads[x].poster+")<br />");
}
//-->
</script>

Anyone?