Archive for the 'php' Category

Fixing Birth Date in phplist

If you are using the popular phplist mailing list configuration software, you might run into a situation where the birth date lists only 10 years – all of which are on or around the current year. How do you fix this to allow your subscribers to view a greater range of dates?

Continue reading ‘Fixing Birth Date in phplist’

Setting up registration error messages with Javascript redirect

OK, got the WORKIT website to output error messages. Both for duplicate entries, as well as incomplete forms. This is how it was done.

Continue reading ‘Setting up registration error messages with Javascript redirect’

Viewing word count for topics in phpBB3

Question: you want to be able to see the word count for each post in phpBB3. How do you do that?

Answer: You need to edit two files in the phpBB3 code to get this to work. Read on.

Continue reading ‘Viewing word count for topics in phpBB3′

Simple web framework for web-based CRUD: Ajax CRUD

I’ve been looking for a while now for a web-based CRUD tool that is simple and works “out of the box” and allows me a simpler way to access data than use phpMyAdmin.

I thought CakePHP was the answer, but – as powerful as it is – it is hard to set up, especially on the restricted 1and1 accounts that I have on which .htaccess files tend to require some work.

I found this beautiful tool called Ajax CRUD – its simple, but enables an easy, AJAX based interface to CRUD functions for your database tables. In fact, it can even do more complicated stuff such as filtering the columns, and some other things.

Sidenote: Among other things, I was looking at the Bazaar source control system for some software that apparently can be checked out only using Bazaar. I’m trying to set it up in Eclipse as well, but not too successfully…