Here is a bug fix. Change your aero/misc/latestthreads.php to have the following contents:
Code:
ctr = 0;
for (x in threads)
{
document.writeln("<a href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a><br />");
ctr++;
if (ctr == 10)
{
break;
}
}
Then people won't get Javascript errors on the forumhome page if they don't have 10 or more. It will still be limited to 10 threads, even if they want 50 in their external feed. If they have 0 threads, it just quits with no errors. They have have 500 it shows 10.