In a recent project I have to show and use the next user_id as username ( I know it is a bad decision, but this is how the client wants it). I would usually use $wpdb->insert_id but that works only if you already inserted a row before. So I had to use MySQL SHOW TABLE STATUS : // Get the… Read more →
Category: Programming
Kohana 3 Plug & Play
After wasting hours in the new Kohana 3 (KO3) documentation, I decided to spend the time to create a “plug&play” version of KO3, which I can use as a start up version of my KO3 based projects. I’ve set up the auth module, the ORM and one controller, along with the login views and templates. Also I am pulling results… Read more →
MessageBar – just another jQuery plugin
I had to create a error message system for a site that did not had any, and nothing was actually planned for it. So instead of going with those labels and changing colors, I’ve decided to make something more… modern. The good thing about this plugin is that it doesn’t require dedicated place, it has a ton of options, and… Read more →
Make form fields and buttons fast and easy.
I’ve recently had to make a lot of forms with similar style (a lot of graphics), but the width of the fields and buttons was varying from 20px to 500px, and there were at least six different groups sizes so using a fixed width background was not an option. Usually the way to make scalable field is to use three… Read more →