The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
External Data
im using the external data to show news on a page. however its only showing the links.. is there a way it can show the first post of each thread below each link?
example of what is showing now: Name of Topic on: 06-04-2009 by googlexx 06:17 PM Name of Topic on: 06-01-2009 by googlexx 05:08 PM Name of Topic Posted on: 05-31-2009 by googlexx 02:24 PM Name of Topic 05-29-2009 by googlexx 09:24 AM what i want it to show: Name of Topic on: 06-04-2009 by googlexx 06:17 PM What the first post of the topic says. the content Name of Topic on: 06-01-2009 by googlexx 05:08 PM What the first post of the topic says. the content this is the code im using Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>External JS Printing</title> </head> <body> <script type="text/javascript" src="http://xxx/forums/external.php?type=js&forumids=2"></script> <script type="text/javascript"> <!-- for (var i = 0; i < threads.length; i++) { document.write('<a href="http://xxx/forums/showthread.php?t=' + threads[i]['threadid'] + '">' + threads[i]['title'] + '</a> <em>Posted on: ' + threads[i]['threaddate'] + ' by ' + threads[i]['threadtime'] + '</em><br />'); } //--> </script> </body> </html> thanks |
#2
|
||||
|
||||
You cannot do it using javascript, no. You would have to use an actually query on the page to grab that information.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|