Adding javascript into an admin page is a critical part of plugin coding. Critical, because it is both trivial and probably reason #1 why it will conflict with other plugins if not done properly. When their plugin needs javascript, Good Plugin Coders™ have to make sure of the following points: add javascript only once: if […][...] → Read more
Archive for 2008
Yet another plugin of mine that gets a revamp: Who Sees Ads, your all time favorite ultimate ad management plugin, is now WordPress 2.5 ready. For those who don't know it, let me quickly describe this baby : Easy ad management: inline or in PHP templates, inserting your ads is now a handy one-liner. Advanced […][...] → Read more
Sometimes, you stumble upon a cool Flickr photo and only know its static URL (something like 14488551_4945c8ea17_b.jpg). You'd like to go to the photo Flickr page (ie this), to know more about the author, and discover other pictures of the same kind? Bookmark this bookmarklet: Flickr Photo Page Quick explanation: Flickr image filenames in static […][...] → Read more
I've just discovered that Twitter accepts GET parameters as a quick way to update your status. For example, this simple link: I'm reading http://planetozh.com/blog/[...] → Read more
What a productive week-end! I'm delighted to announce the availability of a new version of Absolute Comments, the plugin that lets you reply to comments from the one and only "Manage Comments" page. This update, stamped "version 2.0", is obviously to make the plugin work with WordPress 2.5 and (hopefully) above. This is a mandatory […][...] → Read more
Rejoice, community and blog network admins: next version of my Admin Drop Down Menus will support WordPress Mu (the thing that powers wordpress.com) By default, the top dark bar of the admin UI in MU is replaced with a list of the blogs you're currently running (or at least have some privileges in): My plugin […][...] → Read more
Updated: version 2.0.3 fixes the media uploader bug mentionned by kind commenters. Sorry for the inconvenience! After nearly 33.000 downloads of my Admin Drop Down Menus (woweee!) I finally took some time to fix a bug that has been present since the very begining: incorrect links in sub menus below top level links added by […][...] → Read more
Early 2006, a cool guy named Lokesh Dhakar introduced Lightbox, a unobtrusive script used to display large images using modal dialogs over a black faded background. A great script, really. Since, every once in a while, someone comes up with their own take at this concept, using this or that javascript library (jQuery, Prototype, Mootools, […][...] → Read more
Pretty Comments is a tiny (1kb) jQuery plugin that makes textareas grow as content goes in. This should make a pretty cool addition to any jQuerified comment form. I think I'll add this here to my own theme when I have some time to do some coding in order to get rid of Prototype.[...] → Read more
WordPress 2.5 comes with a very handy API that plugin authors should love: shortcodes, ie. BBcode-like tags, that are parsed when found in post contents. The API is very easy to use, and well done enough that it's relatively foolproof. Shortcode types The API allows for all the possible combinations and forms you'd think of: […][...] → Read more