Archive for March, 2005

Qdig-WP without mod_rewrite

Sunday, March 27th, 2005

I recently released Qdig-WP 0.4 with instructions on how to use it when mod_rewrite is not in use. These instructions are now obsolete! A better way has been found!

The latest devel release (20050325) of Qdig has a $keep_params setting that will automatically detect the querystring and keep the parameters in it to maintain the page state. Setting $keep_params to TRUE enables this, and is much easier than the voodoo I suggested with $extra_param.

If you have it working with $extra_param, please be aware that the option may be deprecated in the next stable release of Qdig. You should strongly consider downloading the newest devel release and changing your settings.

Qdig-WP 0.4

Thursday, March 24th, 2005

Please see my latest entry about Qdig-WP without mod_rewrite for updated information that obsoletes some of the below.

I’ve made a few updates to Qdig-WP to fix a few bugs.

The most obvious change (0.4) is that the plugin will now work when mod_rewrite is not being used. See the information about $extra_param in the The Qdig File section. Note that you may have to upgrade to the latest release of Qdig for this feature — it’s only present starting with the 20050310 devel release.

A subtle but important change made in 0.3 makes sure that all of Qdig’s globals get properly loaded, even for future versions of Qdig. Previously, new settings introduced in future Qdig releases wouldn’t work.

If you run into problems or find bugs, please bring them up in my forums.

New Forums

Tuesday, March 22nd, 2005

After getting several emails and blog entries with questions, bug reports, and other issues regarding my recent plugins, I decided it might be worthwhile to set up some forums quick to more easily facilitate discussion and resolution. Especially since lately I’ve been swamped after having been sick, plus having a lot of internship work and school work to do. Perhaps as some solutions get figured on the board, it may help people start solving their problems when I can’t respond immediately. (And maybe other people might even step in to help, who knows?)

Those of you who emailed me in the last week or two — I haven’t forgotten you! I’m just way behind with things, and unfortunately, my personal projects are lowest on my priorities list. :( But I’m hoping to get caught up this week, so maybe I can take a look at some of the questions that were sent later this week.

Perl and PHP Scrape PHP Globals

Tuesday, March 8th, 2005

I posted earlier today about a Perl script I wrote called Scrape PHP Globals. It occurred to me later that since PHP implements Perl compatible regular expressions, I could rewrite the script in PHP and use the functionality more directly. So, that’s what I did! :)

In the process, I also noticed a few tiny things I could improve in both versions, so I went ahead and did that as well.

Thus, there are now two versions of Scrape PHP Globals — Perl Scrape PHP Globals (currently at version 0.2) and PHP Scrape PHP Globals (currently at version 0.1).

Scrape PHP Globals 0.1

Tuesday, March 8th, 2005

I needed to extract all the explicitly declared global variables in a PHP script so I wrote a Perl script to do it for me. It then occured to me that maybe other people might find it useful, so I tidied it up a bit and released it on my site as Scrape PHP Globals.

It extracts all variable names occurring between “global” and a semicolon, then prints them out nicely as a new global statement.

Search Pages 0.1

Saturday, March 5th, 2005

I recently came across Rob Schlüter’s hack that makes search queries look at pages as well as posts.

I wanted to add the functionality, but as I don’t like doing hacks (since I usually forget about them when doing an upgrade) I decided to create a plugin named Search Pages for it.

Qdig-WP 0.2

Wednesday, March 2nd, 2005

I’m finally ready to release something I’ve been working on for the last several weeks: my first WordPress Plugin!

Qdig-WP is a plugin that allows a user to embed a Qdig gallery into a post or page. Take a look at my Qdig-WP page to learn about the plugin, or visit the Qdig website to learn more about Qdig.

At the moment, the plugin should be considered “beta” software, as I mention on the Qdig-WP page. If anyone tries it out, though, I’d love to hear your feedback! Please leave comments, bug reports, or problems with the software or with the Qdig-WP page as comments on this post.