Plugin: Sexy Comments v1.4 Released!

[[innerindex]]

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 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 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 if ($comments) : ?>
    	<!-- some HTML is typically here -->
    
    	< ?php foreach ($comments as $comment) : ?>
            <!-- the output HTML of each individual comment -->
    
    	< ?php endforeach; /* end for each comment */ ?>
    	<!--...more HTML -->
     < ?php else : // this is displayed if there are no comments so far ?>
    	< ?php if ('open' == $post->comment_status) : ?>
    		<!-- typically a blank area or a place with a comment -->
    	 < ?php else : // comments are closed ?>
    		<!-- closed comments section -->
    	< ?php endif; ?>
    < ?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.


Comments

298 responses to “Plugin: Sexy Comments v1.4 Released!”

  1. Lon, the problem you are referring to is due to the fact that you have sexy comments in a plugin directory like this: wp-content/plugins/sexycomments
    Change the folder name to be: wp-content/plugins/sexy-comments

    Lon, the problem you are referring to is due to the fact that you have sexy comments in a plugin directory like this: wp-content/plugins/sexycomments
    Change the folder name to be: wp-content/plugins/sexy-comments

  2. hey i want a demo

    Very Good Plugin!

  3. Can the order of the comments be reversed to show the newest comments/replies at the top of the list instead of on the bottom.

    This PLugin does this but it may not work when running sexy comments plugin.

    Here’s the reverse order plugin:
    http://www.zyblog.de/wordpress-plugins/reverse-order-comments/

  4. Thanks for this plug in, but is there a way to make it work with Paged Comments?

    I see this question has already been asked on here, it would be nice if we knew one way or the other.

    Thanks again

  5. Hope that this works out good,

  6. This looks like an interesting plugin. :) thanks!

  7. Very good plugin. I will use it!

  8. kasjkjr Avatar
    kasjkjr

    asdas d asd as das

  9. gfhdgdsjdflkgjldjfgljdls fg dfg

  10. Nice i gotta try this one

  11. Thanks so much!!!

  12. bobert jones Avatar
    bobert jones

    does not seem to work with wordpress 2.6

    fatal error when activating

  13. Is this really just as sexy as Achmed?

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

    I’m afraid of having to drop it :(

  15. 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 [email protected] buh bye

  16. WHY WP Admin area is Clumsy

    test .. couldnt get to work

  17. 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?

  18. Will Knot B. Revealed Snr. Avatar
    Will Knot B. Revealed Snr.

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

  19. Will Knot B. Revealed Snr. Avatar
    Will Knot B. Revealed Snr.

    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.

  20. That’s cool! Thanks!

  21. 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

  22. just checking out

  23. Let me see!

  24. 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?

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

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

  27. HardCoded Avatar
    HardCoded

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

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

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

  30. Testing this comment form

  31. 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.

  32. Looks really nice man

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

    Mali
    Eatingdesign.com

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

    Mali
    Eatingdesign.com

  35. thanks! nice plugin:)

  36. Great comment plugin, thanks a lot!

  37. cxv

  38. Hmmm.. Sexy Comments are working fine on my single.php page, but on my index.php page it always says “No Comments” instead of how many comments there actually are. Can anyone help me out with this?

  39. datawr Avatar
    datawr

    test

  40. peter chan Avatar
    peter chan

    hello, just a test

  41. testing