Add ‘Top commentators’ widget for blogger.

PhotobucketComments is best way to increase your traffic and page rank.Mostly the blog visitors make post use for their blogger or website.They will not share 5min for commenting after reading valuable post.so many bloggers announce the reward system program by awarding prizes to top commentators.you to increase the traffic by adding reward system to blogger as heading as ‘BEST COMMENTATORS’ or ‘TOP COMMENTATORS’ and reward for the specific period time like weekly,monthly etc.Display top commentators at the sidebar or any way in your blogger.


To add this top commentators widget to blogger add this below codes.
Part1
Login to blogger->> Design(page elements) or layout->>
Add a gadget->> Html/java script
Add a below code in the Html/java script  box
<script type="text/javascript">
function pipeCallback(obj) {
document.write('<ol>');
var i;
for (i = 0; i < obj.count ; i++)
{
var href = "'" + obj.value.items[i].link + "'";
if(obj.value.items[i].link == "")
var item ="<li>" + obj.value.items[i].title + "</li>";
else
var item = "<li>" + "<a href=" + href + ">"
+ obj.value.items[i].title + "</a> </li>";
document.write(item);
}
document.write('</ol>');
}
</script>
<script src="http://pipes.yahoo.com/pipes/pipe.run?_render=json&_callback=pipeCallback&

_id=7b5e76fd684f11e94320abd4e00fbbca&url=http%3A%2F%2FYOUR-BLOG-URL&num=5&filter=Anonymous" type="text/javascript"></script>
<br/><small><a style="align:left;" href='http://modifymyblogs.blogspot.com/>Top Commentators Widget</a>
| <a style="align:left;"
href='http://modifymyblogs.blogspot.com/'>Modifymyblogs</a></small>
save and done.
Part2
1.Change the YOUR-BLOG-URL to your site url.
(Ex:-http%3A%2F%modifymyhome%2Fblogspot%2Fcom)
2.Change num=5 as you like(number of top commentators to show).
3.Change Anonymous to according to your blog comment settings.
4.save gadget and you are done.

3 comments:

  1. Hello
    I tried to install the widget. Thera are no problems with the instalation but in my site I can see only "Modifymyblogs" and nothing else.

    Whats my fault?

    Greatings from Germany
    Karmesin

    ReplyDelete
  2. now upadated the widget code try now its work on your site

    ReplyDelete

Please comment the message if you like post or any trouble