![]() |
Instant Txt/ Html/ Java File Forum Integration
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! :) |
This sounds FANTASTIC and gives so many options to integrate in the forum ...
THANKS ! |
niceeeeeeee..
|
Very good :) Tnx Erwin.
|
It works great! Can we change where it says vBulletin Message to the page title somehow?
|
Quote:
|
Quote:
|
GREAT idea! I'll make good use of this!
|
This is just awesome, great way to integrate tournament signups into my fourm, I was thinking of doing something like this myself, but Erwin always does a much better job. :D Thanks dude.
[high]* Synicide frantically hits the install button.[/high] |
I give you my thanks, pal. Only one request. Could you remake
http://www.your-forums/forums/html.php?file=xxx.html to work with http://www.your-forums/forums/html/xxx.htm ? |
Version 1.1 update
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. All you need to do is download and upload the new html.php - nothing else to do. :) |
anyway to get the navlinks in there?
also, if the shtml file (or any for that matter) does anykind of ssi, they wont show up, ive been trying to find some way around this without having to use an iframe, this is as close as i have gotten. |
The navbar? That can be easily added actually... I'll do that for the next version.
|
This is a great idea and great hack :)
1 question :) Anyway to make it show up ascii ? It would be great if i can show off some of my ascii art this way. |
Yea... I installed this php file and renamed it to page.php.... everything includes fine, and i can do everything correctly, I also added a style named htmlinc for the wrapper of the page... what I tried to do was include the navbar, with all the links to the forums and everything... but I couldn't do it :( it wont even show up... here is the template:
I put the $navbar code in... so shouldn't it show up??? I am a noob @ hacking so :P Code:
$stylevar[htmldoctype] |
Any news on adding the navbar Erwin ? :)
|
I've been busy with my own site. :) This weekend hopefully.
|
You may call me idiot, but I have no great experience in vB, php etc.
What I am looking for, is a way to call an external .html file, to show a sponsors banner in every page of my forums. I know I can edit the templates to do it, but then every time I change something in my sponsors panel, I would have to edit the HTML code in several places. At the moment, I have the html code below my navbar, but not all forum pages use the navbar. I am not sure if I can do it with your hack. If you could help me out, I would sincerely appreciate it. My site is http://forum.m1911.org and what I am trying to put on the external html file is the table called "Sponsors Panel". Many thanks and kind regards |
Quote:
|
Fantastic! Just what I've been looking for all morning :D
Would really like to see the nav bar in there to finish it off.. ####### edit: nevermind I managed that bit myself :) ##### So yeah, if you can get the navbar to work with this, I'd be very happy :) Great hack, thanks again, KA |
This is the best thing since sliced bread. I loved it for vb2 and love it for vb3 :)
Thanks! Miguel |
Any news on the navbar front? If you don't have time to do it yourself, can you point us in the right direction to do it ourselves?
Thanks! |
Update
---------- Version 1.2 - added automatic navbar support. :) To upgrade, just download the new html.php, upload and done! No need to edit anything. |
Great job Erwin and thanks its appreciated very much sir. :)
|
<u>Minor update:</u>
Version 1.3 - reduce 1 query by caching template. Just upload the new html.php. |
Nice Hack. Wold it be possible to use this hack to show Java Script in a post. For example I want to show a rss stream in a sticky post . I dont want a clickable link. Any help would be appreaciated.
The script is Code:
<script language="JavaScript" src="http://jade.mcli.dist.maricopa.edu/feed/feed2js.php?src=http%3A%2F%2Fwww.wired.com%2Fnews%2Ffeeds%2Frss2%2F0%2C2610%2C40%2C00.xml&chan=n&num=4&desc=1&date=n&targ=n" type="text/javascript"></script> |
Did you upload the wrong file or something?
The 1.3 version is the same as 1.2.. |
help please...
How do i get this to work http://adventurersunited.com/forums/lotrd/index.php what do i need to type the browser for it to find this with the hack.. I already added the php extention inside the hack file... can someone tell me please.. |
Maybe i am stupid but i really don't understand what this hack does.
Does anyone have any demos of it or screen shots? |
It displays normal HTML pages so they look like they are within your forums.
So, for example, if you wanted to have a page showing the history of your forums, then create it in HTML, remove the <BODY> tag and everything above it. Then remove the </BODY> tag and everything after it. Then save it to your forums as history.html and link to it using http://www.yourforums.com/directory-...ml&title=Forum History |
Great hack, Erwin and very useful.
However I want to use it to display the results of a dynamic php script. Is this possible? For example, I have set up a php script called hcc_reviews.php at http://www.avforums.com/forums/hcc_reviews.php which works fine. It's contents are simply: PHP Code:
http://www.avforums.com/forums/html....cc_reviews.php Do you know why and how to make it work? Please help!!!! Thanks :) |
Have you got a nice little small java chat applet? I cant seem to find one anywhere
Great hack ^^ |
Quote:
|
Awesome!
*clicks Install |
Another great contribution to the community. Thank you Erwin.
|
Hi Erwin,
I know you noted that you have disabled remote file integration, but is there a way that the html file to be included could be remote so long as it's still on the same server? I have many html cached files I would like to include but they don't reside in subdirectories. In fact they are in different subdomains. (forum is in http://forum.mydomain.com, other good stuff is in http://news.mydomain.com; http://etc.mydomain.com If no, what does it take to re-enable remote file integration? Regards, Matt |
Oustanding Hack
works great with my vbulletin/vba cmps setup thanks |
Dr Erwin, Sir, is how would I include use of the pages using this hack in the who's online information?
I.e. by using the page title? |
ok No one asked this so I will.
Can you set Variables in this hack? know you said static. Ie <if $user ect.... or $home_smallfooter thanks. |
I am having some problems getting some javascript to work with this hack. I created a html page with a javascript game on it, and when I go to the html page alone it works fine, but when I try to call it up by using the html.php and embed it in my site the javascript is disabled. Java applets work fine, and some javascripts work fine, but not all of the javascripts that I have tried are working with this hack. Any help or ideas would be appreciated.
|
All times are GMT. The time now is 04:50 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|