Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
HTML, TXT, JAVA Integrator 2.0 Automatically display any HTML, TXT or JAVA file in vB Details »
HTML, TXT, JAVA Integrator 2.0 Automatically display any HTML, TXT or JAVA file in vB
Mod Version: 1.00, by Erwin (Member) Erwin is offline
Developer Last Online: May 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.3.x Rating: (1 vote - 5.00 average) Installs: 47
Released: 26 Sep 2002 Last Update: Never Downloads: 9
Not Supported  

vB HTML, TXT, JAVA Integrator 2.0 - Automatically display any HTML, TXT or JAVA file integrated into vB - by Erwin

Upgraded for vB3:
http://www.vbulletin.org/forum/showthread.php?t=66084

Hack updated - made it even easier to install - upload 1 file, and you're done! Just change the URL parameters as needed. No need to add templates or edit files.

As the name suggests, this hack allows you to display any HTML file as integrated into your forums. 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

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.

Installation

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!


If you like this and want to receive updates, do press the "Install" link at the bottom of the thread.

Enjoy!

This version here is lets ALL users see the integrated HTML page. To let members only see the page, make the modifications listed in the next post.

Updates:

Version 1.1 - Added ability to add a custom page title to the integrated HTML forum page!

Version 2.0 - Removed the need to add a template. Just upload the file, and you're done.


Download:

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Instant Txt/ Html/ Java File Forum Integration Erwin vBulletin 3.0 Full Releases 65 24 Mar 2008 22:31

Comments
  #2  
Old 26 Sep 2002, 06:20
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
If you only want to give registered members and staff to have access to the HTML integrated page, then:

In html.php find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add BELOW:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Unregistered guests, banned members and email confirmation members will get the no permission page.

Last edited by Erwin; 29 Mar 2003 at 04:18.
Reply With Quote
  #3  
Old 26 Sep 2002, 06:24
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
And, if you do install this hack, and like it, please post your feedback and comments here.
Reply With Quote
  #4  
Old 26 Sep 2002, 06:27
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Another tip:

You can add more file extensions to be integrated using this hack.

Open html.php:

Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You can add "asp, cgi" etc. to the list in that line - there's no reason why it wouldn't work. Mind you, I haven't tried it, but it should work.
Reply With Quote
  #5  
Old 26 Sep 2002, 06:40
Brad Brad is offline
 
Join Date: Nov 2001
so basicly this is like the webtemplates hack only it dosent store things in the DB and inserts your header and footer templates around a html page?
Reply With Quote
  #6  
Old 26 Sep 2002, 06:42
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
I've never used the webtemplates hack, so I don't know how that works.

With this hack, the HTML files are not stored in the db. You upload them to your forums directory, then use the file to integrate them into your forums, with the header and footer around it. Once this hack is installed, all you need to do is "point and shoot" at the HTML file, and it will show up as integrated into your forums.
Reply With Quote
  #7  
Old 26 Sep 2002, 06:47
Brad Brad is offline
 
Join Date: Nov 2001
ah i see, it works kinda like it then, calling files via a .php file. nice hack, wont be using it myself tho, well mabey.
Reply With Quote
  #8  
Old 26 Sep 2002, 06:55
Brad Brad is offline
 
Join Date: Nov 2001
Tip:

if you want to add a custom header or footer to this hack, for say building a whole website around it do this.

add two new templates, webheader, and webfooter. put whatever you want to show up as the header and footer in the respected templates.

open global.php

find:

// parse other global templates

below it add


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

open the html template (created in hack install)

change the template to:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #9  
Old 26 Sep 2002, 07:04
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Thanks for the tip, Anime-Loo. My hack works with the standard header and footer of your forum, but if you want a different set of headers and footers, then your tip would help with that.
Reply With Quote
  #10  
Old 26 Sep 2002, 10:28
blackice912's Avatar
blackice912 blackice912 is offline
 
Join Date: Jun 2002
Real name: Brad
I still want to see a preview dangit
Reply With Quote
  #11  
Old 26 Sep 2002, 10:55
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Imagine any HTML file, then imagine it inside your forums, with your forum header and footer...

How can I give a screenshot? I could show you anything, since the HTML file can be anything you want it to be.
Reply With Quote
  #12  
Old 26 Sep 2002, 11:30
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Minor update - version 1.1

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.php?file=xxx.html&title=Your Title

You can have spaces in your custom title.

To upgrade from previous versions, just download the new ZIP, and upload the new html.php - there is no change to the template.
Reply With Quote
  #13  
Old 26 Sep 2002, 11:34
Brad Brad is offline
 
Join Date: Nov 2001
example:

heres the html as it would be if called directly:

http://www.kousetsu.net/down/down.htm

and called via the hack:

http://www.kousetsu.net/kan/html.php?file=down.htm

ps: i know the images are broken, i dont have the time to edit the html right now, this is not a bug in the hack

Last edited by Anime-loo; 26 Sep 2002 at 11:38.
Reply With Quote
  #14  
Old 26 Sep 2002, 11:38
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Anime-loo - download the new html.php file, and you can have a custom title, instead of the filename as the title.

The URL would be:

http://www.kousetsu.net/kan/html.php?file=down.htm&title=We are down

Note: You must download and upload the new html.php (version 1.1)

Also - make sure the image paths are relative to where the html.php file is, or use full paths - otherwise you get broken image links.

Last edited by Erwin; 26 Sep 2002 at 11:40.
Reply With Quote
  #15  
Old 26 Sep 2002, 11:41
Brad Brad is offline
 
Join Date: Nov 2001
Originally posted by Erwin
Anime-loo - download the new html.php file, and you can have a custom title, instead of the filename as the title.

The URL would be:

http://www.kousetsu.net/kan/html.php...n.htm&title=We are down

Note: You must download and upload the new html.php (version 1.1)

i know , its the file i have on the server ATM, i only posted the link to show a example, i dont really have a use for the hack ATM
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 00:54.

Layout Options | Width: Wide Color: