by ezs | Oct 15, 2007 | evilzenscientist, Uncategorized
As I wrote in a previous post – one of the most important new features of ZENworks 10 Configuration Management is the System Updates feature.
This allows administrators to automatically download, approve and deploy ZENworks patches and updates across their servers and workstations.
Written at: Winchester, England
(more…)
by ezs | Oct 3, 2007 | evilzenscientist, Technology, Uncategorized, wordpress
I’ve been hosting a family blog and photo site for a good friend for over a year.
They decided recently to ‘lock down’ the site and restrict access to both the blog and the photos to family and friends only.
I spent some of yesterday doing this.
I’ve extensively use WPG2 to integrate WordPress and Gallery2 – and I use the permissions and roles within Gallery2 to successfully limit access to pictures. The most striking example of this is with my sisters Cub Scout web site; non members can read blog posts; but not view pictures.
Securing the WordPress side was a little more tricky. Drupal has a very strong permissions module -especially useful for the anonymous user. Nothing like that for WordPress.
In the end I used the post-levels plugin from Filipe Fortes – it needed some SQL mungling to work with WordPress 2.3 – but the end results were pretty good.

by ezs | Oct 2, 2007 | evilzenscientist, Uncategorized
I made an update for the post-levels plugin so it works with WordPress 2.3
The plugin was throwing sql errors.
WordPress database error: [Column ‘post_id’ in field list is ambiguous]
SELECT post_id, meta_value FROM wp_postmeta, (wp_posts LEFT JOIN wp_postmeta as pl_wp_postmeta ON (wp_posts.ID = pl_wp_postmeta.post_id)) WHERE post_id = ID AND meta_key = ‘links_to’ AND (post_status = ‘static’ OR (wp_posts.post_status = ‘publish’ OR (wp_posts.post_status = ‘private’ AND (pl_wp_postmeta.meta_key = ‘post_level’ AND pl_wp_postmeta.meta_value <= 1 ))))
WordPress database error: [Column ‘post_id’ in field list is ambiguous]
SELECT post_id, meta_value FROM wp_postmeta, (wp_posts LEFT JOIN wp_postmeta as pl_wp_postmeta ON (wp_posts.ID = pl_wp_postmeta.post_id)) WHERE post_id = ID AND meta_key = ‘links_to_target’ AND (post_status = ‘static’ OR (wp_posts.post_status = ‘publish’ OR (wp_posts.post_status = ‘private’ AND (pl_wp_postmeta.meta_key = ‘post_level’ AND pl_wp_postmeta.meta_value <= 1 ))))
Here’s the fix:
function postlevels_query_cleanup($sql)
{
global $wpdb;
// fix for WordPress 2.3
// evilzenscientist – 2 Oct 07
$sql = preg_replace(“/post_id/”, “wp_postmeta.post_id”, $sql);
$sql = preg_replace(“/, meta_value/”, “, wp_postmeta.meta_value”, $sql);
$sql = preg_replace(“/meta_key/”, “wp_postmeta.meta_key”, $sql);
// end
Here’s the new plugin. It’s not really tested – except it works for me.
by ezs | Oct 1, 2007 | evilzenscientist, Uncategorized
The magic of blogging 😉 I posted to Cool Blogs instead of my own.
by ezs | Oct 1, 2007 | evilzenscientist, Uncategorized
Following on from the box of tapes..
I rediscovered:
Sleeper – The it girl. July 1996
Lemonheads – Come on Feel the Lemonheads. Oct 1993
Chumbawamba – Pictures of Starving Children Sell Records. 1986 (!)
Chumbawamba – Anarchy. Jan 1994

by ezs | Oct 1, 2007 | evilzenscientist, Uncategorized
[X] One tape player
[X] One box of old tapes
193663193668
Hundreds of hours of music from as far back as 1985.. 90% of the tapes got thrown away..
by ezs | Sep 28, 2007 | evilzenscientist, Uncategorized
Grandma and Grandpa are working on their house. I’ve been hacking away at a new blog for them.
Especially pleased with the Lightbox support for pictures. I’ll see how it goes and maybe put it across to the main photo blog.
by ezs | Sep 26, 2007 | patching, Uncategorized, wordpress
I’ve just updated most of the hosted blogs to WordPress 2.3 – so far so good.
I need to update the integrated photo stuff to Gallery 2.2 as well – that’s going to be a lot more involved and needs some good planning and change control.
by ezs | Sep 21, 2007 | ITIL, Uncategorized
Some great podcasts from Mark Haddad – an ITIL trainer.
Here and also on this website.
[Edit: Updated with correct download url]
by ezs | Sep 21, 2007 | evilzenscientist, Uncategorized
Two weeks of back-to-back training.
Last week Service Support in Birmingham, this week Service Delivery in London.
All in aid of getting the ISEB Managers Certificate in IT Service Management.
Just over a month to the exams; two three hour written papers. Time to get reading and revising.
Recent Comments