vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How do I show calendar events on an external page (https://vborg.vbsupport.ru/showthread.php?t=141385)

bruuuuce 03-07-2007 11:52 AM

How do I show calendar events on an external page
 
I have the external feeds enabled and using that to show the 5 most recents posts from Vbulletin, but I would like to show the next 5 events in the calendar as well.

I have search and unable to find anything to see if this is possible.

I am using the JS code to display the top 5 posts and would be interested in finding the JS code for the next 5 calendar events also.

Is that possible?

This is the current code I am using that works fine for the posts:

<script type="text/javascript" src="http://www.pulaskicountyinsider.com/forum/external.php?type=js"></script>

<script type="text/javascript">
<!--
looplimit = threads.length;

if (looplimit>5)
looplimit = 5;

for (var i = 0; i < looplimit; i++)
{
document.write('<center><a href="http://www.pulaskicountyinsider.com/forum/showthread.php?t=' + threads[i]['threadid'] + '">' + threads[i]['title'] + '</a> <BR><em>Posted on: ' + threads[i]['threaddate'] + ' ' + threads[i]['threadtime'] + '</em><br />');
}
//-->
</script>


All times are GMT. The time now is 03:49 PM.

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.03142 seconds
  • Memory Usage 1,699KB
  • 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
  • (1)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