PDA

View Full Version : Mini Navbar: Breadcrumb at the bottom of a thread


randominity
10-14-2005, 10:00 PM
Description
There's no quick way to jump back to a forum when you've reached the bottom of a thread, so this adds a breadcrumb to the bottom of a thread.

Install / Upgrade
Download the attached XML file, and import it at
Admin Control Panel > Plugins & Products > Manage Products > Add/Import Product

Remember to "Allow Overwrite" if you are upgrading.

Mod Info
0 - Queries
0 - Phrases
2 - Plugins
1 - Template
0 - Template Edits


v1.0.4
After snooping around for a little bit on these forums, I found a neat way to avoid template edits. Big thanks to PaulM and his method of doing this ^^.
Now this mod no longer requires a template modification!
I have removed the non-inline display method, so now it will only be "inline"
v1.0.3
Initial vB 3.6.x version

Please click "Install" if you have installed this mod! Thanks!

Boofo
10-15-2005, 06:07 PM
You might want to cache the template. ;)

randominity
10-15-2005, 06:28 PM
Doh, how would I go about that using plugins?

Would I add something like $globaltemplates[] = 'navbar_mini';
at showthread_start?

Snake
10-15-2005, 06:52 PM
Not a bad hack, thanks. :)

Sooner95
10-15-2005, 06:56 PM
you know, this is a good idea... Nice job. I like hacks that make sense.

Sooner95
10-15-2005, 06:59 PM
imported it, but it didnt do anything...I'm no coder, so can't really help you with what your missing tho...

version2
10-15-2005, 10:31 PM
imported it, but it didnt do anything...I'm no coder, so can't really help you with what your missing tho...

I installed the product and I don't see any new navbar down at the bottom, either.

karrerax
10-15-2005, 10:36 PM
I installed the product and I don't see any new navbar down at the bottom, either.

same problem

randominity
10-15-2005, 11:15 PM
Oops forgot there needs to be another template edit!

----------------
open SHOWTHREAD:
----------------

+------
| FIND:
+------
<if condition="$show['pagenav'] OR $show['inlinemod']">
<td align="$stylevar[right]">$pagenav
+-----------
| ABOVE ADD:
+-----------
<td style="align: $stylevar[left]; vertical-align: top;">$navbar_mini</td>

-------------------
end template edits
-------------------

Btw for those who have already installed you should reinstall this new .xml because it *should* cache the added template.

Boofo
10-15-2005, 11:42 PM
Doh, how would I go about that using plugins?

Would I add something like $globaltemplates[] = 'navbar_mini';
at showthread_start?

Hook: cache_templates


if(THIS_SCRIPT == 'showthread')
{
$globaltemplates = array_merge($globaltemplates, array('navbar_mini'));
}


;)

randominity
10-16-2005, 05:00 AM
Oops ok, thanks Boofo! :)

karrerax
10-16-2005, 07:07 AM
Ok Installed!

(Sorry for English) :(
Its posible put the mini navbar in all Forum Indexs? you can view this feature in a PhpBB forum.

Thanks

SnowBot
10-16-2005, 09:19 PM
OK Installed but nothing :(

In your instructions is says

Hooks: Yes
Edit: 1 template (SHOWTHREAD)
Add: 1 template (navbar_mini)

Now what do we add in the NEW navbar_mini Template?

moonclamp
10-16-2005, 09:38 PM
This is something I've been looking for for ages ...

Suggestion on the template edit though ... works better for me doing it this way :)

In SHOWTHREAD TEMPLATE;

find:

</table>
<!-- / controls below postbits -->

Above add:


<tr valign="bottom">
<td colspan="4" class="smallfont"><div align="right">$navbar_mini</div></td>
</tr>

mindfrost82
10-17-2005, 02:32 PM
Ok Installed!

(Sorry for English) :(
Its posible put the mini navbar in all Forum Indexs? you can view this feature in a PhpBB forum.

Thanks

I'm looking for this also.

But one question...why not just use the ForumJump menu?

michaelbenson
10-17-2005, 03:03 PM
OK Installed but nothing :(

In your instructions is says

Hooks: Yes
Edit: 1 template (SHOWTHREAD)
Add: 1 template (navbar_mini)

Now what do we add in the NEW navbar_mini Template?
I'd like to know this also ... :ermm:

southernlady
10-17-2005, 03:32 PM
Have you ever used this at TAZ? It's like that one...MUCH easier and THANK YOU!

Is there a way to make the code bolder and thicker? I love it but the font is hard to read. Maybe if you could bold it and use a larger font? Liz

randominity
10-18-2005, 06:51 AM
OK Installed but nothing :(

In your instructions is says

Hooks: Yes
Edit: 1 template (SHOWTHREAD)
Add: 1 template (navbar_mini)

Now what do we add in the NEW navbar_mini Template?

Nothing, the .xml file adds the navbar_mini template for you.

As for displaying this on forum indexes, yes it can/will be done.

And making the font bigger/bold can/will be done as well.

(Sorry I have a lot of work to do tonight and it's already 3am T_T)

Oh and forum jump menu requires another step to open the dropdown and look for what forum, where as the breadcrumb already as the hierarchy laid out in text immediately after you're done reading a thread.

michaelbenson
10-18-2005, 02:06 PM
I prefer mine below the Previous Thread - Next Thread area.
Nice idea :)

karrerax
10-18-2005, 03:39 PM
I'm looking for this also.

But one question...why not just use the ForumJump menu?

I used ... are my users LOL

Sal Collaziano
10-18-2005, 04:43 PM
I'm looking for this to be more uniform in appearance with the top breadcrumbs/links.. The screenshot doesn't look to be this way.. Has it been updated since?

southernlady
10-18-2005, 09:51 PM
And making the font bigger/bold can/will be done as well.

Let me know when you do, okay? I love it but it dissappears cause it's so thin. If I knew where to adjust it myself, I would. Liz

Telegon80
10-19-2005, 12:44 AM
what does 'above add' mean?

Tulsa
10-19-2005, 01:04 AM
It means when you find the what they are pointing you at, you add what they are referring to above it.

Telegon80
10-19-2005, 01:23 AM
thank you sir. just wanted to ask before i fubar the board. :D

Telegon80
10-19-2005, 01:55 AM
okey its installed works great!

carrie31
10-19-2005, 06:01 AM
very nice hack ! it works the same as the screenshot :P thanks !

mindfrost82
10-20-2005, 11:55 PM
Anyone figure out how to get this to show on the Forumdisplay page under the threadlist?

blackpheonix
10-24-2005, 10:41 AM
Anyone figure out how to get this to show on the Forumdisplay page under the threadlist?

go to this post

https://vborg.vbsupport.ru/showthread.php?p=803493#post803493

descds
10-31-2005, 11:09 AM
This is exactly what my members wanted after upgraded from phpbb to vbulletin.

Many thanks, excellent hack.

**INSTALLED **

descds
10-31-2005, 11:31 AM
I would like to display this inline in the Thread list also. That other hack opens a new box which is under the display options.

How can i get this hack to display 'inline' on the thread view just after the newthread icon ?

GrimJack
11-13-2005, 02:58 AM
Thanks for this, saves me the work of adding it myself. Simple, easy to install, and it works - what else could you ask for? :)

randominity
11-24-2005, 02:12 AM
Updated to include a theme edit for an "Inline" version (check out the screenshot).

Enjoy! ^.^

descds
11-24-2005, 06:03 AM
Updated to include a theme edit for an "Inline" version (check out the screenshot).

Enjoy! ^.^

Just download the xml file and import it through the ACP.

Erm the xml seems to be missing :) Or i could be half asleep and not seeing it (which is highly likely) ...

DefenceTalk
11-24-2005, 03:23 PM
Erm the xml seems to be missing :) Or i could be half asleep and not seeing it (which is highly likely) ...

Dude, where is the xml? :D

Thank you!

randominity
11-24-2005, 05:55 PM
oops! I guess I had a late night last night too!

I deleted my zip with the readme file I had, so here's the XML, just follow the template edits up top.

CuriousGeorge
02-09-2006, 01:42 PM
Thank you for this - look great.

Clayton
03-03-2006, 01:52 PM
Hi

I have added this, however it does not add the folder image as in the old

https://vborg.vbsupport.ru/showthread.php?t=60824

Mini Navbar: Breadcrumb at the bottom of a thread

has anyone got any ideas on how to get the folder to show, please?

childfun
03-05-2006, 05:33 AM
You might want to cache the template. ;)

Nice. Clicks install.

alexanderpas
05-27-2006, 10:07 AM
could you recreate/reupload the readme too please

yessir
08-20-2006, 01:59 PM
Working on 3.6? TIA

Nick0r
08-21-2006, 11:03 PM
Yes!

randominity
09-04-2006, 07:03 PM
Working on 3.6? TIA
done!

djwins
09-06-2006, 09:17 AM
I get a database error when trying to install this in 3.5.4

jailer
09-07-2006, 02:21 PM
3.6 works perfectly. One click install and no messing. I like plug-ins like this. :D

randominity
09-10-2006, 04:52 PM
I get a database error when trying to install this in 3.5.4
hmm what error do you get?

Necrosaro420
09-10-2006, 06:17 PM
Nice one...It does not work with 3.5.4 though =-(

Necrosaro420
09-10-2006, 06:18 PM
Nice one...It does not work with 3.5.4 though =-(



Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'Mini Navbar: Cache template', 'cache_templates', '$globaltemplates[] = \'navbar_mini\';', 'navbarmini');

MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Sunday, September 10th 2006 @ 03:17:42 PM
Script : http://www.xxxxxx/admincp/plugin.php
Referrer : http://www.xxxxxx/admincp/plugin.php?do=productadd
IP Address : xxxxxxxxxxxxx
Username : xxxxxxxxxxxxx
Classname : vb_database

randominity
09-11-2006, 12:53 AM
doh, I don't have a 3.5.x board to test this on, but it _should_ work for 3.5.x now.

JGNYC
09-15-2006, 02:52 AM
Thanks for the hack.
Unfortunately the bar is only text with no frame around it.
Is there a way to fix this?

randominity
09-18-2006, 04:30 AM
Thanks for the hack.
Unfortunately the bar is only text with no frame around it.
Is there a way to fix this?
should be fixed.

djwins
09-18-2006, 07:18 AM
Clicks install...
It would be great if we could the little folder icon, but nice work!

JGNYC
09-18-2006, 10:23 AM
should be fixed.
Thank you :)

wecleangrout
09-27-2006, 08:18 PM
Worked great. Thanks. I love using plug ins and not having to mess with edits.

thanks again.

Aken
01-03-2007, 07:08 AM
doh, I don't have a 3.5.x board to test this on, but it _should_ work for 3.5.x now.
I'm running 3.5.4, and I just installed it recently with no hassles whatsoever. Works fantastic.

browie
01-20-2007, 07:10 PM
This works Awesome, my favorite hack.

jailer
06-03-2008, 05:47 PM
Works on 3.7

Evoklub
02-14-2011, 12:03 PM
We liked it very much, but now we've upgraded to vB4.

Is it available for 4.1.1?