Wednesday, January 25, 2012

Threaded Comments for Blogger Blogs (Custom templates & Blogger templates)

The Blogger has announced the Threaded comment style commenting widget for official blogger based blogs, which now makes the commenting style much simpler and easier to differentiate direct comments for the post and reply comments for a comment.





The Threaded comment activation for the blogs are different for both blogger based templates and custom blogger templates.The following steps are required to enable threaded comments in the Blog


For Official Blogger Templates ---->

Enabling threaded comments in official blogger templates is much easier and simpler and can be done by just enabling the blogger feed to full and embedding the comment form below posts automatically enables the threaded comments in the blog.

To check or change the settings in Draft.blogger.com view select: Settings > Other >, and then Full from the Allow Blog Feed dropdown

To check or change the settings in blogger.com view select: Settings > Site Feed >, and then Full from the Allow Blog Feed dropdown





To check or change the comment form settings in draft view select: Settings > Posts and Comments, and select Embedded from the Comment Location dropdown.


To check or change the comment form settings in normal view select: Settings > Comments, and select Embedded below post in comment form placement option.





With the above steps done the reply link can be seen below the comments and threaded comment action takes place with replies to comments automatically in official blogger templates.

More info can be found out about this in google support.


For Custom Blogger Templates --->

As most of the blogger users use custom templates and not the default blogger based templates depending on their uses so the threaded comments for custom templates doesn't get active after following the steps for enabling threaded comment form like mentioned for default blogger templates.

Enabling of threaded comments widget for custom blogger templates requires a additional steps after following the steps of that mentioned by blogger or mentioned here above in official blogger templates. Here HTML code must be added(or replaced) for the threaded blogger comment widget to work.

The step by step procedure are

1) Follow the above steps mentioned for official blogger templates
2) Then Design > Edit HTML
3) Expand Widget Templates
4) Download Full template (As a precautionary measure before editing)
5) Search for the following Codes

Code 1


<b:if cond="data:blog.pageType == "item"">
<b:include data="post" name="comments">
</b:include></b:if>


and

Code 2


<b:if cond='data:blog.pageType == &quot;static_page&quot;'>
<b:if cond='data:post.showThreadedComments'>
<b:include data='post' name='threaded_comments'/>
<b:else/>
<b:include data='post' name='comments'/>
</b:if>
</b:if>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<b:if cond='data:post.showThreadedComments'>
<b:include data='post' name='threaded_comments'/>
<b:else/>
<b:include data='post' name='comments'/>
</b:if>
</b:if>


6) Now Replace the Code 2 with Code 1 while keeping the Code 2 which appears before Code 1 untouched.

7) Save your Template.

Now Visit the Blog, The reply links are found for each comments and threaded comment widget is been activated in the blog and threaded replies can be posted for comments in the blog .

Finally if one has applied The threaded comment on to their blog and want to remove it, then they can must follow till step 4 and in step 5 they must search for Code 2 which will appear twice. replace the code 2 with Code 1 the 2nd time Code 2 is appearing which will remove the threaded comment feature. If finding out Code the 2nd time becomes confusing then just replace Code 2 both the times also with Code 1 to make the stuff removed.

Note: The disadvantages of present form of blogger threaded comment is that author comments cannot be highlighted, custom smiley's cannot be activated, comment cannot be numbered and so on and this minor problem can be fixed with change in the code which is inserted by blogger automatically while enabling threaded comments and will come up with a solution for all these things very soon in the blog so that customized threaded comments will be better and used. This is the main reason Tipsntweaks is not using threaded comments as of now in its blog but will use it customized threaded widget shortly which is gonna be posted on the blog very soon.

Any Queries or Questions regarding the trick use the comment form below.
Digg Facebook Tweet this reddit Mixx StumbleUpon Technorati Yahoo! Buzz Google Buzz Delicious BlinkList Google Bookmarks DesignFloat Diigo Blog Engage Hacker News Friend Feed Faqpal Dzone Tipd Propeller Slashdot

1 comments: on "Threaded Comments for Blogger Blogs (Custom templates & Blogger templates)"

Anonymous Reply to comment said...

I hate to be a bother but I really don't understand the code 1 code 2, replace code 1 with 2 whilte keeping 1.... thing. Any simpler way to explain it so my dodo brain can figure this out? Thanks so much!

Post a Comment
:a   :b   :c   :d   :e   :f   :g   :h   :i   :j   :k   :l   :m   :n   :o   :p   :q   :r   :s   :t