How do you add and take links from the nav bar?

GOHQ

New Member
Well, my title says it all, i just installed Zoints and it adds a button on what i don't want there for one when its there it makes my nav bar go funny when i enter the Zoints system.

And i wanted to add my own links to parts of the site, but since i never done nav edits before i would like someone to guide me through deleteing the Zoints
Community Central and profile links and also a tut on how to add your own links into there, be appreciated.
 

GgAcE

New Member
Depending on the theme you may need to change an image or simply change text.

Normally the image & text are found in your "header" template.
 

GOHQ

New Member
I'm using LavaFox, im just trying to find a way to customize these links, if you/someone knows how to do so, i would really appreciate it.
 

GgAcE

New Member
can you send me a screenshot of the navbar for this theme? I can tell you right away if you need new images or if I can simply send you the new code.

Your friend
~Gg
 

GgAcE

New Member
Go into your admin CP.

Go to search templates.

Type "calendar"

Then go into your header template.

You will see the text for everything listed in your nav bar. Either you need to make images or simply change/add the text.
 

GOHQ

New Member
Can explain how to actually get it to show the images like a step by step guide for doing this? please.
 

GgAcE

New Member
It's HTML mate. I am sorry but I simply don't have the time to write a step by step guide on how to write HTML for you.

All you need to do is go into your template like I said above.

Find the link to your image. Example: www.yoursite.come/forum/image/misc/calander.gif

Then take that image & change it into whatever you want using paint or photoshop.

After that is done upload it back to the same folder.

Shortly following the link (in the same template) you will see some HTML that says something like:

Code:
<a href="url">Calendar</a>

Change the

Code:
"URL"

To the link you wanted.

and the "calendar" part to whatever the name of your new location is. Doesn't really matter.
 

GOHQ

New Member
I did the search as you said but there was no nav-bar button, i looked in my themes folders and still can't find the images, so i don't know where to code.

Heres my header, code, even check:
Code:
<!-- logo -->
<a name="top"></a>
<!-- <div class="side_borders"> -->
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" class="tborder">
<tr>
	<td align="center" valign="top">

<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr class="header_bg">
	<td align="$stylevar[align=left]" valign="middle"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>

	
		<td align="$stylevar[align=right]" id="header_right_cell">
        <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
    </td>
		
	
</tr>
<tr>
<td height="34" colspan="2" class="vb_navigation">

<!-- nav buttons bar -->

	<table  cellpadding="0" cellspacing="0" border="0"  align="left" class="vb_navigation">
	<tr align="center">
		<if condition="$show['member']">
			<td width="78" height="34"  class="css_nav"><a 
href="index.php$session[sessionurl_q]" accesskey="5">$vbphrase[Home]</a></td>
		<td width="78" height="34"  class="css_nav"><a 
href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
		</if>
		<if condition="$show['registerbutton']">
			<td width="78" height="34"  class="css_nav"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
		</if>
 $template_hook[navbar_buttons_left]
<if condition="$vbulletin->products['vbprojecttools']"><td width="78" height="34"  class="css_nav"><a href="project.php$session[sessionurl_q]">$vbphrase[projects]</a></td></if>
<if condition="$vbulletin->products['vbblog']"><td width="78" height="34"  class="css_nav"><a href="blog.php$session[sessionurl_q]">$vbphrase[blogs]</a></td></if>
		<td width="78" height="34"  class="css_nav"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
		<td width="78" height="34"  class="css_nav"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[vb_members_list]</a></td>
		<td width="78" height="34"  class="css_nav"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
		<if condition="$show['popups']">		
			<if condition="$show['searchbuttons']">
				<if condition="$show['member']">
				<td width="78" height="34"  class="css_nav"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[vb_new_posts_nav]</a></td>
				<else />
				<td width="78" height="34"  class="css_nav"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[vb_todays_posts]</a></td>
				</if>
				<td id="navbar_search" width="78" height="34" class="css_nav"><a 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", 1); </script></if></td>
			</if>
			<if condition="$show['member']">
				<td id="usercptools" width="78" height="34" class="css_nav"><a href="$show[nojs_link]#usercptools">$vbphrase[vb_quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools", 1); </script></td>		
			</if>
		<else />		
			<if condition="$show['searchbuttons']">
				<td width="78" height="34"  class="css_nav"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
				<if condition="$show['member']">
				<td width="78" height="34"  class="css_nav"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
				<else />
				<td width="78" height="34"  class="css_nav"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
				</if>
			</if>
			<td width="78" height="34"  class="css_nav"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
			<if condition="$show['member']">			
				<td width="78" height="34"  class="css_nav"><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>
$template_hook[navbar_buttons_right]
		<if condition="$show['member']">
			<td width="78" height="34"  class="css_nav"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
		</if>
		<td width="8" height="34" align="left"><img src="$stylevar[imgdir_misc]/nav_final.gif" width="8" height="34" alt="" border="0" /></td>
	</tr>
	</table>

<!-- / nav buttons bar -->
</td></tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output
$ad_location[ad_header_end]

<!-- USC header edit start -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
$usc_left
<td valign="top">
<!-- USC header edit end -->
 

GgAcE

New Member
I take it you didn't search for Calendar like I asked you to.

I was able to find it.

It's just under the part that says: <!-- nav buttons bar -->

=.="

Example:

FAQ's
Code:
	<td width="78" height="34"  class="css_nav"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>

Member List
Code:
		<td width="78" height="34"  class="css_nav"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[vb_members_list]</a></td>

Calendar
Code:
		<td width="78" height="34"  class="css_nav"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>

What do you want added to your navbar? I will make an attempt to add it for you. Please supply the name & link.
 

GOHQ

New Member
Could you just tell me how to do it myself, so that way i can do it...
I did try searching...doesn't tell me the image directory...all i thought is it could be in the CSS.

All i really need to know is how to add and remove the links, i know its harder since there images, but its no offense i will ask for help but i don't like people doing stuff for me, i would rather have them tell me then i will do it.
 

GOHQ

New Member
YES, got it, thanks dude, sorry about not understanding fully, but i havnt been using VB for a very long time, i only came here for the mods and support.

Im not diserpoited...

Thanks again.

Another thing, is it ok to remove link blocks since theres some there i dont need.
 

GgAcE

New Member
It's my pleasure. It's hard to tech HTML & tell you exact edits since each theme is slightly different.

I wouldn't remove any of the "link blocks" unless you really have to (if they display on your forum & you don't want them then make sure you back up your HTML & remove them as you see fit).

Remember to ALWAYS back up your theme because even pros make mistakes.

Your friend
~Gg
 
Top