Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Lower Breadcrumbs Details »»
Lower Breadcrumbs
Version: 1.4, by Lynne Lynne is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.0.x Rating:
Released: 12-01-2009 Last Update: 10-21-2010 Installs: 459
Uses Plugins Auto-Templates
Re-useable Code Translations  
No support by the author.

This just adds the breadcrumbs to the bottom of the showthread page. I saw this thread over at vb.com and then decided to share it as I wrote it for myself.






Version History:
1.0 2009-12-01: initial release by Lynne at vbulletin.org (pre Beta 5)
1.1 2009-12-04: fixed the issue regarding a single apostrophe in a thread or forum title (Thanks go to BBR-APBT for the fix!) (Beta 5)
1.2 2009-12-12: small template change for new release, RC2 (RC2)
1.3 2009-05-10: added lower breadcrumbs to forumdisplay page (up to 4.0.7)
1.4 2009-10-21: fixed for use in 4.0.8 (4.0.8)


To install:

1. Import product-lynne_lower_breadcrumbs.xml


To uninstall:

1. Uninstall "Lower Breadcrumbs"


Optional:

Added in 1.1: in the plugin, Add Lower Breadcrumbs to SHOWTHREAD template, you will see the following lines:

PHP Code:
// to put it above the Quick Reply box
//$find = '<!-- scripts for quick reply and quick edit -->'; 
// to put it above the Thread Information box
$find '<div id="thread_info" class="thread_info block">'
If you wish to have the Breadcrumbs above the Quick Reply box, then uncomment that line and comment out the one to put it above the Thread Information box, like this:


PHP Code:
// to put it above the Quick Reply box
$find '<!-- scripts for quick reply and quick edit -->'
// to put it above the Thread Information box
//$find = '<div id="thread_info" class="thread_info block">'; 
Quote:
Originally Posted by Alan_SP View Post
Also, I added one more location to put lower breadcrumb in, just below posts (above inline moderation, above reply button...).
Thanks to Alan for instructions to add to that location, see this post - https://vborg.vbsupport.ru/showpost....&postcount=230

And again thanks to Alan, if you use microdata on your site and want the breadcrumbs to only show for logged in users, see this post - https://vborg.vbsupport.ru/showpost....&postcount=234

Download Now

File Type: zip Lower Breadcrumbs 1.3.zip (26.1 KB, 339 views)
File Type: zip Lower Breadcrumbs 1.4.zip (25.8 KB, 1191 views)

Screenshots

File Type: png lower_breadcrumbs.png (23.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
6 благодарности(ей) от:
BCP Hung, Erica1977, FReeSTER, goxy63, puertoblack2003, solarweb

Comments
  #132  
Old 05-26-2011, 09:08 PM
Telshin Telshin is offline
 
Join Date: Mar 2011
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The template is the exact code from my development server with no change upon the import. I've checked both Forumdisplay and showthread and the spots have not changed either. It's just rather odd.
Reply With Quote
  #133  
Old 05-26-2011, 09:13 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Telshin View Post
The template is the exact code from my development server with no change upon the import. I've checked both Forumdisplay and showthread and the spots have not changed either. It's just rather odd.
Well, the problem is on line 4 of whatever template is causing the issue. That is what the error is saying.
Reply With Quote
  #134  
Old 05-26-2011, 09:22 PM
Telshin Telshin is offline
 
Join Date: Mar 2011
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Aye, it was a silly little import from the XML issue. Thanks Lynne.
Reply With Quote
  #135  
Old 06-15-2011, 02:37 PM
nocte nocte is offline
 
Join Date: Jan 2006
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Since i upgraded to vB 4.1.3 the breadcrumbs don't show up anymore. I have installed version 1.4 and use the standard vB Style. I have tried deactivate and reactivate the plugin - but the breadcrumbs still don't show up.
Reply With Quote
  #136  
Old 06-15-2011, 03:44 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nocte View Post
Since i upgraded to vB 4.1.3 the breadcrumbs don't show up anymore. I have installed version 1.4 and use the standard vB Style. I have tried deactivate and reactivate the plugin - but the breadcrumbs still don't show up.
Don't show up on what page using what options? They show up just fine on my default 4.1.4 site.
Reply With Quote
  #137  
Old 06-15-2011, 04:00 PM
nocte nocte is offline
 
Join Date: Jan 2006
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

strange. I have downloaded the hack again and overwritten the plugin. Now it works again..
Reply With Quote
  #138  
Old 06-15-2011, 04:32 PM
zelnik zelnik is offline
 
Join Date: Aug 2008
Posts: 374
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Lynne hoping you can help.

I've been happily using this 'hack' for ages but I'm installing a custom style and I just can't get it to display above the quick reply box. I assume the showthread for the custom style is set up different even though it has "<!-- scripts for quick reply and quick edit -->" in the showthread template.

The custom style is this one: http://www.completevb.com/demovb4/forum.php?styleid=65 if this is any help?

Thanks Lynne much appreciated as this little hack is the most popular one on my site!

Running vb4.1.3 if thats any help... 4.1.4 soon
Reply With Quote
  #139  
Old 06-15-2011, 06:22 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could just replace this line in the plugin:
PHP Code:
$vbulletin->templatecache['SHOWTHREAD'] = str_replace($find,$breadcrumbs.$find$vbulletin->templatecache['SHOWTHREAD']); 
with this:
PHP Code:
vB_Template::preRegister('SHOWTHREAD', array('breadcrumbs' => $breadcrumbs)); 
And then just manual put {vb:raw breadcrumbs} into the SHOWTHREAD template.
Reply With Quote
Благодарность от:
Dirt Bike Addict
  #140  
Old 06-15-2011, 07:54 PM
zelnik zelnik is offline
 
Join Date: Aug 2008
Posts: 374
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much Lynne I'll give that a try in the morning, much appreciated!
Reply With Quote
  #141  
Old 06-28-2011, 02:00 PM
Dirt Bike Addict's Avatar
Dirt Bike Addict Dirt Bike Addict is offline
 
Join Date: Apr 2010
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
You could just replace this line in the plugin
Thanks Lynne, that was just what I was looking for. :up:
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:50 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05837 seconds
  • Memory Usage 2,351KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (7)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete