arrarrgee
03-29-2014, 12:32 PM
Hi,
I am trying to display the latest threads in my website homepage from VB5 forums. I included below code snippet and trying to invoke. It displaying "beforeloop" but not "inloop" its not failing but seems like it is not getting any thread information into the loop. I changed the permissions for "the Unregistered / Not Logged" In usergroup to view forums but does not seem to work. Can you please advice?
I am pretty new to VB integration hence any help you could provide is great.
<script src="http://www.yourdomain.com/forumpath/external.php?type=js" type="text/javascript"></script>
<script type="text/javascript">
alert("beforeloop");
<!--
for (i in threads)
{
alert("inloop");
document.writeln(threads[i].title + " (" + threads[i].poster + ")<br />");
}
//-->
</script>
I am trying to display the latest threads in my website homepage from VB5 forums. I included below code snippet and trying to invoke. It displaying "beforeloop" but not "inloop" its not failing but seems like it is not getting any thread information into the loop. I changed the permissions for "the Unregistered / Not Logged" In usergroup to view forums but does not seem to work. Can you please advice?
I am pretty new to VB integration hence any help you could provide is great.
<script src="http://www.yourdomain.com/forumpath/external.php?type=js" type="text/javascript"></script>
<script type="text/javascript">
alert("beforeloop");
<!--
for (i in threads)
{
alert("inloop");
document.writeln(threads[i].title + " (" + threads[i].poster + ")<br />");
}
//-->
</script>