The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Navbar Button Help
hello
i need help with adding button in navbar whenever i try to add button this comes up look at the screenshot some one help me...plz |
#2
|
||||
|
||||
Please post your template...
|
#3
|
|||
|
|||
here...
Code:
<!-- logo --> <a name="top"></a> <div class="header"> <div style="width:$stylevar[outerdivwidth];margin: 0 auto;"> <a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" class="headerimg" border="0" alt="$vboptions[bbtitle]" /></a> <div class="ad"> <a href="http://www.completevb.com"><img src="images/creativecreature/misc/ad.gif" alt="Ad" /></a> </div> </div> </div> <div class="nav"> <div style="width:$stylevar[outerdivwidth];margin: 0 auto;"> <table cellpadding="0" cellspacing="0" border="0" align="left" class="navbg"> <tr align="center" valign="top"> <td class="navleft"></td> <if condition="$show['member']"> <td class="navigation"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td> </if> $template_hook[navbar_buttons_left] <td class="navigation"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td> <if condition="$vboptions['enablememberlist']"> <td class="navigation"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td> </if> <td class="navigation"><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="navigation"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> <else /> <td class="navigation"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td> </if> <td id="navbar_search" class="navigation"><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"); </script></if></td> </if> <if condition="$show['member']"> <td id="usercptools" class="navigation"><a 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="navigation"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td> <if condition="$show['member']"> <td class="navigation"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> <else /> <td class="navigation"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td> </if> </if> <td class="navigation"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td> <if condition="$show['member']"> <td class="navigation"><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_contacts]</a></td> </if> </if> $template_hook[navbar_buttons_right] <if condition="$show['member']"> <td class="navigationlast"><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> <else /> <td class="navigationlast"><a href="register.php$session[sessionurl_q]" rel="nofollow" style="font-weight:bold;">$vbphrase[register]</a></td> </if> </tr> </table> </div> </div> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output $ad_location[ad_header_end] |
#4
|
||||
|
||||
You used the phrase "$vbphrase[new_posts_nav]" Check in your Phrases and see if that is a valid phrase name. The default for that phrase is "New Posts". Is that what yours says?
|
#5
|
|||
|
|||
what you mean
sorry i didnt get you... |
#6
|
||||
|
||||
Well, it looks like it is putting the link there but missing the 'text' associated with it. And, looking in your template shows the text to be phrases. So, make sure those phrases exist (Phrases > Search in Phrases).
|
#7
|
|||
|
|||
i really dont know what to do sorry for that
but can u make me a link and than i put it in my template and try if it works |
#8
|
||||
|
||||
I don't know how to explain it any better. You go to Phrases > Search in Phrases and look for the phrase "new_posts_nav" and make sure it exists and has a value. Search for the phrase "todays_posts" also and make sure it exists and has a value.
|
#9
|
|||
|
|||
i have searched both of them but couldnt find any...
|
#10
|
||||
|
||||
If you don't see those phrases in there, then you will need to add them. Or, replace the phrase in the template with what you want it to say ("New Posts" or "Today's Posts").
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|