Another day, another Theme

My wife pointed out that the theme I was using, jQ wasn’t her favorite. So I looked around and found Mystique, which is beautiful (imho) and works well with what I want to display.

And then she noticed that the random Interesting picture from Flickr wasn’t working anymore, and I missed it too… (it’s sudden absence is why I ditched the Vigilance theme in the first place… and I later found out it wasn’t even related to Vigilance. Oops).

So now I’ve updated the Flickr Interesting photo code appearing at the top of my posts/pages. It’s now WP-Super Cache friendly, doing the heavy lifting behind the scenes via a JS call. Note to self: disable hotlinking on that file.

Now the site’s faster (Super Cache is enabled), and prettier (Flickr Interesting is back), and rounder (I added rounded corners to the image area… unless you’re in IE. Sorry.).

That’ll do for now.

Oh, and the reason the Flickr Interesting photos went away in the first place: my host updated the PEAR php library in use, and that broke phpFlickr, until I forced phpFlickr into using it’s own built-in edition of the PEAR files. Now wasn’t that just a bit more than you wanted to know?

Vigilance + Flickr

I switched to the Vigilance theme on my site because I like it’s clean look and lines… but thought it was missing something.

I didn’t want to specify a single image for its optional banner, and don’t actually use Flickr myself, but I spent a little time tweaking phpFlickr and some CSS until I got this spiffy new header. Since Vigilance is pretty much just black and white, every spash of color Flickr gives me matches just fine.

Every page load pulls a random-ish “Interesting” photo off flickr, and I get a surprise every time I visit my own site. And so do you. Plus, mouse-over the image and you get links to the Flickr Interesting page, OR can go see the whole photo you’re only seeing part of now.

I rock. :)

If anyone’s interested in the code, say so… I may turn this into a plugin.

Wordpress Password 0.6

After several recent tests released via comments in my old WP-Password blog entry, I’ve now released version 0.6 for testing.

WP-Password 0.6:  http://broome.us/wp-password/wp-password_0_6.zip

For those new to the latest work, it’s a complete rewrite of the plugin.  It now uses a set of numbered rules that are much more precise and lack the ambiguity (read: ability to circumvent) of the old system’s Regular Expression conversion & comparion.

Another new feature: Where the old (before 0.5) plugin could only protect specific urls (and even than had some problems…) the new one protects the content of protected urls wherever it appears — homepage, archive pages, rss feeds… Should be everywhere.

Here’s a preview of the admin:

WP-Password Admin 0.6 Screenshot

WP-Password Admin 0.6 Screenshot - click to zoom

This isn’t quite ready for release on the Wordpress Plugins site yet.  I have a few things I want to add before that… Feel ree to add your own requests via comment.

  1. Let users choose their own “This content is password protected, please Log In to view it” text.
  2. Add a decent un-install.  Or just ANY uninstall, since it doesn’t try at all.
  3. Find a better way to make visitors log in than hacking a copy of wp-login.php
  4. Add password-protection by Category and/or Tag, not just words in permalink urls.

As you see, I don’t think this is done.  But it bears some testing.  Please let me know if you find any problems or have any suggestions or questions.