Just a quick post about Dropbox – it’s now out of beta and anyone can sign up.. I just have and I was pretty glad to find out that you don’t need to copy all your stuff into the folder that Dropbox creates on each machine (at least with Vista).
If you’re using Vista, navigate to your Dropbox folder via the command line and type:
mklink CM2004 c:\projects\cm2004
Now Dropbox is happily syncing away as if the folder had just been copied into the Dropbox folder
I’ve upgraded WordPress on this domain to the latest version and will be upgrading all my other WordPress installs as soon as possible. Someone managed to upload an eggdrop via a WordPress 2.0.6 exploit..
Some stuff isn’t looking quite right, e.g. code in posts is currently bursting out of the content space into the sides – I’ll fix it as soon as I get a minute
I noticed in my mail server logs that some emails weren’t getting SA scanned and tagged and wondered why.. they weren’t internal emails and should have been scanned.. then I remembered that there’s a size limit to the scanning
I wanted to be able to embed videos from various services into forum posts on CoopersGuns Health, Fitness & BodyBuilding Forums so I decided to have a play with modifying the bbcode processor and here’s what I’ve come up with..
Make the following modifications to forum/includes/bbcode.php
Find the bbencode_first_pass function
Locate the end of the function
// Remove our padding from the string..
return substr($text, 1);
Add the following just before the above:
// [ifilm] and [/ifilm]
$text = preg_replace("#\[ifilm=([0-9]+[,][0-9]+[,][0-9]+)\](.*?)\[/ifilm\]#si", "[ifilm=\\1:$uid]\\2[/ifilm:$uid]", $text);
// [youtube] and [/youtube]
$text = preg_replace("#\[youtube=([0-9]+[,][0-9]+[,][0-9a-z\-_]+)\](.*?)\[/youtube\]#si", "[youtube=\\1:$uid]\\2[/youtube:$uid]", $text);
// [gvid] and [/gvid]
$text = preg_replace("#\[gvid=([0-9]+[,][0-9]+[,][0-9a-z\-_]+)\](.*?)\[/gvid\]#si", "[gvid=\\1:$uid]\\2[/gvid:$uid]", $text);
Find the bbencode_second_pass function
Locate the part that deals with [QUOTE]
// [QUOTE] and [/QUOTE] for posting replies with quote, or just for quoting stuff.
$text = str_replace("[quote:$uid]", $bbcode_tpl['quote_open'], $text);
$text = str_replace("[/quote:$uid]", $bbcode_tpl['quote_close'], $text);
I’ve just updated this site to use WordPress 2.0.4 (was using 2.0.3 + a plugin which fixed a few 2.0.3 flaws).
Unfortunately I forgot that I’d manually modified the k2 theme and overwrote my changes with the update. My sidebar has therefore resorted to its former glory and is missing my dugg items and Google starred items.. did I have a backup anywhere? of course I didn’t!
Oh well, I’ll add them back again when I get a minute
Thankfully, I’m feeling a little better now, still have a nasty cough though which is quite annoying
I generally star items that are of interest to me from the many RSS feeds I subscribe to)
Recently Dugg Stories (Most recent 20)
Just interesting stories I’ve seen on digg and dugg!
I ended up burning the source feeds with Feedburner and using MagpieRSS to read them – didn’t really want to do it this way but had a lot of issues with both MagpieRSS and SimplePie when trying to parse Atom feeds (e.g. Google Reader starred items)
I’ve updated most of my WordPress installs to 2.0.3 and there’s a few dodgy bugs which are quite annoying – confimation when editing stuff that shouldn’t be there and also extra backslashes being inserted when editing things
Fortunately Mark Jaquith has produced a plugin which fixes these bugs