Bluetrait Weblog

Getting ready for Bluetrait 2

Posted by Michael Dale on Tue, 23 Oct 2007 2:07 PM

Bluetrait 2 has been completely rewritten, the code is very different. There are a number of requirements that have changed.

Basic Requirements:

  • PHP 5.2 will be required (up from php 4.3.3)
  • MySQL 4.1+ or SQLite will be supported. SQLite is a database system that is now included within PHP 5. If you have PHP 5.2 installed then SQLite should be installed.

Migration notes:

Bluetrait 2 cannot upgrade a Bluetrait 1 install, but your data can be migrated over. This means that plugins and custom styles will not work on Bluetrait 2. All your Bluetrait 1 data can be moved to the new system. This includes posts, comments, events, users etc.

Bluetrait 2 will only be able to migrate from 1.2.5 or higher. Take the time now to upgrade to Bluetrait 1.2.5

Bluetrait 2 will not support migrating from MySQL to SQLite. So if you're running Bluetrait 1 now, you will need to keep using MySQL. SQLite is only supported for new installs.

This post will be updated closer to the release of Bluetrait 2 with more information.

Bluetrait 2 note

Posted by Michael Dale on Tue, 23 Oct 2007 1:54 PM

Just in case anyone was thinking of using Bluetrait 2 live, it isn't ready yet. There are still major changes happening in both the code and the database, because of this it is currently not possible to upgrade between Bluetrait 2 development versions.

Once I feel that the code base is stable a beta version will be released that should be complete enough to have upgrades (hopefully early next year).

I was planning on releasing a code example 2 but am worried that poeple might try to use it live.

 

Bluetrait 2 Code Example

Posted by Michael Dale on Fri, 27 Jul 2007 11:31 PM

Bluetrait 2 is going to be the next major release of Bluetrait, I've talked a bit about it here and here.

 I've decided to post a "Code Example" of Bluetrait 2. This is a pre-alpha build of Bluetrait that shows:

  • Categories Support
  • Plugin Support
  • Theme Support
  • General Structure of Bluetrait 2

Please note that this isn't a fully working copy (i.e. you cannot add posts or comments etc), the installer sets up some basic posts with categories; it is a code example.

This code example requires the following:

  • PHP 5.2+ (with MySQL PDO support)
  • MySQL 4.1+
  • Mod_rewrite (Apache Module)

The installer is set to the location: http://localhost/bluetrait-2.0/ (you can change this before installing in bt-install/setup-db.php at line 265 and 269).

The database details can be changed in bt-config.php.

Again this is just a code example.

Download.

EDIT: You can also watch the development build over here.

Bluetrait 1.2.5

Posted by Michael Dale on Sat, 14 Jul 2007 2:10 PM

Bluetrait 1.2.5 is now available for download.

1.2.5 fixes a few bugs that were found in 1.2.3 and 1.2.4; FCKeditor has also been upgraded to version 2.4.3

Bluetrait 1.2.4

Posted by Michael Dale on Tue, 05 Jun 2007 12:24 PM

Bluetrait 1.2.4 is now available for download.

1.2.4 fixes 1 bug that made its way into Bluetrait 1.2.3. The bug added extra <br /> tags when editing posts/content. This should now be fixed.

Because this is a small update I've put together a zip of changed files to upgrade version 1.2.3 to version 1.2.4. Please note that this zip ONLY upgrades version 1.2.3.

Full Download
Bluetrait 1.2.3 to 1.2.4 Upgrade

Demo site setup

Posted by Michael Dale on Sun, 13 May 2007 3:49 PM

A demo site has now been setup allowing you to test Bluetrait before you install it.

Front Page: http://demo.bluetrait.org/
Admin Page: http://demo.bluetrait.org/admin/

Username: admin
Password: 1234

Please note that file uploading has been disabled for security reasons.

Bluetrait 1.2.3

Posted by Michael Dale on Fri, 11 May 2007 11:21 PM

Bluetrait 1.2.3 is now available for download.

Changes include:

  • Fixed possible security issue with values not escaped correctly with htmlspecialchars.
  • Upgraded to FCKeditor 2.4.2 plus fixed some possible bugs with it.
  • Spam checking on trackbacks is now possible.

Bluetrait 1.2.2

Posted by Michael Dale on Wed, 14 Mar 2007 6:54 PM

Bluetrait 1.2.2 is now available for download.

This version fixes a number of bugs (there are no new features in this version):

*small fixes to the upload script.
*fixes to generated config file (removed some whitespace)
*fixed BT_REL_ROOT on certain platforms (i.e mac os x)
*Akismet to 10 second timeout
*fixed text box overflow if WYSIWYG disabled
*fixes for is_installed(). Thanks malwinsc-at-yahoo-dot-com
*some fixes for config.php + more details.
*small fix for table_prefix (to lower case).
*Akismet Content Body Bug (http://www.bluetrait.org/weblog/archive/2007/02/18/bluetrait-121-akismet-bug/)

If you had trouble installing Bluetrait, this version should fix many of the platform specific bugs. Akismet should now also work as expected.

Bluetrait 1.3 and 1.2.2 Details

Posted by Michael Dale on Mon, 12 Mar 2007 11:45 AM

The main feature of Bluetrait 1.3 is improved plugin support. This version adds apis to allow plugins to better integrate with Bluetrait.

Unfortunately 1.3 is going to be delayed because of time issues. So this means that the next version of Bluetrait will be 1.2.2. This version is going to fix a few bugs that have been found such has the akismet issue and users being unable to change their password.

The aim is to make version 1.2 as stable as possible, before 1.3 is released.

Bluetrait 1.2.1 Akismet Bug

Posted by Michael Dale on Sun, 18 Feb 2007 3:10 PM

There is a bug in Bluetrait 1.2.1 that means that the content of a comment isn't being sent to Akismet (if Akismet is enabled).

This reduces the effectiveness of the spam filtering.

If you'd like to quickly fix it now, do the following:

Open up include/spam.class.php and find line 94.

Line 94 should look like this:

$akismet->setCommentContent($this->comment['commentBody']);

Replace it with the following:

$akismet->setCommentContent($this->comment['comment_content']);

This will be fixed in the next version.