Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-21-2009, 10:11 PM
nbaphenom nbaphenom is offline
 
Join Date: May 2007
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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 ?
Reply With Quote
  #2  
Old 01-21-2009, 10:24 PM
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Location: Esbjerg, Denmark
Posts: 1,036
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 01-21-2009, 10:34 PM
nbaphenom nbaphenom is offline
 
Join Date: May 2007
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vaupell View Post
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/ever...rst-house.html
Reply With Quote
  #4  
Old 01-21-2009, 10:42 PM
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Location: Esbjerg, Denmark
Posts: 1,036
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #5  
Old 01-21-2009, 10:46 PM
nbaphenom nbaphenom is offline
 
Join Date: May 2007
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vaupell View Post
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..
No there is no index.html the .html is just for threads and is an extension .
Reply With Quote
  #6  
Old 01-21-2009, 11:00 PM
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Location: Esbjerg, Denmark
Posts: 1,036
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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
Code:
AddType application/x-httpd-php .html .moo .htm
this would make them markup as .html

--------------- 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 ?
Reply With Quote
  #7  
Old 01-21-2009, 11:17 PM
nbaphenom nbaphenom is offline
 
Join Date: May 2007
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Or I could just download the vbulletin .html extention that is offered in the members area .
Reply With Quote
  #8  
Old 01-21-2009, 11:24 PM
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Location: Esbjerg, Denmark
Posts: 1,036
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #9  
Old 01-22-2009, 12:03 AM
isatice's Avatar
isatice isatice is offline
 
Join Date: Mar 2008
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nbaphenom View Post
There is an extension on vbulletin.com to download .html like this forum
http://www.mixmakers.net/forums/ever...rst-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!
Reply With Quote
  #10  
Old 01-22-2009, 12:33 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:27 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04682 seconds
  • Memory Usage 2,263KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete