vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Including *.shtml pages in vBulletin pages (https://vborg.vbsupport.ru/showthread.php?t=230831)

dietpepsi 12-22-2009 02:24 PM

Including *.shtml pages in vBulletin pages
 
Hey guys. I have a seperate database program with 750+ seperate articles, each one on its own page. It's not static text, as I often need to modify the database to change content of many of these articles. These article pages have URL's ending in .shtml rather than PHP. What I would like to do is this:

- Strip the header\footer from template of my articles.
- Have these 750+ pages integrated into vBulletin's header/footer.

The reason I mention the qty of articles is that it would be great if there were a way to create one template and then, based on the url, pull a different article out of my seperate database. Such as:

http://www.example.com/articles.php?do=article1

The above example url would pull a file named article1.shtml and put its content in a VB page.

I hope this makes sense. I have read through the forums here for help and have tried various methods to make this work, but nothing yet has seem to be what I need.

Please help! Thank you.


All times are GMT. The time now is 12:19 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.00935 seconds
  • Memory Usage 1,704KB
  • 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