View Full Version : active threads
blindman4556
10-21-2007, 08:14 AM
ok i found this mod on vbulletin.com
http://www.vbulletin.com/forum/showthread.php?t=158895
the problem i have is they said
In the code above, exchange this:
<script type="text/javascript" src="external.php?type=js"></script>
with this:
<script type="text/javascript" src="external.php?forumids=95,96,97,98&type=js"></script>
but when i replace the forum id number, nothing shows up
Opserty
10-21-2007, 09:28 AM
What is the code that you used, that is not working? (Like the exact code you have in your (HTML) file or whatever)
blindman4556
10-21-2007, 05:50 PM
this code here will show the active threads but im trying to make it only show a certain forum...so it will be like latest news and have it show the stuff from the news forums
<!-- show latest active threads -->
<table cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tbody>
<tr>
<td colspan="2">
<a href="search.php?do=getnew">Latest Active Threads</a>
</td>
</tr>
</tbody>
<tbody>
<tr>
<td width="100%">
<div>
<script type="text/javascript" src="external.php?forumids=34&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></div>
</td>
</tr>
</tbody>
<!-- show latest active threads -->
</table>
<br />
so i tried this and it just doesn't show any threads
<!-- show latest active threads -->
<table cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tbody>
<tr>
<td colspan="2">
<a href="search.php?do=getnew">Latest Active Threads</a>
</td>
</tr>
</tbody>
<tbody>
<tr>
<td width="100%">
<div>
<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></div>
</td>
</tr>
</tbody>
<!-- show latest active threads -->
</table>
<br />
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.