PDA

View Full Version : Customizing the NavBar.


nNJ
03-24-2009, 10:38 PM
lright, I tried Customizing the links on my nav bar. I started out ok, but now Im REALLY confused. I started toying with the Navigation/Breadcrumb Templates > NavBar template, and I'm a little lost.

This is What My Navbar looks like to a user thats logged in:

http://the-void.net/navbar_user.JPG

I wanted to reorder it in this order:

Home - UserCp - Quick Links - Donate - Arcade - Members List - New Posts - Search - LogOut


*For some reason, the Donate Link created when I installed Cyb - Paypal Donate Seems to have disappeared, when, or why, I do not know




This is what the Navbar looks like to a guest:

http://the-void.net/navbar_guest.JPG


It's fine in the order its in. Yet, I still can't find any code for an arcade link.


I tried arranging this myself, but I can't seem to be able to find all the code peices. For example, I cant find the code for the arcade link, yet the link is there. At this point, Im very much confused.

Help would be appreciated, as I have no idea how to change the order of the links, when there is no code for the links in the first place.

P.S. - Here is the code Im working with, taken straight from my Navigation/Breadcrumb > NavBar template.

<!-- nav buttons bar -->
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:0px">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr align="center">

<td class="vbmenu_control"><a href="$vboptions[homeurl]$session[sessionurl_q]">Home</a></td>
<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>
$template_hook[navbar_buttons_left]


<if condition="$show['memberslist']">
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
</if>


<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 class="vbmenu_control"><a id="navbar_search" href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
</if>
<if condition="$show['member']">
<td class="vbmenu_control"><a id="usercptools" href="$show[nojs_link]#usercptools" accesskey="3">$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="$show['member']">
<td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_contacts]</a></td>
</if>
</if>
$template_hook[navbar_buttons_right]
<if condition="$show['member']">
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
</if>
</tr>
</table>
</div>
<!-- / nav buttons bar -->


(If that's not the correct chunk of code from the navbar template, please tell me and I will supply the correct code.)


I would very much appreciate all help. I'm new to vbulletin and trying to learn how to do this myself.. but It's not coming very easily.

GCSkye
03-24-2009, 10:42 PM
The arcade link is from a mod that inserts itself where it is told, it isn't part of the Navbar template.

Are you using the vbplaza arcade or another? If you are using another, link me to it.

nNJ
03-25-2009, 06:33 PM
I am using ibproarcade, here is the url - http://forums.the-void.net/arcade.php

edit: I hope you had not meant the link to the mod. If so, I apologize. The link to the mod is here: https://vborg.vbsupport.ru/showthread.php?t=60377

and their official website is here: http://www.v3arcade.com/

Seven Skins
03-25-2009, 09:17 PM
There is a plugin "NavBar: Arcade Link" disable that and you can add arcade link anywhere in your navbar manually.

Add this to navbar:
<td class="vbmenu_control"><a href="arcade.php$session[sessionurl_q]">Arcade</a></td>


.