Bluetrait Weblog

FCKeditor for Bluetrait 2

Posted by Michael Dale on Tue, 01 Jul 2008 5:11 PM

I've updated the FCKeditor plugin for Bluetrait 2, it now contains FCKeditor 2.6.2.

Download

Bluetrait 2 Alpha 4

Posted by Michael Dale on Sun, 29 Jun 2008 12:22 PM

Bluetrait 2 Alpha 4 is now out and can be downloaded from here.

The following are the major changes since Alpha 3:

  • Shows new version number and download link when a plugin is out of date.
  • Able to delete comments through the delete comment link
  • Spam settings page finished.
  • More options in general settings page
  • Javascript popup window when deleting things
  • Basic incoming trackback support
  • Paging support on your comments
  • More work on user admin
  • Contact Form now uses user details
  • fixed "SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry for key 'PRIMARY'" error

So to install:

  • Download
  • Unzip
  • Modify .htaccess if required (i.e not installing in /bluetrait-2.0/)
  • Visit bt-install/ in your web browser to install
  • Once installed delete the bt-install/ folder

Bluetrait 2 Alpha 3

Posted by Michael Dale on Fri, 11 Apr 2008 11:07 PM

Bluetrait 2 Alpha 3 is now out and can be downloaded from here.

The following are the major changes since Alpha 2:

  1. Comment Editing Support
  2. Plugin Update Notifier

The install process is the same as alpha 2.

Unfortunately I haven't had much time to work on Bluetrait 2, so Alpha 3 doesn't have a huge number of changes.

The current plugins don't have an update url so they won't pull down the latest version information. I will update them either tonight or over the weekend.

Bluetrait 1.2.6

Posted by Michael Dale on Thu, 13 Mar 2008 10:07 PM

Bluetrait 1.2.6 is now available for download.

fixes include:

  • Minor PHP 6 errors
  • Akismet submitting ham (real comments) as spam when doing a mass moderate

Plugins for Bluetrait 2 Alpha 2

Posted by Michael Dale on Fri, 04 Jan 2008 7:37 PM

Time for some plugin action!

Three plugins that should be useful:

  1. FCKeditor WYSIWYG editor. This is like the one found in Bluetrait 1. It is not longer included within Bluetrait 2 by default. Download
  2. Search. This Plugin adds post searching to your website. Please note that this plugin requires MySQL. Download
  3. Gravatar. This plugin adds gravatar support to your website. Download

Bluetrait 2 Alpha 2

Posted by Michael Dale on Fri, 04 Jan 2008 6:57 PM

Bluetrait 2 Alpha 2 is now out and can be downloaded from here.

The following are the major changes since Alpha 1:

  • File upload support
  • Group permission editing
  • Remember guest commenting details
  • Documentation (The big document here is the Plugin Guide which should be helpful for anyone wanting to write plugins for Bluetrait)
  • Improvements to the editing page (including deleting posts)
  • Full Installer
  • Basic content support has been added

So to install:

  • Download
  • Unzip
  • Modify .htaccess if required (i.e not installing in /bluetrait-2.0/)
  • Visit bt-install/ in your web browser to install
  • Once installed delete the bt-install/ folder

You no longer need to create a config file as the installer will take care of that for you.

If you are upgrading from Alpha 1 there are some manual steps that SQLite users will need to undertake. This information can be found in the file: upgrade.txt

Bluetrait 2 Alpha 1

Posted by Michael Dale on Tue, 04 Dec 2007 4:11 PM

One month after code example 2 it is time to release Bluetrait 2 Alpha 1.

The following have changed since Code Example 2:

  • Edit posts
  • Task based permissions
  • Rework of theme support
  • More template tags (comment count etc)
  • Basic comment moderation
  • Your comments section
  • Upgradable
  • Improvements to event viewer

This is the first version of Bluetrait 2 that will be upgradable.

Please note that this isn't a fully working version (its pre-beta), and many things aren't finished/don't work. Please don't use this on a production site.

So to install:

  1. Download
  2. Unzip
  3. copy bt-config-sample.php to bt-config.php and setup your database details
  4. Check .htaccess (it is setup for /bluetrait-2.0/)
  5. visit bt-install/ in your web browser to install
  6. once installed delete the bt-install/ folder
  7. read readme.txt if you get stuck

Bluetrait 2 Code Example 2

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

I've decided to release another code example.

Heaps has been done since the last code example. Most things can be found here, other things include work on the admin panel, spam support and a migration script. In fact enough has been done that I am running it on my main website.

This version now installs on both MySQL and SQlite (yay!).

Please note that this isn't a fully working version (its pre-beta), and many things aren't finished/don't work. Please don't use this on a production site. There won't be an upgrade script or support for this version.

So to install:

  1. Download
  2. Unzip
  3. copy bt-config-sample.php to bt-config.php and setup your database details
  4. Check .htaccess (it is setup for /bluetrait-2.0/)
  5. visit bt-install/ in your web browser to install
  6. read readme.txt if you get stuck

Akismet weirdness

Posted by Michael Dale on Sun, 04 Nov 2007 6:53 PM

There have been some Akismet network issues in the last few weeks.

After chatting to Barry of Automattic the issue was tracked down to a HTTP keep-alive issue. Basically it was taking about 30 seconds for each request to the Akismet server.

Although it seems these issues have been fixed the following workaround can be used in Bluetrait 1 without any issues.

  1. Open include/akismet.class.php
  2. Go to line 128. It should read: $http_request  = "POST " . $path . " HTTP/1.1\r\n";
  3. Change to: $http_request  = "POST " . $path . " HTTP/1.0\r\n";
  4. Save and upload

Bluetrait 2 will be using HTTP/1.0 for Akismet.

 

Bluetrait 2: the settings file

Posted by Michael Dale on Sun, 04 Nov 2007 6:46 PM

The function of bt-settings.php will change with the introduction of Bluetrait 2.

The purpose of this file will be to allow users to hard set and modify certain values in Bluetrait without the need to modify the database. There are two main types of data that can be modified.

  1. Anything in bt-default-settings.php can be changed
  2. Any configuration values stored in the database can be changed.

The default settings file contains values such as debugging options, what html can be used in posts/comments/events and what email address is used to notify the admin of the site if there is a database error.

The configuration stored in the database contains values such as what plugins are loaded, domain name, rss settings etc; the majority of the settings.

The idea behind the settings file is that users can set these values and then not worry about them changing. So Bluetrait 2 doesn't come with bt-settings.php but with a sample file that can be used, this means the file isn't overwritten during an upgrade.

The settings file can also be useful for development as you can enable debugging and change the domain name, when you are ready to deploy the site simply delete the settings file and the default settings are back.