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:else/>
  <b:include data='post' name='comments'/>
</b:if>

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.  

</head>

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;
float:center;
text-transform:none;
height:100%;
min-height:100%;
padding-top:5px;
padding-left:5px;
}
#related-posts .widget{
background: #F8F8F4;
padding-left:6px;
margin-bottom:10px;
}
#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{
color:#383838;
}
#related-posts a:hover{
color:blue;
}
#related-posts ul{
list-style-type:none;
background: #F8F8F4;
margin:0 0 0px 0;
padding:0px;
text-decoration:bold;
font-size:15px;
text-color:#000000
}
#related-posts ul li{
background:#F8F8F4 url(
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJ5asvu3MfGrzDvgSciyZKYnpb-hQ0kLQE3u0LFEth3B_TFVBJj7tNznP4kQv-YUEc6A3iqToF5OYHGgjsuZBsT-7jP_Qnt6htbfnLxANwK-gFveAMtMXKnZsZqB-S0JKwkx4dWf6gYUQH/s1600/bullet.gif) no-repeat ;
display:block;
list-style-type:none;
margin-bottom: 3px;
padding-left: 30px;
padding-top:0px;}
</style>
<script type='text/javascript'>
var relatedpoststitle=&quot;Related Posts&quot;;
</script>
<script src='http://helplogger.googlecode.com/svn/trunk/related_posts.js' type='text/javascript'/>
<!--Remove--></b:if>
<!--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-->
<!--Remove-->
<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 吗?尽管被政府处处拦路,但却磨灭不了我们的去路!我们绝对不是去示威,为的只是要政府改变!可没想到政府竟然还要在吉隆坡独立广场围铁丝,拉胶带,简直在浪费国库金钱 — 我们的人民税啊!

况且我们不是暴民好不好?干嘛搞得在打仗似的。
事实证明:内容果然重要!

Loading