--- ---

June PDX Drupal Meetup

I caught wind of a Drupal meetup tonight, and since I’m going to be working with Drupal in the near future I thought I’d stop by and check it out. My main goal was to hear about other people’s experiences using Drupal in a multilingual environment.

If it's a string, call it a string

This is probably well documented, but it's a good reminder anyway. If you've got a column in MySQL that is textual (like a varchar), you need to make sure MySQL sees the data going into it as a string. Here's an example I stumbled across today when I left out some quotation marks - `averagerating` is a varchar(255): mysql> select averagerating from addons where id=5001; +---------------+ | averagerating | +---------------+ | 0 | +---------------+ 1 row in set (0.00 sec)

Getting notified when new mail arrives in Thunderbird

When writing an extension for Thunderbird, it’s a common goal to be able to tell when new mail has arrived. In versions of Thunderbird before 2.0, the accepted practice was to get a pointer to the nsiMsgMailSession and add a listener that got called when a new mail event happened. The code would look something like:

ThreadBubble 0.5 released

This release fixes an annoying bug that caused messages to disappear from the message list (even though they were still in the folder). In previous versions, if there was a thread with 2 messages in it, and you deleted or moved the root message, the other would disappear from the display. If you clicked on a different folder and came back, the previously nested message would be shown again.