vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v4.0 Support > "How Do I..." Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 05-02-2012, 07:12 AM
mariner1 mariner1 is offline
Junior Member
 
Join Date: Apr 2012
Posts: 16
Default How do i make vbacmps default home page

How do i make vbacmps default home page instead of the default cms page pls.
Cant understand the manual.
So when i click on home tab im wanting it to be the vba cmps page
Reply With Quote
  #2  
Old 05-02-2012, 09:48 AM
Dragonsys Dragonsys is offline
Senior Member
 
Join Date: Jan 2008
Location: Atlanta, GA
Posts: 444
Default

is the cmps_index.php file inside of your forums directory?
Reply With Quote
  #3  
Old 05-02-2012, 12:48 PM
mariner1 mariner1 is offline
Junior Member
 
Join Date: Apr 2012
Posts: 16
Default

yes its in root
Reply With Quote
  #4  
Old 05-02-2012, 02:07 PM
Dragonsys Dragonsys is offline
Senior Member
 
Join Date: Jan 2008
Location: Atlanta, GA
Posts: 444
Default

so based upon what you said above, it sounds like you have the Full vBulletin Publishing Suite, so you would need to do the following:
  1. Delete the vBulletin index.php file from your server.
  2. Rename your cmps_index.php file to index.php.
  3. Login to your vBulletin Admin CP and go to vBulletin Options => Forums Home Page Options => Script Name for Forum Home Page. Change this setting to 'forum' (without the quotes) and save your settings.
  4. Still in your Admin CP, navigate to vBa CMPS => Default Settings => Main Options => CMPS URL. Change this setting to "/index.php" (without the quotes).
Reply With Quote
  #5  
Old 05-02-2012, 02:15 PM
mariner1 mariner1 is offline
Junior Member
 
Join Date: Apr 2012
Posts: 16
Default

Done that but must have done something wrong.When i click on home tab its still the standard cms page
Reply With Quote
  #6  
Old 05-03-2012, 09:50 AM
Dragonsys Dragonsys is offline
Senior Member
 
Join Date: Jan 2008
Location: Atlanta, GA
Posts: 444
Default

You might need to use a plugin to change that. You can hide the CMS Home Tab, and then turn on CMPS's home tab. Try this below:


Hide the Default Home Tab:
1. AdminCp -> Plugins & Products -> Add New Plugin
2. Fill in the following info (screenshot attached):
A. Product = vBulletin
B. Hook Location = process_templates_complete
C. Title = Whatever you want (I use hide_tabs)
D. Execution Order = 5
E. Plugin PHP Code =
PHP Code:
$vbulletin->templatecache['navbar'] = str_replace('><a class="navtab" href="content.php',' style="display:none"><a class="navtab" href="search.php',$vbulletin->templatecache['navbar']); 
F. Plugin is Active = Yes
3. Save

Turn on CMPS' Home Tab:
1. AdminCp -> vBa CMPS -> Default Settings -> Style Options
2. Enable Navbar = Yes
3. Save


Note: I do not have the full vB Suite, so I cannot test hiding the Home Tab, but this should work.
Reply With Quote
  #7  
Old 05-03-2012, 11:53 AM
mariner1 mariner1 is offline
Junior Member
 
Join Date: Apr 2012
Posts: 16
Default

Didnt work im afraid,but thank you for trying to help me
Reply With Quote
  #8  
Old 05-03-2012, 01:03 PM
Dragonsys Dragonsys is offline
Senior Member
 
Join Date: Jan 2008
Location: Atlanta, GA
Posts: 444
Default

I had missed a part in this code for the CMS. Try this code for the plugin:

E. Plugin PHP Code =
PHP Code:
$vbulletin->templatecache['navbar'] = str_replace('><a class="navtab" href="content.php',' style="display:none"><a class="navtab" href="content.php',$vbulletin->templatecache['navbar']); 
Reply With Quote
  #9  
Old 05-03-2012, 01:27 PM
mariner1 mariner1 is offline
Junior Member
 
Join Date: Apr 2012
Posts: 16
Default

still no luck im afraid
Reply With Quote
  #10  
Old 05-03-2012, 04:22 PM
Dragonsys Dragonsys is offline
Senior Member
 
Join Date: Jan 2008
Location: Atlanta, GA
Posts: 444
Default

hmmm. Brian might need to answer here then, as I am not sure what else to check.
Reply With Quote
  #11  
Old 05-03-2012, 07:31 PM
Dragonsys Dragonsys is offline
Senior Member
 
Join Date: Jan 2008
Location: Atlanta, GA
Posts: 444
Default

Ok, I looked at a vB Suite site, and I think I see the issue. Try the code below:



PHP Code:
$vbulletin->templatecache['navbar'] = str_replace('>
    
        <a class="navtab" href="content.php'
,' style="display:none"><a class="navtab" href="content.php',$vbulletin->templatecache['navbar']); 
There is a bunch of whitespace in the Home Tab on vB Suite sites...
Reply With Quote
  #12  
Old 05-06-2012, 09:33 AM
mariner1 mariner1 is offline
Junior Member
 
Join Date: Apr 2012
Posts: 16
Default

Uk mu URL is http://www.mysite.co.uk/content.php when i click the home tab.Its still the default cms page,its not vbacmps.

If i type http://www.mysite.co.uk/index.php its brings up the vbacmps.

Im wanting to click on the home tabe to get the vbacmps so do i not replace the content.php
Reply With Quote
  #13  
Old 05-06-2012, 11:46 AM
Dragonsys Dragonsys is offline
Senior Member
 
Join Date: Jan 2008
Location: Atlanta, GA
Posts: 444
Default

I know.
I did not mention replacing the content.php file itself.

Are you sure you enabled that plugin?
Reply With Quote
  #14  
Old 05-06-2012, 12:06 PM
mariner1 mariner1 is offline
Junior Member
 
Join Date: Apr 2012
Posts: 16
Default

yep its enabled
Reply With Quote
  #15  
Old 05-19-2012, 08:50 PM
coolbud012 coolbud012 is offline
Junior Member
 
Join Date: Dec 2011
Posts: 1
Default

use vBSEO it will solve your problem.

else pm me ur forum details maybe I will be able to help you out.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I make cmps_index.php the default landing page? Pirat3 "How Do I..." Questions 1 01-06-2011 01:48 AM
how do i make vba 3.0 RC2 the forum's default start page? rafamp "How Do I..." Questions 4 10-18-2007 12:18 PM
Making vBA Default Home Page Bob Ricci Troubleshooting & Problems 1 11-04-2005 09:44 AM
Page Title of default/home page pingme "How Do I..." Questions 1 07-14-2005 10:40 AM
I deleted the default style - Home page blank! gfd Troubleshooting / "How do I..." Questions 1 09-11-2004 08:35 AM


All times are GMT -4. The time now is 09:58 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.