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

Reply
 
Thread Tools Display Modes
  #1  
Old 05-21-2010, 07:51 PM
twitch's Avatar
twitch twitch is offline
 
Join Date: Apr 2005
Posts: 260
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default CMS Page at root?

How do I make the CMS Homepage default page for root of site?

My forums are located at www.mysite.com/forum and I want the CMS page to load at www.mysite.com

How can I make that happen?

Thanks!
Reply With Quote
  #2  
Old 05-21-2010, 08:05 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by twitch View Post
How do I make the CMS Homepage default page for root of site?

My forums are located at www.mysite.com/forum and I want the CMS page to load at www.mysite.com

How can I make that happen?

Thanks!
I think I have seen an article at vb.com about doing that but can''t remember the exact link. you might want to have a look there.
Reply With Quote
  #3  
Old 05-21-2010, 08:07 PM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its easy really you just uncomment a line in the index.php file located in root/forums/
then you move that file to root :>

--------------- Added [DATE]1274476236[/DATE] at [TIME]1274476236[/TIME] ---------------

oh in index.php you have an option to uncomment a line . if your useing /forums/ use that if your useing /forum/ use that
Reply With Quote
  #4  
Old 05-21-2010, 11:05 PM
Rafa-el's Avatar
Rafa-el Rafa-el is offline
 
Join Date: Feb 2010
Location: Nicaragua
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you have vBSEO enabled you can do it via rewrite rules without touch the core files
Reply With Quote
  #5  
Old 05-22-2010, 04:20 PM
twitch's Avatar
twitch twitch is offline
 
Join Date: Apr 2005
Posts: 260
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. I will give it a try

--------------- Added [DATE]1274587412[/DATE] at [TIME]1274587412[/TIME] ---------------

Quote:
Originally Posted by harleyparts View Post
its easy really you just uncomment a line in the index.php file located in root/forums/
then you move that file to root :>

--------------- Added [DATE]1274476236[/DATE] at [TIME]1274476236[/TIME] ---------------

oh in index.php you have an option to uncomment a line . if your useing /forums/ use that if your useing /forum/ use that
worked like a charm Thanks!
Reply With Quote
  #6  
Old 05-23-2010, 02:05 PM
Hummie Hummie is offline
 
Join Date: Nov 2007
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

uh?

Was thinking of doing this, but I don't get your instructions.

and what is vBSEO
Reply With Quote
  #7  
Old 05-23-2010, 02:50 PM
steven s's Avatar
steven s steven s is offline
 
Join Date: Aug 2004
Location: Greenville, SC
Posts: 572
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by twitch View Post
How do I make the CMS Homepage default page for root of site?

My forums are located at www.mysite.com/forum and I want the CMS page to load at www.mysite.com

How can I make that happen?

Thanks!
Bottom line, no.
So far there are no easy solutions.
I'm doing it this way.
Reply With Quote
  #8  
Old 05-23-2010, 03:26 PM
Hummie Hummie is offline
 
Join Date: Nov 2007
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Then why does vBulletin offer these instructions? I would think they would work if vBulletin put them in their help files.

I am trying it right now though and cannot get it to work.

I get this on my homepage: Parse error: syntax error, unexpected T_DEFAULT in /home/content/h/u/m/humyadayada/html/index.php on line 4

--------------- Added [DATE]1274632137[/DATE] at [TIME]1274632137[/TIME] ---------------

And all over vbulletin.com it references these same files, yet has <?#shebang#?> in front of each of the coding, yet the vBulletin instructions for the scripts do not have this. What in the world is that? Do I need it?

--------------- Added [DATE]1274634252[/DATE] at [TIME]1274634252[/TIME] ---------------

OH WOW! I just figured it out and it was easier than all that mess!

I just copied the .index.php file to my desktop and read what it said about deleting the "//" from that one line (they call it an "uncomment") and uploaded it to my root! It worked!
Reply With Quote
  #9  
Old 05-24-2010, 12:36 AM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hummie View Post
Then why does vBulletin offer these instructions? I would think they would work if vBulletin put them in their help files.

I am trying it right now though and cannot get it to work.

I get this on my homepage: Parse error: syntax error, unexpected T_DEFAULT in /home/content/h/u/m/humyadayada/html/index.php on line 4

--------------- Added [DATE]1274632137[/DATE] at [TIME]1274632137[/TIME] ---------------

And all over vbulletin.com it references these same files, yet has <?#shebang#?> in front of each of the coding, yet the vBulletin instructions for the scripts do not have this. What in the world is that? Do I need it?

--------------- Added [DATE]1274634252[/DATE] at [TIME]1274634252[/TIME] ---------------

OH WOW! I just figured it out and it was easier than all that mess!

I just copied the .index.php file to my desktop and read what it said about deleting the "//" from that one line (they call it an "uncomment") and uploaded it to my root! It worked!
your funny didnt you read my post ?

--------------- Added [DATE]1274665122[/DATE] at [TIME]1274665122[/TIME] ---------------

Quote:
Originally Posted by steven s View Post
Bottom line, no.
So far there are no easy solutions.
I'm doing it this way.
you really think thats easier than uncommenting one line in index,php and moveing to the root folder?
Reply With Quote
  #10  
Old 05-24-2010, 04:47 PM
Hummie Hummie is offline
 
Join Date: Nov 2007
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by harleyparts View Post
your funny didnt you read my post ?
Yes, I did read your post, but I didn't understand it, that's why I replied "uh?" ...I guess I should have quoted you with that "uh." Sorry!
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 02:32 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.04695 seconds
  • Memory Usage 2,259KB
  • Queries Executed 11 (?)
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
  • (6)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_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