Back to Modification Graveyard

vBadvanced CMPS Navigation v1.11
Mod Version: 1.11, by cclaerhout

This thread is in the Modification Graveyard.
vB Version: 3.6.7 Rating: (8 votes - 4.88 average) Installs: 165
Released: 11 Sep 2006 Last Update: 13 Sep 2006 Downloads: 542
Not Supported Uses Plugins Template Edits  

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.
  • Case number 1 : you're on your portal page
    The navbar will display the short welcome message with the name your website.
  • Case number 2 : you're on forumhome
    The navbar will display the name of your site with the "forum" suffix.
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
Just import the xml product file. That's all.
Manual install
Edit the navbar template as follow.
Search :
Code:
                <td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
Replace with :

Code:
<td width="100%"><span class="navbar"><a href="$vboptions[homeurl]$session[sessionurl_q]" accesskey="0">$vboptions[bbtitle]</a></span>
<if condition="defined('VB_AREA') AND in_array(THIS_SCRIPT, array('ajax','announcement','attachment','calendar','cron','editpost','faq','external','forumdisplay','image','index','infraction','inlinemod','login','joinrequests','member','memberlist','misc','moderation','moderator','newattachment','newreply','newthread','online','payment_gateway','payments','poll','postings','printthread','private','profile','register','report','reputation','search','sendmessage','showgroups','showpost','showthread','subscription','threadrate','usercp','usernote'))">
<span class="navbar"> > </span>
<span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vbphrase[forum]</a></span></if> $navbits[breadcrumb]</td>
Search :
Code:
		<else />
			<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
		</if>
Replace with :
Code:
        <else />
<img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" />
<span class="navbar">
    <if condition="defined('VB_AREA') AND in_array(THIS_SCRIPT, array('ajax','announcement','attachment','calendar','cron','editpost','faq','external','forumdisplay','image','index','infraction','inlinemod','login','joinrequests','member','memberlist','misc','moderation','moderator','newattachment','newreply','newthread','online','payment_gateway','payments','poll','postings','printthread','private','profile','register','report','reputation','search','sendmessage','showgroups','showpost','showthread','subscription','threadrate','usercp','usernote'))"><a href="$vboptions[homeurl]$session[sessionurl_q]" accesskey="0"></if>
    <if condition="THIS_SCRIPT == 'adv_index'"><span style="font-size:10pt; padding-top:1px"><strong>$vboptions[bbtitle]</strong></span>
    <else />$vboptions[bbtitle]</a></if></span>
<if condition="THIS_SCRIPT != 'adv_index'">
<br /><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="" border="0" />
<span class="navbar" style="font-size:10pt; padding-top:1px"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"></a><strong>$vbphrase[forum]</strong></span>
</if>
        </if>
N.B :
  • This hack can't be redistributed without my agreement.
  • I do not allow french "vb-ressources" forum to use it. For french forum, please http://forum.vbulletin-fr.org/index.php?t=10854.

Download

No files for download.

Screenshots

     

Similar Mods

vBa CMPS: Dynamic Navigation menu - all your Custom CMPS Pages vBulletin 3.0 Full Releases

vblts.ru supports vBulletin®, 2022-2024