The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Is this correct?
Code:
ctr = 0; for (x in threads) { document.writeln("<a href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a><br />"); ctr++; if (ctr == 8) { break; } } I keep getting an error and my latest threads wont display right. Thanks for the help. |
#2
|
||||
|
||||
![]()
It always helps if you post the actual error you are getting.
See this thread - http://www.vbulletin.com/forum/showthread.php?t=283817 |
#3
|
||||
|
||||
![]() Quote:
***To fix this issue*** Enable external javascript AdminCP>VB Options>External Data Provider> I also had to fix the JS as it was not correct - Code:
<!-- 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 />"); } //--> |
#4
|
||||
|
||||
![]()
Here, try this, its the code I use on my site. This will display the most recent 15 threads.
Quote:
|
#5
|
|||
|
|||
![]()
Thanks for the code above,,, I've spent the better part of the day trying to get recent posts to show up on an html page and this one did the trick.
Thanks! Lift |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|