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
  #202  
Old 07-10-2013, 02:19 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 DemOnstar View Post
I like it....

I do have difficulty in getting it to go above the quick edit box as I am totally baffled when the term 'uncomment' a line is used..

Instructions could be clearer but still, works well enough. Marked as installed.

Thanks...
In PHP, "//" comments out a line so that it is not parsed. So, if you want to uncomment it, you would remove the "//" at the front. And, conversely, to comment out a line, you would add a "//" to the beginning of the line and then that line is ignored by php.
Reply With Quote
  #203  
Old 07-10-2013, 08:33 AM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you once again... Always there....:up:
Reply With Quote
  #204  
Old 07-11-2013, 07:37 AM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry about this but I still don't get it.

To save confusion, this is currently what the script in question looks like.

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>
Could you possibly post the correct code to get it to show above the quick reply box.

Thank you...
Reply With Quote
  #205  
Old 07-11-2013, 08:58 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You don't do anything to the template. You do something to the plugin. (And I do say exactly what to do in the original post in this thread.)

Quote:
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">'; 
Reply With Quote
  #206  
Old 07-12-2013, 05:46 AM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
You don't do anything to the template. You do something to the plugin. (And I do say exactly what to do in the original post in this thread.)
Well obviously and by all evidence, I am totally stupid and utterly incompetent....

Thank you for your time!
Reply With Quote
  #207  
Old 07-12-2013, 07:15 AM
ahobilam's Avatar
ahobilam ahobilam is offline
 
Join Date: Aug 2011
Location: Chennai, India
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No difference found after install in 4.2.1?!
Reply With Quote
  #208  
Old 07-12-2013, 07:26 AM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ahobilam View Post
No difference found after install in 4.2.1?!
Well it works for me... Does the job but I am not as nerdy as some and therefore struggle with terms like 'un comment a line'.

Simple install and working...Although it is still not in the place I want it to be but eventually I will get it there.....

Very useful...
Reply With Quote
  #209  
Old 07-12-2013, 11:09 AM
Toorak Times's Avatar
Toorak Times Toorak Times is offline
 
Join Date: Jan 2011
Posts: 436
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DemOnstar View Post
Well it works for me... Does the job but I am not as nerdy as some and therefore struggle with terms like 'un comment a line'.

Simple install and working...Although it is still not in the place I want it to be but eventually I will get it there.....

Very useful...
Slotted straight into where it was supposed to on my 4.2.1
Reply With Quote
  #210  
Old 07-12-2013, 11:35 AM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Toorak Times View Post
Slotted straight into where it was supposed to on my 4.2.1
Good to hear.....If I had of wanted it to go below the quick reply box, this post would not exist..
Reply With Quote
  #211  
Old 07-14-2013, 09:23 AM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got there eventually....

Perfect...........
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 08:31 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.05418 seconds
  • Memory Usage 2,358KB
  • 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
  • (1)bbcode_code
  • (3)bbcode_php
  • (7)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
  • (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