NGFB Open Graph v5.3 Plugin for WordPress

Aside by Jean-Sebastien Morisset - Thursday, June 13th, 2013 - (0)

When buying plugins or themes, the general process involves removing the old version manually, then uploading and activating the new Pro / Premium version. This is a little tedious, and after a recent “In App” purchase on my iPhone, I was inspired to do the same for NGFB. The Free version now accepts a Transaction ID (found on the Advanced settings page), and after saving the changes, an update to the Pro version will be available on the WordPress Updates page. Effectively, the Free version can now be updated to the Pro version using the standard WordPress update process. ;-)

Continue reading…

Jean-Sebastien Morisset

When you get too fancy…

I really try and code the NGFB plugin to be as fast and robust as possible. One of the features I introduced in v5.0 was an “About” page with the readme.txt file — like you would see on WordPress.org. Actually, it’s a little more than just “like” it, since the plugin uses PHP curl to download a copy directly from WordPress.org, and stores it locally for up to 12 hours. With v5.2.1 I also added the images seen on the Social Sharing settings page (Tumblr and StumbleUpon). The idea was to make those files local to the webserver and improve page load times on the admin pages.

What I didn’t anticipate was what happened when those websites didn’t answer. ;-) So in NGFB v5.2.2 (released this morning), I added some “fallback” features, and even a technique to “ignore” non-responsive servers for up to 5 minutes at a time.

js.

Status update posted 9 days ago by - (0) comments

Shell Script to Route Multiple Public/Private Interfaces

Categories: Bash, Linux
Comments: No Comments
Published on: Saturday, June 8th, 2013

If you have a server with multiple interfaces – either public and/or private – your routing table might look something like this:

This example shows one private interface with IP 192.168.0.51, two public interfaces with IPs 17.10.20.51 and 105.104.72.23, and a default route to 17.10.20.1. This means that any traffic to/from an IP outside the interface’s subnets is sent to 17.10.20.1 — and this is where problems occur (and probably why you’re reading this article). ;-)

Continue reading…

NGFB Open Graph v5.2 Plugin for WordPress

Aside by Jean-Sebastien Morisset - Saturday, June 8th, 2013 - (0)

Added a “Clear All Cache” and “Check for Updates” button on the NGFB settings pages, a daily scheduled job to remove expired transient cache objects, and optimized the library class requirements / class object creation.

Continue reading…

My WordPress Debug / Logging PHP Class

Categories: PHP, WordPress
Comments: No Comments
Published on: Thursday, June 6th, 2013

One of the eventual issues you have to deal with when developing a plugin for WordPress, is finding out what went wrong when someone reports a bug. You need to know what the plugin did — what decisions it took as it executed and why. There are a number of PHP / WordPress debugging tools available to developers, but you can’t really ask customers to debug your plugin with these. At most, you can ask them to click a “debug” option so you can get more info about it’s operation. And this is where my WordPress debug / logging PHP class comes in. At first, it was just a way to include a few hidden HTML comments in the webpage, so I could have some clues as to what might have went wrong and where. But the more I used it, the more useful it became. Here are a few examples…

Continue reading…

Jean-Sebastien Morisset

NGFB v5.1.1 Minor Update

There was a small variable reference error in v5.1′s uninstall() method (WordPress calls the uninstall methods statically, so object variables cannot be used). I decided to push out a minor revision now, rather than wait until the next feature version, which might be in a little while.

js.

Status update posted 16 days ago by - (0) comments

WordPress Monitoring Check

Categories: PHP, WordPress
Tags: No Tags
Comments: No Comments
Published on: Monday, June 3rd, 2013

I wrote the following PHP script to verify back-end connectivity on my WordPress websites. It returns “Status: OK” if it finds at least one Post, and “Status: FAILED” if it does not. There’s also a little human friendly information included for context (Post title / date and website name). Here’s a sample output for Surnia Ulula.

Continue reading…

Jean-Sebastien Morisset

Plugin Download Issue Fixed

Just a quick note to mention that the archive corruption issue affecting plugin downloads has been fixed. It turns out the full-page caching engine was getting in the way. :-/ Thanks to all the Pro users for being so patient and understanding. ;-)

js.

Status update posted 17 days ago by - (0) comments

NGFB Open Graph v5.1 Plugin for WordPress

Aside by Jean-Sebastien Morisset - Sunday, June 2nd, 2013 - (0)

Version 5.0 was released about a week ago — it included big changes in the code structure, and a complete revamp of the settings pages. Version 5.1 continues that trend with improved social sharing settings. Each website now has it’s own collapsible and movable settings box. It took some effort to get just right, but the result was well worth it. Let me know what you think. :)

Pro users should appreciate the new static content rewriting options in version 5.1, and for the very advanced Pro users and developers, the new filter hooks should come in handy to customize the Open Graph values from theme templates and function files.

Continue reading…

Screenshot Machine Shortcode v1.1 Plugin for WordPress

Aside by Jean-Sebastien Morisset - Sunday, June 2nd, 2013 - (0)

Include images from Screenshot Machine in your content with a shortcode.

Use the [ssm] shortcode in your content with the following arguments:

  • key=”{account key}”
  • url=”{website url}”
  • size=”{size letter}” (default=T)
  • format=”{jpg|png|gif}” (default=jpg)
  • days=”{cache expiration}” (default=14)
  • wait=”{wait in ms}” (default=200)
  • title=”{href title}”
  • link=”{yes|no}” (default=yes)
  • target=”{link target}” (default=_blank)
  • refresh=”{yes|no}” (default=yes)

Continue reading…

page 1 of 5»
Freelance UNIX SysAdmin
20121006-095055-jwolfe-49

Looking for a Sr UNIX Systems Administrator specializing in Systems Integration? I may be available for freelance or contract work, either remotely or on-site. You can contact me by email at jsm@surniaulula.com to discuss solutions specific to your needs.

  • Location : Montreal QC, Canada
  • Availability : 4-8 hrs / week freelance

Continue reading…

Social Pages and Feeds
FacebookGooglePlusLinkedInTwitterRSS