The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
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
Developer Last Online: May 2013
vB HTML, TXT, JAVA Integrator 2.0 - Automatically display any HTML, TXT or JAVA file integrated into vB - by Erwin
Upgraded for vB3: https://vborg.vbsupport.ru/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: Show Your Support
|
Comments |
#42
|
||||
|
||||
Quote:
|
#43
|
||||
|
||||
How difficult would it be to modify this to support a cgi perl script as a source file?
|
#44
|
||||
|
||||
Quote:
|
#45
|
||||
|
||||
I tried that. Didn't work.
|
#46
|
||||
|
||||
Well, in that case, it probably doesn't. Sorry, I just assumed it would, but I never tested it. The aim of this hack is primarily to integrate HTML, TXT or JAVA applets.
|
#47
|
||||
|
||||
Excellent hack, my good doctor!
Of all the hacks and add-ons I've views so far here, I would say this one offers the most value to my forums :-D Thank you for your efforts. MacKenzie The Asylum:Gathering Of Souls Team. |
#48
|
|||
|
|||
Erwin: Excellent hack. In fact I would request it, if it wasn't done.
I tested it with some Java script and text and works great. Though... today I created a very nice games gallery, since I don't like the look of the Flash Gallery Add-on. When I point to: "http://mydomain.com/html.php?file=games/Gamess.html" the page will show up the text but the graphics will not show up. Notice on the URL that I have located the html file and the graphics into a folder called games under the forum folder. If I click a graphic on the browser (showing the X) I notice it points to http://mydomain.com/filename.ext instead of http://mydomain.com/games/filename.ext However, when I look at the html code, it points to the correct folder. Any suggestion(s)? |
#49
|
||||
|
||||
To play Flash, why not just use my Flash Player hack? Click on the link in my sig.
If you want to use subdirectories with the HTML integrator, then in your html file, all links to images and Flash files must be ABSOLUTE paths (htttp://www.yourforums.com/images/test.gif) NOT RELATIVE paths (images/test.gif). Othewise it won't work. |
#50
|
|||
|
|||
Still doesn't work.
the absolute path is: http://mydomain/forums/games.filename.gif when I "call" as stated in the instructions "http://www.your-forums/forums/html.php?file=directory/xxx.html" the missing files properties shows: "http://mydomain/forums/filename.gif instead Erwin: Just tested it locally... it works with full absolute path, but it doesn't work on-line. I just noticed that there seems to be a DNS problem with my domain, however I can access it via IP, and it still doesn't work. |
#51
|
||||
|
||||
The problem is probably because you are using a subdirectory in the ?file=*** section - can you put the HTML file in the same directory as the html.php file, and just change all the paths in the HTML file to absolute paths to point to the right places. It will work if both the html.php and the HTML file are in the same directory.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|