PDA

View Full Version : Site example of Recent Posts on non-vb pages. What mod is this?


pcoskat
12-17-2006, 12:27 PM
See in the LEFT column of this site?
http://www.healthdiscovery.net/articles/Tips_New_Year.htm

What mod is resulting in those posts being displayed there?

Regs
12-19-2006, 01:25 PM
They are just using the built-in vB external script with some javascript coding to spit it out:

<script src="http://www.healthdiscovery.net/forums/external.php?type=js" type="text/javascript"></script>
<script type="text/javascript">
<!--
for (i = 0; i < 7; i++)
{
document.writeln("<a href=\"http://www.healthdiscovery.net/forums/showthread.php?threadid="+threads[i].threadid+"\">•&nbsp;"+threads[i].title+"<br></a>Poster:("+threads[i].poster+")<br />");
}
//-->
</script>

Cheers,

~Regs.

pcoskat
12-19-2006, 06:27 PM
Thanks Regs!

Would that work for HTML pages on a different domain?

Regs
12-19-2006, 08:38 PM
Yup, I believe so.