vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Second Navbar At Bottom Of Thread (https://vborg.vbsupport.ru/showthread.php?t=98853)

peterska2 11-17-2005 12:36 AM

put $navbar_bottom under $navbar

LauraFL 11-17-2005 12:41 AM

I did that, but its not showing up. Which template should I do that in? Maybe I'm doing it in the wrong place?

peterska2 11-17-2005 12:47 AM

do it in showthread and I'll put together an extra bit to the plugin to show it on forumhome and forumdisplay. It won't be till tomorrow though as I'm getting ready to go to bed now and I'll more than likely make a mistake and end up making a complete hash of it if I do it now.

LauraFL 11-17-2005 12:49 AM

Thanks :)

peterska2 11-17-2005 03:18 PM

Updated to version 1.0.2

To upgrade reinstall product overwriting the existing one.

Noonster 12-22-2005 07:45 PM

Quote:

Originally Posted by peterska2
put $navbar_bottom under $navbar

I have done that but it keeps showing a break between the standard navbar and the new one :(

Anyideas??

Thanks
Darren

brvheart 01-03-2006 12:13 PM

Nice hack....will click install as soon as I can get rid of the double arrow next to quicklinks and search....does not show up on index.php but everywhere else it does...see attached picture....

S@NL - BlackBik 01-03-2006 08:14 PM

Nice :)
Made this myself on the 3.0 forum, but it's very much easier to implement this hack than figure it out again for myself :D

S@NL - BlackBik 01-03-2006 08:56 PM

Quote:

Originally Posted by ravenes
Nice hack....will click install as soon as I can get rid of the double arrow next to quicklinks and search....does not show up on index.php but everywhere else it does...see attached picture....

Got the same thing.
But only in IE, not in Firefox. And only on pages that show the bottom navbar (threads that is).
If you find a solution, please post it here ;)

peterska2 01-06-2006 08:15 PM

Got it.

In the template navbar_bottom

FIND

Code:

<td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
REPLACE WITH

Code:

<td id="navbar_search2" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search2"); </script></td>
FIND

Code:

<td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
REPLACE WITH

Code:

<td id="usercptools2" class="vbmenu_control"><a href="$show[nojs_link]#usercptools2">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools2"); </script></td>
FIND

Code:

<if condition="$show['searchbuttons']">
        <!-- header quick search form -->
        <div class="vbmenu_popup" id="navbar_search_menu" style="display:none">

REPLACE WITH

Code:

<if condition="$show['searchbuttons']">
        <!-- header quick search form -->
        <div class="vbmenu_popup" id="navbar_search2_menu" style="display:none">

FIND

Code:

<if condition="$show['member']">
        <!-- user cp tools menu -->
        <div class="vbmenu_popup" id="usercptools_menu" style="display:none">

REPLACE WITH

Code:

<if condition="$show['member']">
        <!-- user cp tools menu -->
        <div class="vbmenu_popup" id="usercptools2_menu" style="display:none">

I've just been testing it and it works fine on IE on my site.

A word of advice, if you want to add any other dropdown menus to the bottom navbar, make sure they have a different ID to those in the main navbar otherwise this duplication will occur again.


I'll update the plugin and get it re-released later (probably tomorrow).


All times are GMT. The time now is 02:22 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01293 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete