![]() |
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. |
Nice.
I did this myself on vB2, and as soon as I upgrade I will "install" this. Thanks! |
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.
|
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.
|
Quote:
[/high] Nice and easy to install no problems at all ;) Thx StarBuG |
Cool hack! I love it.
|
no offense but this is easily done by using the nav bar bits alrdy in the templates but cool hack though;)
|
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. |
Thats a very good idea, but it would be better if this will be shown on the forumdisplay.php as well.
|
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? |
If you have a template named "navbar2", then you aren't following my instructions, and I can't be of much help.
|
I assumed one empty, custom template was the same as any other...
However, I went back and made -another- template called navbar_bottom, and I still have the problem as stated above. |
PM me the contents of your navbar_bottom template, because there's something wrong with it.
|
Simple but nice, very clean.
/me clicks install |
Nevermind
|
Thanks so much. I put the HTML code directly into the showthread template and it works great. I've been wanting to do this for a long time! :classic:
|
cool ;)
installed without probs. thx. cya s. |
where in the show threads template does it go?
this is the html right? Quote:
dave |
Quote:
Cool! I like it.. www.denzoforums.com |
Awesome, exactly what I needed for those looooong threads.
|
Quote:
|
Fantastic amazing hack man ;) very useful thanx so much!!!
I just change in the the navbar_bottom template the very last 4 rows of code: Code:
</tr> Code:
</tr> ;) |
excellent, never mind it there are other ways this does just what my members want
thanks |
Awesome, this is EXACTLY what I was looking for. I prefer the template approach too. ;)
[high]* Cryo clicks install![/high] |
For just template mods,
In SHOWTHREAD and FORUMDISPLAY templates, Find: HTML Code:
$forumjump HTML Code:
<span class="navbar"><a href="$vboptions[forumhome].php?$session[sessionurl]">$vboptions[bbtitle]</a></span> $navbits[breadcrumb] |
In the FORUMHOME
I would like to move the "Navigation Bar" (including the log in boxes) from the top ---> to the bottom combined with "Whats Going On?" I want it to be included in the "Whats Going On" on the top of "Currently Active Users" How Can I do that? The navbar line is all the way at the bottom of the code, but I dont know how to include it with the "whats going on?" Any ideas? |
Quote:
edit: And yes, the normal one works fine... |
I added this to my vbadvanced portal too.
portal index.php (whatever you've call it) find Code:
print_portal_output($home); Code:
eval('$navbar_bottom = "' . fetch_template('navbar_bottom') . '";'); |
Quote:
|
Excellent and simple hack...
:install: This makes me wonder how easy it might be to have a 'New Posts' link below as well.. Could this be easily implemented into this same hack? As the admin, I pretty much read everything and scrolling up everytime to click new posts could be simplified with somethin like that. |
For some reason this isn't working for me on 3.0.7. :(
The navbar_bottom shows up, but it only shows a link to the forum home, not the rest of the breadcrumb links. |
Never mind.
|
how i get this to work with vbullitin 3.5.1?
|
Someone has done something similar in 3.5.1 already. It's here.
|
All times are GMT. The time now is 10:29 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|