Permalink
Browse files

removing dependency upon native MT javascript

  • Loading branch information...
1 parent 7a7c58c commit bb1fade113e00b9a19b510fc83148a14fd975d34 @byrnereese committed Sep 21, 2009
Showing with 32 additions and 13 deletions.
  1. +1 −1 Makefile.PL
  2. +29 −10 README.md
  3. +1 −1 mt-static/plugins/FacebookCommenters/signface.js
  4. +1 −1 plugins/FacebookCommenters/plugin.pl
View
@@ -2,6 +2,6 @@ use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'Facebook Commenters',
- VERSION => '1.1.1',
+ VERSION => '1.1.2',
DISTNAME => 'FacebookCommenters',
);
View
@@ -23,17 +23,32 @@ If approval is required, go here to submit your blog with Facebook Connect: <htt
* Movable Type 4.1 or higher (4.2 is recommended)
* JSON::XS 2.0 or greater.
+* jQuery 1.2.x (bundled with MT 4.25 or greater)
The Facebook Commenters plugin ships with all of the other external libraries you should need to run it.
## Installation
-1. Unpack the FacebookCommenters archive.
-2. Copy the contents of FacebookCommenters/mt-static into /path/to/mt/mt-static/
-3. Copy the contents of FacebookCommenters/plugins into /path/to/mt/plugins/
-4. Login to your Movable Type Dashboard which will install the plugin.
-5. Navigate to the Plugin Settings on the blog you wish to integrate Facebook Connect.
-6. Create a Facebook Application to represent your site.
+1. If you are installing this plugin on Movable Type 4.1, then you will need to download,
+ install and link in your templates the jQuery javascript framework. This can be done
+ by adding the following in between `<head>` and `</head>` of all of your templates/pages.
+
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
+
+ Note: if you are linking directly to Google Code as the above example does, then you
+ will not need to download jQuery separately.
+
+2. Unpack the FacebookCommenters archive.
+
+3. Copy the contents of FacebookCommenters/mt-static into /path/to/mt/mt-static/
+
+4. Copy the contents of FacebookCommenters/plugins into /path/to/mt/plugins/
+
+5. Login to your Movable Type Dashboard which will install the plugin.
+
+6. Navigate to the Plugin Settings on the blog you wish to integrate Facebook Connect.
+
+7. Create a Facebook Application to represent your site.
1. Go to http://www.facebook.com/developers/editapp.php to create a new application.
2. Enter a name for your application in the Application Name field.
3. Click the Optional Fields link to see more entry fields.
@@ -47,11 +62,15 @@ The Facebook Commenters plugin ships with all of the other external libraries yo
in JPG, GIF, or PNG format.
6. Click Submit to save your changes.
7. Take note of the API Key and Secret as you'll need these shortly.
-7. Within your blog's Plugin Settings, input the API Key and Secret from Facebook.
-8. Edit your templates to include Facebook Connect tags and customize the display.
-9. Enable "Facebook" as a Registration Authentication Method via
+
+8. Within your blog's Plugin Settings, input the API Key and Secret from Facebook.
+
+9. Edit your templates to include Facebook Connect tags and customize the display.
+
+10. Enable "Facebook" as a Registration Authentication Method via
Preferences -> Registration and ensure that User Registration is allowed.
-10. Republish your blog for all of the changes to take effect.
+
+11. Republish your blog for all of the changes to take effect.
## Template Code
@@ -32,7 +32,7 @@ function apply_commenter_data() {
});
// Hide the URL and "remember me" boxes
- mtHide('comments-open-data');
+ jQuery('#comments-open-data').hide();
});
}
@@ -7,7 +7,7 @@ package FacebookCommenters::Plugin;
key => 'FacebookCommenters',
name => 'Facebook Commenters',
description => '<MT_TRANS phrase="Provides commenter registration through Facebook Connect.">',
- version => '1.1.1',
+ version => '1.1.2',
author_name => 'Six Apart, Ltd.',
author_link => 'http://www.sixapart.com/',
plugin_link => 'http://www.sixapart.com/',

0 comments on commit bb1fade

Please sign in to comment.