It sounds cool and I want to know more![]()
It sounds cool and I want to know more![]()
its probably something so that you or others can put a simple javascript include and have the latest threads show up on a non-vb site (your site or an external users site)
just a guess. i haven't gotten that far yet.
Ditto, I as well want to know moreOriginally Posted by SpeedStreet
![]()
Reply
Jean-Jacques
http://www.aurore-france.net
It is something that allows you to send arrays of messages, threads or forums to another site so that they can display that infomation anywhere on the site.
The system also does RSS information feeds for integration into other scripts and programs (Trillian, Netscape's Sidebar, etc...).
Yes, but what is the file or script to point to?
Tx Wayne
First you have to turn the options on in your ACP.
vBulletin Options -> External Data Provider
You are given three options and you can use any combination that you like. The options are Javascript, XML, and RSS.
Then you link to external.php to get the information.
Javascript = www.yourdomain.com/forumpath/external.php?type=js
XML =
www.yourdomain.com/forumpath/external.php?type=xml
RSS =
www.yourdomain.com/forumpath/external.php?type=rss
RSS 2.0 =
www.yourdomain.com/forumpath/external.php?type=rss2
The system defaults to RSS so if you leave off the type, that is what you get.
You can refine this by specifying forumids in the path like so:
http://www.vbulletin.com/forum/external.php?forumids=55
I am sure there is more but I haven't researched it fully yet.
Hrrrm, this could be extremely handy.
How can you edit the settings, say with the javascript settings - I checked it out - http://www.pluh.com/forums/external.php?type=js - and it pulled up my first 15 posts ever.
What are some other parameters for this nifty feature?![]()
Pluh.com (random nonsense) - Psychostick.com (my stupid band) - Collectiveunderground.com (AZ local music site) - Evacuatechicago.com
How do you break up the information so it's not all clumped together like that?
I want to pull the info from an announcemnt forums onto a news page for a website I am building.
Can this also be used to display a certain thread? so that I can have the comments relating to an article on the same page with the article?
I know nothing about Javascript. I am not a programmer.
Will all this be in the Documentation?
If you want to play around with it already, you could use something like this:Originally Posted by Mac Write
That would output the following:Code:<script src="/yourvb3location/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>
Thread title 1 (Poster name)
Thread title 2 (Poster name)
...
Thread title 15 (Poster name)
Or, say you want to limit it to the last 5 threads only, you would use:
Code:<script type="text/javascript"> <!-- for (i = 0; i < 5; i++) { document.writeln(threads[i].title + " (" + threads[i].poster + ")<br />"); }
Last edited by Marco; Sat 21st Jun '03 at 2:48am.
Bookmarks