vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Latest Posts (https://vborg.vbsupport.ru/showthread.php?t=225259)

Stormraven 10-15-2009 12:29 AM

Latest Posts
 
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
[HowTo] Display your latest threads on an external page using an XML feed
[HowTo] Display your latest threads on an external page using an RSS feed

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.


All times are GMT. The time now is 05:26 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00985 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete