vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Latest X posts - different approach. (https://vborg.vbsupport.ru/showthread.php?t=150085)

DPrueitt 06-19-2007 09:41 AM

Latest X posts - different approach.
 
I am migrating to VB 3.6.7 from an Ikonboard forum. Ikonboard has a utility called "Tiker" that will export post information to an HTML template each time a post is made. That HTML template is then included on non-forum pages as a server side include.

I have spent many hours reading through and trying all of the "Latest X" mods on the forum, but hoping someone can point me in the right direction to get started on adding the above functionality. I prefer this approach because:

1. Seems like it would be much less server intenstive to only update the lists of recent posts when someone actually makes a post vs all the PHP/Javascript utilities I have seen that constantly go and pull them from VB.

2. Users who have Javascript turned off have no problem seeing the results from an SSI on a static HTML page.

Anyone seen anything like this or can point me in the right direction to getting started? I am thinking there much be a hook that I can tap into each time a post is made to open up the file and do this myself.

Thanks for any help!

Dismounted 06-19-2007 10:19 AM

If you're looking for a hook, it's newpost_complete.


All times are GMT. The time now is 06:40 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.01124 seconds
  • Memory Usage 1,705KB
  • 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
  • (2)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