Sociable 1.0 «
»


Biz: ,
7 comments

I’ve been quiet the last week because my free time has been taken up by finishing Sociable, a plugin to the WordPress blog software. It’s the reason there are those cute little icons down below this post.

If you find any bugs, please mail me.

There’s not much for me to add to the description I put on its homepage, so let me take a moment to say how nice it is to develop a WordPress plugin. The WP folks clearly took time to make things as easy as possible. It’s easy for PHP to devolve into terrible messes of spaghetti code, but WP’s system of hooks, filters, and options presents a welcoming niche to the aspiring plugin author. Thanks, guys!

I’ve enjoyed developing Sociable so much, I’m wondering what plugin to write next…


Comments

  1. I got this error trying to install on WordPress 2.0.2 with PHP 5.1.2 and MySQl 4.1.14.
    Warning: Call-time pass-by-reference has been deprecated – argument passed by value; If you would like to pass it by reference, modify the declaration of preg_match(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in …..\wordpress\wp-content\plugins\sociable\sociable.php on line 341

  2. And this error when trying to set the options:
    Warning: Invalid argument supplied for foreach() in c:\Inetpub\wwwroot\wordpress\wp-content\plugins\sociable\sociable.php on line 426

  3. The default installation puts the icons in a vertical list – you have to delete the ul and li from the sociable.php to get the icons in a horizontal display.

    Is this expected behaviour?

    I love the plug-in by the way – thanks a million and happy St. Patrick’s day from Ireland!!!

  4. Also, the Alt text you have here “These icons link to…” appears as regular text on my site – WP 2 and theme K2 r167

  5. John: I think the first bug (which is PHP5-specific) is causing the second. I’ll contact you by mail and we’ll see if we can fix it for 1.1.

    Tom: that’s not expected behavior. It sounds like the sociable.css didn’t get linked from your page headers. In your theme, look in header.php and make sure it includes <?php wp_head(); ?> just before the </head>. Add that and the display should be automatically fixed; if not you’ll have to add a call to the css manually. Bring up the HTML for one of my pages and look for the line about sociable.css, copy and paste it to your theme (changing push.cx to your site name).

    And thanks for the holiday wishes, as you may or may not know, Chicago is big on St. Patrick’s Day. And I’m headed out to Dublin in a month to visit my girlfriend who’s doing a semester abroad.

  6. Peter – neither of your two suggestions resolved the issue for me – so I deleted the Sociable folder and re-uploaded it – now it is working fine!

    Something must have gotten messed up in the first upload sorry if I wasted any of your time.

    Hope you had a good day in Chicago and give me a shout before you hit Dublin.

    Thanks again for the plug-in.

Comments are closed.