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
  #12  
Old 12-02-2009, 02:52 PM
cyclical cyclical is offline
 
Join Date: Jun 2003
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyway to add this right above the quick reply box and right below the "post reply" button?

(like on this one)
https://vborg.vbsupport.ru/showthread.php?t=202377

It makes it even easier for quick navigation, most users don't scroll much lower than the quick reply box.
Reply With Quote
  #13  
Old 12-02-2009, 03:21 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can probably change this line in the plugin "Add Lower Breadcrumbs to SHOWTHREAD template":
Is currently:
PHP Code:
$find '<div id="thread_info">'
Change to:
PHP Code:
$find '<!-- scripts for quick reply and quick edit -->'
Reply With Quote
  #14  
Old 12-02-2009, 03:37 PM
VonDoom's Avatar
VonDoom VonDoom is offline
 
Join Date: Dec 2008
Location: USA
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Lynne, Installed life is already getting easier.
Reply With Quote
  #15  
Old 12-02-2009, 03:39 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a warning guys, this will 'break' in the next release, I will be posting version 1.1 as soon as the next release it up.
Reply With Quote
  #16  
Old 12-02-2009, 05:08 PM
cyclical cyclical is offline
 
Join Date: Jun 2003
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, just noticed with this enabled in Beta 4 I am getting Parse errors when trying to access certain threads. It is not happening to all threads, just a few.

i.e.
Parse error: syntax error, unexpected T_STRING in /home/XXXXX/public_html/forums/includes/class_core.php(3805) : eval()'d code on line 670

As soon as I disabled the pluging, it will allow me to enter the thread.
Reply With Quote
  #17  
Old 12-02-2009, 05:26 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is the one that renders the template code. Have you tried disabling other modifications to see if it still happens? I wonder if this one is interferring with another mod you have that modifies the same template. Or, have you tried making the change in post 12 to see if it still happens?

I'd love a link to one of the threads you have problems with so I could take a look at the source code (you can PM me a link with a test username/password if you like).
Reply With Quote
  #18  
Old 12-02-2009, 05:33 PM
cyclical cyclical is offline
 
Join Date: Jun 2003
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
That is the one that renders the template code. Have you tried disabling other modifications to see if it still happens? I wonder if this one is interferring with another mod you have that modifies the same template. Or, have you tried making the change in post 12 to see if it still happens?

I'd love a link to one of the threads you have problems with so I could take a look at the source code (you can PM me a link with a test username/password if you like).
I disabled all mods except the blog/cms thing. The only time it ever worked was when this mod was off.

I haven't tried making that change you suggested yet.

I'll pm you a test account in a minute or so, along with a link to a thread.
Reply With Quote
  #19  
Old 12-02-2009, 10:26 PM
SİMAR's Avatar
SİMAR SİMAR is offline
 
Join Date: Jun 2009
Location: Germany~Offenburg
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #20  
Old 12-03-2009, 02:31 AM
BBR-APBT's Avatar
BBR-APBT BBR-APBT is offline
 
Join Date: Feb 2009
Location: Maryland
Posts: 946
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I installed this to help with the code error and I like it so I am keeping it installed.

It didn't interest me till I installed it.

Very nice idea.
Reply With Quote
  #21  
Old 12-03-2009, 02:44 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 BBR-APBT View Post
Well I installed this to help with the code error and I like it so I am keeping it installed.

It didn't interest me till I installed it.

Very nice idea.
And when I release the next version when the next vb4 version is released, you'll be getting credit. Thanks again.
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 02:10 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.05116 seconds
  • Memory Usage 2,353KB
  • 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
  • (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
  • (6)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)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