I totally mis-read this headline Opera’s Newest Browser is Amazingly Fast, Offers New Take on Speed Dial as “Oprah’s Newest Browser” and thought to myself, “Oprah has her own browser now?! WTH?!” Eyesight FAIL!
Now this is what I’m talking about! This looks less cheesy than the first trailer. But it still needs more Armitage
The latest of Post Avatar is here. Mostly coding revisions to take advantage of WordPress APIs and improved security and validation during saving of posts and options. This will be the last version to support PHP 4.
I will be releasing version 1.5 once WordPress 3.2 hits the streets. It’s a major code rewrite. My plan is that future feature requests will be handled as add-ons to Post Avatar so I can keep the code light (hooray for hooks). Plans for the future include support for:
- pages and custom post types
- better integration with author gravatars and comments
- Multi Site installations
- ability to upload images (am toying with the idea of using custom post types for this
Watch this space for further developments. In the meantime grab 1.4 at the plugin repository
Post Avatar now has a Polish translation courtesy of Meloniq.
I also added Meloniq’s fix for the loading the translation files. A couple of other changes: data validation has been improved. In particular, custom html within the gkl_postavatar tag must now conform to allowed HTML tags in WordPress (wp_kses).
I fixed a bug that Nate identified wherein other plugins using the “apply_filters” tag would cause the image to appear twice.
Spent most of the evening re-watching season 6 of Top Chef, and I just wanted to say that I heart Kevin.
Just released version 1.3 of Post Avatar, removing deprecated functions. You must be running WordPress 2.8 or greater in order to upgrade. I’m doing this so I can take advantage of the new WordPress features in upcoming releases.
If you using XAMPP as a local web server for testing out themes and plugins then you might find this useful if you want to enable pretty permalinks for WordPress. *Note: I have xampp installed on a Windows XP setup.
Turn on Mod Rewrite
In order for WordPress to manipulate URLs, Mod Rewrite must be turn on. To load the module open up Apache’s main configuration file: httpd.conf.
It is usually found in c:\xampp\apache\conf\.
Look for the following line and remove the “#” at the beginning of the line.
#LoadModule rewrite_module modules/mod_rewrite.so
Set up the Virtual Host directives
Now it’s time to create your site on your local machine because let’s face it, it’s nicer to look at http://garinungkadoldev.com than http://localhost/gkl_280
The VirtualHost config file, httpd-vhosts.conf is usually located at c:\xampp\apache\conf\extra
NameVirtualHost garinungkadoldev.com <VirtualHost garinungkadoldev.com> DocumentRoot c:\xampp\htdocs\gkl_280 </VirtualHost>
So what does this all mean?
NameVirtualHost – tells the Apache HTTP Server which domain name (garinungkadoldev.com) to use.
<VirtualHost> – container where directives intended for garinungkadoldev.com are placed.
DocumentRoot – absolute path to where web files are located. In this example my WordPress installation is inside c:\xampp\htdocs\gkl_280
Save your files and restart XAMPP!
Map the IP address to your domain
Before enabling permalinks in WordPress you need to tell Windows to recognize your domain name as belonging to localhost.
In Windows XP the HOSTS file is found at C:\WINDOWS\system32\drivers\etc\. Open the “host” file inside a text editor and add this:
Health has made a mockery of my plans by laying me low with the flu. After spending five days in bed it feels really good to be out and about.