The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBadvanced CMPS Navigation v1.11 Details »» | |||||||||||||||||||||||||
vBadvanced CMPS
Navigation v1.11 What does this hack do ? This module allows a better integration of the navbar in vBadvanced CMPS portal. It changes the root of your forums to CMPS index page instead of your forumhome. You didn't catch a word of what i said. So just look at pictures Install To install this module, you have the choice between the automatic or the manual install. The second is to use when you have heavily made changes in your navbar template. Automatic Install Manual install Search :N.B :
Show Your Support
|
Comments |
#62
|
|||
|
|||
What he means is to replace $vbphrase[forum] with the word home
not $vbphrase[home] but just ---> home <--- |
#63
|
|||
|
|||
I understand now. Replacing $vbphrase[forum] with the word home does make a difference. It changes the name of the current location in the navbar.
That is not at all what I want to do. The current location default in the navbar is correct; but I need the displayed text mysite.com Forum changed to mysite.com Home. Thanks for the suggestion anyway. I'm open to any others you might have. |
#64
|
|||
|
|||
I suppose you could do something similar to what you originally did, but create a new phrase in Phrase Manager called Home with the description as "Home", with the phrase type set as Global.
And then change the code from $vbphrase[forum] to $vbphrase[home] edit: ignore that, if i guess correctly you wish for the link to display as mysite.com Home > Forum not mysite.com Forum > Forum Just edit the code from: Code:
$replace[] = '<span class=\"navbar\"><a href=\"" . $GLOBALS[\'vbulletin\']->options[\'homeurl\'] . "" . $GLOBALS[\'vbulletin\']->session->vars[\'sessionurl_q\'] . "\" accesskey=\"0\">" . $GLOBALS[\'vbulletin\']->options[\'bbtitle\'] . "</a></span to Code:
$replace[] = '<span class=\"navbar\"><a href=\"" . $GLOBALS[\'vbulletin\']->options[\'homeurl\'] . "" . $GLOBALS[\'vbulletin\']->session->vars[\'sessionurl_q\'] . "\" accesskey=\"0\">" . $GLOBALS[\'vbulletin\']->options[\'bbtitle\'] . " Home" . "</a></span> And also change your site name in the vBulletin Options, Site Name / URL / Contact Details from mysite.com Forums to mysite.com |
#65
|
|||
|
|||
great stuff added this to my site. works perfectly many thanks
|
#66
|
|||
|
|||
Quote:
|
#67
|
|||
|
|||
sure, simple steps.
go to your admin panel, open up Plugins and Products Click on Plugin Manager Scroll down to CMPS naviguation module, click on [Edit] Find Code:
$replace[] = '<span class=\"navbar\"><a href=\"" . $GLOBALS[\'vbulletin\']->options[\'homeurl\'] . "" . $GLOBALS[\'vbulletin\']->session->vars[\'sessionurl_q\'] . "\" accesskey=\"0\">" . $GLOBALS[\'vbulletin\']->options[\'bbtitle\'] . "</a></span Change it to: Code:
$replace[] = '<span class=\"navbar\"><a href=\"" . $GLOBALS[\'vbulletin\']->options[\'homeurl\'] . "" . $GLOBALS[\'vbulletin\']->session->vars[\'sessionurl_q\'] . "\" accesskey=\"0\">" . $GLOBALS[\'vbulletin\']->options[\'bbtitle\'] . " Home" . "</a></span> Now go to vBulletin Options in your admin control panel Select Site Name / URL / Contact Details from the list remove the word "Forums" from your Forum Name so that it appears as "mysite.com" and not "mysite.com Forums" If this doesn't work then I'd suggest you spend some time looking at the code and figure it out as I'm no expert on this, I just tested and played with the code until I got the results you wanted, then changed it back once I knew it worked |
#68
|
|||
|
|||
Great Kiint, you nailed it! Now it works perfectly. Thanks for your help.
|
#69
|
|||
|
|||
Works great! Clicked install.
|
#70
|
||||
|
||||
works great like a charm...to my vBv3.6.7 PL1
many thanks bro... |
#71
|
||||
|
||||
Yup. Very nice.
Is it possible to change 'Forum' to something else? If so, where do I do that? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|