The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to use External Data Provider
Hi,
Are you using the External Data Provider? can anyone give me an example of how you used this on your website? I found a script to display the lastest posts on a html page. So far so good, but how do you control the content that is displayed? (with css) For instance I want the text displaying the poster to be smaller: (Posted by: "+threads[x].poster+") I hope someone can give me more information, Code:
<!-- show latest active threads --> <table cellpadding="6" cellspacing="1" border="0" width="100%" align="center"> <tbody> <tr> <td colspan="2"> <a href="search.php?do=getnew">Latest Active Threads</a> </td> </tr> </tbody> <tbody> <tr> <td width="100%"> <div> <script type="text/javascript" src="external.php?type=js"></script> <script language="" type="text/javascript"> <!-- 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 />"); } //--> </script></div> </td> </tr> </tbody> <!-- show latest active threads --> </table> <br /> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|