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
  #182  
Old 07-11-2012, 02:52 AM
huskermax huskermax is offline
 
Join Date: Mar 2010
Location: Cincinnati
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I searched and did not find any of the code listed in the mod. All I did was just download the xml file. Is there any code change that can keep breadcrumbs running in a closed thread?
Reply With Quote
  #183  
Old 07-11-2012, 05:20 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 huskermax View Post
I searched and did not find any of the code listed in the mod. All I did was just download the xml file. Is there any code change that can keep breadcrumbs running in a closed thread?
Did you try changing the plugin to put it above the thread info instead of above the quick reply?
Reply With Quote
  #184  
Old 07-11-2012, 06:43 PM
huskermax huskermax is offline
 
Join Date: Mar 2010
Location: Cincinnati
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Did you try changing the plugin to put it above the thread info instead of above the quick reply?
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">'
Do this?

I can't find the above code. I can find the (scripts for quick reply and quick edit) and ('<div id="thread_info" class="thread_info block">') But when I find those lines in showthread it does not look anything like the php code you have above.

PHP Code:
<div id="thread_info" class="thread_info block">
    <
vb:if condition="$show['activeusers']">
    <
h4 class="threadinfohead blockhead">{vb:rawphrase thread_information}</h4>
    <
div id="thread_onlineusers" class="thread_info_block blockbody formcontrols">
        <
div class="inner_block">
            <
h5>{vb:rawphrase users_browsing_this_thread}</h5>
            <
div>
                <
p>{vb:rawphrase users_currently_browsing_x_y_z, {vb:raw totalonline}, {vb:raw numberregistered}, {vb:raw numberguest}}</p>
                <
ol class="commalist">
                    <
vb:each from="activeusers" value="row">
                        <
li><class="username" href="{vb:link member, {vb:raw row}}">{vb:raw row.musername}</a>{vb:raw row.invisiblemark}{vb:raw row.buddymark}{vb:raw row.comma}</li>
                    </
vb:each>
                </
ol>
            </
div
PHP Code:
<!-- scripts for quick reply and quick edit -->
{
vb:raw vBeditTemplate.clientscript}
<
vb:if condition="$show['quickedit']">
    <
script type="text/javascript">
    <!--
    
vB_AJAX_QuickEdit_Init('posts');
    
//-->
    
</script>
    <
vb:if condition="!$show['quickreply']">
        {
vb:raw editor_clientscript}
        {
vb:raw editor_js}
    </
vb:if>
</
vb:if>
<!-- / 
scripts for quick reply and quick edit -->
</
vb:if> 
Am I in the right spot in showthread?

I have 4.2.0 patch 2

While we are at it will this plug in still work in VB 5?
Reply With Quote
  #185  
Old 07-11-2012, 07:16 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That code simply means that it would put the breadcrumbs above this line:
<div id="thread_info" class="thread_info block">

As for vB5, no, this will definitely not work in vB5 since there is no plugin system like this one in vB5.
Reply With Quote
  #186  
Old 07-15-2012, 10:56 AM
Marwood Marwood is offline
 
Join Date: Jun 2012
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed this the other day and it works perfectly. Thank you!
Reply With Quote
  #187  
Old 07-31-2012, 06:54 AM
thedukeboard thedukeboard is offline
 
Join Date: Jul 2012
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perfect. Thank you so much.
Reply With Quote
  #188  
Old 08-09-2012, 12:19 AM
zascok zascok is offline
 
Join Date: Jul 2010
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Lynne thank you. I have installed it above the qR box any chance it can be visible for guests as well please?
Reply With Quote
  #189  
Old 08-09-2012, 03:02 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 zascok View Post
Hi Lynne thank you. I have installed it above the qR box any chance it can be visible for guests as well please?
You could modify the SHOWTHREAD template and just add {vb:raw breadcrumbs} where you want (and not within the condition it is currently within) and then remove the find/replace code from the "Add Lower Breadcrumbs to SHOWTHREAD template" plugin.
Reply With Quote
Благодарность от:
zascok
  #190  
Old 08-11-2012, 01:04 PM
Footman Footman is offline
 
Join Date: Mar 2010
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by huskermax View Post
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">'

I can't find the above code. I can find the (scripts for quick reply and quick edit) and ('<div id="thread_info" class="thread_info block">') But when I find those lines in showthread it does not look anything like the php code you have above.



Am I in the right spot in showthread?
Her code is in the XML file, not the showtread template. That's where you make the changes to where you want the breadcrumbs placed.
Reply With Quote
  #191  
Old 08-11-2012, 10:45 PM
Footman Footman is offline
 
Join Date: Mar 2010
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lynne,

Is it possible to place the breadcrumbs between the "Reply to Thread" button and the last post?
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 01:38 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.08892 seconds
  • Memory Usage 2,380KB
  • 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
  • (6)bbcode_php
  • (5)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
  • (1)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