vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Board Optimization - [SEO] Add Microdata Breadcrumbs (https://vborg.vbsupport.ru/showthread.php?t=277570)

insidegames 12-02-2014 04:26 PM

Quote:

Originally Posted by ramesh_umk3 (Post 2524971)
its already provided in my previous comments any how below is the code

Code:

<vb:if condition="$show['breadcrumb']">
<span itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">
    <li class="navbit"><a href="{vb:raw nav_url}" itemprop="url"><span itemprop="title">{vb:raw nav_title}</span></a></li>
</span>
<vb:else />
<span itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">
    <li class="navbit lastnavbit"><span><span itemprop="title">{vb:raw nav_title}</span></span></li>
</span>
</vb:if>


i'm looking for a star rating in serps.

[IMG]http://i.imgur.com/tUXihWM.png[/IMG]

ramesh_umk3 12-03-2014 11:39 AM

Nope due to some reason they are not showing up when links are indexed

Alan_SP 12-16-2014 12:33 PM

Just in case that someone wants to use lower breadcrumb (mod made by Lynne), this would cause problem with this template modification, as there would be two breadcrumbs and thus double information.

So I hide lower breadcrumb from guests (and Google and other search engines). All members can see and benefit from lower breadcrumb and they use site more actively.

Anyway, if someone want to use this two together, here's the link to modified Lynne's mod: https://vborg.vbsupport.ru/showpost....&postcount=234

yjmalmsteen 12-27-2014 09:38 PM

smirkley's code works like charm! Thanks so much mate :)

davidg 01-26-2015 10:53 PM

Someone can make smirkley's code working with vb 3.8 ?
Thank You

m7sen 05-04-2015 03:53 AM

Quote:

Originally Posted by davidg (Post 2534735)
Someone can make smirkley's code working with vb 3.8 ?
Thank You

yes plese

we want it working with vb 3.8

marysnow786 03-12-2016 07:14 PM

modules available for vb 3.8.x

GHRake 05-16-2016 12:45 PM

Not sure if one of my plugins/mods is screwing this up but when I use either the OP's code or the code that was suggested in this post

Using either code I get an error in google markup validator:
https://vborg.vbsupport.ru/external/2016/05/17.png

Obviously this is because the last breadcrumb is not a link. Not wanting any scary google errors I just shortened up navbar_link to make each breadcrumb a link and now no more errors.
Code:

<div itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">
    <li class="navbit"><a href="{vb:raw nav_url}" itemprop="url"><span itemprop="title">{vb:raw nav_title}</span></a></li>
</div>

If someone thinks this is a bad idea, let me know

ramesh_umk3 07-27-2016 03:31 PM

or you can use my code which is still working fine with latest google updates ..

https://vborg.vbsupport.ru/showpost....1&postcount=70

Tested on google structured data analysis with 0 errors :)

https://vborg.vbsupport.ru/external/2016/07/2.png

ezak 07-28-2016 03:59 AM

Quote:

Originally Posted by ramesh_umk3 (Post 2574029)
or you can use my code which is still working fine with latest google updates ..

https://vborg.vbsupport.ru/showpost....1&postcount=70

Tested on google structured data analysis with 0 errors :)

https://vborg.vbsupport.ru/external/2016/07/2.png

I use your code, and its show me 1 error
https://vborg.vbsupport.ru/external/2016/07/3.png


All times are GMT. The time now is 04:56 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.01221 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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