The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Changing Nav Bar Template
Ok
So originally, I had just the forum page. So, when you click on "home" on the Nav Bar you are directed to the forum page. Now, I have installed the VBadv CMPS, and when viewing the forum page there is no real way to go back to the new home page. So, I would like for the user (when viewing the forum) to be able to click on "home" in the Nav Bar and have that take them back to the cmps page. I've looked in the nav bar template quite a few times, and can't seem to find the home button or the link to where this goes once clicked (so I can change it). Any help? I'm running 3.5 with a skin from vbskinworks.com Thanks just as an fyi this is where I'm looking in the nav bar template.....let me know if I need to go somewhere else HTML Code:
<!-- nav buttons bar --> <div align="center"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px"> <tr align="center"> <if condition="$show['member']"> <td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td> </if> <if condition="$show['registerbutton']"> <td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td> </if> <td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td> <td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td> <td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td> <if condition="$show['popups']"> <if condition="$show['searchbuttons']"> <if condition="$show['member']"> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> <else /> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td> </if> <td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td> </if> <if condition="$bbuserinfo['userid']"> <td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td> </if> <else /> <if condition="$show['searchbuttons']"> <td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td> <if condition="$show['member']"> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> <else /> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td> </if> </if> <td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td> <if condition="$bbuserinfo['userid']"> <td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td> </if> </if> <if condition="$bbuserinfo['userid']"> <td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td> </if> </tr> </table> </div> <!-- / nav buttons bar --> |
#2
|
|||
|
|||
EDIT: I have just noticed you are using the soness style.
look in the header template and find Code:
<td width="47"><a href="index.php"><img src="$stylevar[imgdir_misc]/home.jpg" width="47" height="30" border="0"></a></td> Code:
<td width="47"><a href="cmps_index.php"><img src="$stylevar[imgdir_misc]/home.jpg" width="47" height="30" border="0"></a></td> |
#3
|
|||
|
|||
Quote:
Hey now! There is a good edit! Thanks, going to see if it works now when I open the header template this is what I see HTML Code:
<!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> <td align="$stylevar[right]"> </td> </tr> </table> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output |
#4
|
|||
|
|||
It seems that your header template has been reverted,maybe when john did the header for you.
I think your best bet would be to ask on vBskinworks,that first bit of code is right since this is what i think should be there from viewing the source code. Code:
<td width="47"><a href="index.php"><img src="/forum/soness/misc/home.jpg" width="47" height="30" border="0"></a></td> <td width="83" id="usercptools"><img src="/forum/soness/misc/quicklinks.jpg" width="83" height="30"><script type="text/javascript">vbmenu_register("usercptools",true); </script></td> <td width="66"><a href="usercp.php"><img src="/forum/soness/misc/usercp.jpg" width="66" height="30" border="0"></a></td> <td width="70"><a href="memberlist.php"><img src="/forum/soness/misc/members.jpg" width="70" height="30" border="0"></a></td> <td width="73"><a href="register.php"><img src="/forum/soness/misc/register.jpg" width="73" height="30" border="0"></a></td> <td width="77"><a href="calendar.php"><img src="/forum/soness/misc/calendar.jpg" width="77" height="30" border="0"></a></td> <td width="56" id="navbar_search"><img src="/forum/soness/misc/search.jpg" width="56" height="30"><script type="text/javascript">vbmenu_register("navbar_search",true); </script></td> <td width="54"><a href="faq.php"><img src="/forum/soness/misc/faq.jpg" width="54" height="30" border="0"></a> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|