The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
changing forum from php to .html and upgrading
I want to change my forum to .html and upgrade so do i just delete all the current php files download the latest vbulletin in .html and upload ?
|
#2
|
||||
|
||||
i really doubt vb is able to run on purer html "hyper text markup language"
which really just is a from of styling, not really database and scriptwork. .php .asp etc.. are whast used for database work such as forum boards. and for vbulletin only .php ...for now.. no idea what the future brings. well you can run a frontpage in html and link to your vbulletin .php forum, but the forum itself stays in .php Hope im not to confuseing. |
#3
|
|||
|
|||
Quote:
http://www.mixmakers.net/forums/ever...rst-house.html |
#4
|
||||
|
||||
ahh a modification to add the .html extension in the url..
belive me when i say, that page is still run with .php in the background. can remember i seen a mod like that had it once for 3.6.x but it dosent show in the search.. well do a little test go to the site - http://www.mixmakers.net/forums/index.php there you see, the .php is still running in the background. how/why he has .html in his extension is unknown to me. but im suspecting from searching "his" threads on this forum its becourse he have brigded vbulletin with wordpress, so he imports data from somewhere.. |
#5
|
|||
|
|||
Quote:
|
#6
|
||||
|
||||
well you could "fake" it, but i dont see why anyone would..
eksamples found on my friend google : This i found here : http://discomoose.org/2006/04/28/how...-or-any-other/ Code:
To be able to use php code on a page with an extension other than .php, you need a server which supports .htaccess files. To add an extension to be parsed for php, create or edit a file called .htaccess (with the dot first) containing the following line: AddType application/x-httpd-php .html .moo .htm This tells the server to check for php code and execute it in files with extensions .html, .moo or .htm. So upload that .htaccess file in the same folder as your .html files with PHP code inside them (using PHP tags: <?php ... ?>) then when you view them in the browser, the PHP should be dealt with as you?d expect from a PHP page. and this i found here : http://www.peoplecnc.com/parse_php_into_html.html Code:
Let's say you built a site with pages with extensions PHP and now you want to switch to pages with extension HTML or .HTM, you would have to go page by page changing the extensions? Not necessarily. There is a trick through the apache handlers, whenever the site runs on superior Apache 1.3 or superior. well in sort.. you need to modify your .htacces file (if you have one) and add this line Code:
AddType application/x-httpd-php .html .moo .htm --------------- Added [DATE]1232586217[/DATE] at [TIME]1232586217[/TIME] --------------- okay just testet on my site, which is hostet on a winDOH's server and it is not possible there. Apachi ftw but just like the comments on those sites, say why would you do that ? |
#7
|
|||
|
|||
Or I could just download the vbulletin .html extention that is offered in the members area .
|
#8
|
||||
|
||||
well if you have that in your members area then yes.
i dont only thing i got in mine is different vb's and ImpEx and doc's, api's + google adsense stuff. sorry for any inconvience.. |
#9
|
||||
|
||||
Quote:
|
#10
|
||||
|
||||
Your server has to be setup to handle the .html extension into php to use the option from vBulletin.com/members
(More Options while downloading, php file extension from drop down.) I'm not sure how you'd get php to parse true html files with php in them. If you want the search engine friendly URL's i suggest checking out any of the free URL rewritting options or vBSEO |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|