
I was skimming Simon Willison’s blog (I know his uncle) when I came across this cool idea for automatic avatar generation. Well to tell the truth, I took one look at the title “Visual Security: 9-block IP Identification” and deleted the link from my RSS reader but the next day a link based on that idea came up for generating a unique monster avatar for each user that did catch my interest. After all if it’s got monsters, it has got to be interesting.
Anyway it turns out that Don Park decided to use a commenter’s IP address to generate a random (but persistent for each user) geometric image to associate with each user. This means that without needing external images or sites, each user can have a unique picture associated with them. Even better if several sites were to use the same algorithm for generating the image, the image would stay associated with the user across sites without any cross site communication. Andreas Gohr ran with this idea and decided to generate monsters instead of geometric images and use email addresses instead of IP addresses. So that brings the story here, since these two real programmers had already done all the hard thinking and programming, I thought I would make a quick and dirty WordPress plugin to incorporate MonsterIDs easily into other blogs. So here is WP_MonsterID. It’s my first real WordPress plugin so it may not be pretty but it seems to be working OK here (see monsters in the comments below). Edit: If monsters aren’t your thing, I have another plugin using just Don Park’s geometric shapes.
Features
- Monsters
- Dynamically generated avatars for each commenter
- Consistent on any blog
- Gravatar support
- Theme edits no longer necessary
Current Version:
Installation instructions:
Unzip monsterid.zip. Upload wp_monsterid.php and the monsterid folder. Make sure the monsterid folder is writable. That should be it. Monsters should now appear beside your commenters’ names.
You can add CSS for img.monsterid in your theme’s style.css to adjust the appearance of the images or adjust the size in the MonsterID control panel (your old monsters won’t be deleted until you clear the cache). You can also turn on Gravatar support and clear the MonsterID image cache in the Control Panel.
Tai has translated the installation instructions to Japanese, 5lineas translated them to Spanish, and Dennys has installation tips in Chinese (although these are a bit out of date as of Version 1.0).
Change Log:
- v2.12 05-18-2008:
- Fixed missing WP 2.5+ builtin avatars
- v2.11 05-17-2008:
- Fixed recent comment widget double monsters on single pages
- Added support for WP 2.5+ builtin avatars
- v2.1 03-04-2008:
- Improved default CSS for MonsterID Recent Comments Widget
- Added custom CSS editing for widget and MonsterID’s
- Optimized artistic monsters to only loop through the square region containing the part
- v2.04 2-14-2008:
- Removed smaller MonsterID option
- Added Recent Comments (with MonsterID) widget (since default Recent Comment Widget doesn’t provide commenter email)
- v2.02 2-13-2008:
- Removed monsterid from admin menus when using smaller MonsterIDs
- v2.01 2-12-2008:
- Add size to img attributes to avoid resizing page as loaded
- Added option for smaller MonsterIDs on non-post page (like the Recent Comment Widget on the home page)
- v2.0 2-05-2008:
- Added artistic monsters (thanks to the great artwork of Lemm)
- Artistic monsters are a bit tough on the server so limited generation time to a max of 5 seconds (unless the user is an admin)
- Changed to object-oriented monsterid although not completely OOP
- Added options for greyscale artistic monsters or old fashioned monsters
- v1.02 1-03-2008:
- Fixed sizing bug (thanks to Daniel)
- Added size attribute to icons so page doesn’t resize as loaded
- Removed a couple minor bugs
- v1.01 12-21-2007:
- Fixed automatic placement in unwanted places (again thanks to Shamus)
- Switching download link to WordPress Extends
- Fixed version numbers in plugin file
- v1.0 12-19-2007:
- Added option to use show gravatars if they exist and fallback to MonsterID
- Theme edits no longer necessary (doesn’t hurt if you already did edit it) (This and the previous thanks to Shamus’s nice Wavatar plugin)
- Cleaned up Options page and error checking
- Caught possible infinite loop if user selects really dark or light body colors
- v0.61 12-12-2007:
- Changed to wiki pseudocode version of Mersenne Twister
- Changed bitshifting to mysql queries since many php versions only have 31 bit integers while Mersenne requires 32
- Sort part lists to keep things consistent on different servers
- v0.6 12-11-2007:
- Changed to pure PHP version of Mersenne Twister to allow consistent random numbers across servers
- v0.511-14-2007:
- Added reminder to clear cache after setting options
- Added option to switch to white outlines for dark backgrounds
- Added a few minor parts
- v0.42 8-17-2007:
- Fixed unintended white background on one pair of legs
- v0.41 8-1-2007:
- Fixed lower limit in
monster_mt_array_rand - Readded
back.pngto parts
- Fixed lower limit in
- v0.4 7-30-2007:
- MonsterID’s should now be consistent across servers (by changing
randtomt_rand) - Now checks the lightness of body color to make sure monsters aren’t too dark
- Added some more new monster parts and changed the size slightly on a few older ones
- Minor bug and WP standards fixes
- MonsterID’s should now be consistent across servers (by changing
- v0.3 1-25-2007:
- Added option to make background transparent. Just set the background color to 0 0 0 for Red, Green and Blue. Note that IE6 does not like transparent png and will turn the background grey.
- Changed
get_bloginfo('url')toget_settings('siteurl')to avoid problems when Options > General > Blog address (URI) is not default - Added a few new monster parts and increased the size slightly on a couple of older ones
- Fixed incorrect link in plugin information
- Increased length of email hash substring used to generate monster. Should increase possible combinations into the billions.
- v0.2 1-23-2007:
- Important note: Changed base function from
build_monstertomonsterid_build_monsterfor WordPress function standards (I don’t suppose there’s any other plugins building monsters out there but better safe). - Incorporated Adrean’s new extra monster parts and random body coloring and a few parts of my own.
- Added a random background coloring and the option to set the coloring in the MonsterID menu.
- Added a test section to the MonsterID menu.
- Monster building automatically finds monster parts now so the users can add custom monster parts or delete parts they don’t like.
- Added option to output only image url to monsterid_build_monster:
monsterid_build_monster($comment->comment_author_email,$comment->comment_author,false)
- Important note: Changed base function from
- v0.11 1-21-2007:
- Got off to a pretty inauspicious start with a faulty wordpress page, a couple of immediate small bugs and a faulty file name.
- v0.1 1-21-2007:
- First version.
For Advanced Users
If you want more control of where MonsterID’s appear, disable the Automatically Add option and 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("monsterid_build_monster")) {echo monsterid_build_monster($comment->comment_author_email,$comment->comment_author); } ?>
If you would prefer to base the monsters 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.
Customization:
If you want to customize the monster parts used in your version of WP_MonsterID just go to the wp-contents/monsterid/parts/ folder and delete any parts you don’t like. If you’d like to add your own parts, there is a Gimp file included in that folder containing a layer for each current part which should make constructing new parts easy. Save the new parts following the same conventions bodypartname_initial(s)#.png (e.g. arms_S1.png). If you come up with any good ones, feel free to send them to me and I’ll include them in the package.
ScottS-M | 21-Jan-07 at 1:23 pm | Permalink
Just a test to make sure I’m not full of crap.
Scott | 21-Jan-07 at 1:25 pm | Permalink
Still me but with a different email.
ScottS-M | 21-Jan-07 at 1:26 pm | Permalink
Me again with my standard email.
My apologies if anyone was getting a 404 from this page earlier. WordPress decided to make the post private. Not the most useful feature even when it works right. I’d have to say that if you want something kept private, it’s probably not the best idea to post it to the internet.
Andreas Gohr | 22-Jan-07 at 4:03 am | Permalink
Hey Scott, you might want to upgrade your plugin to the most recent release which adds dynamic color, too.
ScottS-M | 22-Jan-07 at 7:55 am | Permalink
Great. I’ll do that. Thanks for improving it.
David Collantes | 22-Jan-07 at 1:21 pm | Permalink
The download link is giving 404. Fix please? I want it! :)
ScottS-M | 22-Jan-07 at 1:42 pm | Permalink
Oops sorry about that. The filename got messed up. Just not my lucky day I guess. Should be working now.
David Collantes | 22-Jan-07 at 1:50 pm | Permalink
Many thanks. Will implement, right after I implement my own OpenID server :)
Cheers!
Ibrahim Cesar | 22-Jan-07 at 2:33 pm | Permalink
Just don’t work in my weblog….
ScottS-M | 22-Jan-07 at 2:46 pm | Permalink
Shoot. I only have access to this server so I haven’t been able to test it on a lot of configurations. How far did you get before it failed? Does MonsterID come up in the Options Admin menu? Does your server have the PHP image library (it’s necessary)? Is your server on a Linux/Unix machine? I’m not sure if a windows machine would work with the file paths although I think PHP is smart and handles file paths on both ok. Or it could just be something silly I did. Let me know and I’ll try to fix it as soon as possible.
Caio Romão | 22-Jan-07 at 8:17 pm | Permalink
Worked perfectly on my home server (linux, offline). Just created a new fuction to return only the image path so I could integrate to gravatar.
Also, there’s a silly mistake that doesn’t affect the code: the usage tooltip in options page is wrong :)
ScottS-M | 22-Jan-07 at 10:08 pm | Permalink
Thanks for catching the tool tip, I’ll be putting up a new version with more images and random body color (thanks to Andreas) later tonight. I’ll put in an image path only option to the function too.
Don Park | 23-Jan-07 at 12:45 am | Permalink
-1 point for deleting a link to my blog.
+99 points for bringing the joy of MonsterID to WordPress users.
Great job, Scott. :-)
Don Park | 23-Jan-07 at 12:46 am | Permalink
Er, how come I have the same MonsterID as Caio?
ScottS-M | 23-Jan-07 at 2:27 am | Permalink
@Don Park: Thanks for visiting and thanks for the smart IP/email to image idea. Sorry about deleting the link, I should know better than to judge a book. Glad I finally did read it. I updated my plugin to v.2 before checking the comments so I didn’t get a chance to see if you were exactly the same as Caio. Maybe luck? They’re different now anyway.
Sheldon Kotyk | 23-Jan-07 at 2:33 pm | Permalink
Nice work, I’m going to have to install this one.
CP | 23-Jan-07 at 8:27 pm | Permalink
Sorry for the spam, but I just have to see my monster. Kudos to you all for the 9-block and monster ideas!
DaveG | 23-Jan-07 at 10:05 pm | Permalink
I love it, great job!
PuRiRuRi | 24-Jan-07 at 3:32 am | Permalink
I only want to see my monster
Diego | 24-Jan-07 at 4:47 am | Permalink
Interesting idea… :)
ansita | 24-Jan-07 at 7:44 am | Permalink
i also want to see my monster
Dougal Campbell | 24-Jan-07 at 1:49 pm | Permalink
Heh, I like it! Another del.icio.us bookmark added…
fruityoaty | 24-Jan-07 at 2:06 pm | Permalink
Ah, just another tester. This looks nifty, but how many monster images are available for assigning?
ScottS-M | 24-Jan-07 at 2:42 pm | Permalink
I’ve been meaning to figure that out myself. The current part totals are: 17 eyes, 8 hairs, 12 mouths, 15 bodies, 10 legs. That is 244,800 possible combinations. In addition, the body color can range between 20-235 for red, green, and blue. If we count that as 20 distinguishable values for red, green, and blue that adds 8000 possible colors and brings the unique monster count to 2 billion. The only problem is that the algorithm is only using the first 6 digits of the md5 hash of the email which only provides 16 million possible combinations. So I guess the answer is 16 million monsters currently and in the next release I’ll use a few more digits of the hash and increase it to a billion or so.
Anizio Silva | 24-Jan-07 at 3:20 pm | Permalink
Anyone who knows anything of history knows that great social changes are impossible without feminine upheaval. Social progress can be measured exactly by the social position of the fair sex, the ugly ones included.
Karl Marx
Just a test :)
Don Park | 24-Jan-07 at 3:30 pm | Permalink
Donate more monster body parts people and we’ll soon have more monsters than there are people in this galaxy!
:-)
Jeff Allen | 24-Jan-07 at 3:44 pm | Permalink
Now this is a cool idea. I will have to give it a try on my site!
Jeff Allen | 24-Jan-07 at 4:09 pm | Permalink
BTW is there a way to make the monster image a link to their website (when they have one)?
mekal | 24-Jan-07 at 4:32 pm | Permalink
nice)))
ben | 24-Jan-07 at 4:51 pm | Permalink
What a cool idea! Thanks.
Damon | 24-Jan-07 at 7:10 pm | Permalink
Mine was pulling the wrong site url for some reason and I had to replace get_bloginfo(‘url’) on line 214 with get_settings(‘siteurl’) to get it to work.
ScottS-M | 24-Jan-07 at 8:27 pm | Permalink
Oh good catch. That could be a problem if someone set their Options > General > Blog address (URI) to something besides the default. I’ll change that in the next version.
harley | 24-Jan-07 at 8:44 pm | Permalink
This thing really took off. Consider integrating the background color to match the background of the post? Unless you think 16 million people will comment soon, then leave it so I can tell who’s who.
Jeff A | 25-Jan-07 at 2:27 am | Permalink
My previous comments did not show up, how odd. Anyway I was wondering how I might set it up so that the monster pictures are links to the comment authors website.
ScottS-M | 25-Jan-07 at 3:56 am | Permalink
@Jeff
Hmm, Akismet seems to have caught your second comment but not your first or third. Strange. I despammed it now. Sorry about that.
As for a link to the author’s website, that’s a good idea. Might as well use the picture’s space.
You could add a link by adding a bit more to the monsterid_build_monster call in your comments.php file:
<?php if (function_exists("monsterid_build_monster")) {$output=monsterid_build_monster($comment->comment_author_IP,$comment->comment_author); if (!empty($comment->comment_author_url) & 'http://' != $comment->comment_author_url) $output='<a href="'.$comment->comment_author_url.'"rel="external nofollow">'.$output."</a>";echo $output;} ?>It’s a bit long since you have to check if the url is blank. Let me know if you have any trouble
ScottS-M | 25-Jan-07 at 12:51 pm | Permalink
I just released version 0.3.
@Harley
v0.3 includes the option to set background to transparent. But IE6 can’t handle transparent png’s and displays the background as grey.
Sorry about the changing icons. I clear the MonsterID cache so I can make sure I’m not sending out a buggy plugin. If you’re happy with your icons, do not clear the MonsterID cache after upgrading and they should remain as the old versions.
Paul | 25-Jan-07 at 2:34 pm | Permalink
Just upgraded to WP 2.1 and my monsters are gone! This is just about the coolest plugin I’ve got running, so it’s a bad thing :(
Paul | 25-Jan-07 at 2:40 pm | Permalink
Ak, moron – something about the upgrade I did reset the theme :( All working now!
Marty | 25-Jan-07 at 3:33 pm | Permalink
I just want to see what it comes up with for me.
tnarik | 26-Jan-07 at 3:36 am | Permalink
cool!
Jeff A | 27-Jan-07 at 2:59 am | Permalink
@ScottS-M
That worked like a charm, thanks. I am really enjoying this as a great replacement for gravatars which are only cool if everyone has them!
laihiu | 27-Jan-07 at 5:37 am | Permalink
now how do i look? :P
laihiu | 27-Jan-07 at 6:00 am | Permalink
hi ScottS-M:
i’m using wordpress 1.5.2 and i’ve got an error on the plugins list page:
Warning: file(/home/XXXXXXXX/public_html/XXXXXX/blog/wp-content/plugins/monsterid/wp_monsterid.php): failed to open stream: Permission denied in /home/XXXX/public_html/XXXXXXX/blog/wp-admin/admin-functions.php on line 962
Warning: implode(): Bad arguments. in /home/XXXXX/public_html/XXXXX/blog/wp-admin/admin-functions.php on line 962
really want this plugin badly =(
please advise!
Edited to remove specific file paths.
laihiu | 27-Jan-07 at 6:19 am | Permalink
sorry for the spam…but the problem’s fixed after i’ve changed the permissions to 777 (it was previously 666).
it now works like magic! =)
thanks for the cool plugin!!
and would you kindly remove my previous comment which shows my blog’s home directories? much thanks :)
Ames | 27-Jan-07 at 12:34 pm | Permalink
Cute
Vipin | 27-Jan-07 at 1:17 pm | Permalink
kewl
digiviz | 27-Jan-07 at 1:18 pm | Permalink
This is interesting
Shane | 27-Jan-07 at 2:28 pm | Permalink
Very cool idea!
Scott Jon Siegel | 29-Jan-07 at 7:27 pm | Permalink
I enjoy this spinoff of the Identicon concept.
dood | 29-Jan-07 at 9:51 pm | Permalink
testing
Stuart Robertson | 29-Jan-07 at 11:10 pm | Permalink
Great plugin! Thanks.
Matt | 30-Jan-07 at 11:03 pm | Permalink
Cool plugin, might have to add it to my site.
sravi | 01-Feb-07 at 11:08 am | Permalink
cool!
gliv | 03-Feb-07 at 12:12 pm | Permalink
odden | 04-Feb-07 at 6:35 pm | Permalink
How funny!
odden | 04-Feb-07 at 6:36 pm | Permalink
is it independent from your e-mail?
odden | 04-Feb-07 at 6:36 pm | Permalink
wow!
odden | 04-Feb-07 at 6:37 pm | Permalink
i like this one…
magistus | 04-Feb-07 at 6:38 pm | Permalink
this is great!
Lynn | 04-Feb-07 at 10:22 pm | Permalink
wow, this is pretty cool
testing | 04-Feb-07 at 10:23 pm | Permalink
neat
Vincent | 05-Feb-07 at 5:29 pm | Permalink
Thanks a lot for the plugin, I’m using it with joy !
Porges | 06-Feb-07 at 2:24 am | Permalink
lol
Elliot | 06-Feb-07 at 3:38 pm | Permalink
What does this email look like?
Shawn | 06-Feb-07 at 6:36 pm | Permalink
Just checkin out my monster!
Tino | 07-Feb-07 at 8:29 am | Permalink
Jetzt möchte ich aber auch sehen, wie mein Monster aussieht! :-)
Caitlin | 07-Feb-07 at 4:28 pm | Permalink
testing :)
Steinar | 08-Feb-07 at 6:57 am | Permalink
Great plugin, thanks!
Paolo Gabrielli | 08-Feb-07 at 12:17 pm | Permalink
This plugin it’s *REALLY* cool guys. Thinkin of using it…
Thanks!
MInTheGap | 08-Feb-07 at 12:53 pm | Permalink
Have to comment to see my monster too! :)
AnimalMutha | 09-Feb-07 at 6:38 am | Permalink
Grrrrraaaaarrrgggghhhhh
reading_is_dangerous | 10-Feb-07 at 5:42 pm | Permalink
wonderful idea-
how could I put it on my blogspot.com?
oh-
ScottS-M | 10-Feb-07 at 6:33 pm | Permalink
@reading
Hmm, I don’t know much about blogspot. From a quick google, I didn’t see any plugin system or ways to access php so my inexpert opnion is probably not but let me know if I missed something.
Gal | 11-Feb-07 at 2:58 am | Permalink
This is SO cool! I’d definitely put it in my blog.
Ibrahim Cesar | 12-Feb-07 at 11:03 am | Permalink
You can help me?
When I put in my blog, happen this:
Warning: opendir(/home/—-/public_html/wp-content/plugins/monsterid/parts/) [function.opendir]: failed to open dir: No such file or directory in /home/—-/public_html/wp-content/plugins/wp_monsterid.php on line 27
Ibrahim Cesar | 12-Feb-07 at 11:06 am | Permalink
Opss….Everything fine!
thanks! thanks! thanks!
reading_is_dangerous | 15-Feb-07 at 9:18 pm | Permalink
@ScottS-M:
thank you anyway. I came back, and saw that you saw. :)
long live the semi-random monsters!
rid
steve | 15-Feb-07 at 11:13 pm | Permalink
I just had to see what my monster looked like! :-)
Cumango | 15-Feb-07 at 11:59 pm | Permalink
Awesome plugin.
But I can only put it on my site if my monster is “good looking”.
Jurgen | 16-Feb-07 at 5:12 pm | Permalink
just want to see my monster
fiero | 19-Feb-07 at 3:30 pm | Permalink
I want to see my monster too :)
GetronX | 19-Feb-07 at 9:21 pm | Permalink
Nice idea dude.
Lestat | 20-Feb-07 at 1:07 am | Permalink
I want to see my monster too
Taliesin | 20-Feb-07 at 5:02 am | Permalink
Funny!!
E.T. | 20-Feb-07 at 5:50 am | Permalink
phone… home…
JL | 20-Feb-07 at 7:31 am | Permalink
Interesting…
Rato_Louco | 20-Feb-07 at 9:41 am | Permalink
kria um monster pre mim
Bill D'Alessandro | 20-Feb-07 at 2:58 pm | Permalink
Just testing to see my monster. What a cool plugin!
Folco Boffin | 20-Feb-07 at 4:56 pm | Permalink
Just curious as to what my monster looks like… Also, how many digits of the md5 hash does this currently use?
ScottS-M | 20-Feb-07 at 5:10 pm | Permalink
@Folco
It uses 10 digits of the md5 hash now. That should allow 1 trillion possible hashes. This means that the number of monsters are now limited by the number of parts and colors which should be about 2 billion (or more if you want to count each step in the RGB colors).
ismael | 21-Feb-07 at 7:20 am | Permalink
wow
Fukurou | 21-Feb-07 at 9:34 am | Permalink
A test
Fukurou | 21-Feb-07 at 9:35 am | Permalink
test for viewing some implementation posibility
Hyoga | 21-Feb-07 at 12:25 pm | Permalink
Buaa!!
Vincent | 22-Feb-07 at 10:10 am | Permalink
Made a couple of minor modifications to the plugin for my website :
1. Line 215 : I wanted to show a caption for the image, changed to :
title=”‘.$altImgText.’\'s monster” alt=”‘.$altImgText.’\'s monster”
2. Line 126 : I did not want the monster to change if the user entered his mail address with just some case difference. So I pass the lower-case mail address to the monster function. It becomes :
monsterid_build_monster(
strtolower($comment->comment_author_email),
$comment->comment_author);
Thanks a lot for your plugin !
ScottS-M | 22-Feb-07 at 11:01 am | Permalink
@Vincent
That’s a good idea with the title attribute. For some reason, Firefox doesn’t display titles on my computer so I forget about them.
Making the email address case insensitive is a good idea. I debated it but I had been thinking if someone didn’t like their monster they could change their case slightly to get a new one. But now that I think about it, the user probably isn’t going to know that so I guess I’ll just add that to the function in the next version.
Thanks for the input.
magicpointeshoe | 22-Feb-07 at 8:10 pm | Permalink
I’m going to ask the painfully obvious. Where should I upload the folder and php file too? In all other plugins I’ve installed everything has gone to the plugins folder.
.:(/@ur@):. | 22-Feb-07 at 8:13 pm | Permalink
Ala ke warrada d muñekajo!!!
komo aki no me entiende nadie puedo decir lo ke me salga xD
Weno no dgo nada au xD
ScottS-M | 23-Feb-07 at 12:08 am | Permalink
@magicpointeshoe
Oops I managed to mess up the directory structure in the zip file at some point. It should be fixed now.
So now unzip monsterid.zip. Put both the
monsteridfolder andwp_monsterid.phpfile in yourwp-content/plugins/folder. So you should havewp-content/plugins/wp_monsterid.phpandwp-content/plugins/monsterid/. (You probably knew all that and it was just the screwy zip file messing you up but better safe…)Let me know if you have (or I cause) any more trouble.
magicpointeshoe | 23-Feb-07 at 3:51 am | Permalink
I finally figured it out. What led me to that solution was trying to figure out where to put the code on the comments page. For some reason which I didn’t realize until I went to get dirty as you put it, the Freshy theme has a whole lot of coding for some avatar web doohicky. It took a lot of cut and pasting here and there to figure out how to line these monsters up properly.
This is rather nifty!
ScottS-M | 23-Feb-07 at 8:20 am | Permalink
@magicpointeshoe
Looks like I answered the wrong question for you. Glad to see you figured it out in spite of me. It is a bit of a pain having to edit the theme file. I tried to find a more automatic way but I couldn’t and the big plugins like gravatar seem to require theme editing too so I guess we’re stuck editing.
tikitakfire | 25-Feb-07 at 5:29 am | Permalink
hola!
Donna | 25-Feb-07 at 8:44 pm | Permalink
OooOOOOoo I like this. :)
tizz | 25-Feb-07 at 9:25 pm | Permalink
just checkin out my monster!!
luv | 26-Feb-07 at 7:22 am | Permalink
great for my site!
monica | 27-Feb-07 at 9:57 pm | Permalink
I love it!
fizia | 09-Mar-07 at 10:16 pm | Permalink
i had to see what will pop up:))
Alex | 18-Mar-07 at 12:46 pm | Permalink
Wooooo!!!
great idea. Funny! Makes everyone to comment :)
dixie | 18-Mar-07 at 2:07 pm | Permalink
i would like to use this in conjunction with what used to be “dan’s avatar thingy” – i’m having trouble figuring out how to make the display conditional on not having the other one…is that harder than it sounds?
ScottS-M | 18-Mar-07 at 4:37 pm | Permalink
@dixie
To integrate this plugin with dan’s avatar thingy shouldn’t be too hard if dan’s returns true when it finds an image…
I took a look and it looks like his cmd_show_avatar does not return the information we need. But (I think) you could hack it by adding
return true;after theecho $user_pic_found;on line 89 and again after theecho '<img ... />';on line 94 and addingreturn false;before the third}on line 97 of cmdavatar.php. Once you do that you should be able to use dan’s avatar thingy and wp_monsterid together with something like:<?php if (function_exists('cmd_show_avatar') & function_exists('monsterid_build_monster')){ if (!cmd_show_avatar()){echo monsterid_build_monster($comment->comment_author_email,$comment->comment_author);}} ?>I haven’t actually tested that so it may have a typo or two but hopefully it’ll at least give you an idea. Let me know how it goes or if I could help further.
dixie | 20-Mar-07 at 1:34 pm | Permalink
thanks for your info. i will take a look at it and see if i can’t make them play together.
Joel | 22-Mar-07 at 1:33 am | Permalink
Just had to see what my monster looked like…..
maz | 26-Mar-07 at 9:20 am | Permalink
coool…i like it
Bethany | 31-Mar-07 at 8:43 am | Permalink
These are so cool!
I want to use them as a substitute for Gravatars2, if the commenter doesn’t have a gravatar, but how can I make the monsterID show up only if the person doesn’t have their own gravatar to use?
Bethany | 31-Mar-07 at 10:25 am | Permalink
Er, gravatars in general. I don’t particularly care which plugin I use for that. Right now I’m using Gravatars2, but if it’s easier to make MonsterID work with another gravatar plugin, that would be just fine, too.
ScottS-M | 31-Mar-07 at 1:28 pm | Permalink
@Bethany
It looks like it will work with Gravatars2 pretty nicely. If you go to the comments.php file of your theme and find where you currently have something like:
<?php if (function_exists('gravatar')) { gravatar_image_link(); } ?>you can replace it with:
<?php if (function_exists('gravatar')){$gravatar_link = gravatar_image_link('', '', '', '', 'Gravatar', '', '', false);if (function_exists("monsterid_build_monster") & strpos($gravatar_link, 'Create your own Gravatar')){
echo monsterid_build_monster($comment->comment_author_IP, $comment->comment_author);
}else{echo $gravatar_link;}} ?>
It’s a bit longer but that should display the gravatar if it exists and otherwise display the monsterid.
Let me know if you have any trouble with it.
Bethany | 31-Mar-07 at 2:23 pm | Permalink
It works perfectly! Thank you. It would have taken me forever to get that right!
Ondaderthad | 31-Mar-07 at 11:43 pm | Permalink
me wanna see monster.
jamie martin | 05-Apr-07 at 1:54 pm | Permalink
grrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr i’m a angry monster
Andrea Micheloni | 06-Apr-07 at 10:36 am | Permalink
Test
Anne-Emilie | 06-Apr-07 at 12:23 pm | Permalink
Good,
I think I’m going to try it on my blog.
Thanks for the job
Carlos Magaña | 10-Apr-07 at 2:45 am | Permalink
Wow, I like it, monsters are so cute
Ashish C. | 10-Apr-07 at 9:35 am | Permalink
I tried to do it on my blog… needs GD library … which means I need to talk to my host. But still very awesome plugin that solves the craving of migrated wp.com users who want an avatar…
möp | 12-Apr-07 at 6:55 am | Permalink
Could you guys tell me how to integrate this plugin gravatar into my freshy theme. There’s much more gravatarcode at the comments.php of the freshy-theme than normally. So I cant get it work. I see Magicpointeshoe has pointed the same question? Hope you guys can help me.
alex | 13-Apr-07 at 1:04 pm | Permalink
hi nice site.
ScottS-M | 13-Apr-07 at 2:53 pm | Permalink
@mop
I took a quick look at the freshy theme. It looks like you should be able to put:
<?php if (function_exists("monsterid_build_monster")) {echo monsterid_build_monster($comment->comment_author_email,$comment->comment_author); } ?>in around line 64 after:
echo "' alt='' class='gravatar' width='".$gravatar_size."' height='".$gravatar_size."' /></a>";} ?>
and before:
<?php comment_author_link() ?></strong> <small>(<?php comment_time('H:i:s'); ?>)</small>…Let me know if you have any trouble.
Tamlyn Rhodes | 14-May-07 at 10:56 am | Permalink
Smart! (I just want to see what *my* monster looks like ;-)
arthurson | 27-May-07 at 6:14 am | Permalink
testing
arthurson | 27-May-07 at 6:16 am | Permalink
testing again
arthurson | 27-May-07 at 7:04 am | Permalink
i have the problem of using this plugins ,as i t always render the same icon for all message, it is wp2.2, so i have to use MyAvatars again. and just let you know my case for reference.
ScottS-M | 27-May-07 at 9:20 am | Permalink
@arthurson
That was good motivation to get around to upgrading. Thanks. Let’s see if there is a problem in 2.2?
Scott | 27-May-07 at 9:21 am | Permalink
Still me. Different email. Is it the same?
ScottS-M | 27-May-07 at 9:50 am | Permalink
@arthurson
I’m not having a problem in WP2.2. If you’re getting the same monster on every email it sounds like
monsterid_build_monster($comment->comment_author_email, $comment->comment_author);might have something wrong with$comment->comment_author_email. A typo there would causemonsterid_build_monsterto think everyone’s email was “”. Not sure why upgrading would mess that up but I’d check that first. If that’s not it, feel free to post the code near the MonsterId part (inside<code></code>tags) and I’ll take a look.Malaysia | 30-May-07 at 10:06 am | Permalink
Am i suppose to see a monster on my profile after i posted ? test.
Anyway, nice idea and site, had a tough time figuring what the hell it is
ScottS-M | 30-May-07 at 8:49 pm | Permalink
@Malaysia
This is a plugin to generate the little monsters you see next to the comments here. If you do install and activate the plugin you should see some configuration options and a monster in the WP Admin > Options > MonsterID page. If the monster doesn’t come up then there’s probably something missing on your server. Most likely the GD graphics library. If it does work then you just need to edit your theme a little bit as detailed above and all your commenters will have their own unique monster. Let me know if I can help with anything.
Malaysia | 01-Jun-07 at 3:03 pm | Permalink
does my monster change everytime or it is always the same.
ScottS-M | 03-Jun-07 at 12:02 am | Permalink
@Malaysia
It should stay the same if you use the same email address for your comment (alternatively if you were setting it up on your site you could use the commenter’s IP address).
icestorm | 08-Jun-07 at 8:56 am | Permalink
this is a test
littleoslo | 15-Jun-07 at 10:24 am | Permalink
just wanna see how would i look like here, thx
Ekus | 17-Jun-07 at 4:56 am | Permalink
:)
Johann | 26-Jun-07 at 8:42 pm | Permalink
Randomness iz TEH cool.
Joe | 30-Jun-07 at 7:15 am | Permalink
Don’t email, just want to see mine (email is wrong)
ScottS-M | 30-Jun-07 at 9:11 am | Permalink
@Joe
I don’t email any one unless they ask me to. Personally I don’t really care if people leave their email or not although with MonsterID or Identicon it is a handy way to keep people from pretending they are you unless they know what email you used.
Kunal | 03-Jul-07 at 6:22 pm | Permalink
Awesome stuff mate, terrific.
Alejandro | 13-Jul-07 at 4:56 pm | Permalink
You are seeing my avatar.
Steve Adams | 17-Jul-07 at 11:23 am | Permalink
This is a fascinating post.
neil | 20-Jul-07 at 10:43 pm | Permalink
must try this asap!
neil | 21-Jul-07 at 3:09 am | Permalink
Great-it works on my site.
But how do I get my ‘Recent Comments’ list to show the monsters?
ScottS-M | 21-Jul-07 at 8:54 am | Permalink
@neil
Glad you like it. For the Dark_Black theme, it looks like you’ll have to edit
wp_content/themes/dark_black/functions.phpand change lines 10-17 (fromecho '<img style="float: left;… to …class="recent_gravatars" />';‘)to something like:
if (function_exists("monsterid_build_monster")){ echo '<img style="float: left; margin-right: 10px; padding: 3px; background: #202020; border: 1px solid #151515;" src="'. monsterid_build_monster($data[4], $data[2],false,24) .'" height="24" width="24" class="recent_gravatars" />'; }It’s so long because I’m trying to follow the Dark_Black styles. Let me know if you have any trouble.
neil | 21-Jul-07 at 11:43 am | Permalink
Scotts-M,
I am making progress but appear to have one problem.
As soon as I change the code above in my ‘Recent Comments’ the size of the icon that I have set in the MonsterID options for ‘Comments’ changes from 65px to 24px.
It looks like the code above is overriding that set in the options panel.
Thanks so much so far.
Neil
ScottS-M | 21-Jul-07 at 12:11 pm | Permalink
Oops I was trying to be to clever but forget that there is only png one stored for each monster so the recent comments command was making small monsters and storing them. So the command above should be:
if (function_exists("monsterid_build_monster")){ echo '<img style="float: left; margin-right: 10px; padding: 3px; background: #202020; border: 1px solid #151515;" src="'. monsterid_build_monster($data[4], $data[2],false) .'" height="24" width="24" class="recent_gravatars" />'; }That should have the browser scale the monster down to 24px in your recent comments without modifying the png. Also you’ll want to “Clear Cache” in the MonsterID control panel to get rid of the small stored png’s. If you wanted the recent comment monsters to be 65px too then delete
height="24" width="24".neil | 21-Jul-07 at 12:36 pm | Permalink
That did the trick!
I have made the ‘Recent Comments’ monsters 65px for the moment-I like my monsters!!
What plans for MonsterID?
Is there another release planned?
Keep up the great work and thanks.
Neil
ScottS-M | 21-Jul-07 at 12:50 pm | Permalink
I should have a new release in the near future. Just the other day, I was looking into the random functions in php and it looks like the functions I’m using do not stay constant across different servers but with a minor change (
randtomt_rand) I can make sure that one email will give the same monster on everyone’s site just like a gravatar (only without requiring any central server). I’ll probably throw in a few new monster parts at the same time. If you have any good ideas or suggestions let me know.wanda | 27-Jul-07 at 2:39 pm | Permalink
how can i choose the avatar?
wanda | 27-Jul-07 at 2:39 pm | Permalink
what if i register?
ScottS-M | 27-Jul-07 at 2:56 pm | Permalink
@wanda
There’s no choosing an avatar. It’s generated automatically from your email address. Hopefully you like yours. :)
GunSky | 29-Jul-07 at 12:42 pm | Permalink
Cooool %)
DLebedev | 29-Jul-07 at 12:52 pm | Permalink
Test!
wanda | 29-Jul-07 at 5:47 pm | Permalink
aha :) thank you for the fast reply.
if i have a plugin wich let me upload avatars and i change in that plugin, the default pic with your plugin function, do you think it will works?
wanda | 29-Jul-07 at 5:49 pm | Permalink
so, if i cahnge the email in comment? it will give me another monster?
ScottS-M | 29-Jul-07 at 6:41 pm | Permalink
@wanda
This plugin should be able to work with most other avatar plugins. All we need to do is look for the default value in the output from the other plugin and if we find it replace it with a monsterid. For example with gravatar-based plugins (more details above) you could use something like:
strpos($gravatar_link, 'Create your own Gravatar')since the default gravatar output always includes “Create your own Gravatar”.
Anyway which plugin are you using? I can take a quick look and see if I can figure it out.
wanda | 29-Jul-07 at 9:57 pm | Permalink
thanks, thanks, thanks alot!!! right in this moments i’m working to this.
the plugin i try integrate is:
Dan’s Avatar Thingy. however if you hnow a better one let me know. if i won’t integrate, i’ll choose to use only yours.
wanda | 29-Jul-07 at 10:41 pm | Permalink
Done! Works greate!
ScottS-M | 29-Jul-07 at 11:48 pm | Permalink
@wanda
Glad it worked out for you. For anyone else wanting to use Dan’s Avatar Thingy it looks like you could change the
echo‘s toreturn‘s in hiscmd_show_avatar. And if the output fromcmd_show_avatarcontains"Unregistered"use MonsterID. Leave a comment if anyone needs any help with it.ScottS-M | 30-Jul-07 at 12:28 am | Permalink
Version 0.4 is now available. MonsterID’s should now stay the same across different servers. I had originally thought this was the case but it turns out I was wrong. Luckily it was easily fixable. I also added some extra parts.
Upgrading should be easy. Just replace
wp_monsterid.phpwith the new version and upload the new parts into the parts folder (overwriting any old ones). Unfortunately the new version will result in new monsters. I hope that is alright. The change is due to adding some salt (the first few letters of the admin email) to the hash. I’m not sure it’s actually necessary or not but I thought it was better safe than sorry.Let me know if there are any problems or suggestions.
wanda | 01-Aug-07 at 7:09 am | Permalink
ScottS-M, 0.4 version gives me the same monster every time. i tried for hours to solve the problem but in the end i re-using the old version.
ScottS-M | 01-Aug-07 at 8:27 am | Permalink
@wanda
Shoot. Let me take a look. Sorry to waste your time.
ScottS-M | 01-Aug-07 at 9:26 am | Permalink
@wanda
Hmm. The parts directory was missing
back.pngsomehow. That’s fixed now but I kind of doubt that will fix your problem (although it’d certainly be nice if it did). When you were using v0.4 were the filenames all the same too? Are you using a PHP version >=4.3 (I guess you are but just throwing things out there)?wanda | 01-Aug-07 at 8:07 pm | Permalink
thank you verry much, ScottS-M.
my site is till under construction and it have adult content. however if you still want to take a look:
http://hellkeyhole.com/new-test
yes i have php 5.0 or something like that, and i just uploaded the parts and the wp_monsterid.php over the old version. twice :)
ScottS-M | 01-Aug-07 at 9:19 pm | Permalink
@wanda
Hmm it looks like the filenames are all the same for you. That certainly is odd. I suppose that’s lucky in that it narrows down where the problem could be. First (I guess this isn’t the problem but better turn over every stone), nothing got messed up with
monsterid_build_monster($comment->comment_author_email,$comment->comment_author);in
comments.phpright? If it worked with v0.3 and doesn’t in v0.4 that wouldn’t be it. So could you do a search and replace forsha1and replace it withmd5(lines 149 and 151) inwp_monsterid.phpand see if that makes a difference? If that doesn’t do anything could you replace line 151 ($filename=substr(...;) with:$filename=$id.'.png';Sorry to bother you with this and if editing php isn’t your thing let me know and I’ll code it up and email you.
wanda | 02-Aug-07 at 8:21 am | Permalink
thank you Scott. i tried but gives me the same. i like version 0.3 and i’ll use it.
Martin | 04-Aug-07 at 9:15 pm | Permalink
Hi
wanda | 05-Aug-07 at 8:48 am | Permalink
Hi Scott. Sorry for my late answer.
it seams showing the same monster it’s because of another code probably i added few days ago. another plugin, exec-php, stoped to work too. when i’ll find what happens, i’ come back to let you know.
Him | 10-Aug-07 at 10:31 pm | Permalink
Just testing, really. I will definitely use this on my website.
Thanks for the interesting work \o
videokeman | 24-Aug-07 at 1:16 pm | Permalink
wow! i like my own monster! does the generation of the monster takes much load on web hosting?
ScottS-M | 24-Aug-07 at 3:48 pm | Permalink
@videokeman
I’ve tried to minimize the load. The only somewhat processor intense part is generating the monster but that only happens once for each unique person and is then cached on the hard drive after that. Each monster takes about 5K of space so I think for any normal sized blog hard drive space shouldn’t be a problem. The individual images do each add a HTTP request but (I think) that really shouldn’t be a problem unless a page with many comments gets a huge rush of views.
Deozaan | 31-Aug-07 at 2:39 am | Permalink
I can’t get it to work on the default WordPress theme. I’m using WordPress 2.1.3
manele | 31-Aug-07 at 5:47 am | Permalink
lol…this is more cool than iconid plugin :) i love it more! thank you for your work!
ScottS-M | 31-Aug-07 at 9:09 am | Permalink
@Deozaan
I’m pretty sure it was working when I was on 2.1.3. Do you get a monster on the MonsterID Admin page? If so, then the monster making functions are working ok and it should be a problem in setting up the
monsterid_build_monster()function in the comments.php file of your theme. If you want you can post the the part related to WP_MonsterID (inside<code></code>tags) and I’ll take a look.luvlee | 02-Sep-07 at 3:07 pm | Permalink
Wish this works on my site:)
luvlee | 02-Sep-07 at 3:19 pm | Permalink
I can’t seem to get it work with my site here: http://www.imluvingit.com
ScottS-M | 03-Sep-07 at 8:36 am | Permalink
@luvlee
Do you get a monster on the MonsterID Admin page? If so, then the monster making functions are working ok and it should be a problem in setting up the monsterid_build_monster() function in the comments.php file of your theme. If you want you can post the the part related to WP_MonsterID (inside
<code></code>tags) and I’ll take a look.TestName | 21-Sep-07 at 10:01 am | Permalink
Test myfunction comment
Meech | 24-Sep-07 at 12:57 pm | Permalink
Uhm :-) Nice :)
tom | 02-Oct-07 at 11:08 am | Permalink
Wish this funny plugin on my site:) first testing here ;)
eegloo | 04-Oct-07 at 8:29 am | Permalink
A test monster should be here:
Warning: opendir(/home/hosting_users/XXXX/www/blog/wp-content/plugins/monsterid/parts/): failed to open dir: No such file or directory in /home/hosting_users/XXXX/www/blog/wp-content/plugins/monsterid/wp_monsterid.php on line 27
and the source URL for this image is:
Warning: opendir(/home/hosting_users/XXXX/www/blog/wp-content/plugins/monsterid/parts/): failed to open dir: No such file or directory in /home/hosting_users/XXXX/www/blog/wp-content/plugins/monsterid/wp_monsterid.php on line 27
This message shows up on my testing area in admin
ScottS-M | 05-Oct-07 at 2:46 am | Permalink
@eegloo
Is there a folder called
monsteridin yourwp-content/pluginsdirectory? If not, there should be. The zip file should unzip as thewp_monsterid.phpfile and amonsteridfolder (there should also be apartsfolder inside that). Both the php file and themonsteridfolder need to be uploaded to the server. Also themonsteridfolder needs to be writable. If you’ve already done all that please let me know and I’ll try to figure out what’s going on from there.Sorry if I’m a bit slow responding. The Great Chinese Firewall sometimes seems to think my site needs blocking so it can take me a while to be able to check the comments.
soksolun | 08-Oct-07 at 1:51 am | Permalink
实验一下,chinese
sok | 08-Oct-07 at 1:53 am | Permalink
有什么改变,没有啊
sok | 08-Oct-07 at 2:03 am | Permalink
message
silence | 11-Oct-07 at 3:58 am | Permalink
haha cool!!!
krizalis | 11-Oct-07 at 4:53 am | Permalink
hi there Scott.. its quite a nice plugin.. although, i’m having a little bit of problem trying to get it to work.. I get this error after installing.. and by the way, the monsters does appear. just that i have this error in the post and it doesn’t look nice on the post :(
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/xxxx/domains/xxx/public_html/xxx/blog/wp-content/themes/mukkamu-12/mukkamu-12/comments.php on line 104krizalis | 11-Oct-07 at 4:56 am | Permalink
woops.. silly me ;).. its not ur plugin causing that error.. its another plugin.. I’ve fixed it now.. thx ;)
great plugin!
krizalis | 11-Oct-07 at 5:04 am | Permalink
hmm.. dear scotts.. i sem to be having 1 problem.. whenever i tried changing the background colours (ie: those RGB 220-255 numbers) and the size of the monsters from 65 to something else and clicking on “set options”.. the picture remains the same.. with the same default background color and size.. are there any workaround for this?
ScottS-M | 11-Oct-07 at 7:30 am | Permalink
@krizalis
Glad you like it and got the first problem fixed. The second should be fixed by clicking the “Clear Cache” button in the MonsterID option page. Somehow I never noticed that wasn’t clear and no one asked but it could certainly use a better explanation. I’ll add a sentence above. Thanks for pointing that out and let me know if anything else messes up.
krizalis | 11-Oct-07 at 8:48 am | Permalink
yo Scotts.. thx for the quick reply ;)
i dun have any more problems now ^_^
THANKS
BIll | 14-Oct-07 at 1:19 pm | Permalink
Monster check.
Yanuar | 18-Oct-07 at 11:13 pm | Permalink
My Monster is…
AnnaBella | 03-Nov-07 at 3:44 pm | Permalink
Cool!
Bella | 03-Nov-07 at 6:52 pm | Permalink
All of my monsters look identical. I’m using the IP method and I’m sure my visitors have different IP’s than I do.
Any suggestions?
Bella | 03-Nov-07 at 7:00 pm | Permalink
I forgot to mention I use Brian’s Threaded Comments. (typo’d my email address up there too, sorry)
ScottS-M | 03-Nov-07 at 9:10 pm | Permalink
@Bella
Something certainly isn’t acting right with your monsters. I wonder if it could be some kind of typo with the
<?php if (function_exists("monsterid_build_monster")) {echo monsterid_build_monster($comment->comment_author_IP,$comment->comment_author); } ?>function. Perhaps the$comment->comment_author_IPhas a slight typo? Otherwise it could be some interaction with another plugin or something weird. If it wasn’t a typo, could you paste the code you are using (just the part related to MonsterID’s inside<code></code>tags) to the MonsterID post and I’ll try installing the nested comments on my test blog and see if I can duplicate the problem.Bella | 03-Nov-07 at 9:25 pm | Permalink
This it what I copied and pasted into the comments.php file:
comment_author_IP,$comment->comment_author); } ?>Bella | 03-Nov-07 at 9:26 pm | Permalink
<?php if (function_exists("monsterid_build_monster")) {echo monsterid_build_monster($comment->comment_author_IP,$comment->comment_author); } ?>that doesn’t look right, I copied and pasted the entire string…
ScottS-M | 04-Nov-07 at 12:23 am | Permalink
It was the Brian’s Threaded Comments messing up the WordPress commenting. I’m not sure that changing that much of
comments.phpis the best way to implement a plugin but it was written quite a while ago so he probably didn’t have a whole lot of options. Anyway if you want the monsters and nested comments (which actually are pretty cool), then you should add the<?php if (function_exists("monsterid_build_monster")) {echo monsterid_build_monster($c->comment_author_IP,$c->comment_author); } ?>right after (although you could mess around with placement) the<img class="collapseicon" src=...<?php echo $c->comment_ID ?>")' />line in the functionwrite_comment(line 55 in his default comments.php). Note that$commentchanges to$cdue to Brian’s Threaded Comments and will have to be changed back to the normal$commentif you stop using BTC.Bella | 04-Nov-07 at 12:07 pm | Permalink
I disabled BTC, re-uploaded the original comments.php file for my theme, edited the file and it worked. I decided against the IP method because the monsters changed for some people. I’ll stay with the email method for now, and I’m looking around for a different nested comments plugin. BTC is pretty old so maybe I’ll have better look with a different one.
Thanks for the cool plugin, I really like it. :)
Bella | 04-Nov-07 at 2:00 pm | Permalink
A light bulb finally went off in my head and I finally did get it to work.
I didn’t follow your instructions exactly and that’s why I had the problems, duh… Once I copied and pasted the string you modified for BTC it started working perfectly… thank you so much for all of your help… :)
luan damasceno | 10-Nov-07 at 7:26 pm | Permalink
Hooot plugin! *-*
luan damasceno | 10-Nov-07 at 7:26 pm | Permalink
Test
Michael Chermside | 11-Nov-07 at 7:47 pm | Permalink
Yes, just another tester. Really neat idea… I’ll be using it once my blog is working.
Null | 18-Nov-07 at 6:25 am | Permalink
Just had to see my monster :D
Krosa | 22-Nov-07 at 6:53 am | Permalink
Test
Muzica | 24-Nov-07 at 5:08 am | Permalink
That`s very intresting man
Muzica Nou | 24-Nov-07 at 5:09 am | Permalink
i realy like it
Manele Noi | 24-Nov-07 at 6:49 am | Permalink
i will test it today, thankss
IDDQDan | 03-Dec-07 at 1:12 pm | Permalink
Превед! Круто, мужики!!!
From Russia with Love!!!!!))))
M!CLE | 03-Dec-07 at 1:14 pm | Permalink
<—- это я :)
Janice | 05-Dec-07 at 8:12 pm | Permalink
I simply MUST have this plugin! I love it!
Scott | 10-Dec-07 at 9:13 pm | Permalink
Just a test.
Yuri Maanzand | 18-Dec-07 at 8:40 am | Permalink
Ik wil ook zo’n monster verdomme.
Jessica in Rome | 18-Dec-07 at 10:34 am | Permalink
Great plugin!!
Claire | 20-Dec-07 at 9:21 pm | Permalink
Ubercute feature :)
Frank Lucas | 31-Dec-07 at 7:01 pm | Permalink
WordPress: v2.3.2
MySQL: v5.0.45-community-nt
PHP: v4.4.7
Server: Microsoft-IIS/6.0
Firefox v2.0.0.11
The Options page reported:
“Testing:
A test monster should be here:
Warning: opendir(D:\Domains\sunrisedancer.com\www\XXXX/wp-content/plugins/monsterid/parts/) [function.opendir]: failed to open dir: Invalid argument in D:\Domains\sunrisedancer.com\www\XXXX\wp-content\plugins\monsterid\wp_monsterid.php on line 26
and the source URL for this image is here.”
Regards.
ScottS-M | 02-Jan-08 at 10:58 am | Permalink
@Frank Lucas
That sounds like
wp-content/plugins/monsterid/partseither doesn’t exist or isn’t readable by php. If you uploaded themonsteridfolder towp-content/plugins/then thepartsfolder should be there so then I would check the permissions on the folder and make sure it is readable by php (777).Daniel | 03-Jan-08 at 7:24 am | Permalink
Scott, thanks much for this plugin and the great support you give about it (most of the plugin writers never fix and mantain them) ;-)
Specially I like the new option that let me show gravatars if they exist. But I found one problem on it: your plugin only use the correct gravatar size (monsterid size config) the first time that retrieve it. After that, the plugin use the default gravatar size (80×80). I found how to fix it, if you are interested or know any other easy way to do it.
Only need to replace lines 271,272 (version 1.01):
if($monsterID_options['gravatar'])
$filename = “http://www.gravatar.com/avatar.php?gravatar_id=”.md5($seed).”&&;size=$size&default=$filename”;
With this:
if($monsterID_options['gravatar']){
if ($size==”){
$size=$monsterID_options['size'];
}
$filename = “http://www.gravatar.com/avatar.php?gravatar_id=”.md5($seed).”&&;size=$size&default=$filename”;
}
I hope you can include this fix in the next version…
Thanks again and happy new year :-)
ScottS-M | 03-Jan-08 at 2:20 pm | Permalink
@Daniel
Thanks for catching that. I’ll update the plugin in the next couple days (I just moved so no internet [or furniture]).
Gera | 04-Jan-08 at 3:57 am | Permalink
Супер!!!
Manele gratis | 09-Jan-08 at 1:27 pm | Permalink
Great man.. thanks is very useful! keep up the good work.
trickpa | 11-Jan-08 at 5:58 pm | Permalink
Look nice ;)
theprincess | 20-Jan-08 at 1:04 pm | Permalink
How can I add a monster to the post (instead of to the comments?)
thanks!
ScottS-M | 20-Jan-08 at 6:18 pm | Permalink
@theprincess
That sounds like a good idea. I could whip something up if you’re not too familiar with theme hacking. Would you want the monster to be unique for each post or unique for each author? I’m not sure how easy it’ll be to add as an automatic option so in case I can’t figure an automatic way to add it, what theme are you using?
Otherwise if you are good at messing around with WordPress, you can just add
<?php if (function_exists("monsterid_build_monster")) {echo monsterid_build_monster($RANDOM_SEED,$ALT_TEXT); } ?>anywhere in your theme files you want (where$RANDOM_SEEDis the thing you want to base the monster off e.g.the_title('','',FALSE)and$ALT_TEXTis the text for the alt attribute of the img e.g.the_title('','',FALSE).' MonsterID'.Muzica Noua | 31-Jan-08 at 12:26 pm | Permalink
Great man.. thanks is very useful! keep up the good work, i will say about this site to all my friends
tv online | 02-Feb-08 at 5:01 am | Permalink
Wish this funny plugin on my site:) first testing here :P
lemm | 06-Feb-08 at 5:25 pm | Permalink
They look lovely. Great work. I’m glad you used them – thank you! I must start a blog up again soon. :)
Ry | 06-Feb-08 at 9:36 pm | Permalink
Monster Check. :) Nice plugin!
Paintball Blog | 12-Feb-08 at 9:44 pm | Permalink
This is what a paintball playing monster looks like. Cool plugin!
Roganty | 13-Feb-08 at 6:44 am | Permalink
I think I’ve just found a small bug in the url generated for the images.
I have noticed that there is two “//”
for example
/blog//wp-content/plugins/monsterid/17783015285cf33.png
It’s even happening here (check the source code!)
Cool plugin, will my monster be the same!?
I’ve also edited my wp-admin/edit-comments.php file to show the icon in the comments queue!
Roganty | 13-Feb-08 at 6:47 am | Permalink
Yep its the same monster, but its got a different file name thou!
ScottS-M | 13-Feb-08 at 11:45 pm | Permalink
Sorry Roganty your first comment got held up in moderation. You’re right about the double slash. I’ll take a look.
That’s not a bad idea about putting them in the comment queue. Then at least all that #$$#% spam would be fun to look at.
Roganty | 14-Feb-08 at 6:31 am | Permalink
Scott, Thanks that update sorted it
Here’s more on putting the monster icon in the comment queue
On line 276 of /wp-admin/includes/template.php add
<?php if (function_exists("monsterid_build_monster")) {echo monsterid_build_monster($comment->comment_author_email, $comment->comment_author); } ?>That’s basically it. To style it add the following to /wp-admin/wp-admin.css
.commentlist img.monsterid{float: left;
margin-top: 0px;
margin-left: 0px;
margin-right: 3px;
}
The same can be done to /wp-admin/moderation.php on line 161
David Bradley | 15-Feb-08 at 3:48 am | Permalink
I just came up with this very same idea (albeit not with monsters) and now discover you already did it! Fantastic stuff…
…it works with Gravatars, could it also work in unison with other systems like MyBogLog?
db
David Bradley | 15-Feb-08 at 4:00 am | Permalink
You have to “activate” the plugin…you missed that step in the installation instructions and some users will not realize it has to be done…
db
ScottS-M | 15-Feb-08 at 10:17 am | Permalink
I should tie it in with the other avatar generators. I’ll have to take a look at their stuff. Feel free to hack this one apart for your own plugin if you want. There’s also geometric shapes and faces if they were closer to your intended target.
Thanks for catching the activate part. I’ll update that in the next version.
newideal | 17-Feb-08 at 9:33 pm | Permalink
hi I love the monsters, and after fighting it all day, I finally got it working right!! yea. (turns out it conflicted with my “Brian’s threaded view” plugin (actually Alex’s plugin, a slightly modified version). Your $c- fix didn’t work, so I uninstalled Alex and now it works!! Anyway…
If I could fix one little thing it’d be perfect, but I don’t know how to fix it. In Recent Comments widget, the link text starts centered next to the image. I would rather have it justified to the bottom of the image, so the entire link is closer together. Make sense? The links are too spread out.
Could you be so kind as to slip me a bit of code help? Thanks so much, and thanks for the great monsters! :D
newideal | 18-Feb-08 at 3:25 am | Permalink
never mind, I found the vertical alignment and changed it to bottom. Thanks again! I love the monsters!
newideal | 18-Feb-08 at 5:03 am | Permalink
One more question: In Recent Comments, is it possible to get the 2 lines both next to the image, instead of one line below? Like a text wrap so all the text is next to the image.
That’s all — I promise I won’t bother you again. But if I could text wrap the image (hmmm…like your comments here) that’d be great! Thanks again.
ScottS-M | 18-Feb-08 at 8:49 am | Permalink
That’s a good idea having it to the left. I’m still trying to wrangle out the css to get it to work on all blogs. But if you change lines 563-569 to:
<style type="text/css">ul#monsterid_recentcomments{list-style:none;font-size:11px;padding-bottom:20px;}
ul#monsterid_recentcomments li{display:block;clear:left;}
ul#monsterid_recentcomments img.monsterid{margin:3px 3px 0px 0px;float:left;}
ul#monsterid_recentcomments li.recentcomments:before{content:"";}
.recentcomments a{display:inline !important;padding: 0 !important;margin: 0 !important;}
</style>
it should get yours looking ok. I’m still trying to figure out why that code makes some sidebars go crazy in Firefox but it looks ok for yours.
newideal | 18-Feb-08 at 9:15 pm | Permalink
thanks so much Scott! that code worked great. i tweaked it a little more and I’m pretty happy with how Recent Comments looks. it’s too bad the text couldn’t be vertically-centered next to the image (so whether it’s 2 lines or 4 it’s always vertically centered), but i didn’t manage to get that to work.
i really like the way you have css for Recent Comments in the monster php file. as a suggestion, in future editions you might want to expand the CSS availability. It’d be nice if the large monster in comments had css available for easy editing. I’d really like to be able to float text next to the large monster the way I can in Recent Comments. but I don’t know code well enough. I like the way your monsters look here, with the floated text next to it.
Thanks again Scott, for the code and the really fast reply. I love the monsters…keep up the good work! :)
P.S. i have an even cooler monster here! :D
ScottS-M | 19-Feb-08 at 11:40 am | Permalink
I’m no CSS expert but I think vertical centering is a bit of a pain with CSS. We could do it with
<div style="display: table-cell; vertical-align: middle;"><p>comment_author on post_title</p></div>but I believe it wouldn’t work for Internet Explorer.If you want to go with that solution you could change line 524 to:
echo '<div><p>' . sprintf(__('%1$s on %2$s'), get_comment_author_link(), '<a href="'. get_permalink($comment->comment_post_ID) . '#comment-' . $comment->comment_ID . '">' . get_the_title($comment->comment_post_ID) . '</a>') . '</p></div></li>';and add:
ul#monsterid_recentcomments li.recentcomments div{display: table-cell; vertical-align: middle;}somewhere in the style section around line 563.
Having a place to add some CSS is a pretty smart suggestion. I’ll have to throw that in the next version. Until then, if you wanted to have the monsters in your post comments have text wrap around them you could open the
style.cssfile of your current theme and at the bottom add the code:img.monsterid{float:left;}By the way, the fancy monsters here are generated with the Artistic Monsters option on the MonsterID option page set to Artistic.
Jennifer | 20-Feb-08 at 3:48 am | Permalink
What a neat little plugin. xD
Alex | 20-Feb-08 at 3:50 am | Permalink
Wow this is so random and funny. Just need to try it out.
newideal | 21-Feb-08 at 3:02 am | Permalink
Thanks again Scott. I didn’t yet try to vertically-center the text — seems like a lot of work, esp. if it won’t work in IE.
I did use your suggestion to wrap the image in the comment box and it looks much better now! I’ll try the vertical centering another time when I’m fresher — at this late hour my brain just can’t wrap around your editing suggestion. Thanks for all your help with my monster formatting!!
P.S. I will try out the artistic monsters, but I’m afraid my server is slow (it’s free) and it might take too much time to process the monsters. I don’t want the page timing-out and half-loading for guests who comment. but i’ll try because they’re really cool!
ScottS-M | 21-Feb-08 at 10:43 am | Permalink
I’ll check into the pain in the butt hack you have to do to get it to work in IE one of these days and try to incorporate it in the plugin if it doesn’t violate the standards.
If you do get the chance to test out the artistic ones, I’d appreciate it. I’ve only got this server to test things on so I’m not sure how demanding it actually is. I don’t think it should fry any servers (especially since each monster is only generated once). On this one, it takes about a second to generate a monster. The monster should actually be generated when a commenter leaves a comment and everyone else should see the cached monster. Anyway if it seems too slow let me know and I’ll try to figure out some way to optimize it.
newideal | 22-Feb-08 at 1:58 am | Permalink
well I switched to artistic monsters, and when I cleared the cache and re-generated the 6 monsters, it took 5-6 page reloads before the home page would finish loading. so that’s approx. the creation of 1 monster per load (seems like ~10 seconds per load). it might be ok. i’m going to have my friends test it out and i’ll let you know. feel free to leave a comment to test it for yourself. :) thanks again for all the help — i’ll check back in when I get more info.
newideal | 23-Feb-08 at 3:02 am | Permalink
I tried incorporating the changes in your post #249 but your new coding is more unsatisfactory for few reasons (I’ll compare the “New” to the layout before this change, a layout I was pretty happy with — I’ll call the old “PG” (pretty good):
Problems with New:
1) the text isn’t really vertically centered. The first or second line might be centered but not the entire content. notice the Recent Comment with 3 or more lines (switch to a lower resolution if needed) — it’s not centered.
2) this causes another problem — there’s extra space after a Recent Comments item that has 3 or more lines to it (long name & long post title). The space between monsters is not even. this is not true for the PG layout and playing around with padding and margins didn’t come up with any fixes and in some cases made things worse.
3) New looks much stupider in IE than my PG layout which isn’t perfect but looks reasonable in IE and firefox.
For reference, here’s the css part of my monsteridphp of PG:
ul#monsterid_recentcomments{list-style:none;font-size:11px;padding-bottom:20px;}
ul#monsterid_recentcomments li{display:block;clear:left;}
ul#monsterid_recentcomments img.monsterid{margin:0px 6px 6px -4px;float:left;}
ul#monsterid_recentcomments li.recentcomments:before{content:"";}
.recentcomments a{display:inline !important;padding: 0 !important;margin: 0 !important;}
Unfortunately, here’s a bigger problem. It’s true for both PG and New configuration. For Recent Comments widget, the widget box bottom does not recognize the bottom image. There is no space at all between the bottom of the image and the bottom of the widget, and so sometimes the image sticks out of the widget box and messes up the layout with the widget below.
I left the New configuration up on my blog if you want to take a look to see what i’m talking about. All vertical margins and vertical padding have been zeroed out in what you see. The 6px image bottom margin does put 6px between the images, but not 6px between the last monster image and the widget bottom. A bottom img padding didn’t help either. I’ve done a lot of trial and error, esp. with different padding and margins on different elements, but couldn’t fix the new css. obviously, i’m a newbie at css, but the more i play around, the more i learn. ;)
My temp. fix is to put a bottom padding after the ul text. 20px seems to keep a reasonable bottom padding, but would look much different for a 1-line-comment vs. 4 lines and isn’t ideal. Of course without being able to vertically-center, it’s hard to come up with formatting that’s good whether the comment is 1 line or 4 or 5 lines. Is there a better way to tell wordpress to put space between the image bottom and the widget box bottom? I don’t understand why bottom padding or bottom margin doesn’t work. probably a css syntax error or i need to put a margin on a different element?
Also, a weird quirk I noticed — the admin is underlined (linked) in the comment box but not Recent Comments. Doesn’t matter to me, as I don’t need a link, just thought it was interesting. Maybe I was just playing around with the code and somehow unlinked it. ;)
Finally, I didn’t mention before that I changed the code a bit to base the monster on the name entered instead of email or IP. I hope this didn’t mess up anything else, but seems to work ok.
monsterid_build_monster($comment->comment_author,$comment->comment_author)I’ll get back to you on artistic monster generation after a bit more testing and hopefully more feedback. Thanks again.
ScottS-M | 23-Feb-08 at 12:29 pm | Permalink
The new setup looks pretty good in Firefox except for the slight problem at the bottom. I don’t really know a better way of preventing the overlap besides adding some bottom padding to the
ullike you did. You’re right that it doesn’t look very good in IE. The differences sure can be frustrating. I wonder if perhaps vertical centering is more trouble than it’s worth. Perhaps using a bit of border or background would be a good way to separate the comments from each other? Otherwise, I’ll take a look at IE vertical centering when I get home from this trip.newideal | 29-Feb-08 at 1:15 pm | Permalink
Hi Scott A bit more feedback for you.
My site now has 10 monsters. I cleared the cache and reloaded blog pages, and it is still taking on average 1 page load per monster generated. The page loads through the first monster in recent comments, but the rest of the page is left blank. Reload. The page loads through the second monster in Recent Comments, the rest blank…and so on.
I tried regenerating the monsters both logged in and logged out, and it’s the same. When the page loads, it is getting “hung up” on the next monster generated, instead of continuing to generate or just loading a blank image and finishing loading the rest of the page. It’s true for both Recent Comments images and the regular comments monsters.
Note, after clearing the cache is the only time I’ve had this partially-loading page — it’s never happened any other time working with the blog (I don’t have wp-cache activated yet, and it is slow to load, but usually it keeps trying until it’s done).
Fortunately, my friends or I have never had a problem when leaving a comment as a new user — monsterid seems to do ok with having to generate only 1 monster at a time. That’s the most important thing — that the users don’t get partially-loading pages. I thought the feedback might be useful though.
By the way, I got it working nicely with Alex’s Threaded Comments (an improvement of Brian’s Threaded Comments). Your Brian fix works great on Alex — I don’t know why I couldn’t get it to work initially. I must have been doing something wrong.
Finally, would you say it’s true that the longer the string, the more unique a monster is? So if MonsterID were to randomize “John” “Jane” and “Sue” the monsters would be less unique, compared to sue587atthisemaildotcom and jane43atanotherdotcom? I’m thinking of switching it to randomize on the email, for this reason.
Thanks as always. Hope you had a good trip. :)
avatares unidos | 29-Feb-08 at 1:21 pm | Permalink
quiero ver como funciona el avatar
ScottS-M | 01-Mar-08 at 1:04 pm | Permalink
@newideal
Thanks a lot for the testing. I’m messing around with a possible optimization to speed things up right now (converting images to indexed and then looping through colors but it doesn’t seem like it’ll work). If that doesn’t work, I’ll put in an option to only do 1 monster at a time.
As for randomization, “Jane” gets put into php’s sha1 function which spits out 40 characters between 0-9 and a-f for anything you put in. So any length of input should be ok. The only problem is if you start having two Janes or Johns posting on your site (or on less friendly sites if someone wants to impersonate Jane). So as long as you don’t have duplicate names or impersonators, using the name should be just fine.
And it was a nice trip. Up to Toronto and back so my fiancee could get her Canadian citizenship. Thanks.
manele noi | 06-Mar-08 at 5:40 pm | Permalink
10q 4 it
tommy | 09-Mar-08 at 1:54 pm | Permalink
very cool! this would definitely encourage a community of commenters. i love it.
scott, did you make these monsters? if someone were to, say, change all of them into robots, would you to discourage that?
tommy | 09-Mar-08 at 9:52 pm | Permalink
i guess i should read things entirely before i get excited and post questions, shouldn’t i?
ScottS-M | 09-Mar-08 at 11:00 pm | Permalink
@tommy
Glad you’re excited. Definitely feel free to modify as much as you want. I made about a third of the original monster parts and the rest and the original idea were by Andreas Gohr. The artistic monsters were drawn by Lemm. Anyway feel free to modify the plugin however you want.
If you just want to draw parts and not mess with PHP, you can just replace all the oldlegs, oldhair, oldarms, oldbody, oldeyes, oldmouth parts with your own (robot) parts. The oldbody parts have a random color fill applied at the center pixel to generate random body colors. Or if you want more artistic robots like the new style monsters, you could do the same thing with legs, hair, arms, body, eyes, mouth parts. This would work well with pencil-like shaded sketches (see the parts file for examples). Right now the code is set up a bit specific for the monster parts (e.g. only shades of red for the tongue and lobster claw parts) but this could be easily modified for your own creations. If you want some different ordering/naming/coloring of parts, the code shouldn’t be too hard to modify.
Let me know if I can do anything to help (or if you need a hand with the code) and definitely let me know when you get a final product.
Sue | 10-Mar-08 at 6:39 pm | Permalink
I’d like to test to see what my monster would look like. I’m not sure if I’ll use this feature though. Some of the monsters look kinda cute. I might switch from identicons to monsters. Who knows.
Sue | 10-Mar-08 at 6:45 pm | Permalink
That monster above looks kinda ugly. Let me try a different one.
ScottS-M | 10-Mar-08 at 6:48 pm | Permalink
Ahh how can you call a squid with legs and a giant brain ugly? :)
derleth | 12-Mar-08 at 11:53 am | Permalink
hi, haber quiero ver que cara me muestra xD
tommy | 14-Mar-08 at 11:01 pm | Permalink
@scott
i’m going to make this (the robot thing) my summer project after i graduate college and enter the real world (OH NO!).
ScottS-M | 15-Mar-08 at 1:23 pm | Permalink
That sounds cool. Let me know when you do. And happy (early) graduation.
Stephen | 23-Mar-08 at 12:34 pm | Permalink
just commenting to see what my avatar will look like!
lemm | 29-Mar-08 at 12:24 pm | Permalink
Just letting you know that it works fine in WordPress 2.5!
I’m setting my blog up finally – I’ve been dying to use this plugin. :)
ScottS-M | 01-Apr-08 at 9:50 pm | Permalink
@lemm
I was wondering how it’d do in 2.5. Thanks for letting me know. I need to update this blog (and the plugins) when I get a chance. By the way, your blog looks great. That’s quite a design.
David Collantes | 20-Apr-08 at 9:52 pm | Permalink
Has anyone create more monsters styles? It would be nice to have several types… anyone?
Steven | 22-Apr-08 at 6:35 pm | Permalink
Testing. Grr.
JuggoPop | 23-Apr-08 at 12:32 am | Permalink
nice.
notoriousxl | 23-Apr-08 at 5:41 am | Permalink
I HAVE to see my monster! :D
KarenM | 23-Apr-08 at 8:51 am | Permalink
Rawr!
JalanSutera dot Com | 23-Apr-08 at 9:50 pm | Permalink
Wow… amazing..
John | 28-Apr-08 at 11:37 am | Permalink
Just curious what I look like. Sorry if there’s no information content!
PJ | 02-May-08 at 5:09 am | Permalink
This is so interesting~ Luv it!
Though my main purpose for commenting is to find out how my monster looks like. :P
Kevin | 02-May-08 at 1:03 pm | Permalink
This plugin is very cool! great idea!
Rex | 02-May-08 at 1:04 pm | Permalink
Amazing
Bayounette | 10-May-08 at 5:57 pm | Permalink
I wanna see my monster too ^^
Jerry | 11-May-08 at 1:15 am | Permalink
Sweet!
inirudebwoy | 11-May-08 at 6:40 am | Permalink
Just commenting to se my own monstaaaah ;)
Abi | 11-May-08 at 7:40 am | Permalink
cool plugin! i like it alot.. cheers to monster master!
gio | 15-May-08 at 3:09 pm | Permalink
Monster Master, I have an issue on my weblog and I am wondering if you could help me solve it. I am using the Recent Comments widget that comes with the plugin, but I keep seeing two images (a smaller one, and the standard one) next to each commenter!!
Any suggestions on how to fix that? Thanks!
ScottS-M | 16-May-08 at 9:26 am | Permalink
@gio
Were the double monsters only on the single post pages? I think I just fixed a problem like that with Identicons. I’ll get that fix into Monsterids in the next couple days. Thanks for finding the bug.
Predrag Stojadinovic | 16-May-08 at 1:53 pm | Permalink
Just want to see my monster :D
gio | 16-May-08 at 8:10 pm | Permalink
@scott
yes, they were only on single post pages!
I had to temporarily remove the widget, but I am very glad you are fixing this, as I am planning to reintroduce it. I will be back to check out the fix soon…
ScottS-M | 17-May-08 at 3:04 pm | Permalink
The double monsters on single pages should be fixed now in version 2.11. Let me know if that didn’t fix it.
Klaus | 17-May-08 at 3:47 pm | Permalink
Well – I got it working – of sorts.
While the image is actually generated – in the comment section it appears like this:
I use the latest version of both your plugin and WP.
Thanks in advance!
Klaus | 17-May-08 at 4:11 pm | Permalink
I got it fixed by manually inserting the code into the comment page.
Apparently somehow < got translated to < and messed the automatic insertion up.
rocksea | 17-May-08 at 4:58 pm | Permalink
ngee ngee… i want my monsterrrRRRR
ScottS-M | 18-May-08 at 12:35 pm | Permalink
@Klaus
Looks like wordpress ate your code. If you put it in
<code></code>tags I think it should get translated correctly (here at least).Anyway glad you got it working and nice pictures.
Roganty | 18-May-08 at 2:23 pm | Permalink
Hi Scott,
How do you get monster id working with the built in avatars?
I have the get_avatar() wp function in comments.php, but its only showing the default image not the monster id image.
I have the “My Theme Has Builtin WP2.5+ Avatars” option set in monster id, and I have “Show Avatars” option set in wp->Settings->Discussion Settings
Is there something I’m missing?
Thanks
ScottS-M | 18-May-08 at 6:59 pm | Permalink
@Roganty
You weren’t missing anything. Somehow I thought I had finished that part up but actually hadn’t. Thanks for finding that bug. Built-in avatars should be fixed now in v2.12.
Predrag Stojadinovic | 20-May-08 at 5:13 am | Permalink
I placed this on my site with gravatars but the monsters are not as “pretty” as here :(((
They are MUCH simpler and not so sophisticated!
Is there a reason for this?
I just saw, they look like the heart-monster at the very top of this page!
Roganty | 20-May-08 at 5:14 am | Permalink
@Scott
Thanks, its all working now!
And the monster id’s are even in the comments queue now!
ScottS-M | 20-May-08 at 7:58 am | Permalink
@Predrag Stojadinovic
If you go to the MonsterID Options page (in Settings), you can turn the Artistic Monsters option to Artistic and the Greyscale Monsters option to Color. It takes a bit more processing power (but not too bad) to generate the fancy monsters so I have the plugin default to simple.
damonx | 20-May-08 at 7:53 pm | Permalink
nice script thank you!
ich | 26-May-08 at 8:57 pm | Permalink
testing only…
Dave Brondsema | 28-May-08 at 11:13 am | Permalink
testing
gio | 29-May-08 at 6:51 pm | Permalink
Hi Scott,
The new Recent Comments widget now does not show double images, so that’s fixed. There is a problem, though. If you see my site on Safari (and even this page I am writing on!) the bullet/number points end up being on top of the image, not on the side, as with normal bullet points. On the other hand, this problem does not emerge when using Firefox.
Is there part of the code does not sit well with Safari? Can it be fixed? I am not an expert, so I am just wondering what the problem might be.
ScottS-M | 30-May-08 at 11:43 am | Permalink
@gio
I guess it’s a problem with Safari rendering some css different than Firefox. Different implementations are always fun. I’m downloading Safari now to take look.
ScottS-M | 04-Jun-08 at 9:32 am | Permalink
@gio
It looks like Safari renders its
<ol>counters differently than Firefox. IE does the same thing as Safari (only puts the number behind the image). I tried catching it withlist-style-positionbut that doesn’t seem to work. Now that I think about it a lot of sites seem to be putting avatars on the right. I guess that would be the easiest thing to do. Just changefloat:left;tofloat:right;in the css text box in the bottom of the plugin setting page (or your theme if you edited manually).StefanC | 15-Jun-08 at 6:52 am | Permalink
testing
StefanC | 15-Jun-08 at 6:54 am | Permalink
and a second test
Nightfalcon | 21-Jun-08 at 12:32 pm | Permalink
Testing, what mine looks like.. just like many others did before!
Nightfalcon | 21-Jun-08 at 12:33 pm | Permalink
Yeah, superb, it was caught by Akismet, it seems.
Have to come back then..
http://remont-komplekt.ru/ | 05-Jul-08 at 2:52 pm | Permalink
. .
fred | 07-Jul-08 at 8:06 pm | Permalink
Wonderful idea
Björn Lindström | 14-Jul-08 at 8:05 am | Permalink
Great plugin!
I’m noticing however that the control panel for MonsterID is visible to users as low as contributors. The settings can still only be edited by an admin, but I don’t see any reason it should be visible at all to non-admins. I like to keep the admin panel clean for my writers.
Barbara | 04-Aug-08 at 12:20 am | Permalink
Don’t mind me. Just testing…
Adrian | 22-Aug-08 at 3:08 am | Permalink
But of course…, you know we all have to try this out.
Stewart Dominios | 01-Sep-08 at 3:58 pm | Permalink
Mi Mounstrito
LunaComics | 01-Sep-08 at 3:59 pm | Permalink
el mio??
Katimon | 01-Sep-08 at 4:00 pm | Permalink
Jojolete
chisk | 10-Sep-08 at 4:31 pm | Permalink
I love it.
tim | 10-Sep-08 at 4:32 pm | Permalink
wow! great!
just mike | 10-Sep-08 at 5:11 pm | Permalink
cool!
mike | 11-Sep-08 at 9:54 am | Permalink
… cool!
mike | 11-Sep-08 at 10:13 am | Permalink
very cool…
mike | 11-Sep-08 at 11:49 am | Permalink
thanks for your effort!
Jez | 17-Sep-08 at 10:17 am | Permalink
Cool
Shaun Hargreaves | 19-Sep-08 at 8:57 am | Permalink
Mmm… may use this actually. The new images look good :D
Gabo | 25-Sep-08 at 1:39 pm | Permalink
test
malaussene | 29-Sep-08 at 8:19 am | Permalink
thank you I like them a lot :)
kuba | 29-Sep-08 at 9:20 am | Permalink
nice.
cindy | 25-Oct-08 at 12:19 am | Permalink
Thanks for this awesome plugin!
I wanna see my monster too. :D
alex | 26-Oct-08 at 7:27 am | Permalink
nice.
Jordan | 29-Oct-08 at 12:55 pm | Permalink
Create-a-monster
Dean | 01-Nov-08 at 1:28 am | Permalink
Pretty cool.
Howard | 01-Nov-08 at 1:29 am | Permalink
I’d say so.
Luis | 07-Nov-08 at 10:23 am | Permalink
I wont my monster!
Malaika | 08-Nov-08 at 7:25 am | Permalink
I’m creating a personal website (not wordpress or blogspot). I want to invite friends and family to create accounts and post comments/feedback etc….
Can I use your monsterid images on my site? What do I have to do? Link back to your site? Or just mention you in the credits? (Please, please don’t ask me for money now, I’m so broke!!! I promise to contribute via PayPal or other means as soon as finances get better) ;(
ScottS-M | 08-Nov-08 at 10:37 am | Permalink
@Malaika
Sure you can use them. I think a bit of the code is based around WordPress’s backend so let me know if you have any trouble with it. A mention (to me or the artist Lemm) might be nice but certainly not a necessity.
jyoseph | 12-Nov-08 at 5:33 am | Permalink
Sorry, I’m like the others and just want to see what kind of monster I’d be. Thanks!
ruediger | 20-Nov-08 at 9:19 am | Permalink
Test 12 3 4
pyogazel | 28-Nov-08 at 8:12 am | Permalink
testing too
AngieSS | 01-Dec-08 at 6:42 pm | Permalink
Hopefully I can explain my dilemma properly. I love your monsters btw. My problem is that I’m the blog author and I’m already logged in when I post a comment so it gives me a MonsterID instead of my Gravatar. Is there a way that I can change this or will I need to log out of admin before I post a comment. I would like my commentors to automatically be able to find me by my known Gravatar in the comment section. I’m really slow so if it is something difficult could you explain it like you would to a 5 year old. Thanks. :)
ScottS-M | 01-Dec-08 at 7:10 pm | Permalink
@AngieSS
When you’re logged in in WordPress, WordPress automatically fills in the email form with the email address it has stored. I wonder if your account on your blog has a different email associated with it than the one you use with Gravatar?
To check this, go to the Users tab in wp-admin and see if the email displayed next to angieSS is the email you have your gravatar associated with. If not, you could click angieSS and change the email field to the appropriate email. Or if you like having that email for blog business, you could go to gravatar.com, sign in, click My Account and select Add an Email Address and add the email address from your blog’s Users page.
AngieSS | 01-Dec-08 at 8:06 pm | Permalink
Thank you so much Scott. I can’t believe you got back to me so quickly — I really appreciate it. And you were totally right. I was using different email addresses. All I had to do was go add my admin email to Gravatar and it is working like a charm. You rock! Thanks again. :)
mee | 16-Dec-08 at 10:45 am | Permalink
Want to test this too! :) Great monster generator, thanks :))
avor | 18-Dec-08 at 1:32 am | Permalink
very, very nice.
wonder if it can used on non-wordpress website…
Sorry for my English.
Oremdeers | 19-Dec-08 at 10:24 pm | Permalink
good resourse Anyway by sight very much it is pleasant to me
Jeroen Van Goey | 30-Dec-08 at 6:43 am | Permalink
As a fellow biologist, I just have to try this :-)
Lever | 18-Jan-09 at 1:52 pm | Permalink
What an excellent plugin. Thank you :)
nadia | 23-Jan-09 at 9:41 pm | Permalink
very cute monster!!! love it
Mustafa Aldemir | 25-Jan-09 at 12:59 pm | Permalink
Great job!
lemm | 20-Feb-09 at 10:21 pm | Permalink
Love all the different monsters here. :)
I don’t mind if people link back to me or not. I’d rather people linked back to Scott. :)
Testando | 26-Feb-09 at 11:36 am | Permalink
Testando essa bagaça!
Testando | 26-Feb-09 at 11:37 am | Permalink
Que legal!
Cool!
I love it!
Roganty | 28-Feb-09 at 4:45 pm | Permalink
Hi Scott,
I have found a bug with the url’s generated for using WP_MonsterID with gravatar.
It’s on line 227 of wp_monsterid.php the line reads
$filename = “http://www.gravatar.com/avatar.php?gravatar_id=”.md5($seed).”&&;size=$size&default=$filename”;
The problem is the additional &; which causes the markup to become invalid XHTML
Thanks for a great plugin
nick | 01-Mar-09 at 6:43 pm | Permalink
just want to see my monster :)
np | 28-Mar-09 at 9:15 pm | Permalink
hey, thanks for this
i experimented with this, to backport it to my dokuwiki… found it quite slow (old hardware)… finally i used imagemagicks recolor macro, which is much faster than doing it pixel by pixel… maybe you want to look at it, too
another question: whats the point of your (well done) mersenne prime rand function? as php has mt_rand()
ScottS-M | 28-Mar-09 at 10:19 pm | Permalink
mt_rand doesn’t return the same value for a given mt_srand on all platforms and php versions (neither does rand and srand). If you don’t care about consistency on different hosts then you could just use php’s rand functions. An alternative would be to just cut out pieces from a sha1 or md5 hash which I probably should have done (especially since php doesn’t support big enough ints for the twister).
ScottS-M | 28-Mar-09 at 10:22 pm | Permalink
Also let me know if you post the code and I’ll add a link here.
Host | 04-Apr-09 at 2:41 pm | Permalink
Thanks
ade | 06-Apr-09 at 4:51 pm | Permalink
test
baz | 11-Apr-09 at 6:51 am | Permalink
test
Verious | 01-May-09 at 4:31 pm | Permalink
Very interesting idea.
Keith | 06-May-09 at 9:38 pm | Permalink
haha nice
Nate | 20-May-09 at 7:22 pm | Permalink
Hey, this is pretty cool.
jesus2099 | 05-Jun-09 at 1:18 pm | Permalink
I want to know my face too. (._.?)
Andreas Blixt | 30-Jun-09 at 5:04 am | Permalink
Too bad the updated graphics aren’t used by Gravatars =(
Leszek | 05-Jul-09 at 6:58 pm | Permalink
I bet you must get a lot of test posts like this one
Leszek | 05-Jul-09 at 6:59 pm | Permalink
…and a second one for another email address
Leszek | 05-Jul-09 at 6:59 pm | Permalink
… and a final one for my uni address
eotvizl | 12-Jul-09 at 1:33 pm | Permalink
great job. thx
b1 | 13-Jul-09 at 5:34 am | Permalink
just4fun
JJ | 14-Jul-09 at 6:03 am | Permalink
testing
Juanjo | 15-Jul-09 at 9:09 am | Permalink
testing :)
Juanjo | 15-Jul-09 at 9:11 am | Permalink
The only problem… it renders avatars Sloooooooooooooowwwwwllllyyyyyy :P
Juanjo | 15-Jul-09 at 9:14 am | Permalink
Another mail..
takashi | 27-Jul-09 at 3:26 am | Permalink
Hehe, simply irresistible … I had to see what my inner monster looks like ;)
pedraig | 15-Aug-09 at 6:06 am | Permalink
test
Boris | 19-Aug-09 at 2:26 am | Permalink
tst
Boris | 19-Aug-09 at 2:28 am | Permalink
anothertst
Toma | 26-Aug-09 at 2:51 pm | Permalink
Great plugin
I do have a question: if i choose to redraw the monster parts myself, how do i update the $partOptimization arrays? I saw in your comments it’s not done by hand, but with the help of the “find_parts_dimensions” function.
Can you explain?
Thanks
ernie | 28-Aug-09 at 9:11 pm | Permalink
test
ScottS-M | 02-Sep-09 at 10:25 am | Permalink
@Toma
Just throw your new parts in the
partsdirectory and run the functionfind_parts_dimension(TRUE);and it will give you the php code to replace $partOptimization array. I should probably automate that a bit more.By the way the optimization is only necessary if you’re using fancy hand-shaded monster parts like those made by Lemm and you want to replace the gray-scale shading with color.
sonja | 10-Sep-09 at 3:11 pm | Permalink
where’s ma’ monster :D
Robert Beverly | 18-Sep-09 at 2:11 pm | Permalink
You realize that the very nature of this post ensures that people will be posting comments to draw monsters here for years to come… right? I’m going to give this a try on a site or two. Thank you.
Genry | 24-Sep-09 at 5:55 am | Permalink
I like it! thanks!
rts | 10-Oct-09 at 3:51 pm | Permalink
just curious how i might look like
rts | 10-Oct-09 at 3:52 pm | Permalink
aaah, next try
rts | 10-Oct-09 at 3:52 pm | Permalink
aah that was better, now for this one
rts | 10-Oct-09 at 3:55 pm | Permalink
nice how about this one…
Bruno | 11-Oct-09 at 2:31 am | Permalink
Gimme my monster, gimme!
bucabay | 13-Oct-09 at 8:57 am | Permalink
Lets see my monster!
Magesha | 01-Nov-09 at 7:20 am | Permalink
wow these things are cool! Testing what I will get :)
Magesha | 01-Nov-09 at 7:20 am | Permalink
Testing one more :)
Magesha | 01-Nov-09 at 7:21 am | Permalink
well..
Magesha | 01-Nov-09 at 7:21 am | Permalink
HAHA the last one was funny
Magesha | 01-Nov-09 at 7:23 am | Permalink
last one I promise!
Magesha | 01-Nov-09 at 7:24 am | Permalink
well it seems it doesn’t have to be a valid email. was wondering how you verify the email, anyways, thanks for this awesome plugin!
Edit: u can delete my other comments if u like (sry for the spam)
test | 12-Nov-09 at 6:38 pm | Permalink
It’s very fun
test | 17-Nov-09 at 5:40 am | Permalink
let’s see
awesome | 25-Nov-09 at 5:52 pm | Permalink
hmmmmmm this is awesome
awesome | 25-Nov-09 at 5:53 pm | Permalink
sweet
awesome | 25-Nov-09 at 6:00 pm | Permalink
perhaps this one will be scary
neat | 25-Nov-09 at 6:06 pm | Permalink
wow
DrKlingmann | 17-Dec-09 at 8:56 am | Permalink
good job
PS and test
bing brother | 21-Dec-09 at 8:54 am | Permalink
So basically these “anonymous” identification convert a unique email address or ip address into a picture that is pretty unique too. This seems very close to writing the address on the image itself, as far as privacy is concerned.
Before avatar ids, email addresses and ip addresses were not displayed on sites, now they will be. A commenter will have the same image associated on every web page. As soon as you can find the email address, you can then as well replace the image by a personal information. A single web page will be enough to link an email and an image, and search engines will be quick to automate this search. Maybe there will be plugins for internet browers to display all personal info available when the mouse is hovering the avatar…
Don’t you see the problem coming?
ScottS-M | 21-Dec-09 at 5:34 pm | Permalink
@bing brother
Actually I really don’t see a problem coming. First, blog comments are participation on someone’s personal site. If a blog owner activates avatars and a commenter does not want to comment, that is just fine. Second if you don’t want an avatar associated with your comment use a fake/alternate email. Basically avatars are about as useful as a pseudonym for tracking someone online.
Chris W | 23-Dec-09 at 3:53 pm | Permalink
just wanna see what mine looks like!
Rui Santos | 31-Dec-09 at 3:53 pm | Permalink
Let’s see what kind of monster am I …
Hooonza | 08-Jan-10 at 9:48 am | Permalink
Testing my WP Monsterid – mmm :-)
pangon | 10-Jan-10 at 3:01 am | Permalink
:p
zardoz | 18-Jan-10 at 12:27 pm | Permalink
gotta see it
zardoz | 18-Jan-10 at 12:28 pm | Permalink
again…
Tilian | 20-Jan-10 at 6:20 am | Permalink
Good job on the MonsterID’s. :)
Phil | 24-Jan-10 at 2:34 am | Permalink
Swell!
Dennis | 08-Feb-10 at 9:04 am | Permalink
kuhl!
Asia Travel Guide | 21-Feb-10 at 4:08 am | Permalink
This is the funniest web page I have come across. I am eager to see what Mosnter I get!
Penang Travel Tips | 21-Feb-10 at 5:30 am | Permalink
Ha ha ha, what monster will I get?
henry | 26-Feb-10 at 1:47 am | Permalink
testing my monster….
kstar | 22-Mar-10 at 1:23 pm | Permalink
testing this monstar :P
Steve Castro | 24-Mar-10 at 10:52 am | Permalink
I was surprised how good the monsters look. :) Nice work.
buge | 29-Mar-10 at 12:38 pm | Permalink
I hope I look cool…
pianono | 06-Apr-10 at 3:11 am | Permalink
i’m a pretty monster!
Dan | 13-Apr-10 at 12:49 pm | Permalink
Lets see my monster :-)
jaewoong | 21-May-10 at 2:16 am | Permalink
nice idea!
Regan | 30-May-10 at 5:53 pm | Permalink
Raaawr!
arabisoft | 15-Jun-10 at 6:05 pm | Permalink
Now you can see the real me! :)
farizalfa | 29-Jun-10 at 4:02 am | Permalink
nice idea !!
Melanie | 08-Jul-10 at 5:13 am | Permalink
very cool
Melanie | 08-Jul-10 at 5:14 am | Permalink
Can’t wait to see what I get
Zoonman | 20-Jul-10 at 5:21 am | Permalink
Got to try this :)
Paul Gailey | 05-Aug-10 at 8:47 am | Permalink
oh the possiblities!
Vanessa | 14-Aug-10 at 5:18 pm | Permalink
tada!
Kolja | 14-Aug-10 at 5:19 pm | Permalink
so cool
Kolja | 18-Aug-10 at 6:52 am | Permalink
Are these artistic Monster( part)s released under Creative Commons as well?
perodaktil | 20-Aug-10 at 2:01 pm | Permalink
hi everyone!
farizalfa | 28-Aug-10 at 4:27 am | Permalink
hi everyone
Dale | 30-Aug-10 at 12:05 am | Permalink
Cool, I cant wait to see what monster I am!
Fjxwsxqzz Mulwsjjwt | 02-Sep-10 at 12:09 pm | Permalink
Great! A piece of a monster :-)
vbhfxd | 26-Sep-10 at 11:23 pm | Permalink
wOOOO!!!!
mecaboy | 21-Oct-10 at 7:02 pm | Permalink
lol
perzefona | 27-Oct-10 at 3:51 pm | Permalink
:)
Prague | 10-Nov-10 at 9:22 am | Permalink
Kafkian…
John | 16-Nov-10 at 5:59 pm | Permalink
Just checking out my monster…
Sebastian | 06-Dec-10 at 9:18 am | Permalink
just looking how i am looking …
Flavius | 09-Dec-10 at 5:42 am | Permalink
great for my site!
Bob | 16-Dec-10 at 8:18 pm | Permalink
Hey there! This is cool!
chumpy | 16-Dec-10 at 8:19 pm | Permalink
Yeah this is pretty neat.
chumpy | 16-Dec-10 at 8:22 pm | Permalink
also, i like cheese
Skyknight | 03-Jan-11 at 6:01 pm | Permalink
Critter investigation…
Caleb | 02-Feb-11 at 2:36 pm | Permalink
Found this site browsing another developer’s blog. Looks awesome. Posting to test it out. :3
StackingCash | 09-Mar-11 at 6:14 pm | Permalink
testing
StackingCash | 09-Mar-11 at 6:15 pm | Permalink
testing part 2
nars | 17-Mar-11 at 12:11 pm | Permalink
Just want to check out my monster. :) Anyway, cool plugin! Will give it a try in a future project.
Test | 07-Apr-11 at 3:18 pm | Permalink
Test
Test | 07-Apr-11 at 3:23 pm | Permalink
Testt
antropinus | 21-Jun-11 at 11:12 pm | Permalink
Great idea — I love it! Thanks!
Mike | 01-Jul-11 at 7:42 pm | Permalink
my monster —>
pablo | 05-Jul-11 at 12:20 pm | Permalink
lets test it
pablo | 05-Jul-11 at 12:20 pm | Permalink
removing dot
Doug | 06-Jul-11 at 10:17 pm | Permalink
Awesome. Can’t wait to monster mash my site.
Tom | 15-Jul-11 at 5:43 am | Permalink
Just testing…
Tom | 15-Jul-11 at 5:44 am | Permalink
And my other email address
Michael | 18-Aug-11 at 10:56 am | Permalink
What is it?
Michael | 18-Aug-11 at 10:56 am | Permalink
Lets see how i look like ..
salih | 31-Aug-11 at 9:17 am | Permalink
@ScottS-M
hahaha your monster looks like “sh#t” with some badges on it, literally.
hahaha you made my day.
Prague | 06-Sep-11 at 4:28 pm | Permalink
Lovely monsters! Try to make one like the Prague Golem! ;-)
Jimmy | 02-Oct-11 at 9:19 am | Permalink
Let’s see how i look like ..
Mea | 16-Oct-11 at 4:36 pm | Permalink
Such a shame when these cool identicon classes are made exclusive for WordPress. At least make some so we can use it on our custom cms! Not all people use WordPress you know!
We Design Manchester | 30-Oct-11 at 9:52 am | Permalink
This is very amusing.
Caro | 05-Nov-11 at 7:45 am | Permalink
Thank you very much, ich finally installed this stuff and it looks great!
sz | 01-Dec-11 at 10:35 am | Permalink
Nice!!