Hi,
can't seem to get the latest thread titles to show on my wordpress blog www.kaizenga.com
What I'm trying to accomplish is to have the latest thread titles show in the sidebar of my main site. The forum is a subscription forum but unregistered visitors can still see the thread titles. The code I'm currently using is:
<!-- show latest active threads -->
<table cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tbody>
<tr>
<td colspan="2" align="center">
<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=1&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 />
It is placed in the HTML Javascript Adder plugin in a widget in the Pagelines theme.
Any help please?
can't seem to get the latest thread titles to show on my wordpress blog www.kaizenga.com
What I'm trying to accomplish is to have the latest thread titles show in the sidebar of my main site. The forum is a subscription forum but unregistered visitors can still see the thread titles. The code I'm currently using is:
<!-- show latest active threads -->
<table cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tbody>
<tr>
<td colspan="2" align="center">
<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=1&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 />
It is placed in the HTML Javascript Adder plugin in a widget in the Pagelines theme.
Any help please?