doubleclick
12-11-2012, 04:48 PM
Hello -
Below is the code to display new threads on a remote site.
1. How can this be modified so instead of linking to the thread, it opens the most recent post in that thread?
2. How could it be modified to show the most recent posts instead of just threads?
<script src="http://www.yourdomain.com/forumpath/external.php?type=js" type="text/javascript"></script> <script type="text/javascript"> <!-- for (i in threads) { document.writeln(threads[i].title + " (" + threads[i].poster + ")<br />"); } //--> </script>
Below is the code to display new threads on a remote site.
1. How can this be modified so instead of linking to the thread, it opens the most recent post in that thread?
2. How could it be modified to show the most recent posts instead of just threads?
<script src="http://www.yourdomain.com/forumpath/external.php?type=js" type="text/javascript"></script> <script type="text/javascript"> <!-- for (i in threads) { document.writeln(threads[i].title + " (" + threads[i].poster + ")<br />"); } //--> </script>