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)

tafreeh 01-25-2012 11:00 PM

[SEO] Add Microdata Breadcrumbs
 
1 Attachment(s)
Hello.
Before you find out what this mod does, you need to have some knowledge of Microdata.

Now its time to take advantage of this wonderful feature; and we will label our breadcrumbs to describe it's type to Google for better understanding and to presenting your site better in Google search result.

In order add microdata tags in our breadcrumb here is what we need to do:

(please take backup of your template before performing following steps)

Step 1:

Find and Replace everything in navbar_link template with the following code:
Code:

<vb:if condition="$show['breadcrumb']">
<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>
<vb:else />
<div itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">
    <li class="navbit lastnavbit"><span><span itemprop="title">{vb:raw nav_title}</span></span></li>
</div>
</vb:if>

Step 2:
Code:

Hit Save button !!
And That's it you are done. Now you just have to wait until Google show your website in search result like this:
https://vborg.vbsupport.ru/attachmen...1&d=1327559276

Also check following articles for better understanding:

http://support.google.com/webmasters...8472&ctx=topic
http://support.google.com/webmasters...8472&ctx=topic
http://support.google.com/webmasters...8472&ctx=topic


Thank You :)

evildon 01-26-2012 06:10 AM

That one is really cool.
Applied that to my forum.

Thos who need to check if the code is working or now, try using Google Webmaster Rich Snippets Testing Tool here - http://www.google.com/webmasters/tools/richsnippets

tafreeh 01-26-2012 08:58 PM

Thank you for that, but keep in mind that it takes some time to show expected result.
http://support.google.com/webmasters...493#enoughtime

temsamane 01-26-2012 09:00 PM

is this really increasing seo performance?

tafreeh 01-26-2012 09:08 PM

here is a good article that might answer your question:
http://kaidez.com/html5-seo-microdata/

OldSchoolDSL 01-26-2012 09:24 PM

Original 4.1.10 code

Code:

<vb:if condition="$show['breadcrumb']">
        <li class="navbit"><a href="{vb:raw nav_url}">{vb:raw nav_title}</a></li>
<vb:else />
        <li class="navbit lastnavbit"><span>{vb:raw nav_title}</span></li>
</vb:if>

Just making a note (public). Am installing this now and will compare the results

OldSchoolDSL 01-26-2012 09:29 PM

Upon 3rd review, not installing.

You'd really need to 1) Change the link to your own site 2) Have re-write rules for this (more so if you're using nginx)

dtv100 01-27-2012 02:01 AM

any chance to post code for vb 3.8 ?

tarzan22 01-27-2012 06:43 PM

ver

http://www.vbseo.com/f2/google-html5-microdata-51974/

tafreeh 01-28-2012 04:53 AM

ooo God.. Well, I m gonna leave it like that still... Maybe something magical happen.
Thanks for the info tho.. I did not pay attention about that.

tafreeh 02-04-2012 05:04 AM

Quote:

Originally Posted by tarzan22 (Post 2293159)

Okay I just notice today.. and it WORKED !!!
Google is now showing breadcrumbs in search results for my forum.
here is a screenshot:
https://vborg.vbsupport.ru/external/2012/02/58.png

:)

Killhunter 02-11-2012 09:21 AM

There is a problem with this addon: https://vborg.vbsupport.ru/showpost....&postcount=623

Do you know why and how to fix that?

tafreeh 02-13-2012 03:06 AM

What is the default code for navbar_link template ?

mirvla 03-06-2012 07:50 PM

Don work on 3.8.7 (((

final kaoss 03-07-2012 03:50 AM

Why would you expect it to?

Quote:

Originally Posted by mirvla (Post 2306895)
Don work on 3.8.7 (((


derrene 03-26-2012 06:12 PM

How can add the 5 stars see this picture
https://vborg.vbsupport.ru/attachmen...1&d=1327559276

alhidaya 03-28-2012 01:19 PM

Hy,

Quote:

Step 2:
Code:

Hit Save button !!

I don't understand: What should I do?

davut_c20 04-10-2012 11:45 PM

thanks you installded :)

sakkthi 04-11-2012 02:27 PM

thanks for mod. its help in seo ?

Hareth 04-12-2012 10:48 PM

Thank you,,, Installed.

How can we do this to rating system also NOT ONLY BREADCRUMBS

Regards,

Antonio Pereira 07-18-2012 05:53 AM

Another request to do Rating System like "stars google".

Best Regards

vbandroid 10-06-2012 04:17 PM

I highly recommend this to anyone.

ezak 10-08-2012 12:45 PM

installed

xixxon 10-08-2012 02:42 PM

thank you very much!

epsilon80 10-17-2012 08:23 AM

but... and the stars? :(

insidegames 11-13-2012 08:41 AM

which code is important to find? i don't unterstand the first part.

doctorsexy 11-13-2012 11:07 AM

Installed..... thanks

patrick91 12-04-2012 04:56 PM

Please check my forum please! Is it corrent the first in line en the second will jump out with the rest on second line?

Thanks

Naijasite 12-25-2012 05:34 PM

works well for me

Naijasite 12-25-2012 05:40 PM

how do i add the star

smirkley 12-28-2012 08:22 PM

Giving it a try,..will check back

smirkley 01-04-2013 01:52 AM

Well it seems to be propagating on my serps.

I noticed it hasnt yet for threads or profiles yet.
Google reports for threads: Warning: Itemtype not recognized.

I havent determined if this hasnt returned any visitor results improvements yet.

But I like how it looks so far.

smirkley 01-09-2013 02:27 AM

Bump,... so this works for threads? or am I not seeing it right.

autoescala 02-04-2013 01:07 PM

its easy , replace this:

Code:


<vb:if condition="$show['breadcrumb']">
        <li class="navbit"><a href="{vb:raw nav_url}">{vb:raw nav_title}</a></li>
<vb:else />
        <li class="navbit lastnavbit"><span>{vb:raw nav_title}</span></li>
</vb:if>

by


Code:


<vb:if condition="$show['breadcrumb']">
<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>
<vb:else />
<div itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">
    <li class="navbit lastnavbit"><span><span itemprop="title">{vb:raw nav_title}</span></span></li>
</div>
</vb:if>


smirkley 02-05-2013 09:50 PM

Quote:

Originally Posted by autoescala (Post 2401801)
its easy , replace this:

Code:


<vb:if condition="$show['breadcrumb']">
        <li class="navbit"><a href="{vb:raw nav_url}">{vb:raw nav_title}</a></li>
<vb:else />
        <li class="navbit lastnavbit"><span>{vb:raw nav_title}</span></li>
</vb:if>

by


Code:


<vb:if condition="$show['breadcrumb']">
<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>
<vb:else />
<div itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">
    <li class="navbit lastnavbit"><span><span itemprop="title">{vb:raw nav_title}</span></span></li>
</div>
</vb:if>


I know, I got that part of the mod.

I have had this installed for weeks but it doesnt seem to be applying to threads.

And after testing a thread link with this tool...
http://www.google.com/webmasters/tools/richsnippets

I get this as a result,...

Quote:

Warning: Itemtype not recognized.

I would expect a result like this,..

Website > Catagory > Threadname


So what am I not understanding?

Rodrigo. 02-06-2013 07:24 PM

Great very nice !!

zero477 03-08-2013 06:20 PM

Thanks!! magnific!!

ramesh_umk3 03-12-2013 02:28 PM

Quote:

Originally Posted by smirkley (Post 2402244)
I know, I got that part of the mod.

I have had this installed for weeks but it doesnt seem to be applying to threads.

And after testing a thread link with this tool...
http://www.google.com/webmasters/tools/richsnippets

I get this as a result,...




I would expect a result like this,..

Website > Catagory > Threadname


So what am I not understanding?

Use span tag rather than DIV , and you should arrange categories in the code how you like to mention
Example

smirkley 03-14-2013 03:01 AM

Quote:

Originally Posted by ramesh_umk3 (Post 2409501)
Use span tag rather than DIV , and you should arrange categories in the code how you like to mention
Example

You mean like this?...

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>

:confused:

ramesh_umk3 03-14-2013 12:10 PM

Quote:

Originally Posted by smirkley (Post 2409859)
You mean like this?...

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>

:confused:

Exactly it should be better now


All times are GMT. The time now is 01:45 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.01448 seconds
  • Memory Usage 1,828KB
  • 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
  • (9)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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