Pragmatism in code

Waxing lyrical about life the universe and everything software related since lunchtime 2006.


{jcomments off}Latest offerings for the upcoming release is a better method of integration for 3rd party web applications (forums, wikis, etc. etc...). The current method using the phpBB integration file has been changed and will be known under a more generic name.

The basic method of useage is the same - the integration files is called from within the 3rd party application, the relevent DMCMS bits are created and then assigned to a local variable allowing the DMCMS parts (header and/or footer) to be seamlessly stitched into the 3rd party app.

It may be necessary to modify the 3rd party app so that the DMCMS header / footer replaces existing logos etc, but this is entirely down to you.

I revisited this a short time ago due to wanting to add the site footer onto the bottom of the forum, I've since revisited integration again as I have now included the DMWiki.

Continue reading
1052 Hits

No Sleep Until 1am

{jcomments off}The automated user registration is now up and running on my test server. There are still some things to iron out and a few features to add to make administration easier but the basic system is in place and working.

I'm currently working on the backup / alternate method of user account activation so that, if required, activation can be done by administrators - this is usefull in cases where there is no access to a mail server or where site admins like to personally check and manually enable all registrations.


1056 Hits


I just surfed across reCAPTCHA whilst researching some code for DMCMS. reCAPTCHA is a site developed to make better use of the 'Captcha' security devices utilised on most web sites. Captcha's are those pictures with distorted words that you need to type into a box to validate your submission when posting information on the web. They are used to prevent spam by trying to prevent automated scripts from posting information. The basic idea behind reCAPTCHA is that it uses Captchas to convert text scanned from books (the captcha picture) by validating and then storing the result - thus allowing books that cannot be recognised with OCR software to be converted into the digital format. A great idea!

I am currently looking into integrating reCAPTCHA into DMCMS for user comment validation

989 Hits

New Features On Their Way

{jcomments off}Work has been progressing towards the next release of DMCMS which will likely be another major revision due to the amount of changes that have happened.

The template parsing methodology has completely changed, gone is the fixed layout and instead in it's place is a template based layout system that allow layouts to be configured within the template itself. configuration variables can also be set within a template configuration file allowing complete freedom to template writers.

The user commenting system is also now up and running, in fact the only thing stopping the next version from being released is the incomplete user admin system which is currently being finished off.

As usual I have discovered more IE related issues, this time relating to the layout, it's only a small bug and will be fixed by release time.

I have also spent some time tidying up the code - although there is still a lot to do.


997 Hits


{jcomments off}DMCMS.0.7.0.BETA is very nearly here. The files are finished and uploaded to SF.Net's servers but I just can't seem to add them to the download section.

It might be my dodgy wireless internet card :cry:

Hopefully I can finish the job when I get home later on.

The 0.7.0.Beta update is a major update from the previous version (hence it's jump from version 0.6.X to 0.7.X) practically all of the files have been changed. The changes are mostly to address problems with how the site is rendered in Internet Explorer. which for the most part I have not taken care of due to mostly developing in Firefox.

Hopefully now I have stopped alienating IE users by actually releasing something they can see/use the site traffic should go up and someone might actually join the forum.


All current bugs have been fixed in this version and some feature requests have also been incorporated. The main outstanding feature of user commenting has been postponed until a later release so that this release could be issued in a timely manner, work is already well underway on getting the next release finished.


1125 Hits

IE6 Display Issues

{jcomments off}It's just come to my attention that there are a few issues for Internet Explorer 6 users. This is mainly that the drop down menus do not work. A fix is being worked on at the moment, it will hopefully be ready for the 0.6.5 release this week.


940 Hits

Mac Database Client recent project using a remote database server forced me to go looking for a suitable database client for my Mac. Previously i had used EMMA on Linux, but as I only has my macbook to hand I decided to have a look into what was available.

A quick google turned up Sequel Pro - an open source project -

Sequel Pro is a very capable tool, that works flawlessly, it supports SSL connections and had a wide range of encoding options. The layout is instantly familiar to anyone who is used to using phpMyAdmin, and the interface is pretty intuitive to use.

The query editor allows easy query management with both a history feature as well as a favourites menu to keep track of your more frequently used querys, this alone is a great feature for anyone who needs to use the same querys over and over. The query editor also provides basic text editor functionality and syntax highlighting to make life a littel easier, it also includes auto complete.

Overall, if you need a remote database client, or simply want to use something other than phpMyAdmin, I would reccomend Sequel Pro. A great application, at a great price.

Continue reading
2820 Hits

IE6 Display Issues Fixed

{jcomments off}The IE6 display issued have been traced to a simple spelling mistake (actually incorrect case on one character in a javascript function). The site has been updated but the fix will not be available until the release of version 0.6.5.beta.

Work on 0.6.5.beta is currently progressing at a very fast rate, it is anticipated that it will be ready by the end of this week. Both the site and the demo site have been updated to the latest development ;evel.

The Demo site is now also using the DMCMS template. There are still some issues to sort out with the template (mostly relating to IE6 not being able to correctly display PNG transparency) these will be addressed before the 0.6.5.beta release.

For those of you who cannot wait until then for the IE6 drop down menu bugfix - simply make sure the term 'sfhover' is all lower case in the following files - /templates/.../banner.tpl & /templates/.../css/default.css

Also, for those who cannot wait for the rest of 0.6.5.beta - all current changes are commited to the CVS repository - so you can checkout your own version.



967 Hits