The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Need help with Navbar
I won't show you the site. But here it goes.
How would i go about taking the Navbar and it links and moving on top of my forum logo. I have a forum logo that not finish yet, but i want to move the Navbar on to my forum logo, is it possible and what the best way to start. The Navbar i want to move, i want move it to the area in the gold color above my black. |
#2
|
||||
|
||||
That would require you to edit each template that the navbar shows on, and manually move it in the template.
|
#3
|
||||
|
||||
Yeah i figure that one out. I will keep fooling around.
|
#4
|
||||
|
||||
You can actually take the navbar coding out of the navbar template leaving the important bits and place all of the code into the header template and make sure that you have your graphics coded with css and place the navbar code inside it. That way it shows globally across your forum and you do not lose navbar function.
|
#5
|
||||
|
||||
Thank. I may end up doing it. I working on another skin though, so this will be on the back burner for a bit.
|
#6
|
||||
|
||||
I almost finish with a skin i am working on. it a copy of a skin i have for another site. I do have a problem that i running into too.
I am trying to get the private messages and last visit info to align into my logo. Here is part of my logo, not the full logo. It the right section of it. Trying to move the last visit, private messages into the gray area of my logo. I can provide the code i am using if needed. |
#7
|
||||
|
||||
Quote:
|
#8
|
||||
|
||||
Going to provide the whole header code.
Code:
<!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> <tr> <td style="background: url($stylevar[imgdir_misc]/header_bb_l.jpg) no-repeat bottom left;"><img src="$stylevar[imgdir_misc]/spacer.gif" width="20" height="1" border="0" alt="" /></td> <td height="25" width="100%" class="thead" style="border: none; padding: 0px;"> <!-- nav buttons bar --> <div style="width: 100%;"> <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center"> <tr align="center"> <if condition="$show['member']"> <td class="thead" style="border: none; background: none;"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td> </if> <if condition="$show['registerbutton']"> <td class="thead" style="border: none; background: none;"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td> </if> $template_hook[navbar_buttons_left] <td class="thead" style="border: none; background: none;"><a rel="help" href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td> <if condition="$show['communitylink'] AND $show['popups']"> <td class="thead" style="border: none; background: none;"><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6">$vbphrase[community]</a> <script type="text/javascript"> vbmenu_register("community"); </script></td> <else /> <if condition="$show['memberslist']"> <td class="thead" style="border: none; background: none;"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td> </if> <if condition="$show['quick_links_groups']"> <td class="thead" style="border: none; background: none;"><a href="group.php?$session[sessionurl]">$vbphrase[social_groups]</a></td> </if> </if> <td class="thead" style="border: none; background: none;"><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="thead" style="border: none; background: none;"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> <else /> <td class="thead" style="border: none; background: none;"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td> </if> <td class="thead" style="border: none; background: none;"><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="thead" style="border: none; background: none;"><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="thead" style="border: none; background: none;"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td> <if condition="$show['member']"> <td class="thead" style="border: none; background: none;"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> <else /> <td class="thead" style="border: none; background: none;"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td> </if> </if> <td class="thead" style="border: none; background: none;"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td> <if condition="$show['member']"> <td class="thead" style="border: none; background: none;"><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="thead" style="border: none; background: none;"><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> </tr> </table> </div> <!-- / nav buttons bar --> </td> <td style="background: url($stylevar[imgdir_misc]/header_bb_r.jpg) no-repeat bottom right;"><img src="$stylevar[imgdir_misc]/spacer.gif" width="20" height="1" border="0" alt="" /></td> </tr> </table> <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 width="613" id="header_right_cell" no-repeat top right;"> <table border="0" width="25%;" cellpadding="0" cellspacing="0" align="right"> <tr> <td align="left" valign="top" nowrap=nowrap> <if condition="$show['member']"> <div align="center" class="smallfont"> <strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br /> <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase> <if condition="$show['notifications']"> <div><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span></div> <if condition="$show['popups']"> <script type="text/javascript"> vBmenu.register("notifications"); </script> <else /> <script type="text/javascript" src="clientscript/vbulletin_notifications_nopopups.js?v=$vboptions[simpleversion]"></script> <script type="text/javascript"> vBulletin.register_control("vB_Notifications_NoPopups", "notifications"); </script> </if> <else /><if condition="$show['pmstats']"> <div><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></div> </if></if> <if condition="$show['pmwarning']"><div><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></div></if> </div> <else /> <div align="left"> <!-- login form --> <form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])"> <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script> <table align="center" cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <tr> <td class="smallfont" align="right" style="white-space: nowrap;"><label for="navbar_username">Username</label></td> <td align="right"><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="8" accesskey="u" tabindex="101" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td> <td class="smallfont" nowrap="nowrap" align="left"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />Remember</label></td> </tr> <tr> <td class="smallfont" align="right"><label for="navbar_password">$vbphrase[password]</label></td> <td align="right"><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="8" tabindex="102" /></td> <td align="left"><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td> </tr> </table> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="hidden" name="do" value="login" /> <input type="hidden" name="vb_login_md5password" /> <input type="hidden" name="vb_login_md5password_utf" /> </form> <!-- / login form --> </div> </if> </td> </tr> <tr> <td height="45"></td> </tr> </table> </td> </tr> </table> <!-- /logo --> <table class="page" border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" style="height: 100%;"> <tr> <td style="background: url($stylevar[imgdir_misc]/tdl.jpg) repeat-y left;"><img src="$stylevar[imgdir_misc]/spacer.gif" width="20" height="1" alt="" /></td> <td valign="top" width="100%"> <!-- content table --> $_phpinclude_output |
#9
|
||||
|
||||
Try this:
Code:
<!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> <tr> <td style="background: url($stylevar[imgdir_misc]/header_bb_l.jpg) no-repeat bottom left;"><img src="$stylevar[imgdir_misc]/spacer.gif" width="20" height="1" border="0" alt="" /></td> <td height="25" width="100%" class="thead" style="border: none; padding: 0px;"> <!-- nav buttons bar --> <div style="width: 100%;"> <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center"> <tr align="center"> <if condition="$show['member']"> <td class="thead" style="border: none; background: none;"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td> </if> <if condition="$show['registerbutton']"> <td class="thead" style="border: none; background: none;"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td> </if> $template_hook[navbar_buttons_left] <td class="thead" style="border: none; background: none;"><a rel="help" href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td> <if condition="$show['communitylink'] AND $show['popups']"> <td class="thead" style="border: none; background: none;"><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6">$vbphrase[community]</a> <script type="text/javascript"> vbmenu_register("community"); </script></td> <else /> <if condition="$show['memberslist']"> <td class="thead" style="border: none; background: none;"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td> </if> <if condition="$show['quick_links_groups']"> <td class="thead" style="border: none; background: none;"><a href="group.php?$session[sessionurl]">$vbphrase[social_groups]</a></td> </if> </if> <td class="thead" style="border: none; background: none;"><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="thead" style="border: none; background: none;"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> <else /> <td class="thead" style="border: none; background: none;"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td> </if> <td class="thead" style="border: none; background: none;"><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="thead" style="border: none; background: none;"><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="thead" style="border: none; background: none;"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td> <if condition="$show['member']"> <td class="thead" style="border: none; background: none;"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> <else /> <td class="thead" style="border: none; background: none;"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td> </if> </if> <td class="thead" style="border: none; background: none;"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td> <if condition="$show['member']"> <td class="thead" style="border: none; background: none;"><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="thead" style="border: none; background: none;"><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> </tr> </table> </div> <!-- / nav buttons bar --> </td> <td style="background: url($stylevar[imgdir_misc]/header_bb_r.jpg) no-repeat bottom right;"><img src="$stylevar[imgdir_misc]/spacer.gif" width="20" height="1" border="0" alt="" /></td> </tr> </table> <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 width="613" id="header_right_cell" no-repeat top right;"> <table border="0" width="25%;" cellpadding="0" cellspacing="0" align="right"> <tr> <td align="left" valign="top" nowrap=nowrap> <div style="padding-right:125px;"><if condition="$show['member']"> <div align="center" class="smallfont"> <strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br /> <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase> <if condition="$show['notifications']"> <div><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span></div> <if condition="$show['popups']"> <script type="text/javascript"> vBmenu.register("notifications"); </script> <else /> <script type="text/javascript" src="clientscript/vbulletin_notifications_nopopups.js?v=$vboptions[simpleversion]"></script> <script type="text/javascript"> vBulletin.register_control("vB_Notifications_NoPopups", "notifications"); </script> </if> <else /><if condition="$show['pmstats']"> <div><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></div> </if></if> <if condition="$show['pmwarning']"><div><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></div></if> </div> <else /> <div align="left"> <!-- login form --> <form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])"> <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script> <table align="center" cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <tr> <td class="smallfont" align="right" style="white-space: nowrap;"><label for="navbar_username">Username</label></td> <td align="right"><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="8" accesskey="u" tabindex="101" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td> <td class="smallfont" nowrap="nowrap" align="left"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />Remember</label></td> </tr> <tr> <td class="smallfont" align="right"><label for="navbar_password">$vbphrase[password]</label></td> <td align="right"><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="8" tabindex="102" /></td> <td align="left"><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td> </tr> </table> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="hidden" name="do" value="login" /> <input type="hidden" name="vb_login_md5password" /> <input type="hidden" name="vb_login_md5password_utf" /> </form> <!-- / login form --> </div> </if></div> </td> </tr> <tr> <td height="45"></td> </tr> </table> </td> </tr> </table> <!-- /logo --> <table class="page" border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" style="height: 100%;"> <tr> <td style="background: url($stylevar[imgdir_misc]/tdl.jpg) repeat-y left;"><img src="$stylevar[imgdir_misc]/spacer.gif" width="20" height="1" alt="" /></td> <td valign="top" width="100%"> <!-- content table --> $_phpinclude_output |
#10
|
||||
|
||||
Thank you. But it didn't work.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|