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

Reply
 
Thread Tools Display Modes
  #1  
Old 01-15-2010, 05:26 AM
cykelmyggen's Avatar
cykelmyggen cykelmyggen is offline
 
Join Date: Oct 2006
Location: Europe
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default CMS in root?

I want to replace my current CMS with the vb CMS.
When I upgrade my forum to vb 4 I want to accomplish, due to SEO, the same map structure as I currently have:
www.mysite.com/vbforum/ - where I want the CMS to be at the root of my site and my forum at the vbforum as it is currently.

I don't quite understand the last statement for fixes in vb 4.01:
" [CMS] Please put CMS in /index.php and FORUMS in /forums/index.php" ...?

I need guidance as to how i upgrade my site and at the same time maintain the structure described above.

Of cause I have been reading the threads on support forum regarding this problem, but I'm sorry to say that it hasn't made me wiser as to how this could be done.

I've posted a supportticket at vB on this problem and the answer was:

"The vB4 CMS resides in the same directory as the forum. You can do some custom
coding to display the CMS outside of the forum directory, but you will need to post
on www.vbulletin.org for help with that."

Please correct me if this is not the right forum for posting!
Reply With Quote
  #2  
Old 01-15-2010, 10:12 AM
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Location: Esbjerg, Denmark
Posts: 1,036
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i do belive what whoewer responded with such poor support should be beaten.

however ALOT of people want to do this,
and one possible way is to use .htacces and use redirects
it will "show" the user as if the folder structure is present, ewen if it is not.

and find it ewen more strange they redirect to here, when its basicly standard installation
were talking about.. anyway.

Howewer i cant find the threads anymore. there was quite a few about this.
Didnt read them, cause i just placed it all in same folder. anyway

so i can only advice to read up on, htacces redirects,
Reply With Quote
  #3  
Old 01-15-2010, 10:14 AM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think in vb4.0.1 you can edit index.php and it may do the trick but I havent tried it yet.

.
Reply With Quote
  #4  
Old 01-15-2010, 01:03 PM
crazycarl crazycarl is offline
 
Join Date: Jul 2009
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Upgrade to 4.0.1 software and open your index.php. There are instructions in the file on how to do it. You need to un-comment a line and then move the file. READ THE INSTRUCTIONS.

It works just fine but remember to change your CMS setting in the ACP>Options> Content Management>Site Tab URL> to reflect the link changes to root (../). Otherwise your home button will still link to the /forums/content.php.

Now I'm trying to find a way to make the /forums/forums.php = forums/index.php so the forums url will just look like:
www.domain.com/forums/

NOthing seems to be too easy with the new software. Such is the price for early birds and early releases!

GLuck!
CC
Reply With Quote
  #5  
Old 01-15-2010, 01:36 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please post any further questions regarding default vB4 functionality over at vbulletin.com. See this sticky - Installation Issues / Questions or bug reports regarding default vBulletin 4.0
Reply With Quote
  #6  
Old 01-15-2010, 03:58 PM
cykelmyggen's Avatar
cykelmyggen cykelmyggen is offline
 
Join Date: Oct 2006
Location: Europe
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will do - I only posted this here due to answer from vB support:
"The vB4 CMS resides in the same directory as the forum. You can do some custom
coding to display the CMS outside of the forum directory, but you will need to post
on www.vbulletin.org for help with that."
Reply With Quote
  #7  
Old 01-15-2010, 04:24 PM
Bram H Bram H is offline
 
Join Date: Jul 2007
Location: The Netherlands
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Typical reaction you got from them

I had more or less the same problem as our 3.8 forum was always located in forum.mysite.com and the CMS of 4.0 surprisingly showed up there as well. With the good old vbadvanced you could make a homepage at www.mysite.com. Unfortunately 4.0 doesnt support that.

Our CMS is now back to www.mysite.com as we have put the whole forum folder one layer up. It might have a temporary effect on your SEO but we hopefully have tackled that with this handy article on the interweb. Maybe it will work for you as well?

http://www.tamingthebeast.net/articl...1-redirect.htm
Reply With Quote
  #8  
Old 01-15-2010, 04:51 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cykelmyggen View Post
Will do - I only posted this here due to answer from vB support:
"The vB4 CMS resides in the same directory as the forum. You can do some custom
coding to display the CMS outside of the forum directory, but you will need to post
on www.vbulletin.org for help with that."
And when did you get that reply? They just added support for this in 4.0.1 which was just released a couple days ago.
Reply With Quote
  #9  
Old 01-15-2010, 04:57 PM
cykelmyggen's Avatar
cykelmyggen cykelmyggen is offline
 
Join Date: Oct 2006
Location: Europe
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
And when did you get that reply? They just added support for this in 4.0.1 which was just released a couple days ago.
Yesterday, actually
Reply With Quote
  #10  
Old 01-15-2010, 05:04 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm, weird, because if you open the index.php file, it has instructions on how to achieve this. There are also threads over on vb.com on how to do this.
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 04:45 PM.


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.04152 seconds
  • Memory Usage 2,256KB
  • 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
  • (2)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