b2 template changer

I’ve just about finished a template changer. I just need some templates to throw in there!
You can download the default template to see what a template looks like and if you’re handy with the ol’ html skills you might think about contributing a design? With each author’s permission designs will be distributed with the b2-smarty package, and placed under the GPL. If you don’t want it included just say so. Here’s an email I sent to a few guys working on designs as we speak.

index.tpl is the main page. b2userslist also uses it to render it’s content.
post.tpl renders a single post. index.php calls this template file multiple times and the output is printed in index.tpl via the variable {$content}

popup-end.tpl and popup-top.tpl are generic top/end files that appear on each popup. I may eventyually seperate out index.tpl into a top and end too.
Probably should do it soon though..

b2commentspopup.tpl is the main comments popup.
b2comments.tpl is the file that renders each comment.
b2commentheader.tpl should have been dumped and replaced with an {if}{/if} statement in b2commentspopup.tpl – empty it if you want as I’ll probably get rid of it in the future.

b2pingbackpopup.tpl – main pingback popup page. This shows how I’ll finally get rid of b2commentheader.tpl using an if-else.
b2pingbackpopups.tpl – individual pingback renderer.

b2trackbackpopup.tpl – as b2pingbackpopup.tpl above.
b2trackbackpopups.tpl – as b2pingbackpopups.tpl above.

b2rss2*.tpl should probably be left alone because they render xml..

site.css is the css style sheet. On the blogs site this is accessed from index.tpl by calling it “templates/site.css” because mod_rewrite rewrites that as /username/templates/site.css

Vodafone pricing revealed

Vodafone GPRS pricing is expensive. It might be and probably is cheaper to go online via the more common high-speed charge-per-second Internet access.
It’s untrue that GPRS access is completely free. It may be free to access Vodafone services, but once you get beyond that to Google, or elsewhere, the charges mount up. It’s unfortunate, and very misleading IMO.
What can you do? Well, if access to vodafone live is free it might be possible to access email services for free. Certainly you can send emails for free until May 1st, so receiving mail from the vodafone mail server might be free too. This can’t be true if you’ve setup an external pop3 server though.
When you want to download a .sis program, or a .jar file simply mail it to yourself. It won’t always work but AFAIR I’ve installed both via email messages. You should be aware too that sending files by email increases their size by about a third.
I’ll have to setup my online billing to keep track of all these permutations to keep ahead of Vodafone methinks.

SpamAssassin – web based Bayesian training?

The latest release of SpamAssassin has support for Bayesian analysis. You have to train it and it gets better.
The only problem is SpamAssassin uses a command line app, sa-learn, to learn about your mail. Who’ll volunteer to create a web-based form to copy and paste spam/legitimate mail to train it? Adding an “upload file” button would be great too to for those mass-mail learning situations when you come into work in the morning..
It should be easy enough, although you’ll have to use su-exec or something to add rules to different user’s accounts. So, who’s up for it then?

Tooth Ache

Some Thoughts:

  1. When you have a tooth ache everything else takes second place.
  2. Oh, and the tooth ache always happens on a bank holiday weekend, to ensure maximum pain, and remind you to go to the bloody dentist more often!
  3. Vodka, rubbed onto the infected gum/teeth is a god-send for pain relief. It lasts almost 3 hours and it’ll let you get some measure of rest at night.
  4. Have an understanding partner who’ll take care of you and fuss over you.
  5. Brush, floss and see your dentist more often.
  6. Brush, floss and see your dentist more often.
  7. Brush, floss and see your dentist more often.
  8. Brush, floss and see your dentist more often.

I’ll probably have to get a root-canal next week, the tooth is dead so hopefully it won’t be too sore. (I’m not too hopeful though..)