So I incorporated VB in my site and I want to display threads from my forum into the home page.
I am using the following code:
PHP Code:
<script type="text/javascript" src="http://www.sitename.com/forums/external.php?forumids=3,4,5,6,7,8,9,10,11,12,18,23&type=js"></script>
<script language="" type="text/javascript">
<!--
for (x = 0; x < 10; x++)
{
document.writeln("<a href=\"http://www.sitename.com/forums/showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a><br />");
}
//-->
and it only shows certain threads from certain forums.
For example I can see stuff in forum 6 but not in forum 11
what am i doing wrong guys ?