Page 1 of 2 1 2 LastLast
Results 1 to 15 of 21
Like Tree6Likes

How to add author data for Google

This is a discussion on How to add author data for Google within the Analysis: Traffic & SERPS forums, part of the vBulletin SEO Discussion category; Adding author tags for Google to pick up is turning out to be a good idea. This is slowly boosting ...

  1. #1
    Senior Member Array
    Real Name
    John
    Join Date
    Dec 2005
    Posts
    786
    Liked
    36 times

    [How to] add author data for Google

    Adding author tags for Google to pick up is turning out to be a good idea. This is slowly boosting my click through rates on SERPs. Not to mention I now have a use for that Author tab under Google webmaster tools.

    I altered this plugin a little: Social Networking in Posbit AND Profile (Twitter, Facebook, Google+, Linkedin, +more) - vBulletin.org Forum

    Here's how to do it with this plugin: vBulletin.org Forum - View Single Post - Social Networking in Posbit AND Profile (Twitter, Facebook, Google+, Linkedin, +more)

    Here's what things will eventually look like in Google results:
    https://www.google.com/#&hl=en&q=dro...417b9efd26b52d

  2. #2
    Senior Member Array
    Real Name
    John
    Join Date
    Dec 2005
    Posts
    786
    Liked
    36 times
    Oops. Can a mod move this to the SERP forum?

  3. #3
    vBSEO Staff Array Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,859
    Liked
    567 times
    Blog Entries
    2
    Not a problem, John

    Thank you for your contribution!
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


  4. #4
    Senior Member Array
    Real Name
    John
    Join Date
    Dec 2005
    Posts
    786
    Liked
    36 times
    Thanks! no problem!

    I updated the code that is linked to above to include conditionals. This makes it so the author tag is only present on the first post of a thread, so you don't have multiple authors.

  5. #5
    vBSEO Staff Array Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,859
    Liked
    567 times
    Blog Entries
    2
    Hello,

    I'm attaching additional screenshot for those of us that would like to see how it looks like.

    adding-author-data-google.jpg

    Enjoy

    Thanks again, John.
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


  6. #6
    Senior Member Array
    Real Name
    John
    Join Date
    Dec 2005
    Posts
    786
    Liked
    36 times
    Thanks for the screen shot!

    There is one problem with this that I'm working on - perhaps someone here can help...

    With the method above author tags are being applied to all CMS pages, and not just articles (THIS_SCRIPT == 'vbcms'). Unfortunately a conditional isn't available for this (which is pretty stupid of vbulletin to not include). So we need a small plugin to make a condition. Something like this in cache_templates:

    PHP Code:
    if (THIS_SCRIPT == 'vbcms' && in_array('vbcms_content_article_page'$cache))
    {
        
    define('ON_ARTICLE_PAGE_ONLY'true);

    with template conditional:
    HTML Code:
    <vb:if condition="defined('ON_ARTICLE_PAGE_ONLY')">
        blah blah blah
    </vb:if>
    but that doesn't work. Anyone care to correct it?

  7. #7
    vBSEO.com Webmaster Array Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,463
    Liked
    721 times
    Blog Entries
    4
    I had this coded way back on vB 4.0.2 for my wife's site. I'll have to dig in my backup Dvd's to track this. Let me see if i can find it.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  8. #8
    Senior Member Array
    Real Name
    John
    Join Date
    Dec 2005
    Posts
    786
    Liked
    36 times
    Thanks Mert - let me know if you figure it out.

  9. #9
    Senior Member Array
    Real Name
    John
    Join Date
    Dec 2005
    Posts
    786
    Liked
    36 times
    no luck Mert?

  10. #10
    vBSEO.com Webmaster Array Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,463
    Liked
    721 times
    Blog Entries
    4
    Honestly week day ( very busy ) it is really hard to go inside them , i'll try to check it this weekend.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  11. #11
    Senior Member Array
    Real Name
    John
    Join Date
    Dec 2005
    Posts
    786
    Liked
    36 times
    Quote Originally Posted by tavenger5 View Post
    Thanks for the screen shot!

    There is one problem with this that I'm working on - perhaps someone here can help...

    With the method above author tags are being applied to all CMS pages, and not just articles (THIS_SCRIPT == 'vbcms'). Unfortunately a conditional isn't available for this (which is pretty stupid of vbulletin to not include). So we need a small plugin to make a condition. Something like this in cache_templates:

    PHP Code:
    if (THIS_SCRIPT == 'vbcms' && in_array('vbcms_content_article_page'$cache))
    {
        
    define('ON_ARTICLE_PAGE_ONLY'true);

    with template conditional:
    HTML Code:
    <vb:if condition="defined('ON_ARTICLE_PAGE_ONLY')">
        blah blah blah
    </vb:if>
    but that doesn't work. Anyone care to correct it?
    I'll gladly throw someone $20 via paypal to get this working

  12. #12
    Senior Member Array
    Real Name
    John
    Join Date
    Dec 2005
    Posts
    786
    Liked
    36 times
    huh?

  13. #13
    vBSEO.com Webmaster Array Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,463
    Liked
    721 times
    Blog Entries
    4
    Quote Originally Posted by tavenger5 View Post
    huh?
    Spam
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  14. #14
    Senior Member Array
    Real Name
    John
    Join Date
    Dec 2005
    Posts
    786
    Liked
    36 times
    btw, I thought I had a solution for this, but unfortunately when vbulletin displays the article preview (where memberaction_dropdown is inserted) it is treated as the article page instead of the section page. Therefore, you can't remove the author tags from a section page without some additional coding changes.

    This is really really
    backwards. I never took a look at how that part of the system worked before until now. The right thing to do would be to have a completely separate preview template instead of calling each node for each article along with its set of templates x amount of times. Stupid.

  15. #15
    MTD
    MTD is offline
    Senior Member Array
    Real Name
    Mike
    Join Date
    Apr 2008
    Posts
    143
    Liked
    0 times
    How do you get this to work with vBSEO? It strips out the rel="me" attribute, even when I whitelist Google in the CP.

    How do you get around this?

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Google analytics not getting any data
    By jamiedolan in forum General Discussion
    Replies: 10
    Last Post: 03-14-2011, 08:02 AM
  2. Does using rel=nofollow really helps SEO?
    By StarBuG in forum General Discussion
    Replies: 5
    Last Post: 10-01-2010, 01:47 PM
  3. need some helps
    By hoinqbsg in forum Critique Please
    Replies: 3
    Last Post: 08-01-2010, 06:06 AM
  4. CMS Author URL
    By dieselpowered in forum Bug Reporting
    Replies: 3
    Last Post: 12-21-2009, 12:15 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •