Login »

Michael Dale

Search Posts

Categories

Bluetrait
        Bluetrait
            Coding
            Geek
            General
            Coding
                PHP
                Bluetrait
                WordPress
                    Plugins
                PHP
                Bluetrait (Program)
            Geek
                Juniper
                Cisco
                IBM N2200 8363
                PCs
                Spam
                IPv6
                Apple
                NetScreen
                Internet
            General
                Uni

Click here if you are looking for Bluetrait, the weblog software.


Login

Username:

Password:

WampServer 2

Posted by Michael Dale on Tue, 18 Dec 2007 8:06 AM

I've been using WAMP (a Windows package that includes: MySQL, PHP and Apache) for dev purposes and it has been great.

The new version WampServer 2 is even more awesome. It is now possible to install multiple versions of Apache/PHP/MySQL. WampServer provides a tray icon that allows you to switch to a different version.

So now I can easily test Bluetrait with multiple versions of MySQL and PHP *is happy*

Bluetrait works with PHP-6 dev too!


SQLite is a pain

Posted by Michael Dale on Wed, 05 Dec 2007 4:02 PM

SQLite is a pain to work with.

The problems I'm having:

  • Where are the DATE functions!?
  • Why can I not modify a table stucture with the MODIFY command!?
  • Why don't LIMITs work on deleting and updating!?

Such a pain.

The only good thing about SQLite is that it just comes with PHP5 and you don't need to install anything.

MySQL has been working perfectly as usual.


Bluetrait Event Viewer 1.5

Posted by Michael Dale on Thu, 29 Nov 2007 10:25 PM

Bluetrait Event Viewer (BTEV) is a plugin I wrote for WordPress that adds an event viewer similar to the one found in Bluetrait 1 and 2.

BTEV has just been updated to version 1.5.

Version 1.5 now includes an auto prune function to remove old events.

BTEV seems pretty popular, it has almost reached 700 downloads off the WordPress site.


Plugins

Posted by Michael Dale on Tue, 27 Nov 2007 11:59 PM

I'm slowing building up a collection of plugins I've written for Bluetrait...

Bluetrait 2 Plugins.


Bluetrait Search 1.0

Posted by Michael Dale on Sat, 17 Nov 2007 5:07 PM

I've made public the search plugin I wrote for this site.

It can be downloaded from here and is under the "Creative Commons Attribution-ShareAlike 2.5 License".

The plugin requires Bluetrait 2 and MySQL.

It probably won't be any use to anyone as Bluetrait 2 isn't even in Beta yet ;)


The problems with PHP

Posted by Michael Dale on Sat, 17 Nov 2007 1:37 PM

Categories

Posted by Michael Dale on Thu, 15 Nov 2007 9:51 AM

Well I can finally edit posts :)

So I'm slowing going through my old posts and adding some categories to them.

I need to add some more categories but I can't do that yet :p


Bluetrait 2 Code Example 2

Posted by Michael Dale on Sun, 04 Nov 2007 9:50 PM

How to enable PHP on Mac OS Leopard

Posted by Michael Dale on Sat, 27 Oct 2007 4:42 PM

To enable php:

  1. open terminal
  2. cd /etc/
  3. sudo cp php.ini.default php.ini
  4. cd /private/etc/apache2/
  5. sudo nano httpd.conf
  6. uncomment the two modules: php5_module and fastcgi_module. They were at line 114 and 115 for me.
  7. Use ctrl and o to save
  8. reload apache (can be done from system preferences).

ipod touch running Bluetrait 2

Posted by Michael Dale on Sun, 14 Oct 2007 12:10 AM

After hacking my ipod, I installed Apache and PHP. I was successfully able to install the sqlite version of Bluetrait 2 onto my ipod!

There were some small bugs, I haven't yet pin-pointed them down yet but I believe it may have been due to the setup of PHP.

So yeah that was pretty cool, pointless but cool :)