Top Commentator Widget For Blogger

Here is the code (original pipe and codes provided by BloggerSentral, date limit feature by Pehpot’s husband, edited by moi, long-winded [but NOT boring!] story HERE) that you can use to display the top commentators of your Blogger blog and give some some love to people who love you the most. The features?

  • It ACCURATELY displays the top commentators from the last FIVE THOUSAND (5000) comments of your blog.
  • You are allowed to exclude THREE commentators of your choice (Anonymous is already excluded).
  • You can set the number of names to display on your sidebar and commentators’ links are linked to URL provided.
  • You can set the date for inclusion and exclusion (i.e. you want the list to show ONLY the top commentators for the whole month of January).
HOW TO INSTALL THE TOP COMMENTATORS WIDGET ON YOUR BLOGGER BLOG:
  1. Go to Layout and click Add a Gadget.
  2. Choose HTML/JavaScript.
  3. Copy and paste the below codes on the HTML/JavaScript gadget.
  4. <script type="text/javascript">
    function getYpipe(feed) {
     document.write('<ol>');
     var i;
     for (i = 0; i < feed.count ; i++)
     {
     var href = "'" + feed.value.items[i].link + "'";
     if(feed.value.items[i].link == "")
    var item ="<li>" + feed.value.items[i].title + "</li>";
    else
    var item = "<li>" + "<a href="+ href + '" target="_blank">' + feed.value.items[i].title + "</a> </li>";
     document.write(item);
     }
     document.write('</ol>');
     }
     </script>
     <script src="http://pipes.yahoo.com/pipes/pipe.run?
     YourBlogUrl=http://YOURBLOGNAME.blogspot.com
     &ExcludedNick1=NAME1
     &ExcludedNick2=NAME2
     &ExcludedNick3=NAME3
     &ShowHowMany=10
     &ExcludeCommentsBefore=SET START DATE HERE (i.e. 01-01-2010)
     &IncludeCommentsBefore=SET END DATE HERE (i.e. 01-31-2010)
     &_callback=getYpipe
     &_id=932ec72eca30a5b8a83365f4eb4349cd
     &_render=json"
    type="text/javascript"></script>
    
    <center><a href="http://wahmaholic.com/2010/02/top-commentator-widget-for-blogger/">GET YOUR OWN TOP COMMENTATOR WIDGET!</a></center>

    HOW TO COPY CODE: Click on the “view plain” text in the upper left corner of the code box ABOVE (see screenshot below). A window will pop up. Just Hit Ctrl+A and Ctrl+C to copy the entirety of the codes.

    Top Commentator Widget For Blogger

  5. Edit the following parts of the code above to reflect your own settings (ONLY the below settings, nothing more):
  6. YourBlogUrl=http://YOURBLOGNAME.blogspot.com
    &ExcludedNick1=1ST name to exclude
    &ExcludedNick2=2ND name to exclude
    &ExcludedNick3=3RD name to exclude
    &ShowHowMany=Number of people to show in the list, i.e. 10. Default is 10.
    &ExcludeCommentsBefore=Start date
    &IncludeCommentsBefore=End date

  7. Don’t forget to type in an appropriate title in the gadget box, i.e. Top Commentators or They Love Me Most, whatever floats your boat.
  8. Hit the delicious orange SAVE button.

That’s it! Easy-peasy, huh? And yes, this widget IS as ACCURATE as it can get, all thanks to Greenlava and Pehpot’s husband. I cannot thank you both enough! You’re a love! I know I have just given you readers the biggest headache of all with my tutorial, so for any questions, feel free to comment below!

32 Commentaholics Replied

  1. niko on February 24, 2010 shared... {#}

    weeeeeehh galing!! matry nga to pag nagpacontest ako hahah

    • mommy kaye on February 24, 2010 shared... {#}

      go! :haha:

      • niko on March 2, 2010 shared... {#}

        sasali ka?? lol nmn. mkta ko pa lng contest nio parang di ko kkkayanin sarili kong contest eh hahaha

  2. genefaith on February 25, 2010 shared... {#}

    i’ve used this one na marce in her and History and I plan to install this one in all my blogs:)

    • niko on March 2, 2010 shared... {#}

      buti ka pa naumpisahan mo na.. ako kelan kaya.. waaaaaaah. i need more time kulang ang 24 hrs a day hahaah

  3. redamethyst on March 5, 2010 shared... {#}

    ay meron din pala nito dito. balikan ko ito after ng contest, para mainstall ko na rin sa blogger ko :lol:

  4. sherry on March 14, 2010 shared... {#}

    I think now the comments at your blogs and Pehpot are even more

  5. Clarissa on March 30, 2010 shared... {#}

    Thanks for the codes dear!You’re a heaven sent!Installed them at my site kaya lang kasali ang name ko–pano yun?

  6. redamethyst on May 6, 2010 shared... {#}

    question, ano un ipapalit dito?

    1ST name
    2ND name
    3RD name
    o wala na?

    • K on May 6, 2010 shared... {#}

      yung name ng gusto mong wag maisama sa list. normally, it would be the name of the author as it would make no sense if you include your name on the top commentator’s list. :smile2:

  7. redamethyst on May 6, 2010 shared... {#}

    ay you are there pala. heheh. for blogspot lang talaga sya noh, di pwde pagmay sariling domain? pero sa blogger pa rin?

    • K on May 6, 2010 shared... {#}

      pwede sya actually. i think pehpot’s using it in one of her blogs on blogger na may own domain :nod:

  8. redamethyst on May 6, 2010 shared... {#}

    haha ayun lumabas na. may mali lang pala akong ginawa. salamat. :)

  9. levy on May 11, 2010 shared... {#}

    Sis, patulong naman bakit walang lumalabas ng commentor sa site ko tama ba gawa ko? o dapat ba mag-antay pa ako ng bagong comment bago sa mag appear?

    thanks!

    YourBlogUrl=http://livinglifetodfullest.blogspot.com/
    &ExcludedNick1=Levy to exclude
    &ExcludedNick2=Levy to exclude
    &ExcludedNick3=Levy to exclude
    &ShowHowMany=10
    &ExcludeCommentsBefore=SET START DATE HERE (i.e. 01-01-2010)
    &IncludeCommentsBefore=SET END DATE HERE (i.e. 12-31-2010)

    • K on May 11, 2010 shared... {#}

      try replacing your code above with this:

      YourBlogUrl=http://livinglifetodfullest.blogspot.com/
      &ExcludedNick1=Levy
      &ShowHowMany=10

      alisin mo na yung mga hindi mo need na parameters (like the date limit) if you are not planning to use it. lemme know how it goes.

  10. levy on May 11, 2010 shared... {#}

    sis, ito yung html code ng Top Commentator, wala pa din nagbago tinanggal ko na yung date at ibang di kailangan.. what seems to be the problem kaya? huhuhu!

    function getYpipe(feed) {
    document.write(”);
    var i;
    for (i = 0; i < feed.count ; i++)
    {
    var href = "'" + feed.value.items[i].link + "'";
    if(feed.value.items[i].link == "")
    var item ="” + feed.value.items[i].title + “”;
    else
    var item = “” + “‘ + feed.value.items[i].title + “ “;
    document.write(item);
    }
    document.write(”);
    }

    GET YOUR OWN TOP COMMENTATOR WIDGET!

  11. levy on May 11, 2010 shared... {#}

    YourBlogUrl=http://livinglifetodfullest.blogspot.com/
    &ExcludedNick1=Levy
    &ExcludedNick2=Levy
    &ExcludedNick3=Lev
    &ShowHowMany=10
    &_callback=getYpipe
    &_id=932ec72eca30a5b8a83365f4eb4349cd
    &_render=json”
    type=”text/javascript”>

    GET YOUR OWN TOP COMMENTATOR WIDGET!

    • K on May 11, 2010 shared... {#}

      i’ll send you the codes sa email. i already edited it to fit your blog. lemme know.

  12. Mel Cole on May 21, 2010 shared... {#}

    Thanks for sharing this. I had a hard time trying to find the right code for it and I am so happy to find yours. Will share your link in my post and got you linked in my blog too. :night:

    • K on May 21, 2010 shared... {#}

      hi mel! it’s good to know you found this useful :hug:

  13. Bambie on June 5, 2010 shared... {#}

    thanks for this.. i needed this buti na lang nakita ko, i want to feature my top commenters monthly kaya pa-grab =)

    • K on June 6, 2010 shared... {#}

      sureness fab mommy :)

  14. chubskulit on June 5, 2010 shared... {#}

    Hi Kaye, sowi I am not techy hehehe, dapat ba kasama yung numbers?

    • K on June 6, 2010 shared... {#}

      what numbers mommy rose? hihi. lutang ako. haha!

  15. Sattarmalik on June 14, 2010 shared... {#}

    Thanks but can you tell that where can I find sites having top commentator widgets

  16. Cecile on June 16, 2010 shared... {#}

    thanks for sharing this code; have installed it in all my six blogs :-)

  17. Anne on June 19, 2010 shared... {#}

    hi! just have followed ur site… tried installing this widget to mine but i don’t what seems to be d problem… it didn’t work… :(

  18. tatess on June 19, 2010 shared... {#}

    hi k, been trying to get a top commentator widget but still not successful. can you help me out. sinunod ko naman yung mga nakasulat. thanks

  19. tatess on June 19, 2010 shared... {#}

    thank you k .i figured out how to do this already. got mine now.

  20. Lisa on July 6, 2010 shared... {#}

    I am using it now. Pero I wonder kung bakit parang nasa center yung mga names :coffee:

  21. charmie on July 7, 2010 shared... {#}

    I try to install now. I hope it will be successful. Thanks for this post!

  22. bonz on July 9, 2010 shared... {#}

    grabeh, i’m looking for these codes… last week pa ata.
    buti na lang meron ka!
    thanks a bunch! :nod:

Leave a Comment




:angel: :angry: :baby: :bday: :biggrin: :blank: :bleh: :blush: :candy: :celebrate: :cheeky: :coffee: :confused: :cool: :cry: :cry2: :cupcake: :cute: :dazed: :dazed2: :dead: :devil: :diao: :drink: :eat: :evil: :exclaim: :exclamation: :fucku: :gift: :grin: :grrr: :haha: :heart: :hearteyes: :hug: :huhu: :idea: :inlove: :kiss: :kiss2: :kiss3: :lol: :love: :mail: :me: :music: :nailbite: :night: :nod: :nono: :omg: :poo: :pizza: :question: :question2: :rain: :rainbow: :sad: :sheepish: :shocked: :sick: :sleepy: :slow: :smile: :smile2: :star: :stars: :strawberry: :thumbsup: :tongue: :travel: :tv: :umbrella: :upsidedown: :warning: :whew: :wink: :wink2: :wow: :write: :wtf: :wth: :yay: :yum:
« Older Entry:
» Newer Entry:

Adgitize Me

About

About Me Picture
My name is kAyE Mendez. Born and bred in the Philippines, I live together with my bestfriend and hubby Paulie and our piglet Svetlana in the beautiful city of Baguio. I am a freelance writer and Blogger/WordPress blog designer. I also do a lot of other stuff online that I will just categorize as miscellaneous, as I'm sure you have read of it one time or another if you are an avid follower of my blogs. If you aren't a follower yet, then yes, that was a shameless ploy to get you to follow me. MORE ABOUT ME... »