GitHubCommenters Plugin for Movable Type
- Authors: Easun Lee https://easun.org
- Copyright (C) 2017 EasunLee.
- License: MIT License
Overview
The GitHubCommenters plugin for Movable Type allows commenters to login and comment to your blog using their GitHub account. Upon login, a user will be created localy for this GitHub user, with their name and public profile picture.
Prerequisites
- Movable Type 4.3 or higher
- JSON (bundled with MT)
Installation
- Unpack the GitHubCommenters archive.
- Copy the contents of GitHubCommenters/mt-static into /path/to/mt/mt-static/
- Copy the contents of GitHubCommenters/plugins into /path/to/mt/plugins/
- Login to your Movable Type Dashboard which will install the plugin.
- Navigate to the Plugin Settings on the blog you wish to allow GitHub commenters.
- Click on
Register a new OAuth application
link, and create your app on GitHub- Modify any as name,homepage as you like, except
Authorization callback URL
. This URL should point to the<$mt:CommentScript $>
of the site which will be implementing GitHub Connect (this is usually named asmt-comments.cgi
and can be changed bymt-config.cgi
, e.g.https://yousite.name/path/to/mt/mt-comments.cgi
). - Press
Register application
button and you will get the API Key(Client ID
) and Secret(Client Secret
) form GitHub.
- Modify any as name,homepage as you like, except
- Within your blog’s Plugin Settings, input the API Key(
Client ID
) and Secret(Client Secret
) from GitHub. - Enable “GitHub” as a Registration Authentication Method via
Preferences
->Registration
and ensure that User Registration is allowed. - Republish your blog for all of the changes to take effect.