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 |
#82
|
|||
|
|||
Hello again Erwin, just thought to mention I have Apache/1.3.24 and made a .htaccess with the code below and uploaded to
http://www.mysite.com/forums/.htaccess *When i tried to access any page including my index I get "Internal server error" **Thanks anyway for taking the time, if i can't get this to work will look for alternate method but was just looking for some way to integrate the VBB search engine and way to index all my extra file's in /data even if not possible with the VBB search engine Thanks Erwin |
#83
|
||||
|
||||
Weird - your server may not have .htaccess enabled or something like that.
Sorry, not much I can do to get around this without using redirection like that... |
#84
|
|||
|
|||
Nah .htaccess is enabled...I have on other directorys...cool enough erwin I'll get it figured and appreciate your help
|
#85
|
||||
|
||||
Try my .htaccess file again, but remove the last line. See if that works.
|
#86
|
|||
|
|||
Tried again last line removed but get internal error again, just to be sure and this may be stupid question...The contents of the .htaccess file should just be the code correct? and not the standard .htaccess contents like
AuthUserFile /home/whatever/info/.htpasswd AuthGroupFile /dev/null AuthName "Hello" AuthType Basic <Limit GET POST> require valid-user </Limit> *I have simply made a file named .htaccess and inserted just your code and none of the usual .htaccess code like above...is this correct? RewriteEngine on RewriteRule ^data/([^$]*).html$ html.php?file=data/$1.html RewriteRule ^[ft]([0-9]+)/s([^/]*)/(.+)$ /$3 [L] **And then tried the second time with the contents of .htaccess being RewriteEngine on RewriteRule ^data/([^$]*).html$ html.php?file=data/$1.html |
#87
|
||||
|
||||
I used the hack and it worked but I don't understand how to make the VB DB work with it? Any info how to make this work? Here's what it looks like so far.
http://www.allstarchat.com/forums/ht...ile=index.html |
#88
|
||||
|
||||
What do you mean make the vB Db work with it? Please explain, or use some examples.
|
#89
|
||||
|
||||
The only instructions are:
RealChat can be easily integrated with any user profile ( membership ) system. There is a set of parameters which allow you to pass additional information from an user profile database to client applet. You pass these parameters by using dynamically generated HTML code. You can use any server-parsed HTML tools such as ASP, PHP, Perl, or whatever you like. Tip: The easiest way is to do this is to use any of your existing site login scripts as a template, and modify it so after a successful login the script dynamically generates the applet page. In the example below parameters have been added to pass the user's nickname, real name, age, and favorite drink. The user is also prohibited from changing his/her profile once logged in. There is detaied explanation for what each parameter does in the Configuration directives reference section. -------------------------------------------------------------------------------- <applet codebase = "." archive = "RealChat.jar" code = "rcs.client.RealChatClient.class" name = "ChatClient" width = "300" height = "100" MAYSCRIPT> <param name="nick" value="BadJohn"> <param name="pValue1" value="John Doe"> <param name="pValue2" value="35"> <param name="pLabel3" value="Favorite drink:"> <param name="pValue3" value="beer"> <param name="canChangeProfile" value="no"> </applet> I don't know how to get these tags to use the information from VB. I tried putting "$bbuserinfo[joindate], [joindate],and "post$[joindate] in the value field as an example and it was blank when I opened the page. What should I put in the value field, I don't have a clue. |
#90
|
|||
|
|||
This is a great hack, but how can I have the "vBulletin Message" which seems to be some sort of default actually be the title of the document.
An example of what I am refering to: http://www.spamsession.com/1/vb1/htm....htm&title=WXP Thanks! |
#91
|
|||
|
|||
Never mind, I figured it out after scratching my head a bit more.
Open your "standarderror" template and search for this code: PHP Code:
PHP Code:
In the html.php file, search for this code: PHP Code:
Make sure you upload the html.php file after you finished. You can see the final results here (for now at least): http://www.spamsession.com/1/vb1/htm...0/Windows%20XP :banana: |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|