WP_Texticon

Matrix-like Texticon example Letters Texticon example DNA-like Texticon example

I realize I’m getting in the dead horse beating side of automatic avatar creation plugins but brainsolid asked for a plugin to generate binary avatars that looked like the text from the matrix and I figured it wouldn’t take too long to change WP_Identicon over to it. Of course, then other things came up and I managed to take quite a while to get around to it but it’s done now so here is WP_Texticon. It generates avatars with an array of colored characters. It’s sort of hard to describe so it’s probably easier to just show a few examples.

So I guess it’s mostly for anyone that likes that text in the Matrix, writing about code (with 0 and 1’s or 0-9 and A-E if you want to get fancy) or biologists (give every commenter their own DNA sequence with ATCG) or maybe general literature (with some random letters and a white background).

Features

  • Dynamically generated avatars for each commenter
  • Matrix/DNA/Binary-like text array icons
  • Customizable character selection
  • Gravatar support
  • No theme edits necessary

Current Version:

WP_Texticon

Installation instructions:

Unzip wp_texticon.zip. Upload wp_texticon.php and the texticon folder. Make sure the texticon folder is writable. If your unzipping program creates a wp_texticon folder please only upload the contents (wp_texticon.php and the texticon folder). That should be it. Texticons should now appear next to your commenter’s names.

You can adjust the background colors, the type and number of characters making up the Texticons and CSS in the Texticon Control Panel. If you’d like to change the fonts used for the characters, add or remove any Truetype Fonts (files that end in .ttf) you’d like to the texticon/fonts folder. You can also clear the Texticon image cache in the control panel.

For Advanced Users:

For even more control, you can disable the automatic placement in the Texticon Control Panel and add an Texticon to any comment with texticon_build($comment->comment_author_email, $comment->comment_author);. For example, find the comments.php of your current theme (it should be in the folder wp-content/themes/[currentThemeName]/). Open it up and look for something similar to foreach ($comments as $comment). Inside this loop there should be code that displays the comment author’s name or metadata like <p class="comment-author"> or <p class="comment-metadata">. Just before all this enter:
<?php if (function_exists(texticon_build)) echo texticon_build($comment->comment_author_email, $comment->comment_author); ?>
If you would prefer to base the Texticons on the commentor’s IP address instead of the commentor’s email just replace $comment->comment_author_email in the above with $comment->comment_author_IP.

Change Log:

  • v0.52 3-27-2007:
    • Fixed missing gravatar bug
  • v0.51 3-27-2007:
    • First Public Version

Blogger
Programmer
Web

Comments (8)

Permalink

WP_MonsterID Update (Hand Drawn Monsters!)

Updated MonsterID Icons

I just updated my MonsterID plugin with great monster artwork from Lemm who out of the blue emailed me with artistic very cool sketches of every monster part. I was just saying I wished I had gradients in my monsters and now I have honest to goodness hand-sketched monsters. Man the internet is great. The new version is a little processor intensive so it might take a few reloads to get all the monsters cached on a popular post but it will only happen the first time and things will be quick after that (and I set it so no one user should have to wait more than 5 seconds). They sure look great once they’re generated. Lemm’s about page says she does some freelance work, so if you’re looking for a great illustrator, it sure looks like she can draw.

Blogger
Programmer
Web

Comments (8)

Permalink

Alternative Wordpress Avatar Plugin

Wavatar Examples

Shamus (of DM of the Rings fame) has made his own avatar generating Wordpress plugin called Wavatars. They do look pretty good. I like the gradients he uses and the artwork looks pretty nice (almost as good as say monsters or geometric shapes ;) ).

He has some good ideas with automatically adding the icon to the user’s name (I had thought this would mess up the html but now that I think about it should be ok for most blogs) and gravatar support (I suppose they’ll be catching on now that they were bought by the Wordpress guy) that I think I’ll implement in my plugins in the near future.

Hopefully we’ll see more automatic avatar generating plugins as they catch on.

Blogger

Comments (1)

Permalink

WP_Folksonomy

WP_Folksonomy Screenshot

Aziz of metaBLOG suggests that the new tags in Wordpress 2.3 can be used to create a “folksonomy” on Wordpress blogs. For those not in the know (including me until a couple days ago), a folksonomy is is the practice and method of collaboratively creating and managing tags to annotate and categorize content according to Wikipedia. Basically it’s letting normal people (versus say artificial intelligence or an administrator) help describe things. For example, adding a tag on flickr or using del.icio.us.

So since Wordpress doesn’t currently have anything like a public “Add a Tag” and I haven’t coded a Wordpress plugin recently (although I did upgrade WP_MonsterID if anyone is using it), I thought I would code up a quick plugin to see how it works. So here is WP_Folksonomy. It’s fairly basic at the moment but I’d like to get it out there to see if it’s useful and if anyone is interested in it.

Since it uses Wordpress’s tagging features WP it’s only going to be compatible with Wordpress 2.3 and up.

Continue Reading »

Blogger
Programmer
Web

Comments (6)

Permalink

WP_PingPreserver

For a while, I’ve been a bit annoyed with WordPress losing pings (those automatic links on your blog when someone links to you) that should be coming to my posts. I noticed that when I or an external blog link to more than one of my posts only one ping would register in my comments. For example, if someone writes that:

Scott has written WordPress plugins to make it easier to write about code, generate monster avatars and generate unique geometric shapes for each commentor.

I would want a ping to appear on each of those linked posts, both to thank the linking blog for writing about me and to provide useful information to the reader (and to increase my comment counts). Yet WordPress only puts a ping on the first linked page.

It took me a little while to figure out why WordPress kept losing my pings since I wasn’t even sure if it was a problem on the sending or receiving end but it turns out WordPress is filtering pings because it thinks the comments are coming too fast. I’ll put the details below but if you just want to make sure all the pings intended for your blog actually reach it then here is the plugin for you.

Continue Reading »

Blogger
Programmer
Web

Comments (14)

Permalink