Izikistan

Archive for April, 2005

Photopress 0.4.2

16th April 2005

Really just a small change - the album style is now all in album.php (in the photopress folder, which should be in your plugins folder). This should make it much easier for those of you using non-default themes to integrate the album.

Download photopress.zip or photopress.tar.gz.

You can always find the most recent version (and older versions too if you know where to look) at wp-plugins.org.

Photopress 0.4.1

5th April 2005

Thanks to Jonathan the “upsizing” issue is now fixed - when you upload images smaller than your set maximum they won’t get resized. I’ve also switched the buttons to Alex King’s JS Quicktags, which seems to be compatible with ContactForm (no surprise since that’s where I borrowed the function from).

Download photopress.zip or photopress.tar.gz.

You can always find the most recent version (and older versions too if you know where to look) at wp-plugins.org.

Fixing the missing Options thing

4th April 2005

There’s a bug in WP 1.5 where only the Options page for the last-loaded plugin appears:

mosquito.wordpress.org/view.php?id=1196

Fixing it requires a slight modification to menu-header.php in the wp-admin folder. The bug is fixed in the latest WP in the repository though, You can get the latest WP with this command:

svn co http://svn.automattic.com/wordpress/trunk/

Or, you can download this copy of menu-header.php that I got today (rename it, of course):

menu-header.phps

If you use the ContactForm plugin, this will make its Options page ugly, with double menus. To fix that, edit options-contactform.php, deleting the lines at the top starting with “require” and “include”.

Photopress 0.4

3rd April 2005

After a flurry of bug fixes, it’s time for another release. As usual, please let me know if you run into any problems. Here are a few of the improvements and fixes:

  • An option to enable “failsafe” buttons which I’m told actually work with older browsers.
  • Fixed a few options-related problems. (thanks Randy!)
  • The album no longer uses alignment style from options, fixing weird category-wrapping issues.

Download photopress.zip or photopress.tar.gz.

You can always find the most recent version (and older versions too) at wp-plugins.org.

WP blog in a folder

1st April 2005

Let’s say you don’t want your home page to be your weblog for some reason. You still want it to use the same style stuff as the rest of your blog though, and it’d be nice if you could manage your homepage as a WP Page. Here’s how to do it:

  1. Edit Options:Permalinks, adding the name of your blog folder to the front of the permalink code, something like this: /blog/%year%/%monthnum%/%day%/%postname%/
  2. Create your main page as a Page, noting its ID on the Manage screen.
  3. Install the Page to Front plugin, giving it your main page’s ID.
  4. Make a new template page like the Archives template, but with The Loop. Add this just above The Loop in your template: < ? php query_posts("showposts=10"); ?>
  5. Create a page that uses the new template, naming its post slug with the name of the folder you want your blog to be in.

Pretty complicated! There really should be a plugin that does all this…