| 1 | OpenID Comments for MT |
|---|
| 2 | |
|---|
| 3 | This is a Movable Type plugin that empowers commenters on your Movable Type |
|---|
| 4 | site to log in using OpenID. |
|---|
| 5 | |
|---|
| 6 | http://www.sixapart.com/movabletype/ |
|---|
| 7 | http://www.openid.net/ |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | DEPENDENCIES |
|---|
| 11 | |
|---|
| 12 | This software requires: |
|---|
| 13 | |
|---|
| 14 | * Movable Type 3.2 |
|---|
| 15 | |
|---|
| 16 | This distribution also contains the additional required Perl modules: |
|---|
| 17 | |
|---|
| 18 | * Net::OpenID::Consumer |
|---|
| 19 | * Crypt::DH |
|---|
| 20 | * URI::Fetch |
|---|
| 21 | * Class::ErrorHandler |
|---|
| 22 | |
|---|
| 23 | |
|---|
| 24 | INSTALLATION |
|---|
| 25 | |
|---|
| 26 | To install this plugin: |
|---|
| 27 | |
|---|
| 28 | 1. Unzip the archive to your Movable Type directory. |
|---|
| 29 | 2. If running in cgi-bin, move mt-static/openid-comment to your |
|---|
| 30 | existing Movable Type mt-static directory. |
|---|
| 31 | 3. On the Movable Type blogs that should accept OpenID sign-ins, |
|---|
| 32 | edit your templates to add this template code before the |
|---|
| 33 | comment form HTML: |
|---|
| 34 | |
|---|
| 35 | <MTOpenIDSignOnThunk> |
|---|
| 36 | |
|---|
| 37 | 4. If "Require E-mail Addresses" is enabled on blogs that should |
|---|
| 38 | accept OpenID sign-ins, disable it. The OpenID protocol does |
|---|
| 39 | not provide commenters' email addresses, so this option is |
|---|
| 40 | incompatible with OpenID sign-ins. |
|---|
| 41 | |
|---|
| 42 | |
|---|
| 43 | CONFIGURATION |
|---|
| 44 | |
|---|
| 45 | If the <MTOpenIDSignOnThunk> tag does not meet your needs, you can insert the |
|---|
| 46 | necessary HTML into your templates yourself and customize it. The HTML is: |
|---|
| 47 | |
|---|
| 48 | <div id="openid"> |
|---|
| 49 | <form method="post" action="<MTOpenIDSignOnURL>"> |
|---|
| 50 | <input type="hidden" name="entry_id" value="<MTEntryID>" /> |
|---|
| 51 | <input type="hidden" name="__mode" value="signon" /> |
|---|
| 52 | <p> |
|---|
| 53 | <label>Your blog URL:</label> |
|---|
| 54 | <input name="openid_url" size="35" value="" /> |
|---|
| 55 | <input type="submit" value="Sign in" /> |
|---|
| 56 | </p> |
|---|
| 57 | </form> |
|---|
| 58 | </div> |
|---|
| 59 | |
|---|
| 60 | There is also an <MTLiveJournalSignOnThunk> tag that allows your visitors to |
|---|
| 61 | sign in with OpenID by entering just their LiveJournal usernames. |
|---|
| 62 | |
|---|
| 63 | |
|---|
| 64 | COPYRIGHT AND LICENCE |
|---|
| 65 | |
|---|
| 66 | Copyright 2005 Mark Paschal <markpasc@markpasc.org> |
|---|
| 67 | |
|---|
| 68 | This library is free software; you can redistribute it and/or modify it under |
|---|
| 69 | the same terms as Perl itself. |
|---|
| 70 | |
|---|