Skip to content


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:
    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 , , , , , , , , , , , , , , , .


298 Responses

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

  1. josh says

    test

  2. Michael says

    Hello,

    jsut a test comment to if your plugin works

    regards
    mike

  3. Samara says

    The comment preview does not work.

  4. purba says

    Thank for your plugins. Very useful

  5. Pedro says

    thanks for the plugin

  6. Luna says

    My apologies if this was asked & answered, but I’ve been looking for help on this for 2 hrs… I can not get the default.gif to show up when I choose Gravatar… I just get the alt=”Avatar ” text

    How do I fix this?

    Page: http://lunasrealm.com/trial/?p=1

  7. Lara says

    is this a sexy comment?

  8. ubocek says

    thanks I working http://www.ucretsiztarot.com or http://www.kompozisyonornekleri.com my web site .Thakns :)

  9. 134534 says

    пвапвап

  10. medyum says

    thanks I working http://www.falbakma.com web site .Thakns :)

  11. fallar says

    thanks I working http://www.falbakma.com or http://www.medyumyorumcu.com my web site .Thakns :) hmm. good info thanks..

  12. Testing this plugin says

    Okay, let’s take a look!

  13. IAman says

    Test!

  14. gunz says

    how it works..

  15. picaboo says

    that seem fine

  16. Ed says

    Does this support threaded comments?

  17. Erica M says

    I couldn’t get the example CSS to load from the admin page. Can you provide the code here? Thank you!

  18. Krasen Tomov says

    Just testing the plugin

  19. Nick says

    This is a test comment@

  20. Infographiste says

    Thank for your plugins. Very useful ! have a nice week mate

  21. TV Infomercials says

    This looks like a good comment plugin, will be trying it out.

  22. Free Trials says

    Was hoping to see an example of this plugin on this page but… I guess I will have to check it out on my blog to see how it works. Thanks.

  23. Andy says

    Another test

  24. Jaycee says

    just tesing :)

  25. Jaycee says

    wanna try this plugin :) thank you

  26. lawl says

    just another test communt

  27. godkid says

    testing a comment

  28. aaaa says

    does this work??

  29. Cassandra says

    This is a test to demo your comment plugin

  30. kreker says

    testing

  31. x says

    test

  32. cyp says

    test

  33. http://www.free-motor.blogspot.com/ says

    people good money

  34. Anutter Tester says

    another tester

  35. Eric says

    Wow, thanks, I will try!

  36. Ralev Brand Services says

    looks like a nice plugin

  37. sasa says

    sfa

1 ... 4 5 6

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. [...]

  11. Bomb Ass Wordpress Plugins « ANGIEGOBOOM.COM linked to this post on February 3, 2010

    [...] Sexy Comments I just got this one recently to make my comments function and look more like a message board. Its much more response friendly now. Nice and easy and very useful. [...]



Some HTML is OK

or, reply to this post via trackback.