Showing posts with label Blogger. Show all posts
Showing posts with label Blogger. Show all posts

Blogger Under Posting Comment box

Posted by wardiwira

Now, blogger(blogspot) have developed their comment box. Last time ago, if we want to post a comment there should be only a link under our posting, and we have to click the link send a comment, it's not interesting. But now we can find a comment box under our post exactly. It's original from blogger, it's not like haloscan or intensedebate. But it's truely from blogger/blogspot. You can see it under this post.
Here is the trick to create comment box under your post.

1. Login to http://draft.blogger.com
2. Go to Setting-->Comments. then change "Comment Form Placement" to be "Embedded below post"
3. Then "Save Setting"
Try to see your blog and klik on your titile post. if there is a embadded commnet box below your post just stop this step here. But if there is no comments box, just follow the next steps here.

4. Go to "Layout-->Edit HTML"
5. Check the "Expand widget templates" box.
6. Find this code :

<p class='comment-footer'>
<a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'>
<data:postCommentMsg/></a>
</p>
</b:if>

7. Then replace it with this code :

<p class='comment-footer'>
<b:if cond='data:post.embedCommentForm'>
<b:include data='post' name='comment-form'/>
<b:else/> <b:if cond='data:post.allowComments'>
<a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'>
<data:postCommentMsg/></a>
</b:if> </b:if> </p> </b:if>

8. Save your Template.

I've deleted my last comment box (haloscan). so now I lost all of my comments before. I do it to get this comment box.
Baca Selengkapnya »»» Blogger Under Posting Comment box

Show Recent Comments

Posted by wardiwira

It's very usefull to Show Recent Comments on main blog page. We can know who have given comments on aur articles without open it one by one. At this time I will show you how to show recent comments on our main page blog. It's very easy


1. Login to blogger then go to "Layout"
2. Then copy this code :


<span class="fullpost">&lt;script style="text/javascript" src="http://kendhin.890m.com/comments.js"&gt;&lt;/script&gt;&lt;script style="text/javascript"&gt;var a_rc=<span style="color: red; font-weight: bold;">8</span>;var m_rc=false;var n_rc=true;var o_rc=40;&lt;/script&gt;&lt;script src="http://<span style="color: red; font-weight: bold;">trick-blog.blogspot.com</span>/feeds/comments/default?alt=json-in-script&amp;callback=showrecentcomments"&gt; &lt;/script&gt;</span> </div>

- The 8 number is the sum of comments that will show up.
- Change trick-blog.blogspot.com with your blog's name.

3. You can show it in page elements. Just click on "add page elements --> HTML/Javascript" Then insert the script in it.
Baca Selengkapnya »»» Show Recent Comments