Log in

View Full Version : changing forum from php to .html and upgrading


nbaphenom
01-21-2009, 10:11 PM
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 ?

Vaupell
01-21-2009, 10:24 PM
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.

nbaphenom
01-21-2009, 10:34 PM
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.
There is an extension on vbulletin.com to download .html like this forum
http://www.mixmakers.net/forums/everything-nothing/205272-bought-my-first-house.html

Vaupell
01-21-2009, 10:42 PM
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. :D

but im suspecting from searching "his" threads on this forum its becourse
he have brigded vbulletin with wordpress, so he imports data from somewhere..

nbaphenom
01-21-2009, 10:46 PM
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. :D

but im suspecting from searching "his" threads on this forum its becourse
he have brigded vbulletin with wordpress, so he imports data from somewhere..
No there is no index.html the .html is just for threads and is an extension .

Vaupell
01-21-2009, 11:00 PM
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-to-use-php-in-pages-with-a-html-extension-or-any-other/

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

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.
aparently its something you can do on apache servers.


well in sort.. you need to modify your .htacces file (if you have one)
and add this line

AddType application/x-httpd-php .html .moo .htm
this would make them markup as .html :D

--------------- Added 1232586217 at 1232586217 ---------------

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 ? :D

nbaphenom
01-21-2009, 11:17 PM
Or I could just download the vbulletin .html extention that is offered in the members area .

Vaupell
01-21-2009, 11:24 PM
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..

isatice
01-22-2009, 12:03 AM
There is an extension on vbulletin.com to download .html like this forum
http://www.mixmakers.net/forums/everything-nothing/205272-bought-my-first-house.html

as you see in the footer there is a vbseo copyright , and they just use vbseo , not a html extension , it just redircts urls for spiders and maybe humans!

SEOvB
01-22-2009, 12:33 AM
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

Dismounted
01-22-2009, 02:50 AM
What you are looking for are human friendly URLs. This can be achieved using the many SEO modifications out there, such as vBSEO.

Marco van Herwaarden
01-22-2009, 09:30 AM
Warning: If you are currently using the .php version of vBulletin, then you should never at a later stage download the package with the .html extension and overwrite your files. This will not work and render your board unaccessible.

The version with .html extension is downloadable for every member, but should only be used on servers where the configuration does not allow .php.

helltonic
01-22-2009, 05:05 PM
hmm sorry but what would the difference be? i thought the HTML in a .php file was rendered the same as the HTML in a .html file.

Dismounted
01-23-2009, 03:42 AM
hmm sorry but what would the difference be?
Templates have the extension hard coded into them, as well as many modifications. Your board will not work if you change this after installation.
i thought the HTML in a .php file was rendered the same as the HTML in a .html file.
There is no raw HTML in any of vBulletin's PHP files. All the HTML is inside templates in the database and are displayed on request.