b2 0.6 pre3 fixed broken XHTML

I’ve just had to fix the convert_smilies function in b2functions.php in order to maintain XHTML compliance.
Diffs are:

diff -r1.2 -r1.3
205c205
< $content = str_replace($smiley, "<img src='$smilies_directory/$img' />", $content);
---
> $content = str_replace($smiley, "<img src='$smilies_directory/$img' alt='' />", $content);

I’ve added an empty ALT attribute to the IMG tag.

Working from home/ broadband woes

I’ve been working from home today. I stayed out of the office coz I’ve got a bad cold. It kept me awake half the night. 🙁
So I phoned in sick, but then worked from home anyway. That is until about 3PM when my broadband went down. 🙁
After much re booting of cable boxes and firewalls, it intermittently came back. Finally settling back to ‘on’ about 6pm.
I have no idea what was wrong. At one point, there was no light on the external NIC in the firewall, but I could ping the outside world from the firewall. Nothing else on the network could see the outside world though. Weird!

B2 0.6pre3 — Working

OK. Sorted out the new version. It’s now running live on this site. I had just one more problem (after I’d got the tar file extracted) which must be a PHP version difference between my local machine and my hosts server. A set of variables were out of scope causing a database access to fail on the stand alone archives page. Sorted now. I’ll look at the calendar next.

B2 0.6pre3

I managed to merge the new version with the various hacks and my own tweaks (good old CVS). It seems to work OK.
Unfortunately, for ease of use, I had ftp-ed my whole repository onto my local machine, did the merge there, committed my changes, tar-gzipped it back up with cygwin‘s tar and ftp-ed it back to my server. At which point it refused to untar as the UID and GID values are different from those on my server. As I don’t have root on my server :-), I don’t know what to do about it. I could ftp each file individually, but I really don’t want to do that if I can avoid it.

B2 0.6pre3

I noticed that a new version of B2 has been released. I’ve just downloaded it, I’ll try it on my local machine and attempt to merge it with the various hacks I’ve installed along with my own tweaks.
More when I’ve got it.