vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Instant Txt/ Html/ Java File Forum Integration (https://vborg.vbsupport.ru/showthread.php?t=66084)

Spinball 09-10-2004 08:05 PM

Great hack, Erwin and very useful.
However I want to use it to display the results of a dynamic php script. Is this possible?
For example, I have set up a php script called hcc_reviews.php at
http://www.avforums.com/forums/hcc_reviews.php
which works fine.
It's contents are simply:

PHP Code:

<?php
include("http://www.homecinemachoice.com/cgi-bin/reviews_for_avforums.php");
?>

But if I call html.php with file=hcc_reviews.php, I get our forum template round nothing.

http://www.avforums.com/forums/html....cc_reviews.php

Do you know why and how to make it work?
Please help!!!!
Thanks :)

Blam Forumz 09-12-2004 07:16 PM

Have you got a nice little small java chat applet? I cant seem to find one anywhere

Great hack ^^

Erwin 09-12-2004 10:58 PM

Quote:

Originally Posted by Spinball
Great hack, Erwin and very useful.
However I want to use it to display the results of a dynamic php script. Is this possible?
For example, I have set up a php script called hcc_reviews.php at
http://www.avforums.com/forums/hcc_reviews.php
which works fine.
It's contents are simply:

PHP Code:

<?php
include("http://www.homecinemachoice.com/cgi-bin/reviews_for_avforums.php");
?>

But if I call html.php with file=hcc_reviews.php, I get our forum template round nothing.

http://www.avforums.com/forums/html....cc_reviews.php

Do you know why and how to make it work?
Please help!!!!
Thanks :)

This hack is to integrate static files like HTML or TXT, not other dynamic PHP files.

Roms 09-28-2004 03:03 AM

Awesome!

*clicks Install

fuse3k 09-28-2004 02:20 PM

Another great contribution to the community. Thank you Erwin.

memobug 11-07-2004 07:28 AM

Hi Erwin,

I know you noted that you have disabled remote file integration, but is there a way that the html file to be included could be remote so long as it's still on the same server? I have many html cached files I would like to include but they don't reside in subdirectories. In fact they are in different subdomains. (forum is in http://forum.mydomain.com, other good stuff is in http://news.mydomain.com; http://etc.mydomain.com

If no, what does it take to re-enable remote file integration?



Regards,

Matt

BamaTech 11-19-2004 01:25 PM

Oustanding Hack

works great with my vbulletin/vba cmps setup

thanks

Spinball 12-19-2004 10:54 AM

Dr Erwin, Sir, is how would I include use of the pages using this hack in the who's online information?
I.e. by using the page title?

T3MEDIA 12-23-2004 05:47 PM

ok No one asked this so I will.
Can you set Variables in this hack? know you said static.
Ie <if $user ect.... or $home_smallfooter

thanks.

yoyoyoyo 12-24-2004 06:51 AM

I am having some problems getting some javascript to work with this hack. I created a html page with a javascript game on it, and when I go to the html page alone it works fine, but when I try to call it up by using the html.php and embed it in my site the javascript is disabled. Java applets work fine, and some javascripts work fine, but not all of the javascripts that I have tried are working with this hack. Any help or ideas would be appreciated.


All times are GMT. The time now is 03:30 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.01142 seconds
  • Memory Usage 1,740KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete