The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi everyone,
After making some new drop down menu's, they work with ie6, ff but i dont think they do with ie7. The probelm now is, when on another pc, i went to the forums and the drop down menu's didnt work. The heading where there but it seemed like they where disabled for vistiors, so when you log in they work again. Url is over here: www.oz-consolemods.net/forums Any ideas what is wrong (if required i will post navbar code, just let me know) Thanks ![]() |
#2
|
|||
|
|||
![]()
Can you post your navbar code in tags.
It looks like you have the menus set to only show for members, but the links to show for all users on a quick check on what is happening. |
#3
|
|||
|
|||
![]()
Ok here's the code
You may notice that i used the <!-- / user cp tools menu --> section for the code and i renamed it to 2 and found the other code which links to it, (could be in header i think) But this is the main stuff i think. I thought it might be a <if> conditional for members only and not guests. Any ideas? Thanks very much peterska2 ![]() Navbar Code Code:
<script type="text/javascript"> <!-- function log_out() { ht = document.getElementsByTagName("html"); ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)"; if (confirm('$vbphrase[sure_you_want_to_log_out]')) { return true; } else { ht[0].style.filter = ""; return false; } } //--> </script> <br /> <if condition="in_array(THIS_SCRIPT, array(index))"> <else /> <!-- breadcrumb, login, pm info --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="alt1" width="100%"> <if condition="is_array($navbits)"> <table cellpadding="0" cellspacing="0" border="0"> <tr valign="bottom"> <td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td> <td> </td> <td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td> </tr> <tr> <td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td> </tr> </table> <else /> <div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div> </if> </td> </tr> </table> <!-- / breadcrumb, login, pm info --> <div class="spacer"></div> <if condition="$show['forumdesc']"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td> </tr> </table> <br /> </if> </if> <if condition="$show['popups']"> <!-- NAVBAR POPUP MENUS --> <if condition="$show['searchbuttons']"> <!-- header quick search form --> <div class="vbmenu_popup" id="navbar_search_menu" style="display:none"> <form action="search.php?do=process" method="post"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead">$vbphrase[search_forums]</td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <input type="hidden" name="do" value="process" /> <input type="hidden" name="quicksearch" value="1" /> <input type="hidden" name="s" value="$session[sessionhash]" /> <div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div> </td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label> <label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label> </td> </tr> <tr> <td class="thead">$vbphrase[nav_search_options]</td> </tr> <tr> <td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[nav_new_posts]</a></td> </tr> <tr> <td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[nav_todays_posts]</a></td> </tr> <tr> <td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td> </tr> </table> </form> </div> <!-- / header quick search form --> </if> <if condition="$show['member']"> <!-- user cp tools menu --> <div class="vbmenu_popup" id="usercptools_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead">$vbphrase[quick_links]</td></tr> <if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if> <tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr> <tr><td class="vbmenu_option"><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></tr> <tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr> <if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if> <!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>--> <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr> <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr> <tr><td class="thead">$vbphrase[miscellaneous]</td></tr> <if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if> <tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr> <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr> <if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if> <tr><td class="vbmenu_option"><a href="/forums/faq.php">FAQ's</td></tr> <tr><td class="vbmenu_option"><a href="/forums/billspaypal.php">Donate</td></tr> <tr><td class="vbmenu_option"><a href="/forums/memberlist.php">Member List</td></tr> <tr><td class="vbmenu_option"><a href="/forums/calendar.php">Calendar</td></tr> <tr><td class="vbmenu_option"><a href="/forums/arcade.php">Arcade</td></tr> <tr><td class="vbmenu_option"><a href="/forums/vbplaza.php">vbplaza</td></tr> <tr><td class="vbmenu_option"><a href="/gallery/index.php">Gallery</td></tr> <tr><td class="vbmenu_option"><a href="/catalog/index.php">Online Store</td></tr> </table> </div> <!-- / user cp tools menu --> <!-- user cp tools menu 2--> <div class="vbmenu_popup" id="usercptools2_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead"><a href="usercp.php?">$vbphrase[user_cp]</a></td></tr> <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr> <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editlist">$vbphrase[buddy_ignore_lists]</a></td></tr> <tr><td class="vbmenu_option"><a href="profile.php?do=editsignature">$vbphrase[edit_signature]</a></td></tr> <tr><td class="vbmenu_option"><a href="profile.php?do=editprofile"> $vbphrase[edit_profile]</a></td></tr> <tr><td class="vbmenu_option"><a href="profile.php?do=editoptions">$vbphrase[edit_options]</a></td></tr> <tr><td class="vbmenu_option"><a href="profile.php?do=editavatar">$vbphrase[edit_avatar]</a></td></tr> <tr><td class="vbmenu_option"><a href="profile.php?do=editprofilepic"> $vbphrase[edit_profile_picture]</a></td></tr> </table> </div> <!-- / user cp tools 2 menu --> <!-- user cp tools menu 3--> <div class="vbmenu_popup" id="usercptools3_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead"><a href="">Mod-Chip Installs</a></td></tr> <tr><td class="vbmenu_option"><a href="/index.php?page=installservice">PS2 Mods</a></td></tr> <tr><td class="vbmenu_option"><a href="/index.php?page=installservice">Xbox Mods</a></td></tr> <tr><td class="thead">Online Store</td></tr> <tr><td class="vbmenu_option"><a href="/catalog/index.php">Shop Home</a></td></tr> <tr><td class="vbmenu_option"><a href="/catalog/shopping_cart.php">Shopping Cart</a></td></tr> <tr><td class="vbmenu_option"><a href="/catalog/account.php">My Account</a></td></tr> </table> </div> <!-- / user cp tools menu 3 --> <!-- user cp tools menu 4 --> <div class="vbmenu_popup" id="usercptools4_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead">Custermer Support</td></tr> <tr><td class="vbmenu_option"><a href="/forums/sendmessage.php">Contact Us</td></tr> <tr><td class="vbmenu_option"><a href="/index.php?page=chipguide">Mod-Chip Guide</a></td></tr> <tr><td class="vbmenu_option"><a href="/index.php?page=ps2version">PS2 Version Guide</a></td></tr> <tr><td class="vbmenu_option"><a href="/index.php?page=ps2copy">Game Copy Guide</a></td></tr> </table> </div> <!-- / user cp tools menu 4 --> </if> <!-- / NAVBAR POPUP MENUS --> <!-- PAGENAV POPUP --> <div class="vbmenu_popup" id="pagenav_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form"> <input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" /> <input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" /> </form> </td> </tr> </table> </div> <!-- / PAGENAV POPUP --> </if> |
#4
|
|||
|
|||
![]()
Ok, can you also post your header template.
That looks fine, but I would change this line Code:
<if condition="in_array(THIS_SCRIPT, array(index))"> <else /> Code:
<if condition="THIS_SCRIPT!='index'"> |
#5
|
|||
|
|||
![]()
ok thanks, here is the header code:
Code:
<!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="2" align="center" bgcolor="#FFFFFF" class="border_out"> <tr> <td align="center" valign="top"> <div align="center" class="border_in"> <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" class="header_bg"> <tr> <td align="$stylevar[left]" valign="top" height="107"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> <!-- /logo --> <td align="$stylevar[right]"> <!-- banners --> </td> </tr> <tr> <td height="37" colspan="2"> <!-- nav buttons bar --> <div align="center"> <table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center"> <tr align="center"> <td class="navbar"> <a href="/index.php">Home</a></td> <td class="navbar"> <a href="/forums/index.php">Forums</a></td> <if condition="$show['registerbutton']"> <td class="navbar"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td> </if> <td id="usercptools2" class="navbar"><a href="$show[nojs_link]#usercptools2">User CP</a> <script type="text/javascript"> vbmenu_register("usercptools2"); </script></td> </if> <td id="usercptools3" class="navbar"><a href="$show[nojs_link]#usercptools3">Services</a> <script type="text/javascript"> vbmenu_register("usercptools3"); </script></td> </if> <td id="usercptools4" class="navbar"><a href="$show[nojs_link]#usercptools4">Support</a> <script type="text/javascript"> vbmenu_register("usercptools4"); </script></td> </if> <if condition="$show['popups']"> <if condition="$show['searchbuttons']"> <if condition="$show['member']"> <td class="navbar"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> <else /> </if> <td id="navbar_search" class="navbar"><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="$show['member']"> <td id="usercptools" class="navbar"><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="navbar"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td> <if condition="$show['member']"> <td class="navbar"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> <else /> <td class="navbar"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td> </if> </if> <td class="navbar"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td> <if condition="$show['member']"> <td class="navbar"><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="$show['member']"> <td class="navbar"><a href="/forums/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 --> </td></tr> </table> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output thanks |
#6
|
|||
|
|||
![]()
Ah, got it. Was having a blonde moment when I looked at it before.
In your navbar, find Code:
</if> <!-- / NAVBAR POPUP MENUS --> Code:
<!-- / NAVBAR POPUP MENUS --> Code:
<!-- / user cp tools 2 menu --> <!-- user cp tools menu 3--> Code:
<!-- / user cp tools 2 menu --> </if> <!-- user cp tools menu 3--> Also, in your header, find Code:
<td id="usercptools2" class="navbar"><a href="$show[nojs_link]#usercptools2">User CP</a> <script type="text/javascript"> vbmenu_register("usercptools2"); </script></td> </if> <td id="usercptools3" class="navbar"><a href="$show[nojs_link]#usercptools3">Services</a> <script type="text/javascript"> vbmenu_register("usercptools3"); </script></td> </if> <td id="usercptools4" class="navbar"><a href="$show[nojs_link]#usercptools4">Support</a> <script type="text/javascript"> vbmenu_register("usercptools4"); </script></td> </if> <if condition="$show['popups']"> <if condition="$show['searchbuttons']"> Code:
<if condition="$show['popups']"> <if condition="$show[member]"> <td id="usercptools2" class="navbar"><a href="$show[nojs_link]#usercptools2">User CP</a> <script type="text/javascript"> vbmenu_register("usercptools2"); </script></td> </if> <td id="usercptools3" class="navbar"><a href="$show[nojs_link]#usercptools3">Services</a> <script type="text/javascript"> vbmenu_register("usercptools3"); </script></td> <td id="usercptools4" class="navbar"><a href="$show[nojs_link]#usercptools4">Support</a> <script type="text/javascript"> vbmenu_register("usercptools4"); </script></td> <if condition="$show['searchbuttons']"> This fix hides the user cp menu from guests, cleans up your code a bit, and lets the other two menus show to everyone. |
#7
|
|||
|
|||
![]()
thank you very much 10/10 support
![]() |
#8
|
|||
|
|||
![]()
I upgraded to vbull 3.6.1 and its not working
Firefox is fine though If you have IE7 or IE6 can people please test it just to make sure its not my settings or browser thanks. www.oz-consolemods.net/forums It should come up in the navbar "usercp" "services" "support" And they will all have links under them, let me know if they work or not. Could someone please help me out again? (i will post new code if required) Thanks again |
#9
|
|||
|
|||
![]()
Working fine in FF (latest version), FF IE Tabs, and IE.
|
#10
|
|||
|
|||
![]()
thanks peterska2, going to update my IE browser and see if it works then.
It looks like its fine your you, so thats great, lets hope its just my browser that needs a fix ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|