Currently Viewing Posts Tagged MovableType

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.

How to Add Google +1 Button

Google announce to release Google +1 Button to third party.
It is good tool for Blogger.
To add it on site, or blog like my MovableType blog, just two script need to be added.
1) Add following tag code to your head or just before your close body tag

<script type="text/javascript" src="http://apis.google.com/js/plusone.js"></script>

2)Place this tag where you want the +1 button to render

<g:plusone></g:plusone>

I put the first script into MovableType templates, including index, entry, page.
Then put the second script into the main menu part.
It is not on the post body, but shown on navigating menu.

Continue reading “How to Add Google +1 Button”

Upgrade to Movabletype 5.1

Just upgrade my MovableType installation from 5.04 to 5.1.
Here is the list of new features of MovableType 5.1
New features
Managing categories and folders
Drag & drop sorting
New attributes (sort_by and sort_order) for , , and tags.
tag
Managing contents by a new listing screen
Detailed display options
Custom filters
Bulk actions by selecting all from multiple pages
The listing framework for developers
MultiBlog tags
include_blogs
exclude_blogs
include_websites
exclude_websites
tag with the parent=”1″ attribute to include the module in the parent website.
trim_to modifier with ellipsis
Use blog_id param to specify the template when searching multi blogs with IncludeBlogs param. Use the first blog in includeblogs if blog_id is not specified.
Configuration Directives
LocalLib was added
Support Imager as an ImageDriver
Usability enhancements
Drag and drop input fields on Edit Entries/Pages
Selecting publish status from pulldown and saving from the preview
Better “included templates” widget
Template editor’s syntax highlight On/Of
The process of upgrade is simple and easy.

mt51

Continue reading “Upgrade to Movabletype 5.1”

Upgrade to Movabletype 5.04

Read the following messages from SixApart.

Movable Type 5.04 and Movable Type 4.35 were released today. These are mandatory security updates for all users. These updates resolve multiple vulnerabilities discovered in Movable Type 5.x and Movable Type 4.x.
Impact
A remote attacker could execute arbitrary code in a logged-in users’ web browser. A remote attacker could read or modify the contents in the system under certain circumstances.

It is always my top priority to upgrade my blog.

Continue reading “Upgrade to Movabletype 5.04”

Install Facebook Like plugin for Movable Type

Add Facebook like button in my Blog. The installation is easy and fast, just 5 minutes. Republishing took me about 17 minutes.

This plugin adds MT tags to display Facebook Like button.
The Like button lets a user share your content with friends on Facebook.
When the user clicks the Like button on your site, a story appears in the user’s friends’ News Feed with a link back to your website.

The installation steps as below:
INSTALLATION
1. Unpack the FacebookLike package.
2. Copy the contents of FacebookLike/plugins into /path/to/mt/plugins/
3. Select “Tools > Plugins” menu in your blog.
4. Configure the plugin’s settings
5. Insert <$MTOpenGraphMeta$> in your HTML header () section.
6. Insert <$MTFaceBookLike$> in the section
where you wish to display the “Like” button.

Continue reading “Install Facebook Like plugin for Movable Type”

Why thumbnail png file is bigger after original png

I use png format picture file sometimes. It is OK when I upload the file into MovableType platform. I choose make thumbnail to 400px width from about 700px.
Perl ImageMagick engine will create thumbnail file. The blog software will generate html code and put into editor body.
Everything looks find. But the file size of thumbnail png is bigger than original png file.
Original png file: 700X505 49KB
Thumbnail png file: 400X288 78KB
Why is it bigger?

Continue reading “Why thumbnail png file is bigger after original png”

Install the Perl Image::Magick on Centos

I have an VPS at Burst.net. I pick up Centos 5.5 installation. To make MovableType work on it, I have to install Perl module Image::Magick. The image thumbnail feature will be disabled if no Image::Magick installed.

Every time I do it, I always have the problem to install it. Now I recorded here for reference.

Here is the official guide for installation of ImageMagick. I follow the instruction, but it is still not working.

So I use the way suggested on above link.
The handy notes provided by John Walker. The rest of this post are based on this notes mostly.

Continue reading “Install the Perl Image::Magick on Centos”

PostTwiOAuth upgrade to v0.30

It is so fast. macminiosx announce v0.30 of PostTwiOAuth plugin of MovableType is released.
It is better than the old v0.21. More features, acutally I did not use them. Say Google Analytics, etc.
Here if you installed v0.21 before, you have to remove the whole folder and ftp v0.30 files under plugins folder.
Still need to change retweetmaker.cgi to 755.
Not just replace the old one, you still need to re-setup the token of it.
Here is the link, you can download zip file or gz file there.
Good luck.

  • Archives