View Single Post
  #13  
Old 28 Jun 2010, 00:12
mmoore5553 mmoore5553 is offline
 
Join Date: Aug 2008
no problem ..i am using version 3.8 on my forum but i do not think code will be too different


Okay here is the correct syntax for vb 4 (tested and works)

<script type="text/javascript" src="http://www.url.com/forum/external.php?type=js&lastpost=1&forumid=0"></script>
<script type="text/javascript">
<!-- Start
for(x = 0; x < 10; x++)
{
document.writeln("<p><a href=\"http://www.url.com/forum/showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a><br><span class=\"copytext\"> (posted by <i>"+threads[x].poster+")</i></span></p>");
}
//-->
</script>

Last edited by mmoore5553; 28 Jun 2010 at 01:52. Reason: Auto-Merged DoublePost
Reply With Quote