WebDev
Wordpress Archive: Checking to see if a plugin is active
$current_plugins = get_option(’active_plugins’);
if (in_array(’plugindir/pluginfile.php’, $current_plugins)) {
// The plugin is active
}
The above code is useful for developing a theme around certain code. This is important because a couple of projects I’m working on are intended to integrate external applications (that I’ve written) with Wordpress to permit me to automate some work tasks via my website (and [...]
New theme and CSS tutorials
I implemented a new theme today. I also modified it a bit, since the original had functionality that didn’t interest me (like ads and a very prominant “subscribe via email” html form that I don’t want to support). I had to add a navigation strategy to the “pages” which required that I hunt up a CSS [...]
Dynamic Layout Library
Fortes created a really nice “Post Levels” plugin which I used back at WP 2.2. Unfortunately, I recall testing this with a later release and it didn’t work properly so I backed out all of the code and the plugin that made this blog work. However, after finding his website again, I see that he [...]
Additional security to Wordpress
Browsing around for security tips (trying to work out an issue on my work blog), I came across:
http://boren.nu/archives/2008/07/14/ssl-and-cookies-in-wordpress-26/
define(’AUTH_KEY’, ‘put your unique phrase here’);
define(’SECURE_AUTH_KEY’, ‘put your unique phrase here’);
define(’LOGGED_IN_KEY’, ‘put your unique phrase here’);
These three keys increase the security of your browser cookies, making wordpress more secure to normal users. These keys are only useful if [...]
Perfect Paper Passwords
I’m still trying to decide how these can best be used for web passwords to banking, credit cards, etc. But this is one of the niftiest cryptography ideas I’ve seen this year.
Almost without exception, today’s Internet users prove their identity online using a fixed account name and password. In the past, this simple system provided sufficient [...]
Wordpress 2.6 revisioning, I like it
I decided I like revisioning after all. I just had a problem last night where I was working on a post, and during the save process, the connection between me and this blog got interrupted, so the entire post got lost.
Revisioning would have saved me from that problem.
Of course, it does mean that I need [...]
Wordpress 2.6 Revisioning & Auto Save features
Thanks to Lester Chan for highlighting the config settings for turning off revisioning and for modifying the autosave feature. It appears that these two are closely linked. Useful for my personal blog since there is only one editor here. Not as useful for the corporate blog I manage for my employer, since there are multiple editors. [...]
Migrating Wordpress databases
Since I’m migrating content from one wordpress blog to another for the purposes of playing with the wordpress themes (trying to create a theme that I like), I learned a bit about the database along the way. Like the fact that there are values within the database that point to the database table prefix used [...]
Project Diary: XTools [2]
Status update:
Expanded code documentation (comments)
Added Site module to project with basic functionality intact.
Teaching myself about DIV and SPAN
I’m so far behind on CSS style page design, but my excuse is: I don’t do this for a living. So here are a few notes on things that I’ve been reading about the last few on CSS and DIV/SPAN tags.
I found a ton of useful tutorials over at HTML Dog. Here are a few [...]

