vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Adding breadcrumb? (https://vborg.vbsupport.ru/showthread.php?t=247000)

Dave 07-21-2010 01:43 PM

Adding breadcrumb?
 
I just installed a new style but this style does not have a correct breadcrumb.
Here an image of what it looks like:

https://vborg.vbsupport.ru/external/2010/07/15.png

And here an image of how I want it to look like.

https://vborg.vbsupport.ru/external/2010/07/16.png

I checked the sources and all codes are correct and on the correct place but it does not want to show the correct information on the forum. Does it has anything to do with the vars itself?

I totally have no clue. Any ideas on how to make it look the same?

mmoore5553 07-21-2010 04:09 PM

i would have to see the actual forum or test board. i would assume just copy breadcrumbs from default and add it to your skin.

Dave 07-21-2010 05:00 PM

Quote:

Originally Posted by mmoore5553 (Post 2072513)
i would have to see the actual forum or test board. i would assume just copy breadcrumbs from default and add it to your skin.

"I checked the sources and all codes are correct and on the correct place but it does not want to show the correct information on the forum. Does it has anything to do with the vars itself?"

I checked it on both forums. The codes are the same but they both show something different.
The breadcrumb is in the nav template right? Near the bottom.

mmoore5553 07-21-2010 05:19 PM

Yes that is correct ...I would not know where to guess since a theme and no link but if code is there it should work or css is wrong or hiding it .

Dave 07-22-2010 08:32 AM

Hmm how could CSS affect that?

Lynne 07-22-2010 02:22 PM

The breadcrumb isn't even shown in the image in the first post. You need to check your navbar template and make sure the code is in there. Go to edit the template, click on View History > Compare and you'll see where it is supposed to be.

Dave 07-22-2010 02:29 PM

Quote:

Originally Posted by Lynne (Post 2072928)
The breadcrumb isn't even shown in the image in the first post. You need to check your navbar template and make sure the code is in there. Go to edit the template, click on View History > Compare and you'll see where it is supposed to be.

Not original:
PHP Code:

<div id="breadcrumb" class="breadcrumb" style="padding:2px 10px 0 10px;">
    <
ul class="floatcontainer"><br />

        {
vb:raw navbits.breadcrumb}
        {
vb:raw navbits.lastelement}
    </
ul>
    <
hr />
</
div


Original:
PHP 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

All I did was deleting the forum home image. Even if I add it back the breadcrumb is still not there.
I checked the source when at a topic and the new skin does not show the breadcrumb at all.
Where
PHP Code:

        {vb:raw navbits.breadcrumb}
        {
vb:raw navbits.lastelement

is at in the template will show nothing on a topic. It doesn't show the breadcrumb at all o.o.

Am I being stupid or what?

Lynne 07-23-2010 01:51 AM

Try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 


If your files are all default files, and your style is default, the only other thing I can think of is that a modification is causing the issue.

A link to your site would help as well.

Dave 07-23-2010 07:57 AM

<a href="http://freestylersworld.com/forum.php" target="_blank">Forum Link</a>

I disabled all plugins and the breadcrumb is still not showing up.

Lynne 07-23-2010 02:26 PM

Does it show up on a vbulletin default style (you only show your custom style)? Are all your files totally default? Have you looked at your error_logs to see if anything is in there (if you don't know where they are, ask your host)?

How to create a vbulletin default style:
  • Styles & Templates > Style Manager > Add New Style
  • Parent Style: No Parent Style
  • Title: Default vBulletin
  • Allow User Selection: Yes
  • Save
Then browse the site using that totally default vbulletin style - do you still have the same problem?


All times are GMT. The time now is 06:20 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.03649 seconds
  • Memory Usage 1,752KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete