PDA

View Full Version : Latest Posts


Stormraven
10-15-2009, 12:29 AM
On my website www.prowebforums.com - in the sidebar im trying to get the latest posts down the right hand side, inside the sidebar, i want the latest posts to run vertically down the right hand side. I cant find an addon for this and im not really sure which way to go about it.

Kind Regards.

Lynne
10-15-2009, 12:35 AM
If you don't want to write a query to grab the info or read the article about it in the articles forum, then see these threads to pull threads via javascript:
[HowTo] Display your latest threads on an external page using an RSS2 feed (http://www.vbulletin.com/forum/showthread.php?t=159044)
[HowTo] Display your latest threads on an external page using an XML feed (http://www.vbulletin.com/forum/showthread.php?t=158934)
[HowTo] Display your latest threads on an external page using an RSS feed (http://www.vbulletin.com/forum/showthread.php?t=158916)

Stormraven
10-15-2009, 12:44 AM
Thankyou, but what exactly is a xml feed? :)

Lynne
10-15-2009, 12:48 AM
They are different feeds you may turn on for your site under vboptions > External Data Provider. There may be info on each of them in the manual.

Stormraven
10-15-2009, 12:53 AM
with this one:

http://www.vbulletin.com/forum/showthread.php?t=158934

which php file do i edit? because i want the top 10 latest posts to appear on more than one page, not only on the forumhome.

Lynne
10-15-2009, 01:05 AM
I would guess you could include it in a plugin (global_start maybe) and just put a condition around it to only include it on those couple of pages.

Stormraven
10-15-2009, 01:08 AM
do you mean 'vbulletin_global.js? or global.php?

Lynne
10-15-2009, 02:34 AM
I mean create a plugin using (perhaps) the global_start hook location. You could also put it in it's own file, give it a .js extension and then call it in the headinclude template. It's really up to you how you want to do it.