Currently Viewing Posts Tagged comment

Stop mt-comments.cgi to save memory

I can not publish new post in this blog. So many 500 error when I click publish, some times when I click signin.
The 500 internal error is because my blog, MovableType ate a lot of memory when it running. The Dreamhost is monitoring the resource user is using. It will kill the thread when it over the limit. Actually they don’t tell you the limit of it. They just tell you, it is time to upgrade to their VPS.
I connected the server through ssh. Run top command to see which one is more popular.
Yes, I found it. More than one mt-comments.cgi stay on the list.
To temporary solve the problem, I rename the mt-comments.cgi to other name. Then sign in the backend of MoableType.
Click Settings, Feedback, Uncheck the check box after Accept Comments.
Then, republish the whole site.

Continue reading “Stop mt-comments.cgi to save memory”

Add Disqus without remove the existing comments

As I mentioned before, I installed Disqus commenting system on this MovableType 5.
But the way I posted is to replacing all old comments template. So, after publishing, existing comments are not showing on the page.
Now, I change the comments template.
1) Just add the Disqus code in the very beginning of the comments template. Keep the old code of it.
2) Change the comment setting, at Settings > Feedback, un-check the check box at Accept Comment. (It stop future comments with MovableType 5 own commenting system.)
3) Republish and done.

Continue reading “Add Disqus without remove the existing comments”

Install Disqus commenting system on MovableType 5

MovableType has commenting system, but it is not good. Most of time, thousand spam is sitting in the blog await the owner to delete them. If there are many thousands spams, it is hard to delete them in a short command. My experience is to use phpMyadmin to delete them. The sql script I use is: delete from mt_comment where comment_visible = 0. I used it to delete 63962 spams.
OK. I give up. I find Disqus. It is beautiful and easy to install.
First of all, I have to disable the internal commenting system of MovableType 5
Click Settings >> Feedback >> Comment Settings, uncheck the check mark box of Accept Comments.

2011-12-05_123113

Second, Go to disqus.com to sign up and add your site. When choose the code, please be noticed that MovableType plugins is only for MovableType 4, not 5. So, choose universal code.
Then copy the code in the first box and put in the very beginning of comments template. Save the template.
Keep the code already there, which will keep the old comments.
The last step is republish all entry archives.

Basic Blog Marketing

There are so many ways to do the marketing for your blog.
Now I would like to share some with you.
Basic blog marketing methods: Top Five.
No.1
Ask for the links.
Call your friend, ask them to link to your blog.
Not just your friends, you can also ask you son, daughter, your grandpa.
You can ask your co-workers to put your link into company site.
No.2
Join in a Forum
Forum is a kind of web site allow users to post their idea. You can sign up into one forum. Help others to solve the problem. Provide your personal experience or product preview. Real content, high quality content can give forum users trustfulness. Put your link into your forum signature, after you build your digital character there.

Continue reading “Basic Blog Marketing”

  • Archives