The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Will Keep Asking Until I Get An Answer...
Alright, here goes again:
I am looking to post a "Latest Topics" feed from my vBulletin 3.6 forum and show it on my non-VB homepage. Code:
Example: www.fast-autos.net, left nav Thanks |
#2
|
|||
|
|||
http://www.vbulletin.com/forum/showthread.php?t=158895
Try that see if it works. P.S. Google is your friend |
#3
|
||||
|
||||
Thanks for the reply, Opserty
However, I am still unable to connect my Top 10 Latest Topics on my homepage. The code just creates a single link called "Latest Active Threads" and links to a search on my vBulletin forum. What I am looking for is a dynamic feed much like the www.fast-autos.net leftnav |
#4
|
|||
|
|||
Did you enable the external data provider?
Quote:
|
#5
|
||||
|
||||
Code:
<script type="text/javascript" src="external.php?type=js"></script> <script language="" type="text/javascript"> <!-- for (x = 0; x < 4; x++) { document.writeln("<strong><a href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a></strong><br /> Posted By: "+threads[x].poster+"<br /><br />"); } //--> </script> |
#6
|
||||
|
||||
Strange... Still not working...
Should I be adding a feed into my vBulletin RSS Feed Manager?? |
#7
|
|||
|
|||
Its not related to RSS.
Is your html page inside the same directory as your forum? If not you need to change the src in the HTML code given on that page or by markbolyard to point to the external.php page in your forum directory. |
#8
|
||||
|
||||
My homepage is a .php file outside of the forum directory. My forum is located in /forum and my homepage is located in /
Any suggestions? |
#9
|
|||
|
|||
Try changing:
HTML Code:
<script type="text/javascript" src="external.php?type=js"></script> HTML Code:
<script type="text/javascript" src="/forum/external.php?type=js"></script> |
#10
|
||||
|
||||
Excellent, thanks! It appears to be working, except I have a few issues with this code:
1.) The latest threads do not seem to update in real-time, takes a good 5-10 minutes. (How can I make the feed update as quick as New Posts in vBulletin?) 2.) It only shows the thread title and thread user. (How do I show posting time and posting date?) 3.) No character limit (how can I enable a character limit so that these thread titles do not break my site design?) 4.) And lastly, how do I ensure that Mod-Only posts do not show up on this feed? Thanks very much!!! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|