My Blog Posts

You are more than welcome to express your opinion and join the conversation in the comments section of the posts.

Background Manager 1.1.6 released

June 30, 2012 | 23 comments

Another update for Background Manager has been released today, which fixes a number of bugs and introduces a new option.

Based on a suggestion in the WordPress Support forum, the new option provides a method for remembering the last shown background image. This allows Background Manager to continue with that image on another page, provided that page uses the same Image Set (no override). continue reading →

Cookillian 1.1.18 released

June 25, 2012 | no comments

Today brings the release of Cookillian version 1.1.18, which adds the option of periodically “scrubbing” cookies as first described in the Cookillian and Javascript post. Coincidentally, that post also revealed an issue with Google AdSense, which has now been resolved. continue reading →

WordPress caching and nonce lifespan

June 18, 2012 | 9 comments

A security feature available in WordPress is a “nonce”. Generally, a “nonce” is a token that can only be used once and are often used to prevent unauthorised people  from submitting data on behalf of another person. Let’s simplify that:

  • Person A is given nonce “A”
  • Person B is given nonce “B”
  • Person B attempts to submit data to the server on behalf of person A
  • The server reads the submitted data from person B as “Person A with nonce  ‘B’ is submitting data”. Knowing that Person A does not have nonce ‘B’, it ignores/denies the submitted data.

WordPress differs by giving it a lifespan and allowing the nonce to be used more than once within that lifespan by the same person. And by the ‘same person’ it is meant a logged in WordPress user, or an anonymous user (visitor not logged in). continue reading →

Background Manager 1.1.1 released

June 14, 2012 | 8 comments

Finally! After 3 months of hard work, Background Manager version 1.1 1.1.1 has been released, coinciding with the release of WordPress 3.4.

(Update: A rather annoying bug was introduced in version 1.1, which has been remedied in 1.1.1. If something can go wrong, it most certainly will).

It includes a large number of new features, which I will outline below. Please note that there are a few changes that could potentially affect the layout of the background, so keep these in mind before upgrading.

continue reading →

Cookillian Alert styling: Simple Implied Consent

June 13, 2012 | 1 comment

Cookillian is very flexible and allows you to fully customize the alert that will be displayed as well as how it handles consent.

Here I will provide an example for a simple, unobtrusive alert at the bottom (or top) of a page, with an option to opt out of receiving cookies. This is a commonly used method for implied consent across major websites in the United Kingdom.

It also shows how to use Cookillian’s API to make an AJAX call, yet provide backward compatibility with browsers that do not use JavaScript.

continue reading →

Page 3 of 10«12345»...Last »