vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   add Quick Navigation to top of forum? (https://vborg.vbsupport.ru/showthread.php?t=255507)

huskermax 12-19-2010 12:56 AM

add Quick Navigation to top of forum?
 
I recently added the lower breadcrumbs mod to my board and it is very cool. Posters like it cause they don't have to scroll to the top or use the "top" button.

Is there a way to add the quick Navigation menu to the top? I think this will help again in limiting the amount of scrolling a poster has to do. A lot of scrolling is a compliant I get.

TheLastSuperman 12-19-2010 01:05 AM

The lower breadcrumbs by Lynne shows them near the bottom... you already have a default "Upper breadcrumbs" near the top of the forum just below the navbar... did you mean something else by "Quick Navigation" ?

huskermax 12-19-2010 11:54 PM

1 Attachment(s)
Quote:

Originally Posted by TheLastSuperman (Post 2136176)
The lower breadcrumbs by Lynne shows them near the bottom... you already have a default "Upper breadcrumbs" near the top of the forum just below the navbar... did you mean something else by "Quick Navigation" ?


Yea I have a quick naviagation menu that drops down that lists each board you have plus a few menu items. It is in the bottom left cornner of the board. I would like to move that to the top just above the fourm. See screen shot.

LifesGreatestGift 12-19-2010 11:59 PM

would you like it to show on all pages or just SHOWTHREAD and FORUMDISPLAY pages?

huskermax 12-20-2010 01:56 AM

Quote:

Originally Posted by TheWindows7Site (Post 2136605)
would you like it to show on all pages or just SHOWTHREAD and FORUMDISPLAY pages?

Yes, the current one does that. I was wrong in my post above it is in the bottom right corner.:) So to move it up to the top right corner just above the forum/below the page numbers would be good.

LifesGreatestGift 12-20-2010 02:38 AM

Open template forumjump

Find & Delete:
Code:

                <a href="{vb:raw relpath}#top" class="textcontrol" onclick="document.location.hash='top';return false;">{vb:rawphrase top}</a>
Open template FORUMDISPLAY

Find:
Code:

        <div class="threadpagenav">
                {vb:raw pagenav}
                {vb:raw forumjump}
        </div>

Replace with:
Code:

        <div class="threadpagenav">
                {vb:raw pagenav}
        </div>

Find:
Code:

<vb:if condition="$announcebits">
<ol id="announcements" class="announcements">
        {vb:raw announcebits}
</ol>
</vb:if>

Add After:
Code:

                {vb:raw forumjump}
Open template SHOWTHREAD

Find:
Code:

        <div id="pagination_bottom" class="pagination_bottom">
        <vb:if condition="$show['pagenav']">
                {vb:raw pagenav}
        </vb:if>
                {vb:raw forumjump}
        </div>

Replace with:
Code:

        <div id="pagination_bottom" class="pagination_bottom">
        <vb:if condition="$show['pagenav']">
                {vb:raw pagenav}
        </vb:if>
        </div>

Find:
Code:

{vb:raw header}
{vb:raw navbar}
{vb:raw template_hook.showthread_above_posts}
{vb:raw poll}

Add after:
Code:

<style type="text/css">
.navpopupmenu {padding:10px 0!important;}
</style>
                {vb:raw forumjump}


Enjoy! :)

huskermax 12-20-2010 04:41 PM

Quote:

Originally Posted by TheWindows7Site (Post 2136648)
Open template forumjump

Find & Delete:
Code:

                <a href="{vb:raw relpath}#top" class="textcontrol" onclick="document.location.hash='top';return false;">{vb:rawphrase top}</a>
Open template FORUMDISPLAY

Find:
Code:

        <div class="threadpagenav">
                {vb:raw pagenav}
                {vb:raw forumjump}
        </div>

Replace with:
Code:

        <div class="threadpagenav">
                {vb:raw pagenav}
        </div>

Find:
Code:

<vb:if condition="$announcebits">
<ol id="announcements" class="announcements">
        {vb:raw announcebits}
</ol>
</vb:if>

Add After:
Code:

                {vb:raw forumjump}
Open template SHOWTHREAD

Find:
Code:

        <div id="pagination_bottom" class="pagination_bottom">
        <vb:if condition="$show['pagenav']">
                {vb:raw pagenav}
        </vb:if>
                {vb:raw forumjump}
        </div>

Replace with:
Code:

        <div id="pagination_bottom" class="pagination_bottom">
        <vb:if condition="$show['pagenav']">
                {vb:raw pagenav}
        </vb:if>
        </div>

Find:
Code:

{vb:raw header}
{vb:raw navbar}
{vb:raw template_hook.showthread_above_posts}
{vb:raw poll}

Add after:
Code:

<style type="text/css">
.navpopupmenu {padding:10px 0!important;}
</style>
                {vb:raw forumjump}


Enjoy! :)

Very nice, Does this just move it to the top or does it add one to the top?

LifesGreatestGift 12-20-2010 10:28 PM

Moves it to the top.

huskermax 12-21-2010 01:31 AM

Quote:

Originally Posted by TheWindows7Site (Post 2137024)
Moves it to the top.

OK. Can I do anything to keep one at the bottom and put one on the top?

LifesGreatestGift 12-21-2010 01:33 AM

the way the javascript is coded if you have both, the bottom will function normally but the top has issues collapsing once expanded/opened. Im sure its probably an easy fix. If you have any knowledge with templates/editing you can read what I put for editing and edit it to keep both.


All times are GMT. The time now is 11:02 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.02231 seconds
  • Memory Usage 1,746KB
  • 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
  • (18)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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