vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How can I include an .html file in the footer ? (https://vborg.vbsupport.ru/showthread.php?t=227603)

methodstorm 11-08-2009 12:46 PM

How can I include an .html file in the footer ?
 
How can I include an .html file in the footer?

Thanks in advance!

fta2k 11-08-2009 12:51 PM

For download or to show/say something?

methodstorm 11-08-2009 12:53 PM

Quote:

Originally Posted by fta2k (Post 1911614)
For download or to show/say something?

just an .html produced by another prg to show data... just text. I want it to display at the bottom of the forums.

methodstorm 11-13-2009 10:54 AM

anyone have any ideas? can it not be done? thanks

kh99 11-13-2009 12:31 PM

You could create a plugin using the "global_setup_complete" hook and modify the $footer variable at that point (you'd need php code to read in the file, which I guess could get complicated if it includes styles or javascript) Of course you could just copy the HTML you want to the footer template, but I guess if that would work for you you'd have done it already.

methodstorm 11-17-2009 12:28 AM

Quote:

Originally Posted by kh99 (Post 1913535)
You could create a plugin using the "global_setup_complete" hook and modify the $footer variable at that point (you'd need php code to read in the file, which I guess could get complicated if it includes styles or javascript) Of course you could just copy the HTML you want to the footer template, but I guess if that would work for you you'd have done it already.

the data in the .html file is updated every 5 minutes so that wont work. :(

kh99 11-17-2009 12:39 AM

OK, how about this: http://www.vbulletin.com/docs/html/t..._externalfiles

(Someone just asked about including php output in another thread, but the manual has instructions for HTML as well).

Brandon Sheley 11-17-2009 01:21 AM

is this what you're talking about

SHTML or ASP: <!--#include virtual="/path_relative_to_site" -->
PHP: <?php include("../path_relative_to_document") ?>


All times are GMT. The time now is 10:35 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.00988 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
  • (2)bbcode_quote_printable
  • (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