PDA

View Full Version : Show All The Threads


rooban12
11-23-2008, 05:23 AM
I use this code for shows last 10 threads

<script type="text/javascript" src="home/external.php?forumids=625&type=js"></script>
<script language="" type="text/javascript">
<!--
for (x = 0; x < 10; x++)
{
document.writeln("<a href=\"home/showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a>(By: "+threads[x].poster+") <img src=\"/new_1.gif\"><br />");
}
//-->
</script>

how can I show all the threads from the forum??????

--------------- Added 1227469619 at 1227469619 ---------------

anyone????????????

rooban12
11-24-2008, 02:19 PM
help mee pleaseeeeee

punchbowl
11-24-2008, 02:23 PM
change 10 to the number of threads you want to show

rooban12
11-24-2008, 04:14 PM
when I changed it to any number
only showing 15threads not morethan that

punchbowl
11-24-2008, 04:21 PM
Have you set maximum number of threads to show per forum to 15 any where?

maybe "Maximum Displayed Threads Before Page Split" in admincp>gen vb settings>Forum Display Options?

rooban12
11-24-2008, 04:25 PM
oh yeaa
if I changed it to 100 or more
will it show all the threads?

--------------- Added 1227552328 at 1227552328 ---------------

no punchbow

I changed Maximum Displayed Posts Before Page Split to 100 but it still showing only 15threads....

--------------- Added 1227617060 at 1227617060 ---------------

anyone help me please!!!:(

rooban12
11-25-2008, 05:39 PM
:( anyone can help me????????

Lynne
11-25-2008, 07:32 PM
You are getting the data from the external.php page. Variables in there are controled by the External Data Provider in vboptions.