Log in

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


barnettgs
09-09-2006, 02:22 PM
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 which would take them to forum to reply if they want to.

Could this be 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? It should be a simple mod!

I have searched for it, am I missing anything?

OGZ.Korea
06-01-2010, 09:20 PM
I too have searched for this type of mod, however looks like after 4 years no one still have posted on your thread.
Anyone want to help me and this fella out?
He has been waiting 4 years and I have been waiting 3 months :D