Howdy! Thanks for coming and enjoy your stay! Take a look at the sitemap and don't forget to chirp!

Posts Tagged ‘snippets’

Counting Facebook Fans in PHP: The Graph API Way

August 24th, 2010

In a previous blog post called How to Count Facebook Fans in PHP I’ve shown a code snippet of how to count the number of fans on a fan page using PHP. Times have changed, the Graph API has been introduced, and due to some responses I introduce here the new way of retrieving your [...]

WordPress: Oh Those Actions and Filters!

August 18th, 2010

Reading Joost de Valk’s quick post about Simple WordPress Debugging with a query variable made me think for a while. Really, how often do you come accross a white screen with no clue of what’s happening? Very effective indeed, and good note about the security issue, but anyways, what came into my mind is a [...]

How To: Retrieve a User ID via SOAP in SugarCRM

June 10th, 2010

Following the Lead Generation Forms with WordPress and SugarCRM post, I came across the need to assign the generated lead to some person in the CRM. It would be easy if you could do it by simply using usernames in the system, but unfortunately usernames may change, but user IDs do not. User IDs in [...]

WordPress Snippet: List Authors/Contributors

May 18th, 2010

We were playing around with Brian (@bkmacdaddy) today on a WordPress blog with a few over 50 authors, then bumped into an issue where we had to output a list of all contributors. It’s quite easy at first sight, and functions such as wp_list_authors are quite good at it, but not good enough. The main [...]

Twitter Followers Count Snippet for WordPress

May 12th, 2010

Here’s a short snippet to grab and display your twitter followers count in WordPress. You can use this anywhere, sidebar, posts, header, footer. We’ll be firing an anonymous call to the Twitter API for a user profile. This method does not require authentication, unless you’re trying to view a protected profile. To make this slightly [...]