Fixed  Google+ / Google +1 button issues

i did not get you... displaying the button is not the problem here. xenforo pages are simply not getting accepted by google+ and google +1 button.

I know the button is showing, that's not what I mean. I'm taking about just trying different +1 code to see if the button still fails when clicked on the forums. There's more than one way to show the +1 button in XenForo, other than the method Kier has introduced.
 
I had a talk with somebody who had the same problem on his page, and he said that his canonical urls where the problem....
I didn't check the xf code and don't know if that's the problem, but maybe it helps to locate the problem^^
 
The absence of any decent method by which one can report bugs to Google is a serious problem. When the +1 button API first became available, there was a serious error with its HTML 5 implementation, such that one had to use invalid HTML (contrary to their documentation) in order to make it work. I had to rely on a Twitter campaign to get the issue known and hope that someone in a position of power would notice.
 
i had posted what i thought was a solution, but the problem decided to pop back up again, so i removed my solution...
it seems that the title of the page might have something to do with it...i changed the title with no luck, but when i shortened the title down dramatically, it allowed me to +1 it, then i went to my google profile to make sure it worked...and it did...

then i went back to my page, clicked the +1 button to uncheck it, and that worked, then i went to click it again and it turned red...still no solid solution
 
haha. long title tag should not cause any problems. i have +1ed enough threads on wordpress blogs and vB forums that have long titles. :)
 
Yep, I've found it.

As you know, XenForo makes use of HTML 5 Microdata in its markup in order to identify the breadcrumb and other page elements to search engines etc.

Google's use of HTML 5 Microdata is changing rapidly as it recognises more of the syntax, and as a result it can interpret pages differently. It would appear that a change (at Google) late last week resulted in Google being unable to parse the microdata on XenForo pages, because we repeat some of the breadcrumb microdata in the bottom breadcrumb, after its primary inclusion in the top breadcrumb.

Removing all the microdata from the bottom breadcrumb has resolved the issue, and as you can see, you can now +1 pages on XenForo.com to your heart's content without errors.

Stay tuned for more updates.
 
Mystery solved as to why it still works on my home page too....because I have removed the breadcrumbs.

Shame I didn't notice that earlier as it's the only difference between that page and all other pages on my site.
 
haha. URL changed so my +1 disappeared. i was worried that the problem had returned.

on that note, i have noticed that facebook like handle URL changes. google +1 does not.
 
I guess that's what I was trying to ask...I see the screenshot and the green and red highlighted code, but no instructions...is that code to be removed, modified, or did I miss something? Thanks.
 
Red is the current code in 1.0.3, green is the new code in 1.0.4.

It's just being shown as a reference as to what has been changed.
 
Top Bottom