Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Instant Txt/ Html/ Java File Forum Integration Details »»
Instant Txt/ Html/ Java File Forum Integration
Version: 1.00, by Erwin Erwin is offline
Developer Last Online: May 2013 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 06-11-2004 Last Update: Never Installs: 63
 
No support by the author.

INSTANT TXT/ HTML/ JAVA FILE FORUM INTEGRATION

Version 1.3 for vBulletin 3.x.x by Dr Erwin Loh

As the name suggests, this hack allows you to display any HTML file integrated into your forums automatically.

No file hacking! No template modifying! Just upload 1 file!

There is no need to make a new template or PHP file. Easy way to incorporate rules, messages, web pages etc. into your forums.

All you need to do is to run this URL:
http://www.your-forums/forums/html.php?file=xxx.html

Where xxx.html is the HTML file you want to integrate into your forums. The file extension can be HTML, HTM, SHTML or even TXT (text files). You can add more file extensions by modifying html.php - NOTE: the file name is case-sensitive.

This is also a quick way to integrate java applets into your forum (for example, java chat applets). Just copy and paste the java applet code into a HTML file, and then put the HTML file name into the URL above. Instant java integration!

For HTML files in subdirectories, use this URL:
http://www.your-forums/forums/html.p...ctory/xxx.html

By default, the title is the filename. To make a custom title in your forum page, use this URL:
http://www.your-forums/forums/html.p...tml&title=Your Title

You can have spaces in your custom title.

I have disabled remote file integration - this way other people cannot use this link to integrate offensive pages into your site.

To let only certain usergroups see the page, instructions are in the PHP file on how to do it.


Installation- upload 1 file!

1) Upload html.php into your forum directory.

2) Done!

3) Upload any HTML file or TEXT file into your forums directory, or sub-directory, and run the command line URL as listed above, and you'll see the file integrated into your forums automatically!



Update

Version 1.1 - Made the the title of the forums show up in the page and the heading of the table if no title is set in the URL - if the title is set, the title is now also shown in the table heading.

Version 1.2 - added automatic navbar support.

Version 1.3 - reduce 1 query by caching template.

Enjoy!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 06-29-2005, 04:31 PM
Marcus Lau Marcus Lau is offline
 
Join Date: May 2002
Location: Singapore
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi all,

I check already and everything seems to be ok in the html.php using dreamweaver php editor:

however i still encounter this error:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /yourforums.com/public_html/forums/html.php(65) : eval()'d code on line 10

Alright, that is for .txt

thanks in advance
Reply With Quote
  #53  
Old 06-29-2005, 04:37 PM
Marcus Lau Marcus Lau is offline
 
Join Date: May 2002
Location: Singapore
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i found another one with regards to .html

Warning: fopen(index.html): failed to open stream: Permission denied in /html.php on line 48

Warning: fread(): supplied argument is not a valid stream resource in /html.php on line 49

Warning: fclose(): supplied argument is not a valid stream resource in /html.php on line 50

thanks
Reply With Quote
  #54  
Old 06-30-2005, 07:12 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Marcus Lau
Hi all,

I check already and everything seems to be ok in the html.php using dreamweaver php editor:

however i still encounter this error:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /yourforums.com/public_html/forums/html.php(65) : eval()'d code on line 10

Alright, that is for .txt

thanks in advance
Don't use Dreamweaver to edit your files. DW is trying to 'help' you by adding things that will kill your page.
Reply With Quote
  #55  
Old 06-30-2005, 01:06 PM
Marcus Lau Marcus Lau is offline
 
Join Date: May 2002
Location: Singapore
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But brother ... for the html.php i did not edit any single file i just follow instruction from erwin and then just upload and those are the errors i encounters when trying to locate a .txt and .html file.

Please advice ... thanks!
Reply With Quote
  #56  
Old 07-03-2005, 02:34 AM
fiber1's Avatar
fiber1 fiber1 is offline
 
Join Date: Jun 2004
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyway this can be modified to pulll my other websites html pages?
Reply With Quote
  #57  
Old 10-11-2005, 03:14 PM
Rastus Rastus is offline
 
Join Date: Jun 2004
Location: San Antonio, Texas
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Getting this error on 3.5

Fatal error: Call to undefined function: gettemplate() in /newhome/******/public_html/html.php on line 48
Reply With Quote
  #58  
Old 10-17-2005, 08:43 AM
Colejo Colejo is offline
 
Join Date: Jul 2005
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to get this to work on 3.5 Gold?
Reply With Quote
  #59  
Old 10-19-2005, 10:58 AM
SnowBot's Avatar
SnowBot SnowBot is offline
 
Join Date: Jul 2003
Location: Manchester UK
Posts: 631
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the only hack i am missing now for 3.5 GOLD

Any updates Erwin ?

Thanks
Reply With Quote
  #60  
Old 12-05-2005, 03:58 PM
mavherzog's Avatar
mavherzog mavherzog is offline
 
Join Date: Dec 2004
Location: Columbus, WI
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SnowBot
This is the only hack i am missing now for 3.5 GOLD

Any updates Erwin ?

Thanks
Ditto for me. I'd love to have this functioning on my newly-installed 3.5.1 site.
Reply With Quote
  #61  
Old 01-17-2006, 10:39 AM
drex drex is offline
 
Join Date: Feb 2005
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another request for 3.5.3.........

please!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:03 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06418 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete