Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

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
  #232  
Old 12-15-2014, 02:01 AM
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 Alan_SP View Post
Also, I added one more location to put lower breadcrumb in, just below posts (above inline moderation, above reply button...).

To add this location add this code in plugin Add Lower Breadcrumbs to SHOWTHREAD template:

Code:
// to put it just below posts
$find = '<div class="postlistfoot">';
Or use attached modified Lynne's mod, where it is enabled by default.
Thank you, Alan! I added a link to your post in the first post so people may have that option. Thanks!!
Reply With Quote
Благодарность от:
Alan_SP
  #233  
Old 12-15-2014, 04:18 AM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lynne, can your mod be made compatible with this template edit: https://vborg.vbsupport.ru/showthread.php?t=277570

Now, when we use your mod and this template edit have double information in Google microdata as we have two breadcrumbs.

Is there a way that your mod doesn't use changed template with microdata, but retain functionality of breadcrumb? Or otherwise, that your mod (i.e. breadcrumb created with your mod) uses microdata and upper breadcrumb use original template?

It would be great to use microdata and your mod, but I'm worrying that doubling of this information would hurt SEO and it also looks puzzling in Google results page.
Reply With Quote
  #234  
Old 12-15-2014, 06:22 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am not familiar with that modification at all. But, you can always disable the plugin called "Add Lower Breadcrumbs to FORUMDISPLAY template" or "Add Lower Breadcrumbs to SHOWTHREAD template" and just add {vb:raw breadcrumbs} into the template manually.
Reply With Quote
  #235  
Old 12-16-2014, 12:13 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That would probably create the same problem, but I just got idea that breadcrumb could be hidden from guests.

It would make it hidden from Google (and other search engines) also. And thus it would look like there's only one breadcrumb. Guests probably wouldn't use it as much as registered users who participate more actively.

And thanks for that info about {vb:raw breadcrumbs}, but for some reason it doesn't work.

So I further modified your great mod and added conditional in your template, that lower breadcrumb is shown only to members:

Code:
<vb:if condition="$show['member']">Show this to members only</vb:if>
Now only members see lower breadcrumb and Google sees microdata just as it should. If anyone want to use microdata information, I attached modified version (or of course, anyone can add conditional by themselves)
Attached Files
File Type: xml product-lynne_lower_breadcrumbs_members_only.xml (3.0 KB, 22 views)
Reply With Quote
Благодарность от:
Lynne
  #236  
Old 12-16-2014, 04:04 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks again, Alan!
Reply With Quote
  #237  
Old 12-17-2014, 06:22 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem. :up:

And, I can't like your posts at the moment...
Reply With Quote
Благодарность от:
Lynne
  #238  
Old 01-19-2015, 02:18 AM
CarpCharacin's Avatar
CarpCharacin CarpCharacin is offline
 
Join Date: Dec 2014
Location: Utah
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will it work on vbulletin 4.2.2 and will it work with BOP5's xenforo style breadcrumb mod?
Reply With Quote
  #239  
Old 01-19-2015, 07:27 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

On BOP's mod, I think it will work, but it probably would generate double microdata. Also, lower breadcrumb wouldn't be in xenforo style, you'd need to change template to achieve xenforo look.
Reply With Quote
  #240  
Old 01-20-2015, 01:01 AM
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 CarpCharacin View Post
will it work on vbulletin 4.2.2 and will it work with BOP5's xenforo style breadcrumb mod?
I don't know if it will work with it, but if you want the breadcrumbs to look like those in BOPs mod, then you most likely need to modify the navbar_breadcrumbs template to be like the one BOP uses.
Reply With Quote
  #241  
Old 07-15-2017, 02:41 PM
IggyP IggyP is offline
 
Join Date: May 2012
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just got a request for this...is there a practical solution for modern php7.1 and vb4.2.5?
Reply With Quote
Reply


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 07:34 PM.


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.04845 seconds
  • Memory Usage 2,364KB
  • Queries Executed 28 (?)
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
  • (2)bbcode_code
  • (2)bbcode_php
  • (3)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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (9)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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