google+ wordpress plugin – googleCards-WordPress

As promised in yesterdays post, I have turned my google+ profile scraper class into a wordpress plugin.

google+ for wordpress

the google+ cards widget

The plugin adds a widget to your wordpress install that will display your ‘googleCard’ in your blog’s sidebar.

Download
Github

Installation

1. Download googlecards.zip and unzip
2. Upload the unzipped googlecards folder to the `/wp-content/plugins/` directory
3. Activate the plugin through the ‘Plugins’ menu in WordPress
4. Go to the ‘Widgets’ menu in WordPress and add the widget to your sidebar.
5. Choose a title for the widget and input your google+ id. (You can find your google+ id by going to your profile, it is the 21 digit number e.g. plus.google.com/YOUR_ID_IS_HERE).

If you like this plugin, please give it a rating and review on the WordPress Plugin directory :)

How to show the widget in a template

If you don’t have a widgetized sidebar or you would just like to display the widget somewhere in your template, you can do so by adding the following php snippet to your template where you want the googleCard to appear :

<!--?php 	$instance = array( 					'title' =--> 'Follow me on Google+', // your widget title
					'plus_id' => '111270891764039363851', // your google+ id
					'credit' => 1
					);
	$args = array('before_title' => '</pre>
<h3 class="widget-title">', 'after_title' => '</h3>
<pre>
');
	$gc = new GoogleCardsWidget();
	$gc->widget($args,$instance);
?>

Note : You will need version 0.4.3 or later for this snippet to work, and it is only needed if you don’t want to use the standard widget.

Changelog

0.4.7
Fixes the class names once again after a google+ change.

0.4.6
Fixes profile image and circle count fetching again. Pretty much same deal as last time.

0.4.5
Fixes profile image and circle count fetching problems. (Google changed the layout of user profiles which broke the scraper in the plugin).

0.4.4
Added option to add rel=”author” to google plus profile links, and the option to open the links in a new window / tab.

0.4.3
Added contribution from Joe Vaughan for using the WordPress 3.0 widget API so widget can be used in multiple sidebars. Thanks Joe, chapeau. Also added the option to disable the developer credit if you’re a really mean sort of person and removed the example Google+ ID. (note to wordpress.org – I am not Larry Page. Unfortunately. This message sent from my $45million luxury yacht)

0.4.2
Forever alone – fix for bug when no one has the google+ account in a circle.

0.4.1
Test for safe_mode and open_basedir. Fixes curl_setopt() bug.

0.4
Added file_get_contents as a backup for curl and use the transients API if we cant use a cache file. Tell curl not to verify https. Some minor css stuff.

0.3.1
Some css fixes for people with big names and small sidebars.

0.3
Fix for lowercase names in wordpress plugin directory

0.2
Fixed some caching and css problems

0.1
Initial release

FAQ

If you get ‘Couldn’t get data from Google+’ when running the plugin, before asking for help please turn on PHP error reporting and see if your error matches something in the FAQ.

1. I get the error Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in plugins/googlecards/googleCardClass.php on line 25“.
This is a problem with your PHP setup. You are almost certainly running PHP4. The plugin requires PHP5. WordPress requires PHP5 after version 3.2 too. Talk to your host about using PHP5.

2. I get the error Warning: file_get_contents() [function.file-get-contents]: Filename cannot be empty in /*****/*****/public_html/blog/wp-content/plugins/googlecards/googleCardClass.php on line 181“.
You probably have something other than your Google+ id in the Google+ id box. Make sure you just put in the numbers from the url of your Google+ profile and nothing else.

3. I get the error Warning: file_get_contents(http://plus.google.com/*******… [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden“.
This is a HTTP 403 error from Google+, it means they have banned your server’s IP from making requests to their servers. This usually isn’t anything to do with the plugin (it makes very few calls to Google’s servers) and it is more likely that you are on shared hosting, and someone else who shares your IP has been scraping Google.

4. I get the errorfile_get_contents(http://plus.google.com/… [function.file-get-contents]: failed to open stream: Unable to find the socket transport “ssl” – did you forget to enable it when you configured PHP?“.
Because Google+ is HTTPS, you need to get your host to enable openssl and configure it for PHP.

5. I get the error Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /var/www/web1281/html/wordpress/wp-content/plugins/googlecards/googleCardClass.php on line 181“.
AND/OR I get the error Warning: file_get_contents(http://plus.google.com/1082378… [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /var/www/web1281/html/wordpress/wp-content/plugins/googlecards/googleCardClass.php on line 181“.
The plugin requires either CURL or file_get_contents() to be enabled on your server.If your host gives you access to your php.ini then you can change the ‘allow_url_fopen’ setting to ‘1’ which will fix your problem. Otherwise speak to your host and ask them to enable CURL or allow_url_fopen for you.

Updated 9/7/2011 : I’ve just uploaded a new version of the plugin to the wordpress directory (version 0.3.1). This hopefully fixes alot of the styling problems people with big names and small sidebars were having.
I’m also no-longer hosting the plugin here as you can get it from the official wordpress plugin directory now.
For people still having problems fetching data from google+, I hope to have that completely fixed in a later update but try using version 0.3.1 if you are using an earlier version.

Updated 11/7/2011 : I’ve just released a major update to the plugin, if you were having problems fetching google plus data please update your plugin to version 0.4 immediately. The new version no longer requires a file for caching (but will use it if it’s there) and adds a backup method for getting data from google+ that hopefully should fix most of the ‘Couldn’t get data from google+’ errors.
Update 2:
Updated to 0.4.1 – I added a test to see if safe_mode is or open_basedir is set in php.ini – If they are google+ cards now avoids using curl to stop the Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /wp-content/plugins/googlecards/googleCardClass.php error.
Update 3 : Version 0.4.2 – codenamed forever alone fixes a bug where the google+ card would not show if no-one had you in a circle.

Updated 14/7/2011 : I’ve just released version 0.4.3 of the google+ cards plugin. This should probably be considered a major update as it uses the WordPress 3.0 widget functions instead of the legacy ones, thanks to Joe Vaughan for the github contribution. This version therefore allows you to use the googleCards widget in multiple widgetised sidebars on your blog.
I had to remove the default Google+ ID by WordPress.org’s request and I have also included an option for you to disable crediting me in the widget if you’re cruel and heartless ;)
One more thing! Because of the new way of hooking into wordpress widgets, when you upgrade to this version you will need to re-add the widget and put your Google+ id in again. Sorry, won’t happen again.

Updated 04/8/2011 : I’ve just pushed out version 0.4.5 of the googleCards plugin. This was a bit of a forced update as Google changed the structure of user profile pages on Google+, which broke the scraping function of the plugin. The new version should fix circle counts and user images not showing. You will need to either delete your cache file after updating or clear the wordpress transient cache. Otherwise wait a (default) maximum of 4 hours and it should start working again. Please don’t complain in the comments until you have either cleared the cache or waited 4 hours after updating, thanks!

Updated 01/02/2012 : Google+ changed the class names wrapping user pictures and follow counts so I’ve updated the plugin once more to 0.4.7. Please remember to clear your cache (plus_cards.txt) as before, or wait $cache_hours (default 4 hours) to see your profile data working again (also clear your sitewide cache if you have it and it is caching this too).

  • Inoperante2

    My name appears to be too long for the 200px width – but it won’t resize to fit the width of the sidebar.

    Solution please?

    • http://plusdevs.com +devs

      What’s your blog, maybe I can help better if I can see..

      You can make the whole box wider by modifying /wp-content/plugins/googleCards/css/googleCards.min.css

      Look for #plus_card { width: 200px; } in the css file and change it to a wider width…

      • Inoperante2

        Thanks for the quick reply. Blog is: http://inoperanteonline.com

        I tried editing that file – made no difference. And it says it’s inactive in WordPress, which confused me!

        • http://plusdevs.com +devs

          I can’t see the widget on your blog, maybe you need to clear your cache?

          • Inoperante2

            Strange. It’s right there at the top of the right hand sidebar. Cache cleared and everything.

          • http://plusdevs.com +devs

            Ok I see it now.
            Download this file : http://plusdevs.com/assets/wp-plugins/googleCards.min.css
            (right-click, save as)

            and upload it to /wp-content/plugins/googleCards/css/ , replacing the existing file. That should fix it.

          • Inoperante2

            That worked, thanks very much. :)

          • http://plusdevs.com +devs

            And thank you for reporting the bug. I’m going to try to find a more elegant way of dealing with longer names and will update the plugin.

          • http://nicheplayer.net map

            Maybe just ditch the name, since you’re showing the profile icon, and people visiting the blog might reasonably be expected to know whose G+ account they’d be adding?

          • http://www.facebook.com/profile.php?id=1134455829 Andrew Wells Douglass

            Kudos for being an amazingly responsive developer! I edited the CSS to 200px and it works ( bitterdivorcee.com ). Maybe the 99% width is the real problem.

            I agree with “map” that the name is unnecessary for many of us, esp. a link from a personal blog (a checkbox on the config screen?).

          • Bryan Eggers

            I feel that the name should not be eliminated. It’s important. What if you have more than one author and they both want to show their badge? It would be totally confusing without the names.

      • Smsvn1
  • http://www.vivid.in.th Vivid Charoenmetheewat

    I add this plugin on widget but Couldn’t get data from google+

    • http://plusdevs.com +devs

      Do you have a cache folder at /wp-content/cache/ ? Is there a plus_cards.txt in there? If there is and the text file shows null data, try deleting the text file.

      • http://www.vivid.in.th Vivid Charoenmetheewat

        My folder at /wp-content/cache/ don’t found a plus_cards.txt
        Please give me your suggestion, Thanks.

        • http://plusdevs.com +devs

          Can you post a link to your blog?

          • http://www.vivid.in.th Vivid Charoenmetheewat

            My Blog is http://www.vivid.in.th

            Thanks for your reply.

          • http://plusdevs.com +devs

            Hmm that’s a strange one…
            Can you try re-downloading the plugin? There was an error in the options code when I first uploaded it.
            What is shown on the widgets page – when you expand the googleCards widget box – does it show and save your google+ id?

          • http://www.vivid.in.th Vivid Charoenmetheewat

            Oh, I see this problem. My hosting not allow to change permission :-( but i will try to change later.

            Thanks for your suggestion.

          • http://www.vivid.in.th Vivid Charoenmetheewat

            Hi +devs,

            I can see “plus_cards.txt” in cache folder and edit permission to 777 but it’s not worked.

            P.S. In Widget i can see save button my google+ id.

            Thanks

    • http://plusdevs.com +devs

      I’ve just uploaded a new .zip file to try to fix this problem, please try it out.

  • Kay

    I am having the same issue “couldn’t get data from Google+” – I have that cache file, but no way of editing permissions on that folder (not allowed by host). Could it be something on Google’s end, like privacy settings?

    • http://plusdevs.com +devs

      I obviously need to do a bit more testing on the caching part. Can you post your blog address please? Makes it easier to debug :) Also, are you using any caching plugins? (super cache, total cache e.t.c)

      • Kay

        I have no upgraded to 3.o but still the same error. Btw, I am not using any chaching plugins.

        • Kay

          I just wanted to say that the latest version 0.4.2 works! I knew this was a good plugin. Thanks for all the patience and hard work.

          • http://plusdevs.com +devs

            Great! Glad to hear it’s working for you now and thanks for coming back to say it’s working :)

    • http://plusdevs.com +devs

      I’ve just uploaded a new .zip file to try to fix this problem, please try it out.

  • http://www.igeek.co.za/ Gerhard

    Perhaps use transients rather than a cache file?

  • http://nicheplayer.net map

    The card is covering my name?

    http://nicheplayer.net/avablog/

    Last widget in the right sidebar. EDIT: Guess this is the same “name too long” problem. Bummer.

    • http://twitter.com/alvmadrigal Alvaro Madrigal

      I have the same problem pls help

    • http://plusdevs.com +devs

      Hi, I’ve released a new version of the plugin that should fix your problem, please update.

  • http://de-de.facebook.com/people/Martin-Sauer/776408672 Martin Sauer

    Works fine here http://www.admartinator.de

    I’ve modified the stylesheet a little bit, what is the minified version for?

    • http://plusdevs.com +devs

      I originally used the minified css version by default, but realised it would be harder for people to edit and for me to debug/propose fixes for (can’t tell people add X at line Y).

      I’ve completely removed the minified css file from the latest version, people who care about this know how to do it themselves or already use a minifying plugin I guess.

  • http://www.johnphung.com John Phung

    Installed but getting this error:

    Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/XXXXX/domains/johnphung.com/public_html/wp-content/plugins/googlecards/googleCardClass.php on line 114
    Couldn’t get data from google+

    Ideas?

    • http://www.facebook.com/k5jat Jay Talbot

      Same issue here….

      • http://plusdevs.com +devs

        This is a server problem, I will try to have a workaround in a later version or you can talk to your host about it…

    • http://plusdevs.com +devs

      Please see my replies to everyone else with the same problem :)

  • http://twitter.com/alvmadrigal Alvaro Madrigal

    I have issue with this plugin
    http://alvmadrigal.constructoresverdes.com/
    the image dosn´t see in the widget box
    help me pls

    • http://plusdevs.com +devs

      Please try out the new version, I think it should work for you now.

  • http://thezargon.org Fernando Fonseca

    Blog: http://thezargon.org
    Error Message: “Couldn’t get data from google+”
    Google+ ID: 107863796156749531232
    Any tips? Thank you!

    • http://plusdevs.com +devs

      Sorry I don’t see the widget on your blog :(

  • Anonymous

    I just tried it and it doesn’t look all that great. Text overflows out side of the api box. I am sure I could change my name in Google+ making it shorter but then that would defeat the purpose of my uniformity for brand recognition. I will wait until the issues with the plugin is fixed or someone comes out with a better one.

    • http://plusdevs.com +devs

      I’ve just released an update, please give it a try :)

  • Micky Keck

    I am getting the Couldn’t get data from google+ error as well. I checked the cache directory and the file is there with all the correct information on my profile inside.

    site is http://mickykeck.com

    any ideas? Thanks for making this.

    • http://plusdevs.com +devs

      Looks like it is working for you now?!

    • http://blog.precom.at precom BLOG

      i do have the same problem! working with the newest version, but no data can be loaded….

    • Manuela Kohl

      Same problem since today. Works fine about two weeks. Now is getting no data from line 181.

      • Ebert Hans

        Have also no picture and no circle info since today!

        • http://www.facebook.com/MacBros John MacDonald

          Same here. No picture and info for past 3 days now. Just stopped working.

          • Scott

            Same here as well. Not trying to spam but this is what mine looks like – http://www.googleplusblog.co.uk

          • http://www.kriskris.com/ Kris

            Same problem here

          • Jon McCulloch

            Likewise. According to my host, CURL, openssl and allow_url_fopen() are all enabled. Still doesn’t work.

          • http://twitter.com/KoprivaMedia Jim Kopriva

            Same here. Obviously the plugin is dysfunctional. Shame, it really was nice while it worked.

          • http://www.aurelienpiat.com/ Aurélien PIAT

            Same for me…

          • http://www.ClassicCarLink.com Oliver Jon Cross

            Shame you didn’t read, go delete the cache

    • John Tomelevage

      Same here. No data for about two days and also no image.

    • Scott Foley

      Same here

  • Colin Walker

    I got rid of the “CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set” error by changing the line in googleCardClass.php to curl_setopt($this->curl, CURLOPT_FOLLOWLOCATION, 0); but still getting the erro that it can’t get data from Google.

    http://colinwalker.me.uk

    cache dir is set to chmod 777, txt file is in place.

    • http://plusdevs.com +devs

      CURLOPT_FOLLOWLOCATION is so that the scraper follows google’s redirects when grabbing the page. If you remove it the script will not arrive at the right page because the request will not be forwarded.
      You can fix this at the server level by making sure safe_mode and open_basedir are off.
      I will attempt to make a workaround for this in a later release.

  • steffen

    i have the same problem
    Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /www/htdocs/w00a744a/wissen/wp-content/plugins/googlecards/googleCardClass.php on line 114
    Couldn’t get data from google+

    • http://plusdevs.com +devs

      This is a server problem. You can talk to your host about it maybe. I’ll try to make a workaround for this in a later version though.

  • Torbjorn Loov

    This is all that I get:
    Follow me on google+
    Couldn’t get data from google+

    • http://plusdevs.com +devs

      Please try the new version – what’s your url?

  • Luc Saint-Elie

    Hello,

    This plug in works like a charm.

    Is there a way to call it as a function instead of the regular widget way ? (I’d need to place it in my sidebar out of the widget zone)

    Thanks

    Luc

  • guidoG

    I am getting the Couldn’t get data from google+ error too. :-S

    URL: http://www.guidoG.me

    Thanks for support..

    • http://plusdevs.com +devs

      A new version of the google+ plugin has been released, please try updating and let me know if the new version works for you.

  • Patrick EMIN

    I am getting the Couldn’t get data from google+ error too.

    • http://plusdevs.com +devs

      I’m going to put out an update on Monday hopefully to put in some different methods for fetching and storing the data…

    • http://plusdevs.com +devs

      I’ve released an update, please give it a try!

  • O PANTANAL OnLine

    Nossa eu sei que isto é um pedido absurdo será que tem como adaptar para usar no blogger, adorei este recurso?

    • http://plusdevs.com +devs

      No plans to port this to blogger at the moment, sorry. You might be able to use the scraper class to make your own blogger plugin though.

  • Mathias Ziethen

    Morning, I am getting the Couldn’t get data from google+ error too.

    http://www.karmas-photographie.de/
    http://www.pixelseeker.de/cabrera-vor-mallorca

    • http://plusdevs.com +devs

      Just released the new version, please give it a try

  • Florian

    Hi, I’m getting the same issue with google+ data! never had a server issue before so i’m quiet sure it’s not serber sieded! heres my url: http://www.motionscale.de

    • http://plusdevs.com +devs

      Just released a new version, please update

  • http://www.igeek.co.za/ Gerhard

    Forked the plugin on GitHub and made some changes for better WordPress support, maybe the author can pull the request and use it in his plugin. See https://github.com/kloon/googleCard-Wordpress

    • http://plusdevs.com +devs

      Ahh nuts, looks like we were both working on this at the same time. Wish I’d waited an hour before working on this now! I just released version 0.4 which does much the same thing as your pull requests but in a slightly different way I guess.
      Thank you so much for contributing code though, I really appreciate it.

  • steffen

    the new version lokks better, i can see my name und the picture, but i have this additional error message
    Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /www/htdocs/w00a744a/wissen/wp-content/plugins/googlecards/googleCardClass.php on line 148

    • http://plusdevs.com +devs

      ahh yes meant to put in a test to stop this happening too, will fix this in next update.

    • steffen

      Using the googleCardClass.php von kloon at GIThub, the plugin works fine for me without any errors!!!

      • http://plusdevs.com +devs

        Yeah we came at the previous problem in different ways. His version is fine too but I preferred to keep curl and file caching in there as first choices.

        Version 0.4.1 of the plugin should fix this too, would you mind trying it?

  • Pete Figtree

    The stat for how many people have me in their circles doesn’t change. Any help?

    • http://plusdevs.com +devs

      Hi Pete, the amount of people is taken from your google profile. Google have been a bit slow in updating the public counts so it might take a day or 2 to show up, it is the same for everybody though.
      After that there is some caching in the plugin – this means the plugin stores the data from google+ locally so that it doesn’t call google+ on every page load. This can be configured in googleCardClass.php. The cache currently lasts for 4 hours.

  • http://twitter.com/ctrlaltdeliver Jim Meeker

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /homepages/28/d153498456/htdocs/ctrlaltdeliver/wp-content/plugins/GoogleCards/googleCardClass.php on line 25

    This is what I am getting when I try to add this to my WordPress Site at http://www.ctrlaltdeliver.com

    • http://plusdevs.com +devs

      I responded to you on google+, but for anyone else reading I’m pretty sure this is because you are using PHP4. The plugin (and WordPress, after 3.2) require PHP5.

  • Anonymous

    Hi, getting that “Couldn’t get data from google+” error. I upgraded to 0.4.2.
    http://jasonmayoff.com

    • http://plusdevs.com +devs

      Hi Jason, sorry to hear that, I thought we’d squashed most of the bugs by now. It’s a weird one, I tried using your id on localhost install and it worked fine.
      I see you have an empty cache file, there may be some problem with your host? Are there any transients in the wp_options.
      I’m kind of stumped, I don’t suppose you could give me a login to your server to debug it?

      • Anonymous

        I would, but I don’t see any way on this site to send you a private message.

        • http://plusdevs.com +devs

          Try the contact form : http://plusdevs.com/contact/ (it’s in the top bar, maybe I should add it in some more places) or send me a message on google+.

  • Heike

    Doesn’t work. Error message:

    Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /var/www/web1281/html/wordpress/wp-content/plugins/googlecards/googleCardClass.php on line 181

    Warning: file_get_contents(http://plus.google.com/108237875780880715512) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /var/www/web1281/html/wordpress/wp-content/plugins/googlecards/googleCardClass.php on line 181
    Couldn’t get data from google+

    On Google+ is activated that anybody can see who took me into circles. Any ideas?

    • http://plusdevs.com +devs

      Hello Heike,

      Unfortunately this is a problem with your hosting. The plugin tries 2 different methods to retrieve the data; CURL and file_get_contents. If neither of them are allowed by your hosting you will see this message.

      If your host gives you access to your php.ini then you can change the ‘allow_url_fopen’ setting to ‘1’ which will fix your problem. Otherwise speak to your host and ask them to enable CURL or allow_url_fopen for you (maybe show them this comment).

      Oder, suchen Sie ein webhosting Provider das nicht so shiesse ist ;)

      • Heike

        Hi, thanks for your answer. My webhoster supports it. I just had to adjust some server settings. Now everything is working fine. So, I’d recommend not to let prejudices rule ;-)
        Heike

        • http://www.alsgaard.dk Kim Alsgaard

          What did you do to fix this ?

  • http://rowboatmedia.com Cynthia LaLuna

    Crazy awesome idea – but the plugin doesn’t show up when I follow the links.

    • http://plusdevs.com +devs

      That is very weird, the plugin has disappeared from the wordpress plugin directory :(

      I’m going to contact them now…

    • http://plusdevs.com +devs

      OK well as soon as I posted the last comment the plugin reappeared – it should be here again : http://wordpress.org/extend/plugins/googlecards/

      Must have been a problem on wordpress’ end.

    • http://plusdevs.com +devs

      Weird, it’s gone again. Added a local mirror of the zip file here : http://plusdevs.com/assets/wp-plugins/googlecards.zip

  • http://johnhaydon.com John Haydon

    Hi there – my GoogleCard seems to look very different from what I’ve seen. Am I missing something? I’ve got it in my sidebar at http://johnhaydon.com Thanks!

  • http://www.facebook.com/lao.sopheak Lao Sopheak

    It’s great! Thanks~!

  • http://twitter.com/Studio_Two StudioTwo

    Awesome plugin! I am having trouble with placing a card in multiple sidebars. Once I have placed the widget in a sidebar for my home page for example it then disappears and i can not add it to any additional sidebars. Other than that it’s great except my profile says 100 people have me in their circles and my card says 80 something. Looking forward to it evolving! :)

    • http://plusdevs.com +devs

      You can have the widget in multiple sidebars in the newest version (0.4.3).

  • Anonymous

    Hi, the card says Larry Page. Is there a fix? I might have missed if someone had an identical problem. TheVoiceofJobseekers.com

    • http://plusdevs.com +devs

      You have to put your own google plus id in the widget settings.
      You can find your google+ id by going to your profile, it is the 21 digit number e.g. plus.google.com/YOUR_ID_IS_HERE

  • Anonymous

    Never mind, found it, and it looks great!

  • http://www.facebook.com/people/Nathaniel-Devore/100000694113910 Nathaniel Devore

    Hey great plugin but I am getting this error too:

    file_get_contents(http://plus.google.com/115330007912221485186) [function.file-get-contents]: failed to open stream: Unable to find the socket transport “ssl” – did you forget to enable it when you configured PHP?
    Any thoughts?

    • http://plusdevs.com +devs

      Sounds like a host problem.
      If it gets to this point it has already failed with CURL… do you have openssl enabled and configured for PHP?

      • http://www.facebook.com/people/Nathaniel-Devore/100000694113910 Nathaniel Devore

        That was the problem. I had my host fix it. Thanks again! Got it working now :)

  • Daniel Michael

    Thanks pal, have it installed it on my blog, took all of two minutes. Nice work.

  • anonymous101

    How about for Blogger?

  • http://eatshoplove.com/ ⚡aha Kehau

    I love the idea! Is there a way to just put a code directly into my sidebar because my theme doesn’t use widgets. Thanks!!

    • http://plusdevs.com +devs

      Hi, here’s a little snippet that you can put into your sidebar (or anywhere in your template) to show the card wherever you want. I’ll add it to the post too as I don’t know how good it will look in the comments :

      *edit* – yep php is ugly in the comments, I will add to the post…

      *edit 2* – ok see the post now, under “How to show the widget in a template”.

      • http://eatshoplove.com/ ⚡aha Kehau

        I appreciate it!

  • Jim Lochner

    Easy to add (once I figured out it was its own separate widget as opposed to a text widget…doh!). But mine has my name hidden behind my pic and the pic is all the way to the side without a little white space to the left. Maybe it has to do with my theme. I don’t know. Any suggestions?

    • http://plusdevs.com +devs

      It’s because your theme has some quite silly CSS that is overriding that from the plugin.
      This :
      #sidebar .widget div {
      clear: both;
      margin: 5px 0;
      padding: 0 15px 10px 0;
      }
      overrides the googleCards css.

      If you add !important to each of the margin and padding rules in the /googlecards/css/googleCards.css file, it will look better.

      • Jim Lochner

        Worked like a charm! Thanks!

  • Charlene Chua

    I clicked on the WordPress link but it just went to the general WP plugins site. I searched for googlecards but nothing came up. Has it been removed?

  • http://emil.isberg.eu Emil Isberg

    It seems to be removed from WordPress plugin page?

  • Anonymous

    Warning: file_get_contents() [function.file-get-contents]: Filename cannot be empty in /data/24/2/131/44/2294533/user/2521208/htdocs/WordPress/wp-content/plugins/googlecards/googleCardClass.php on line 181
    Couldn’t get data from google+

    I tried to look at other sites where people were having this issue, but I can’t tell what the fix is. help
    http://partyaficionado.com/

    • Lisa

      I’m getting the same error.

  • A.

    No luck with this

  • http://www.yoursocialmediamogul.com Knikkolette Church

    I’m having issues with this widget because even though it installs and shows up, it shows 0 people in my circles. I’ve downloaded and updated the file today, so I know I have the most up-to-date file. Any thoughts? I went into edit mode and made sure my Google+ ID number was input everywhere it should be.

  • Foolish Sage

    Wish this worked. I downloaded 0.4.3 and still get the “can’t get data from Google” message.

  • http://cyberjunkeez.org Priyanka Bhowmick

    PLEASE CREATE ONE FOR BLOGGER BLOGS

  • http://www.kristofcreative.com Kristof

    Excellent work – thanks. What code snippet can I use to only display the circle count?

  • Mdkart

    Would it be possible to add support for rel=”author” tag?
    Cf http://www.google.com/support/webmasters/bin/answer.py?answer=1229920
    Thanks for the great work!

    • http://plusdevs.com +devs

      Yes it would, and it’s going to be in the next version :) (already had some requests)

  • Anonymous

    I am getting the Couldn’t get data from google+ error as well.

    site is http://zeustore.com/wp/

  • http://twitter.com/ryanhellyer Ryan Hellyer

    I had a quick flick through the source code and it looks like you aren’t using the http API class. You may find that makes things a little easier for you as it should allow for less buggy/code intensive ways to access the HTML page without having to write hacks to cope with every possible server setup.

  • Ugo Grandolini

    Hi John,
    just installed the plugin, 0.4.3 and fixed some small issues. Posted changes on my page, http://plus.google.com/100610388717569337039
    Do you want me to copy the changes here?

  • Rick

    Good on ya, John, thanks. Some of us prefer to have the link open in a new tab or window. Easily fixed, might be worthwhile to add the option.

  • http://blog.precom.at precom BLOG

    I tried different versions of this (hopefull) great plugin! But i get just this error:
    Warning: file_get_contents(http://plus.google.com/*******************) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in…..

    allow_url_fopen is activated

    what could be the problem? http to https?!?

    • http://plusdevs.com +devs

      I think the HTTP 403 is coming from Google. Are you on shared hosting? Google seems to have blocked your server ip.

      • http://blog.precom.at precom BLOG

        site’s running at an austrian hoster (world4you). i don’t know if the server ip is blocked :(! any solutions?

  • Emkeyfoto

    Hi, newest version causes a bug for smaller sidebars…and…there ist a background color problem. My WP blog ist customized and the background should be analogue due to the background color of my sidebar. Any chance to solve this little problems for me?

  • Ian McKendrick

    Great plugin, and thank you for sharing. I’ve written an article to show people how they can install it here: http://ianmckendrick.com/2011/07/how-to-set-up-google-plugin-on-your-wordpress-blog-step-by-step/?doing_wp_cron

  • Morocarlo
  • Sbramfitt

    Vice nice, thanks for doing this.

    one small issue and one suggestion

    Issue – the default CCS isn’t so good with IE9. – Grey text on graduated grey background, not a big deal

    Suggestion – offer the ability to suppress “in XXX people’s circles” message – it’s not so hot when XXX is a very low number

    regards

    Simon

  • Gary Wagnon

    Installed the plugin but got a Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’. Any ideas on a fix for this?

    • http://plusdevs.com +devs

      You need to be running PHP5 instead of PHP4.

  • Blogsaays

    I am getting this error

    Warning: file_get_contents(http://plus.google.com/5646456456456456452111) [function.file-get-contents]: failed to open stream: Network is unreachable in /home/xxx/public_html/wp-content/plugins/googlecards/googleCardClass.php on line 181
    Couldn’t get data from google+

  • http://twitter.com/bobmorse Bob Morse

    Getting the no data message. Turned on error reporting by adding
    ini_set(‘display_errors’,1);
    error_reporting(E_ALL|E_STRICT);

    to wp-config.php

    But I get no errors. Copied and pasted the g+ profile id# a couple times. Nothing.

  • http://twitter.com/hoffmanndaniel Daniel Hoffmann

    Great plugin! Everything works except the profile pictures :-/ what can I do – any idea?
    http://www.socialmedia-blog.de

    thanks!

  • Marco

    I like this Plugin, but – I´m using Joomla…
    Öhm, is this Plg also availible for Joomla`?

    Thx 4 answering and bR!

    Marco

    • Jonathan Urrutia88

      Im looking for this plugin in Joomla as well! Don’t think it exists though.

  • http://twitter.com/imageconjurer Bernie Greene

    Great plugin. Just one issue. I’d like it to open in a new tab rather than go off my site to Google.
    http://www.imageconjurer.com

  • http://mandeewidrick.com Mandee Widrick

    Hey John,

    I tried installing on my blog, but the buttons didn’t work quite right. I was able to click my photo, but nothing else on the widget.

    Mandee

  • teldredge

    Thanks, great plugin!

  • Michael Held

    The widget version 0.4.4 did not work with my wordpress. I get the warning:

    Warning: mkdir() [function.mkdir]: Permission denied in /www/…/wp-content/plugins/googlecards/googleCards.php on line 41
    Couldn’t get data from google+

    What should I do, that the plugin is working fine?

    Thank you for help

    • Juamir

      I have the same problem, I have not been solved. Help please.

      • Juamir Garcia

        Buenas amigo aquí tienes la solución: http://juamir.com.ve/?p=139.

        Es realmente sencillo debes crear una carpeta llamada cache dentro de la carpeta /wp-content y eso es todo. El problema viene porque el Plugins necesita esta carpeta y valida si existe si no existe intenta crearla pero como muchos proveedores de Hosting por seguridad no permiten la ejecución de la función mkdir el Plugins no puede crearla y por tanto genera el error.

  • Louise Douglas

    Plugins can not be installed on wordpress.com sites.

  • http://blog.gauweiler.net W7

    Would it be possible to support persistent configuration of typeface and font size of the card name?

    I find that I must edit the CSS : plus_card_name: font-size: 12px, and plus_card a : comment-out font-weight: bold, in order to obtain an appearance in line with my blog’s style.

  • http://www.kipfx.com Kip

    Hi John, I have it working on mine

  • http://www.kipfx.com Kip

    Whoops, sorry! But not working here: http://jm.businesssupremacy.ie/ have checked all comments and solutions below, no joy! Damn quick release by the way!

    • http://plusdevs.com +devs

      Try temporarily turning on errors and seeing what you get. If it’s a shared host, it is possible has banned the IP (see FAQ #3).

  • http://twitter.com/magalogguy Mike Klassen

    I’m not sure I’m clear on if there’s a fix for the “In 0 people’s circles” problem. I’m using this plug-in on two different sites and I get the same thing on both.

    Granted, I’m not in many circles right now, but it’s more than zero. :)

    If this is something that is an issue on Google’s end, it would be nice to have a suppression option for the plugin so that sentence is not shown at all.

    Thanks.

    • http://plusdevs.com +devs

      Mike, your circles / people who have you in circles are not public. If they’re not public, how do you think the plugin would find them?

      • http://twitter.com/magalogguy Mike Klassen

        So sorry… must be totally dense. So what, then, is the point of that line in the plugin showing?

        • http://plusdevs.com +devs

          Well I hadn’t considered that someone would be open enough to want to display the widget on a blog but shy enough to not show the number of circles on google+. I will make that line optional in a future release.

          • http://twitter.com/magalogguy Mike Klassen

            That’s the question I’m asking… mine isn’t showing the correct number of circles. The one on this page shows 357 for John Henson. I’ve seen others that show another number.

            Mine shows 0. I’m trying to determine why that is.

            But based on your first response, I’m not clear if I didn’t explain the situation, or I’m misunderstanding the point of this plugin and what it’s supposed to do.

            Either way, thanks for your patience and I’ll leave you alone now. :) No need to do the optional line, but thanks for the offer.

          • http://plusdevs.com +devs

            It’s not able to show the number of circles you are in because you are not displaying this information on your google+ profile!
            It is a profile privacy setting on google+. Because you have chosen not to display the information on Google+, the plugin cannot fetch this information (it scrapes the public profile).

  • Judi Cox

    Added to my site – works great. Thanks!!

  • Oneblondesramblings

    Thank you sooo much for sharing. I shared on facebook and twitter! Your directions were sooo easy to follow!

  • Anonymous

    I get the following error message on my blog (http://www.kunalnanda.com/cricket):

    Warning:mkdir() [function.mkdir]:Permission denied in /home/kunal/public_html/cricket/wp-content/plugins/googlecards/googleCards.php on line 41

    • Juamir Garcia

      Buenas amigo aquí tienes la solución: http://juamir.com.ve/?p=139.

      Es realmente sencillo debes crear una carpeta llamada cache dentro de la carpeta /wp-content y eso es todo. El problema viene porque el Plugins necesita esta carpeta y valida si existe si no existe intenta crearla pero como muchos proveedores de Hosting por seguridad no permiten la ejecución de la función mkdir el Plugins no puede crearla y por tanto genera el error.

  • ziku

    Any solution for Drupal 7.

  • ziku

    Any solution for Drupal 7.

  • Linda Abraham

    Any options for non-wordpress blogs or sites?

  • Anonymous

    Well done on getting the first (that I know of) to get a WordPress Plugin done. Top Marks

  • Anonymous

    This works great, thanks.

  • Thom Stark

    Was working great until today. Now we just get 0 circles and a broken image. I’ve checked several other sites using your widget and they all are showing the same errors: 0 circles and a broken profile image. Here’s my site: http://religionatthemargins.com/

    As I said, everything was working great until sometime today. I haven’t changed anything on my end.

    • Luc Saint-Elie

      Same thing on my 2 sites (and on this developer site)

      Luc

      • http://plusdevs.com +devs

        Fixed in version 0.4.5

    • http://plusdevs.com +devs

      Fixed in version 0.4.5

      • http://religionatthemargins.com Thom Stark

        Terrific. Thanks!

  • http://www.googleplustutorials.net Google Plus Tutorials

    Your plugin has stopped working completely now. It is showing in people’s circles and is also not showing up the profile picture. I also checked your widget and it is also not showing up. Please fix it up soon.

    • http://plusdevs.com +devs

      Fixed in version 0.4.5

  • Bryan Eggers

    I installed the plugin a few days ago and at first it worked fine but it appeared on all sidebar pages except for the Home Page. Then yesterday, the plugin stopped working completely. The image link was broken and it showed 0 followers. I have a big concern that we might be getting IP banned by Google. Has anyone been able to recover from the 0 followers situation? In the mean time I’ve disabled the plugin.

    • http://plusdevs.com +devs

      Fixed in version 0.4.5

    • http://plusdevs.com +devs

      Just to be clear, this plugin shouldn’t get your server banned from Google because of the built-in caching. However if you are on a shared server the server IP may have been previously banned because of search results scraping, spamming e.t.c.

      Really though it sounds like your issue was in this case the same as everyone elses, which is that google changed the profile structure so the plugin could no longer find the picture and circle count. It should be fixed with the newly released update.

      • Bryan Eggers

        It’s fixed! Thanks very much. Do you have a donation link? :)

  • Anonymous

    Hi,

    I’m getting the “Couldn’t get data from google+” as well now. Worked fine after installation yesterday.

    Simon.

    • http://plusdevs.com +devs

      Fixed in version 0.4.5

  • http://twitter.com/lindiop Linda Hartley

    Mine stopped working too and so has the person who’s blog I first saw it on. I’ve disabled it for now but hopefully you’ll be able to fix it.

    • http://plusdevs.com +devs

      Fixed in version 0.4.5

  • http://www.ClassicCarLink.com Oliver Jon Cross

    Mine has just stopped showing: http://www.eDrinker.com (on the left).

    • http://plusdevs.com +devs

      Fixed in version 0.4.5

      • http://www.ClassicCarLink.com Oliver Jon Cross

        No still broken on mine even with the new release.

  • Donna Fontenot

    I heard Google changed the DOM tree for Google Plus yesterday, so that’s probably why this is now broken. Hope it gets fixed soon.

    • http://plusdevs.com +devs

      Donna you are absolutely correct, that was the cause of the problem. It’s now fixed in version 0.4.5

  • Jon

    Hi,

    The ‘Google+ Cards’ plugin has been working great for the past week, but yesterday there was no picture or circle information. I see that I am not alone with this issue.

    Any idea what the problem is and when it might be rectified.

    I like the plugin, but if it doesn’t work I will have to remove it from my site, which would be a shame.

    I hope you get it fixed soon,

    Thanks,

    Jon

    • http://plusdevs.com +devs

      Fixed in version 0.4.5

  • Genevieve Lachance

    The Plug-in doesn’t seem to be working anymore. Is it a temporary bug?

    • http://plusdevs.com +devs

      Fixed in version 0.4.5

  • Anonymous

    Not working anymore here for us either (http://rapidpurple.com/about/)

    I hope this gets resolved soon.

    • http://plusdevs.com +devs

      Fixed in version 0.4.5

  • Lisamikulski

    This was working great on my wordpress blog but now the card is missing my profile pic and my circle count. I have updated the plugin to the latest version… still no go. I see that the card for John Henson, on this page, displays a similar state.

    • http://plusdevs.com +devs

      Fixed in version 0.4.5

  • Stephanie

    Same here, no profile pic or circle count anymore. I also updated the plugin to the latest version. Please let us know if there is a bug with this plugin. Thanks so much.

    • http://plusdevs.com +devs

      Fixed in version 0.4.5

  • http://twitter.com/valeriaayala Valeria R. Ayala

    The plugin does not work for two days. I reinstalled the widget but still not working. : ( . Site is http://www.valeriaayala.com.
    Thanks!

    • http://plusdevs.com +devs

      Fixed in version 0.4.5

  • http://joesabado.com Joe Sabado

    Not sure if it’s the same issue as previous posters but no image and it’s saying I’m in 0 circles. Used to work just a couple of days ago. Thank you.

    • http://plusdevs.com +devs

      Fixed in version 0.4.5

  • Christel

    Samer here (plugin just stopped working). Is there a fix yet ?

    • http://plusdevs.com +devs

      Fixed in version 0.4.5

  • http://www.inetseo.co.uk Social SEO Services

    Mine is no longer working – http://www.inetseo.co.uk – look in any of the pages after the front page.

    • http://plusdevs.com +devs

      Version 0.4.5 should hit the WordPress plugin directory any minute, or download from here.

  • Jon

    Plus Cards is working again :-)

    I updated to the new version (0.4.5) and deleted the plus_cards.txt file located in:
    http://www.yourdomain.com/wp-content/cache/plus_cards.txt

    Thanks,

    Jon

  • http://courvo.biz CourVO

    Nope. 4.5 installed. Still no pic or circles data Aug 4, 2011 1:45 PST

    • http://plusdevs.com +devs

      Didn’t read the release notes and spoke too soon, didn’t you!

  • http:www.carolynbahm.com cbahm

    Thanks very much for the quick fix to the plugin that Google broke.

    I have a suggestion: Could you create an option for the plugin to pull in the user’s latest Google+ post? I am at a WordPress Memphis meeting, and a blogger who I directed to your plugin asked for that feature.

  • http://twitter.com/innovate Braden Kelley

    Thanks for the update!

    It’s working again!

  • Anonymous

    Love this plugin, but it stopped working – the pic and circle count don’t show, even after upgrading to the most recent version.

    Thanks for your help, and for making this great little plugin!

    • http://plusdevs.com +devs

      For the love of god please read the release notes and clear your cache…(although it probably cleared itself and started working sometime after you posted)

      • Anonymous

        D’oh! Yes, it is working now. Thanks!!

  • Scott Foley

    For those of you wondering why this no longer works. It looks like Google has made other arrangements .

    http://widgetsplus.com/

    • http://plusdevs.com +devs

      It does work, and I think that site has nothing to do with Google.

  • http://twitter.com/lindiop Linda Hartley

    Mine works beautifully now. Thanks for the update :-)

  • http://twitter.com/Astro_Gremlin AstroGremlin

    I installed the plugin without incident. Looks terrific. Come by and test it! You can always uncircle me later! http://wp.me/1vqN1

  • http://twitter.com/imageconjurer Bernie Greene

    Nice plugin. One minor point. It’s a grammar thing. In “people’s profiles” the apostrophe should come after the “s” and not before it.

  • Oxala California

    Just installed – thanks – however, photo not showing:

    http://orixas.org/blog/

    Any suggestions?

    • Oxala California

      Just upgraded to latest version of WordPress and photo shows now… thanks for great plugin

  • Arno van Unen

    I get an error after installing … tried different solutions, including 777-rights on maps, but nothing seems to work. This is the error, please help:

    Warning: mkdir() [function.mkdir]: Permission denied in /home/sites/www.transitionexperts.nl/htdocs/experts/wp-content/plugins/googlecards/googleCards.php on line 41

    See http://www.transitionexperts.nl/experts/?page_id=27

  • Jon

    I think your plugin has got a bit mixed up, its reporting the number of people in my circles, not the number of people who have me in their circles.
    Please take a look at my site: http://www.jonbishop.co.uk

    • Jon

      Oops! My apologies, I use another plugin on another site that’s got the problem outlined above. Yours is working fine.

  • Bryan Eggers

    I’m using 4.5 and I started getting the “0 circles” error again today. Maybe another change at Google’s end? Just wanted to let you know! Thanks.

  • Anna

    Thank you for the plagin, but today it is “0” again.

  • John

    Mine is showing a 0 count in peoples circles. Started tonight.

  • http://www.ClassicCarLink.com Oliver Jon Cross

    Happened again, do we have to delete the cache or is this another problem?

    • Jon

      Same here, my circle count has dropped to zero again! I have deleted the cache but no change. Any ideas as to why this keeps happening? I love the plug-in when it works, keep up the good work.
      Showing zero people in circles: http://www.google-plus.org.uk/

  • http://www.googleplustutorials.net Google Plus Tutorials

    Problem occurring again and circle count back to 0. Thanks for the earlier fix and hope it would fixed again soon. :)

  • http://itpixie.com/ Amy P.

    Hi John,
    Just a heads-up, the “in circle” count is showing as 0 again. I tried clearing my cache, deleting the cache file and tried on different browsers (Opera, Safari and Firefox, all Mac based). I have the latest plugin version.

    And thank you so much for this great plugin and for the maintenance. Your work’s very much appreciated. :)

    Thanks,
    Amy

    • http://www.facebook.com/MacBros John MacDonald

      Yup, same here. It’s happening again just like last time.

      • Christel

        idem :)

    • http://religionatthemargins.com Thom Stark

      Yup.

    • http://itpixie.com/ Amy P.

      P.S. The widget has also stopped grabbing the profile picture from the G+ profile… Something must have changed on google’s end causing the code to break.. :(

    • http://www.creativerage.co.uk sampeckham

      Same problem here too.

      Also a great feature update to make the Google card dynamic and relate to the author of the post on each page. We have 3 authors and to have their card on their posts would be awesome.

  • Anonymous

    Seems down again. I assume Google made some more changes causing this.

    • Scott Dunroe

      I hope Google Plus settles down to give plusdevs a break!

  • Ira

    This plugin isn’t showing the profile pic anymore. Just broke today or yesterday. Please update it.

  • Ira

    This plugin isn’t showing the profile pic anymore. Just broke today or yesterday. Please update it.

  • http://derwebarchitekt.de Kai Thrun

    You can fix it yourself (maybe):

    Open the googlecardclass.php
    Copy and paste:

    Line 124:
    preg_match(‘/(.*?)/s’, $this->html, $matches);

    Line 141:
    preg_match(‘/(.*?)/s’, $this->html, $matches);

    Maybe you have to delete the txt-file in wp-content/cache/

    Refresh your site.

    • Kai Thrun

      Grrrrrrrrrrrrrrrrrrrrrrrrrrr some letters are going away by html…. damn

  • http://derwebarchitekt.de Kai Thrun

    Maybe this will help you – i fix the lines

    http://derwebarchitekt.de/download/9

    • http://www.ClassicCarLink.com Oliver Jon Cross

      Can someone confirm this is a fix please?

      • Jon

        Yes, this fix works, you will probably need to delete the cache.
        Proof of working fix, check this out: http://www.google-plus.org.uk/

        • http://www.ClassicCarLink.com Oliver Jon Cross

          Nope download Kai’s file uploaded and deleted cache and mine is still broke

          • http://derwebarchitekt.de Kai Thrun

            Hey Oliver,

            i just checked your profile and you’re right – i doesn’t work for you. Damn how many different templates google use?

          • http://www.ClassicCarLink.com Oliver Jon Cross

            Not sure, has anyone heard of any other stable plugins?

          • Jon

            Now it’s broken again!
            I tried deleting the cache, but no luck with that.

            Err… Google, what are you doing? STOP changing stuff!!!

            Oliver, check this plugin out: http://widgetsplus.com/
            I use it on my website
            http://jonbishop.co.uk/

            Hope that helps,

            Jon

          • Anna

            Yes, it is broken again :(

        • http://www.ClassicCarLink.com Oliver Jon Cross

          Jon, nice one this is a very clean option.

          Thanks again, only just got round to this :S

    • Anna

      Thanks a lot, Kai. It works!

    • http://www.johnphung.com John Phung

      Thanks Kai!

    • Luc Saint-Elie

      Thanks a lot it works for me !!!

    • Anonymous

      Works! Thank you!

    • klischnet

      it is after the dl a .zip unable to extract…

  • Luca Datteo

    thanx

  • Anonymous

    version 0.4.5 appears to be broken? All i get now – after about a month of working – is the error message “Couldn’t get data from google+” ??? help here lads? oh, at http://www.canuckseo.com

  • http://twitter.com/MotoToursBrazil Raf Kiss

    I suppose I cannot use this when I’m using the free WordPress?

  • http://www.ryanhealy.com/ Ryan Healy

    I believe it’s broken again… it’s been broken for a few days on my blog. If you look at the top right of this page, John Henson’s Google Card is broken, too. No picture and he’s “in 0 people’s circles.”

  • Peter Hilbring

    Every few days new changes for the css class names.

    I hope that google soon release the google+ api.

    A fix for the changes of 27. August is available here:
    http://www.hilbring.de/2011/08/27/wordpress-plugin-googlecards-modifikation/

  • Patf

    I noticed even your plugin has the “x” for your photo as does mine. Did google move the images so we are getting the “x”?

  • Brett Bazaar

    Awesome widget, but I would really rock if it also had a +1 button for the website. It seems to have enough room on the right side for a +1 button that says “+1 this site” or something to that effect. Thanks for the awesome plugin regardless…

  • Brett Bazaar

    Any chance of putting a “+1 this site” button on this widget as well…that would be awesome!!!

  • Ian Mckendrick

    The plugin is still not working – No Picture, No count – Have cleared the cache but to no errcet. Any idea on an ETA for a fix? Thanks :-)

  • http://www.yourvirtualwizard.com YourVirtualWizard/JanineGregor

    I am having a problem and not sure what to do, please.

    I do not have a profile picture on my sites and it doesn’t indicate that I am in other people’s circles. http://www.yourvirtualwizard.com/blog and http://www.yourvirtualwizardblog.com

    Thank you.

    Janine

  • http://www.yourvirtualwizard.com YourVirtualWizard/JanineGregor

    I do not see the google circle count and the image but I do see that there was a fix. Can you help, please?

  • Guest

    FYI, a Google+ widget exists at http://gplusapi.appspot.com/

  • http://michaelwlind.com Michael W. Lind

    Great plugin! FYI, I thought it wouldn’t activate on my WordPress 3.2.1 install. I was getting an error:

    Fatal error: Cannot redeclare class GoogleCardsWidget in /home/content/m/r/m/mrmikelind/html/dev01/wp-content/plugins/googlecards/googleCards.php on line 214

    It turns out it was conflicting with the Google Plus Widget (http://wordpress.org/extend/plugins/google-plus-widget/) I was testing at the same time.

    Turning off Google Plus Widget fixed the issue.

    • http://plusdevs.com +devs

      Looking at that plugin, it’s because they have copied the code from my plugin without changing class names e.t.c.
      Not much I can do about this I’m afraid, and you will have to use one or the other!

      • http://michaelwlind.com Michael W. Lind

        Good to know, thanks for checking!

  • http://www.followtheboat.com Jamie Demon

    Sorry, I don’t get your code. If I do a straight paste of your code into my sidebar, it just echos the actual code. If I convert the entities to characters it comes back

    ‘Follow me on Google+’, // your widget title ‘plus_id’ => ‘116XXXXXXXXXXXXXXXXX’, // your google+ id ‘credit’ => 1 ); $args = array(‘before_title’ => ‘
    ‘, ‘after_title’ => ‘

    ‘);
    $gc = new GoogleCardsWidget();
    $gc->widget($args,$instance);
    ?>

    I’m clearly doing something very silly, where am I going wrong?

  • Jorne

    Does not work in joomla. Or people still working on this?

  • Tito80_90

    hi

  • http://www.facebook.com/people/Roby-Ali/100002697830729 Roby Ali

    it’s

  • Genna Delaney

    this plugin is really useful. Just changed it to use my business page and it works for that too. I couldn’t have two instances on the sidebar though – one to my personal profile and one to page. Hopefully that can be added at some future date, but working on business pages is great for now :)

  • http://www.techispot.com techispot

    I have a very simple reason to like this plugin even there are other Google+ Cards display methods, the reason is this plugin support cache which save my server type to calling my Google+ profile again again and slow my page!
    Great work buddy

  • Bonnie

    Love the plugin, but I have a question. Is there anyway to make it wider? The text alignment on my site looks funny, but would be okay if it were wider.

  • http://www.facebook.com/people/Emdadul-Islam-Prince/1795491281 Emdadul Islam Prince

    Sponsoredplus is a social marketing company sponsoredplus.net focused on providing valuable google+ votes. Buying Plus Ones can drastically improve your search engine ranking.

  • http://www.adamsherk.com Adam Sherk

    Nice plugin John. One feature suggestion to also have an option to add rel=”me” to the links instead of rel=”author.” Some sites use rel=author for the link to their /about or author profile page, and then on that page have a link to the google+ page with rel=”author”.

  • http://www.younglivingoillady.com Carrie Raab

    Thanks for the tips/info. Gonna follow accordingly!

  • Jim

    The image and circle count is broken

    • Gavin

      I get this too

      • Anonymous

        me too.. seems to be broken again..

        • http://plusdevs.com +devs

          Fixed, please upgrade to 0.4.7

          • Anonymous

            It’s working now. Thanks!

          • http://www.facebook.com/jlacroix82 Jay LaCroix

            I’m using 0.4.7 and it’s definitely NOT fixed.

          • Anonymous

            The fix did not work immediately for me. Some cache had to be cleared or something… I didn’t do anything but it took several minutes for the fix to take hold… http://www.tomcatalini.com/

          • http://www.facebook.com/jlacroix82 Jay LaCroix

            You’re right. After waiting an hour it’s fixed. I already tried clearing my cache, and that didn’t work earlier. In fact, I even used a completely different browser I hadn’t used in months, and it didn’t work there either. Only waiting fixed it. Very strange!

          • Anonymous

            Strange, indeed. But I’m glad it’s working again! Glad to hear yours settled out too.

          • http://plusdevs.com +devs

            It’s a server cache, not a browser cache thing. The plugin fetches the data server-side and implements a cache with a 4 hour expiry. This means your site only calls google once every 4 hours instead of for every visitor – it’s much faster.
            The cache file is located at /wp-content/cache/plus_cards.txt and these instructions were included in the release notes. Anyway, glad it’s working for you now. :)

      • http://plusdevs.com +devs

        Fixed, please upgrade to 0.4.7

    • http://plusdevs.com +devs

      Fixed, please upgrade to 0.4.7

      • Anonymous

        wher is /wp-content/plugins/` directory…i dont have file zill installed…i dont know how to install the downloaded plugin

  • http://www.rishona.net/ Shona

    My own widget is broken and I see that the one on this site is as well. When a fix is available, please make sure to update the WordPress plugin repository. Thanks!

    • http://plusdevs.com +devs

      Hi Shona, thanks for the polite bug report. I’ve fixed the plugin and you should see it in the WordPress repository already.

      • http://www.rishona.net/ Shona

        Great – yes I saw the update! However I updated the plugin, and the problem is still there :-( Awww. Is this something else I should do? Like completely uninstall and re-install? My site is http://www.rishona.net . For what it worth, I see other Google + plugins with the same problem…so I’m not going to bother to switch (Google must have change something in their API). Thanks again for this great plugin!

        • http://www.adamsherk.com/ Adam Sherk

          Shona, I installed the update (0.4.7) and cleared my browser cache, but for whatever reason it was still broken. However when I checked again the next morning it was working again.

          • http://www.rishona.net/ Shona

            Thank you, yes — it’s working now! :-)

          • http://plusdevs.com +devs

            For future reference, it’s a cache file on your server that needs to be cleared, not your browser!
            The cache expires after 4 hours though, so that’s why it started working later.

          • Daniel Latrimurti

            Thank you for the plug in. I understand the server cache problem and to be clear are you saying that it is common behavior for the plug in not to work on first install and config for 4 hours. I’ve done two installs on sites using WP Super Cache that I purged prior to the install but continue to get the Couldn’t get data from google+ error message. Please advise and thanks again for coding this up.

  • http://plusdevs.com +devs

    It broke 3 days ago and is now fixed. I’m sorry that you feel so entitled.

  • http://adakoo.com/ Adakoo

    i like it.

  • Dominik

    Hello, thank you for this nice plugin! Do you know, how I can set it in a dark color like fanbox from facebook on my page (http://www.dominikseemiller.de/)?

    Best regards from Germany!
    Dominik

  • Marie

    Hi, Can you post the exact snippet piece that is needed to put this into a page/post etc.?

    Thanks!!

  • John D’Orazio

    I have version 0.4.7 and I just started getting the ‘Couldn’t get data from Google+’ message. I have no php errors. Could it have to do with the fact that Google+ has updated the whole site layout? Perhaps they have changed a few things around again?

  • Warzone Minis

    Thanks to the new G+ redesign all is gone…

  • Michael Cordova

    Hello,
    When do you plan to have an update based on Google+ changes yesterday?
    Thanks

  • Warzone Minis

    Hope they do it!

  • http://www.hacktik.com/ Maninder Pal Singh

    Hey – GoogleCards plugin has started giving me problem just all of sudden. I am getting an error “Couldn’t get data from google+” in the googlecards widget. It was working quite right untill 3-4 days before. This is causing Google authorship failing for my blog as well. Could you please inform me how to resolve this? I have already tried reinstalling the plugin.
    Quite surprisingly, I have just noticed that this site (plusdevs.com) is also getting the same issue. The widget on the right is giving the same error as on my blog. Is it due to some common issue?

  • http://plusdevs.com +devs

    Hi everyone, I’m aware of the problem (it is because of the new google+ layout) and I am already working on a fix, stay tuned…

  • Mike Nelson Pedde

    On our site it now says, “Couldn’t get data from google+” Came here to look for an answer, and it says the same thing for you!

    Mike.

  • Donna Fontenot

    Looks like Google changed something again. Not working now.

  • Raja

    test

  • http://www.ClassicCarLink.com/ Oliver Jon Cross

    Not working again, does anyone know if this got fixed, the last post here I see was 5 months ago. I don’t get an error I just don’t see anything.

  • Sean

    same problem no data

  • http://twitter.com/DutheilMathieu Mathieu Dutheil

    Hi
    try to install the plugin but….. error : “Couldn’t get data from google+”…..