• Based on work by Joen and Paul, I have put together a Favicon Plugin.

    Why not use Joen’s, you might ask? It kills your page load times – a failing he acknoledged. This plugin avoids that.

    There is a trade off, this plugin will increase the time it takes for a user to post a comment, but we’re talking, 2-3 seconds. Perhaps a version or two down the line I can eliminate that slow down as well.

    Anyway, here’s what it does:

    Place a customer “favatar” next to each users comment. Favatars are based on a users favicon. (Read more about this in Joen’s post.)

    When a user posts a comment, the script kicks in. If they have entered a URL, the script will attempt to download the HTML page from that url. With that HTML page, it will extract the “src” attribute from the “link” element. (If no link element exists, then the favicon URL is guessed)

    At this point, the plugin will actually ping the favicon url to see if we got it right, then upon success store that URL in the ‘comments’ table.

    Useage is very simple: just add <?php comment_favicon(); ?> inside your comment loop just link any other comment template function. All set!

    Download Favicon-Revised

    Let me know if you use it.

    Also, I hope to create a “catch up” function that will allow you to scan all previous comments and run the script on them to generate favatars for them. Expect that later.

Viewing 12 replies - 16 through 27 (of 27 total)
  • It works in the browser. And when bookmarked in IE. It’s not working as a favatar. When I comment on my own site, my favicon isn’t found. I ran phpmyadmin and edited all my old comments and added the favicon url but any new comments it’s still not added. You can test it out at https://aphotolog.com

    Chris,

    Try disabling all plugins but the favatar plugin. If the favatars work after that, then it’s a conflict with another plugin.

    Before I posted that it wasn’t working, I did that. It works on one WP install and not the other. The set ups are the same. They are even on the same server.

    Hi!

    I’m not sure if this has been asked or not … but would it be possible to have the next version ignore any comments in the database marked as spam?

    Thanks! ??

    would it be an idea to use this as well with the links/blogroll part of wordpress?

    Has anyone else found that this plugin has stopped working after upgrading to WP 1.5.1 ?

    it’s working just fine ??

    Thanks for your reply.

    It’s stopped working on my two sites after the upgrade. Guess it’s back to more investigation.

    yeah im still using 1.5 and the admin page doesnt work for me, just comes up blank in the content area and only shows the wordpress logo/ff logo etc…

    so I have no way of running the favatise script.. (that I can figure out, I see in the code I’m supposed to be seeing a form there)

    it doesn’t work for me now after upgrade and it worked before. odd. i also do not have the admin->option menu.

    i have no admin>Option menu either

    Check this site: https://www.myfavatar.com/

Viewing 12 replies - 16 through 27 (of 27 total)
  • The topic ‘Favatar-Revised Plugin Released’ is closed to new replies.