Friday, June 29, 2012

Blogger: Threaded Comments/Continuous Reply On Blogspot

Finally, God never disappoints the studious. I found it!!! yay~
Most of bloggers are still using  @XXX  method, which popup in a new window.

But I found the more convenient method about comment replies as shown below:

I decided to keep these as a record by posting it. Half the day is gone, just because of this threaded comments method =.=  So funny right? Anyway, I am here showing the easiest way to add this threaded comments into your blogspot.

1) There are 2 main settings you should change to display threaded/continuous comments in your Blogger site:

a. Ensure your Blog Feed are set to  "Full"  in  Settings > Other

b. Choose to "Embed" your comment form below your post in Settings>Posts and Comments
Then, save settings.

2) Next, go to Template and click the Edit HTML button.
On the warning page, choose to proceed, then make sure you have checked the "Expand Widget Templates" box.

3) Now search for the following line of code:

<b:include data='post' name='comments'/>

If your template does not include this line of code, chances are you're already using an updated Blogger template and do not need to proceed any further.

4) If you do find the above line of code, replace it with the following:
<b:if cond='data:post.showThreadedComments'>
  <b:include data='post' name='threaded_comments'/>
  <b:include data='post' name='comments'/>

5) Preview your template to ensure you haven't made any mistakes in pasting the code, and if all is well, save your template!

Now when you view a post's comments section, you should see a "Reply" link beneath any existing comments. When you reply to a comment, a comment form will appear under the comment you are responding to, and your responses will appear beneath.

The only disadvantage of this comment style: Cannot popup in a new windows :((  especially friends profile name. Hence, please always be aware to
Right Click --> Open a new tab/ window.

Reference: Specially thanks to  BloggerBuster

Thursday, June 21, 2012

Newest Version: Related Posts Link for Blogger

I believe that some of the users would prefer a more simple and clean related posts link version that shows only blogger posts titles, just like me :))  Finally, I found this useful and simple version!  Let's see the screenshot below:

How To Add Related Posts Link For Blogger
1) Log in to Blogger. Go to Design  -->  Edit HTML and tick the  "Expand Widget Templates" checkbox.

2) Find this line.  


3) Just above it, paste the following code:

<!--Related Posts Scripts and Styles Start-->
<!--Remove--><b:if cond='data:blog.pageType == &quot;item&quot;'>
<style type='text/css'>
#related-posts {
background: #F8F8F4;
#related-posts .widget{
background: #F8F8F4;
#related-posts .widget h2, #related-posts h2{
background: #F8F8F4;
font-size: 1.6em;
font-weight: bold;
color: black;
font-family: Georgia, &#8220;Times New Roman&#8221;, Times, serif;
margin-bottom: 0.75em;
margin-top: 0em;
padding-top: 0em;
#related-posts a{
#related-posts a:hover{
#related-posts ul{
background: #F8F8F4;
margin:0 0 0px 0;
#related-posts ul li{
background:#F8F8F4 url(
http://1.bp.blogspot.com/-6GF9fgpet6w/T32sEcBZ-OI/AAAAAAAABoI/h-s1A0uN1SE/s1600/bullet.gif) no-repeat ;
margin-bottom: 3px;
padding-left: 30px;
<script type='text/javascript'>
var relatedpoststitle=&quot;Related Posts&quot;;
<script src='http://helplogger.googlecode.com/svn/trunk/related_posts.js' type='text/javascript'/>
<!--Related Posts Scripts and Styles End-->

4)  Find (CTRL + F) this line:

<div class='post-footer-line post-footer-line-1'>

If you can't find it, try finding this one:

<p class='post-footer-line post-footer-line-1'>

5) Now immediately after any of these lines (whichever you could find) place the code below:

<!-- Related Posts Code Start-->
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div id='related-posts'> <b:loop values='data:post.labels' var='label'> <b:if cond='data:label.isLast != &quot;true&quot;'> </b:if> <b:if cond='data:blog.pageType == &quot;item&quot;'> <script expr:src='&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels&amp;max-results=6&quot;' type='text/javascript'/></b:if></b:loop>
<script type='text/javascript'> var maxresults=5; removeRelatedDuplicates(); printRelatedLabels(&quot;<data:post.url/>&quot;); </script> </div> <!--Remove--></b:if> <!-- Related Posts Code End-->

Note: In order to change the number of maximum related posts being displayed for each label, search for the code max-results=5 and change the number "5" to any desired number.

6) Save Template

That's all !  Have a nice day!!
Reference: Specially thanks to helpblogger

Friday, June 15, 2012

Are you getting Depression? Let's take this test!

Depression is a major concern today. Depression is the most common mental health disorder in the world. What is depression? Generally, it may be described as feeling sad, blue, unhappy, miserable, or down in the dumps. Most of us feel this way at one time or another for short periods. Sometimes, it's not always evident when somebody is depressed. Everyone handles depression in different method. But if you choose not to share your feelings, it could make the depression to get worse and worse. Nowadays, people are depressed for so many reasons. Losing a loved one, exams, drugs, alcohol or peer pressure are a few examples of why people become depressed.

However, I believe that the significant factor for suicide starts from "depression". Hence, we cannot neglect the impact of depression. Most people will choose self-medication to treat mental illness, stress and depression. Self-medication is often seen as gaining personal independence from established medicine. Maybe it's helpful, but it's not as effective as the combination of counselling and medication. If your self-medication discontinued, depression will return back. What is counselling? It is involved in talk therapy which you talk about your feelings and thoughts, and pyschologists will help you learn how to deal with them so that you can change your behaviours and thoughts substantially.

As the saying goes, 'Prevention is better than cure.' It is the most important section to outline the prevention method for depression. Firstly, do not drink alcohol or use illegal drugs. These substances can make depression worse and might lead to thoughts of suicide. Next, take your medication exactly as your doctor instructed. Ask your doctor about the possible side effects and what you should do if you have any. Thirdly, learn to recognize the early signs or symptoms that your depression is getting worse.

The following tips might help you feel better:
  • Get more exercise
  • Maintain good sleep habits
  • Seek out activities that bring you pleasure
  • Volunteer or get involved in group activities
  • Talk to someone you trust about how you are feeling, eg. parents, friends, colleague
  • Try to be around people who are caring and positive
Luckily, nowadays effective treatments exist to help bring people's lives back under control. Yet tragically many people suffering from this illness go without diagnosis and treatment. So please get your treatment as soon as possible to avoid the increase in depression. The following depression test is a tool that help you recognize the symptoms of depression and realize to decide to get help or not. Please note that only a licensed professional can diagnose depression!!!
Link:  http://psychologytoday.tests.psychtests.com/take_test.php?idRegTest=1308

Here is my result. Oops, I get 47/100!! Is this level be considered critical?? How about you?

Nobody will laugh at you even though you have depression.

Monday, June 11, 2012

大学生活: 好好享受吧!



无论如何,这大学生活可是用 $真金白银$ 买回来的,故万万不能白白浪费这生活!一定要充分利用,努力榨干,寻找更多宝藏才行!这些宝藏将是你未来的资粮与武器。


人不是十全十美,但这不是 “不去改变” 的藉口!
若你遇到常说你不是的朋友,请好好珍惜 :))




人的一生,最值得赞美的时代,便是老年时代。孔子说他自己至七十才能 “从心所欲,不逾矩”。人的成熟,在于找回童年时代对待游戏的那种严肃认真的。人出生两次吗?是的。头一次,是在人开始生活的那一天;第二次,则是在萌发爱情的那一天。人不可能两次投入同一河流中去。这句话,每个人看了,领悟的道理都不一样,那你呢?

Friday, June 1, 2012

部落格: 惊见游览量爆增!夸张到~

这篇文章原本在几星期前就该写好的,但由于Mood,今日才写完 =.=
言归正传,没想到部落格游览量竟然爆增!这让我感到惊喜万分。久久没更新的我,当然不可能有每日200++游览量那么厉害~ 但因为一篇文章而爆增好几倍游览量,确实让我意识到文章的内容是有那么的重要。特此写分享篇。

根据Nuffnang结果显示,多数网友几乎都是冲着这篇文章 【Bersih 3.0 静坐抗议】约定428!不畏缩!要干净!  而来的!

这也证明了 “BERSIH 3.0 静坐抗议” 的威力!你们都有参加 BERSIH 3.0 吗?尽管被政府处处拦路,但却磨灭不了我们的去路!我们绝对不是去示威,为的只是要政府改变!可没想到政府竟然还要在吉隆坡独立广场围铁丝,拉胶带,简直在浪费国库金钱 — 我们的人民税啊!


Large Rainbow Pointer