![]() |
|
Mod Options |
![]() |
|||||||||||
HTML, TXT, JAVA Integrator 2.0 Automatically display any HTML, TXT or JAVA file in vB
![]() Developer Last Online: May 2013 ![]() ![]() ![]() This modification is in the archives.
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
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Instant Txt/ Html/ Java File Forum Integration | Erwin | vBulletin 3.0 Full Releases | 65 | 24 Mar 2008 23:31 |
Comments |
#2
|
||||||||
|
||||||||
If you only want to give registered members and staff to have access to the HTML integrated page, then:
In html.php find:
Add BELOW:
Unregistered guests, banned members and email confirmation members will get the no permission page. No members have liked this post.
Last edited by Erwin; 29 Mar 2003 at 05:18. |
#3
|
||||
|
||||
And, if you do install this hack, and like it, please post your feedback and comments here.
![]() No members have liked this post.
|
#4
|
||||
|
||||
Another tip:
You can add more file extensions to be integrated using this hack. Open html.php: Find:
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. ![]() No members have liked this post.
|
#5
|
|||
|
|||
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?
No members have liked this post.
|
#6
|
||||
|
||||
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. No members have liked this post.
|
#7
|
|||
|
|||
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.
No members have liked this post.
|
#8
|
||||||||
|
||||||||
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
open the html template (created in hack install) change the template to:
No members have liked this post.
|
#9
|
||||
|
||||
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.
![]() No members have liked this post.
|
#10
|
||||
|
||||
I still want to see a preview dangit
![]() No members have liked this post.
|
#11
|
||||
|
||||
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. No members have liked this post.
|
#12
|
||||
|
||||
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. No members have liked this post.
|
#13
|
|||
|
|||
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 ![]() No members have liked this post.
Last edited by Anime-loo; 26 Sep 2002 at 12:38. |
#14
|
||||
|
||||
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. No members have liked this post.
Last edited by Erwin; 26 Sep 2002 at 12:40. |
#15
|
|||
|
|||
i know ![]() ![]() No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 05:51.