PHP script to add WordPress admin user

I recently needed to add a new administrator username to a Wordpress install.

Doing this manually via SQL is not the most difficult task in the world, but it can be quite a challenge as it requires special access (either to mysqladmin or something like phpMyAdmin) and SQL knowledge.

Plus there’s a always room for error when messing around with SQL data.

Mod osTicket 1.7 to accept HTML in tickets

After updating osTicket to its latest stable release, I had to redo the mod to make it accept HTML messages (too bad this hasn’t already been added, at least as an option, to the core).

After digging around quite a bit around the completely re-arranged codebase, I eventually found that it’s actually even simpler than in 1.6.

We need to change one line in include/class.thread.php…

Mod osTicket 1.6 to accept HTML in tickets content

osTicket is a great open source support/ticketing system.

The only serious limitation I found so far is its inability to display HTML in support tickets – a feature deeply required when providing support for web components.

Fortunately, this can be improved. To make osTicket stop stripping HTML, we need to change two lines in the include/class.ticket.php file […]