•  
  • Language (39)

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…

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…

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…

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…

Collapse / Close WordPress MetaBoxes

Categories: PHP, WordPress
Comments: No Comments
Published on: Wednesday, May 29th, 2013

I recently converted the single NGFB Open Graph plugin settings page to multiple submenu pages in WordPress, and at the same time, wanted to present some of the metaboxes closed — either by default, or force them closed whenever the page was displayed. There are generally two ways to do this, one would be to use the add_filter() function to add the “closed” class to some metaboxes, but this would mean forcing the metabox closed every time the settings page was loaded. A more flexible method is to access the user options table with get_user_option(), check to see if a particular page has some open/closed metaboxes, and then decide if we want to force them closed, or just close them by default — If the user has not clicked a metabox open or closed, then no record for that page will be present (thus we can create an entry with our default closed metaboxes).

Continue reading…

NGFB Open Graph v5.0 Plugin for WordPress

Aside by Jean-Sebastien Morisset - Monday, May 27th, 2013 - (0)

I’ve been working on version 5.0 for over a week now, re-designing most of it’s code structure and improving the user interface. The settings page has been broken-up into several “Open Graph” sub-menu pages, with metaboxes that can be re-arranged and closed. I’m also offering a Pro version for the first time, that allows you to customize the Open Graph settings for each Post and Page.

NGFB Open Graph is about to reach 50,000 downloads on WordPress.org, so it’s fitting that version 5.0 is released to mark this important milestone.

Download the complete and full-featured plugin from WordPress.org or the Pro version with new customizable Post and Page settings.

Enjoy!

js.

Continue reading…

Jean-Sebastien Morisset

Working on NGFB v5.0

Over the past few days I’ve been working on what will become NGFB v5.0. The previous version is proving very stable, but I wanted to push the object-oriented design further. Here are some stats between the two versions:

Version 4.3 : 4108 lines in 9 files, with 8 classes and 114 functions.

Version 5.0 : 5690 lines in 32 files, with 37 classes and 212 functions.


The release candidate can be downloaded here
.

Status update posted 28 days ago by - (0) comments
page 1 of 4»
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
FacebookGooglePlusLinkedInRSS