vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v3.0 Support > Troubleshooting & Problems

Reply
 
Thread Tools Display Modes
  #1  
Old 08-26-2009, 06:02 AM
sinemacula sinemacula is offline
Junior Member
 
Join Date: Aug 2009
Posts: 22
Default Name of the forum and name of the home page

in the settings of my vb I've a

Forum Name
Name of your forum. This appears in the title of every page.

and a

Homepage Name
Name of your homepage. This appears at the bottom of every page.

The problem is that CMPS in the cmps_index.php page take the homepage name to display at the top of the page under the logo and not the Forum Name.

How can I change this?
Reply With Quote
  #2  
Old 08-26-2009, 12:41 PM
sinemacula sinemacula is offline
Junior Member
 
Join Date: Aug 2009
Posts: 22
Default

Found the variable that defines tha name of the windows but not found the variable $vboptions[hometitle] that show that name at the top of cmps_index.php
Reply With Quote
  #3  
Old 08-27-2009, 03:00 AM
sinemacula sinemacula is offline
Junior Member
 
Join Date: Aug 2009
Posts: 22
Default

So, no one can tell me where can I change this? In the forum the name of the forum appear correctly but in CMPS appear the name of the homepage. If someone can tell me where to change that I can put everything online. I think CMPS is a good product but I cannot put it online with this problem that will confuse the users...

Many thanks...
Reply With Quote
  #4  
Old 08-27-2009, 10:11 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

Admin CP => vBulletin Options => Site Name / URL / Contact Details => Homepage Name
__________________
Frequently Asked Questions
CMPS Users Manual

For vBadvanced software assistance, please use the support forums.
Unsolicted PMs, IMs, and email will not be responded to.
If you have a non-software related question or problem with your account, please submit a support ticket.
Reply With Quote
  #5  
Old 08-27-2009, 10:32 AM
sinemacula sinemacula is offline
Junior Member
 
Join Date: Aug 2009
Posts: 22
Default

Brian, thanks but I know this. I need to have the homepage and forum name different. Since the homepage name and link is used in the footer of my forum to go to the mail site, I cannot change the name or the link.

What I need is a mean to tell cmps to use the forum name and not the homepage name. That's all. As I've said I've changed the variable in the adv_portal template (hometitle -> bbtitle) so that the name of the window is now correct. Problem is that I'm not able to find the variable that control the name that is displayed at the top like in the pics below

Untitled-1.gif
Reply With Quote
  #6  
Old 08-27-2009, 11:26 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

You'd probably be better off just modifying your footer template and replacing the $vboptions[hometitle] variable with the text you would like displayed in your footer.
__________________
Frequently Asked Questions
CMPS Users Manual

For vBadvanced software assistance, please use the support forums.
Unsolicted PMs, IMs, and email will not be responded to.
If you have a non-software related question or problem with your account, please submit a support ticket.
Reply With Quote
  #7  
Old 08-27-2009, 11:54 AM
sinemacula sinemacula is offline
Junior Member
 
Join Date: Aug 2009
Posts: 22
Default

Tht's another workaround. It's just not possible to know where to modify one of the CMPS file so that I'm able to show the forum name and not the site name?

in any case I think that the fourm name is more logical than the home page.

Thanks
Reply With Quote
  #8  
Old 08-27-2009, 12:51 PM
sinemacula sinemacula is offline
Junior Member
 
Join Date: Aug 2009
Posts: 22
Default

Brian, just to be more clear. I'm going mad on this since I cannot put anything online because of this problem.

I've a site and a forum so I cannot use the name of the site instead of the name of the forum. I digged in your code but I'm not able to understand where in the world CMPS take the homepage name and not the forum name.

If you can help me on this issue I'll appreciate it very very much so I can start using your fantastic mod.

Thanks again
Reply With Quote
  #9  
Old 08-27-2009, 01:02 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

The code to replace the forum name is located in your includes/vba_cmps_include_top.php file.

PHP Code:
    replace_template_filenames(
        
'navbar',
        array(
            
'find' => array(
                
'"clientscript',
                
'\'misc.php',
//                '>" . $GLOBALS[\'vbulletin\']->options[\'bbtitle\'] . "',
                
'"" . $GLOBALS[\'vbulletin\']->options[\'forumhome\'] . ".php'
            
),
            
'replace' => array(
                
'"' $vbulletin->options['bburl'] . '/clientscript',
                
'\'' $vbulletin->options['bburl'] . '/misc.php',
//                '>" . $GLOBALS[\'vbulletin\']->options[\'hometitle\'] . "',
                
'"" . $vba_options[\'portal_homeurl\'] . "'
            
)
        )
    ); 
Comment out the two lines as shown above to stop that replacement.
__________________
Frequently Asked Questions
CMPS Users Manual

For vBadvanced software assistance, please use the support forums.
Unsolicted PMs, IMs, and email will not be responded to.
If you have a non-software related question or problem with your account, please submit a support ticket.
Reply With Quote
  #10  
Old 08-27-2009, 04:53 PM
sinemacula sinemacula is offline
Junior Member
 
Join Date: Aug 2009
Posts: 22
Default

Thanks Brian. This one is located in vba_cmps_include_bottom.php. I've commented out the two lines and now everything works perfectly.

Thanks again
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
Forum List in Home Page manuelsechi "How Do I..." Questions 1 05-02-2008 10:54 AM
dyamnics home page on forum home page leeds1 "How Do I..." Questions 3 03-06-2008 09:11 AM
Columns display on HOME page but not on integrated FORUM HOME LenB Troubleshooting & Problems 6 01-13-2008 03:11 PM
Forum home links not pointing to portal home page cbiweb Troubleshooting & Problems 2 07-31-2007 09:25 AM
forum home page goes back to Vbad home page Brad^ Troubleshooting & Problems 12 05-11-2007 12:39 PM


All times are GMT -4. The time now is 02:24 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.