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 |
#2
|
||||
|
||||
If you only want to give registered members and staff to have access to the HTML integrated page, then:
In html.php find: PHP Code:
PHP Code:
|
#3
|
||||
|
||||
And, if you do install this hack, and like it, please post your feedback and comments here.
|
#4
|
||||
|
||||
Another tip:
You can add more file extensions to be integrated using this hack. Open html.php: Find: PHP Code:
|
#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?
|
#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. |
#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.
|
#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 PHP Code:
change the template to: Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>$bbtitle - $file</title> $headinclude </head> <body> $webheader <!-- breadcrumb --> <table border="0" width="100%" cellpadding="0" cellspacing="0"> <tr> <td width="100%"><br> <normalfont><b><a href="index.php?s=$session[sessionhash]">$bbtitle</a> > $file</b></normalfont></td> </tr> </table> <!-- /breadcrumb --> <br> <table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000" width="95%" align="center"> <tr> <td> <table cellpadding="4" cellspacing="1" border="0" width="100%"> <tr> <td bgcolor="#F1F1F1" align="left" valign="top" background="https://vborg.vbsupport.ru/greentek/back.gif"><normalfont> <br> </div> <center> $content </center> </td> </tr> </table></td> </tr> </table> $webfooter </body> </html> |
#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.
|
#10
|
||||
|
||||
I still want to see a preview dangit
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|