vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Mini navbar at bottom of thread (https://vborg.vbsupport.ru/showthread.php?t=60824)

TheEDIGuy 01-26-2004 10:00 PM

Mini navbar at bottom of thread
 
Version 1.0, 01/27/04 - Written for RC3

My users wanted a navbar at the bottom of each thread, so they don't have to scroll back to the top of a page to navigate the site. Rather than put the large navbar, with all of the buttons and the userinfo box included, I created a stripped-down version of it (see image below of what it looks like on my site).

Just follow the simple instructions in the attached text file. There is 1 file edit, 1 new template, and 1 template edit.

You may PM me or post here for support if something's gone wrong, but it is currently working on my site.

Drile 01-27-2004 02:37 PM

Nice.

I did this myself on vB2, and as soon as I upgrade I will "install" this.

Thanks!

NTLDR 01-27-2004 02:44 PM

I don't see any point in hacking this in since all you need to do is add the HTML directly to the SHOWTHREAD template.

TheEDIGuy 01-27-2004 02:48 PM

Ah, you probably could. I'm certainly no expert in hacking, this is just how I did it. It makes my code nice and clean, and much easier to move around if I need it moved somewhere else.

StarBuG 01-27-2004 03:47 PM

Quote:

Originally Posted by TheEDIGuy
Ah, you probably could. I'm certainly no expert in hacking, this is just how I did it. It makes my code nice and clean, and much easier to move around if I need it moved somewhere else.

[high] * StarBuG clicks install
[/high]

Nice and easy to install no problems at all ;)

Thx

StarBuG

jaliam 01-27-2004 05:51 PM

Cool hack! I love it.

AN-net 01-27-2004 06:54 PM

no offense but this is easily done by using the nav bar bits alrdy in the templates but cool hack though;)

TheEDIGuy 01-27-2004 06:58 PM

I take no offense at all. I needed a way to do this, and this was the easiest way I found, and it works well. And now the lower navbit is in a separate template, so I can modify it extremely easily.

I'm sure there are different ways to accomplish the same thing. I'm just helping out those who need a way to do it and want to follow this example.

codemonkey 01-28-2004 11:36 AM

Thats a very good idea, but it would be better if this will be shown on the forumdisplay.php as well.

CdaKnight 01-29-2004 03:37 AM

I'm actually having a problem. Its probably I did something retarded. I've been trying to do something like this for a while, and it keeps showing up incorrectly.

It will show the forum back link (javascript.history-1 business), then the board title, then nothing is in the next level. I hvae it placed in a templated called navbar2, and copied the code directly from the text file. Any clues?


All times are GMT. The time now is 04:22 PM.

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.01173 seconds
  • Memory Usage 1,727KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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