PDA

View Full Version : add Quick Navigation to top of forum?


huskermax
12-19-2010, 12:56 AM
I recently added the lower breadcrumbs (https://vborg.vbsupport.ru/showthread.php?t=229290) 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
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
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:
<a href="{vb:raw relpath}#top" class="textcontrol" onclick="document.location.hash='top';return false;">{vb:rawphrase top}</a>

Open template FORUMDISPLAY

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

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

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

Add After:

{vb:raw forumjump}

Open template SHOWTHREAD

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

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

Find:

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

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


Enjoy! :)

huskermax
12-20-2010, 04:41 PM
Open template forumjump

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

Open template FORUMDISPLAY

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

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

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

Add After:

{vb:raw forumjump}

Open template SHOWTHREAD

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

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

Find:

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

Add after:
<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
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.

huskermax
12-21-2010, 02:34 PM
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.

OK, thanks a lot!