Skip to content


Plugin: Sexy Comments v1.4 Released!

Introduction

This has been a long time coming and I am happy to announce the release of Sexy Comments v1.4! With this version comes a lot of changes...so be sure to read the installation section! Along with simple optimizations and general restructure, the following features are now available:

Feature List

  • Ajax comment preview (new feature)
  • Author post highlighting
  • Avatars
    • Either display/hide avatars
    • Select your avatar service of choice (Gravatar and MyBlogLog options are available)
    • Specify maximum avatar dimension (Gravatar Only)
    • Customize default/trackback avatars
  • Comment Reply-To (new feature)
  • Comment Themes (new feature)
  • CSS overriding
  • "Number of Comments" message customization
  • jQuery inclusion toggling

Installation & Upgrading

  1. Download Sexy Comments v1.4 from the WordPress plugin directory
  2. Unzip that little sucker
  3. Place sexy-comments folder in your wp-content/plugins directory (it should look like this: wp-content/plugins/sexy-comments/
  4. Log in to your WordPress plugin admin page and activate the plugin.
  5. In the plugin admin page, click the SexyComments sub-menu.
  6. Customize the settings until you have something that works for you.
  7. Locate your theme's template file that displays comments (typically comments.php). Remove the comment output loop and replace with:
    PHP:
    1. <?php sexycomments::show($comments); ?>

  8. If you plan to use the Ajax features or the Reply-To features, you will need to do two things.
    1. Enable jQuery and jQuery Form Extension via the Plugin > SexyComments administration page.
    2. Locate the template file that contains the comment submission form (typically comments.php near the bottom) and replace that chunk of code with:
      PHP:
      1. <?php sexycomments::form(); ?>

    NOTE: Be sure not to touch the section that generates the form for adding comments! This plugin does not re-create the comment creation form.

  9. Lastly, consider disabling the plugin CSS and taking the example CSS provided and customize it to suit your theme's color scheme.
  10. You should be all set, now! w00t w00t! Go make a MyBlogLog or Gravatar account if you don't already have one and upload an avatar. Gravatar tends to be pretty flakey so I'd suggest using MyBlogLog.

FAQs

  • Q: What is this "comment loop" you speak of?

    A: Ah, yes. That thing. Well, its anatomy looks similar to this (there will be some variation from theme to theme):

    PHP:
    1. <?php if ($comments) : ?>
    2.     <!-- some HTML is typically here -->
    3.  
    4.     <?php foreach ($comments as $comment) : ?>
    5.         <!-- the output HTML of each individual comment -->
    6.  
    7.     <?php endforeach; /* end for each comment */ ?>
    8.     <!--...more HTML -->
    9.  <?php else : // this is displayed if there are no comments so far ?>
    10.     <?php if ('open' == $post->comment_status) : ?>
    11.         <!-- typically a blank area or a place with a comment -->
    12.      <?php else : // comments are closed ?>
    13.         <!-- closed comments section -->
    14.     <?php endif; ?>
    15. <?php endif; ?>

  • Q: Ok...so I just upgraded to a new version and there is nothing in the SexyComments admin page...WTF?

    A: Yeah. Sorry about that. In this version, the directory structure has changed drastically and Sexy Comments should no longer live in wp-content/plugins/sexycomments.php OR wp-content/plugins/sexycomments/sexycomments.php, but instead it should be in wp-content/plugins/sexy-comments/. Make sure that the plugin is in the correct location of your plugins directory.

  • Q: What happened to sexycomments_print($comments)? I used to use that to get my comments to display...will it still work?

    A: Along with a directory structure overhaul, this version had a large code overhaul as well. The old function (sexycomments_print) is deprecated but will still work for the time being. I greatly urge you to move over to the new function call sexycomments::show($comments) as that is the new *impoved* function.

Posted in Blog, Technology.

Tagged with , , , , , , , , , , , , , , , .


243 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. kasjkjr says

    asdas d asd as das

  2. dsf says

    gfhdgdsjdflkgjldjfgljdls fg dfg

  3. Maxi Sanchez says

    Nice i gotta try this one

  4. Cyrus says

    Thanks so much!!!

  5. bobert jones says

    does not seem to work with wordpress 2.6

    fatal error when activating

  6. Jeff says

    Is this really just as sexy as Achmed?

  7. 7162 says

    Are you going to release any further updates or at least maintenance updates?

    I’m afraid of having to drop it :(

  8. morgan says

    hey i dnt rlly kno wut this stuff is about but i saw sexy n thought hey y not bu tyea im probably sexxier than any bitch on theis website so email me at morgan.empkie@yahoo.com buh bye

  9. Dr-Hack says

    WHY WP Admin area is Clumsy

    test .. couldnt get to work

  10. Jeff says

    Great plugin, but I have a problem. I want to disable default css, but the link for “this css code” does not work for me. How can I find the css-code to integrate in my theme?

    I am having the same problem. Can you post the css on your website?

  11. test name says

    test

  12. Will Knot B. Revealed Snr. says

    Sorry I don’t have anything constructive to say – I just wanna test.

  13. Will Knot B. Revealed Snr. says

    Oh dear that didn’t work for me – it reloaded the entire page instead!!! Yes I checked I do have JS enabled.

    Odd.

    Also the form doesn’t, for me at least, remember by name/email.

  14. 虚拟时代 says

    That’s cool! Thanks!

  15. Steve says

    That’s cool! Thanks!

    I think so. Comment as forum post. Really cool. With this plugin I dont think we should need a real forum :D

  16. veresh says

    just checking out

  17. wildgames says

    Let me see!

  18. Chetan says

    Let me see!

  19. Joe The Blogger says

    I’m using it with 2.6.3 and it works fine but I really miss threaded comments. Is there any way to get threaded comments working with sexy comments?

  20. Resim says

    Going to use this plugin…. so its just a test :)

  21. khmer song says

    Will give it a test also, but if you could post a demo version is so great too. ;-)

  22. Psychedelic says

    thanks good

  23. HardCoded says

    Is it possible to allow people to watch the comments or subscribe to them?

  24. ritz says

    very cool

  25. Rob says

    Sorry to clutter up your comments… just looking to see how it works.

  26. Boghdan says

    test

  27. Calvin says

    Testing this comment form

  28. Jim B says

    It’s to bad that development has stopped on this plugin, the author appears to be missing in action.

    I’d like to see an upgraded version with ajax commenting, threaded comments, etc.

  29. GameAlways says

    Looks really nice man

  30. Mali says

    Bloody brillaint plugin! Thanks so so much. you got a link on my site :D

    Mali
    Eatingdesign.com

  31. Mali says

    Bloody brilliant plugin! Thanks so so much. you got a link on my site :D

    Mali
    Eatingdesign.com

  32. dreamjke says

    thanks! nice plugin:)

  33. Mahallo Media says

    Great comment plugin, thanks a lot!

1 ... 3 4 5

Continuing the Discussion

  1. Ahijado’s blog » Blog Archive » WordPress - Nuevos plugins… linked to this post on August 30, 2007

    [...] Sexy Comments. Muestra los comentarios con los avatares de Gravatar. He tenido que hacer algunas modificaciones para hacer que funcione en la disposición de WordPress Multisite que tengo. [...]

  2. Mini Site Update @ REM State linked to this post on October 5, 2007

    [...] an RSS widget up for showing my latest In Series checkins, as well as to do the hacks needed to get Sexy Comments fully installed. Hooray for [...]

  3. Wordpress Plugin.. linked to this post on October 14, 2007

    [...] avatarı görünüyor. Ayrıca bir-iki ufak güzelleştirme de yapıyor bu plugin yorumlarınıza. Sexy Comments Wordpress Plugin sitesi üzerinden dosyayı [...]

  4. Top Wordpress plugins 2007 | blog.merge.nl linked to this post on November 12, 2007

    [...] Sexy comments Als je je commentaar een beetje wil pimpen met gravatars, ajax enzovoorts. [...]

  5. A Blog Into a Social Network For Free Using Wordpress Part 1 » Matts Nutts SEO and Blogging linked to this post on November 19, 2007

    [...] there are numerous plugins out there for adding images to commentators like gravatars and sexy comments but for a social blog you want members to add an image to their profile. Anyone can have a profile [...]

  6. 本博客用的插件、技巧汇总(不断更新) - 一阁Blog - linux、智能手机、网络,所有我感兴趣的技术…… linked to this post on January 10, 2008

    [...] “性感”的评论(gravatar以及论坛式的留言显示风格) [...]

  7. LunaStone Designs » Blog Archive » Sexy Comments linked to this post on March 22, 2008

    [...] Sexy Comments plug-in was brought to my attention when a client, Karen, asked me to install it for her on her [...]

  8. » Sexy comments: Plugin para comentarios con estilo | DigiZen: Un blogfesor aprendiendo linked to this post on May 10, 2008

    [...] hace un tiempo hemos estado experimentando con Sexy Comments, un plugin para WordPress que le añade a los comentarios varias [...]

  9. Trial Templates In Progress » Blog Archive » Sexy Comments linked to this post on June 30, 2008

    [...] Sexy Comments plug-in was brought to my attention when a client, Karen, asked me to install it for her on her [...]

  10. 50+ Wordpress Plugins & Hacks Candy Store | WpBlogHost linked to this post on March 4, 2009

    [...] 37. Sexy Comments Plugin Make your WordPress comment section resemble a forum style discussion. [...]



Some HTML is OK

or, reply to this post via trackback.