Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 05-05-2015, 05:03 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To keep the breadcrumb from displaying on the home page, wrap the entire div element with:

HTML Code:
<vb:if condition="THIS_SCRIPT !== 'index'">...</vb:if>
It should look like:

HTML Code:
<vb:if condition="THIS_SCRIPT !== 'index'">
<div id="breadcrumb" class="breadcrumb" style="z-index: 100; position: relative; top: 175px;">
	<ul class="floatcontainer">
		<li class="navbithome"><a href="index.php{vb:raw session.sessionurl_q}" accesskey="1"><img src="{vb:stylevar imgdir_misc}/navbit-home.png" alt="{vb:rawphrase home}" /></a></li>
		{vb:raw navbits.breadcrumb}
		{vb:raw navbits.lastelement}
	</ul>
	<hr />
</div>
</vb:if>
Reply With Quote
  #12  
Old 05-05-2015, 05:10 PM
postmottak postmottak is offline
 
Join Date: Sep 2014
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm cannot find that HTML-code you first stated in the "search in templates". Closest I found was this "forumdisplay" - might be same function?

HTML Code:
<li id="forum{vb:raw forum.forumid}" class="forumbit_post {vb:raw forum.statusicon} L1">
<vb:if condition="THIS_SCRIPT != 'forumdisplay'">
		<div class="forumhead L1">
			<h2>
				<span class="forumtitle">&nbsp;</span>
				<span class="forumthreadpost">&nbsp;</span>
				<span class="forumlastpost">{vb:rawphrase last_post}</span>
			</h2>
		</div>
</vb:if>

Also noted when posting new thread, the spacing got a bit out of hand.

--------------- Added [DATE]1430853601[/DATE] at [TIME]1430853601[/TIME] ---------------

Filename: forumhome_forumbit_level1_post
Reply With Quote
  #13  
Old 05-05-2015, 05:21 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What I meant was for you to add the vb conditional around the breadcrumb div element.

It seems though that my first solution was not well-thought out though. The problem is that the breadcrumb in its original location is hidden. So, we need to unhide it, but let it remain where it's supposed to be.

Try this...remove the edits you made at my request to your "navbar" template and add to your "additional.css" template the following selectors:

Code:
.breadcrumb {
	position: relative !important;
}

.breadcrumb li a {
	color: #CCCCCC !important;
}

.breadcrumb li a:hover {
	color: #FFFFFF !important;
}

.breadcrumb li a img {
	background: #FFFFFF !important;
}
Does this work?
Reply With Quote
  #14  
Old 05-05-2015, 05:25 PM
postmottak postmottak is offline
 
Join Date: Sep 2014
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks - will check!
Reply With Quote
  #15  
Old 05-05-2015, 05:29 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by postmottak View Post
Thanks - will check!
I added some selectors after originally posting...I just want to be sure you get them all.

And if this doesn't work, please let me know because I want to get this right.
Reply With Quote
  #16  
Old 05-05-2015, 05:35 PM
postmottak postmottak is offline
 
Join Date: Sep 2014
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not an ace in this, but searching my files for additional.css, I found several files. Just add your code at the end of all of them?

(See attached).
Attached Images
File Type: png screenprint.png (69.4 KB, 0 views)
Reply With Quote
  #17  
Old 05-05-2015, 05:43 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It appears that you have removed the breadcrumb element altogether...when I said to remove the edits I initially requested, I meant for you to restore the breadcrumb element in the "navbar" template to:

HTML Code:
<div id="breadcrumb" class="breadcrumb">
	<ul class="floatcontainer">
		<li class="navbithome"><a href="index.php{vb:raw session.sessionurl_q}" accesskey="1"><img src="{vb:stylevar imgdir_misc}/navbit-home.png" alt="{vb:rawphrase home}" /></a></li>
		{vb:raw navbits.breadcrumb}
		{vb:raw navbits.lastelement}
	</ul>
	<hr />
</div>
Now, you should only add the selectors I posted to the "additional.css" template for the "Primus Slate" style . Edit the template using your AdminCP.

If you would like, you can PM to me the credentials for an admin account, and I can make these changes for you.
Reply With Quote
  #18  
Old 05-05-2015, 06:29 PM
postmottak postmottak is offline
 
Join Date: Sep 2014
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, man. Really appreciated your help both in this thread and off-line. Now the navigation for my users are back to normal
Reply With Quote
Благодарность от:
MarkFL
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 09:12 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02106 seconds
  • Memory Usage 2,261KB
  • Queries Executed 14 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (4)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (8)post_thanks_box
  • (1)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (1)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete