Subscribe: MT Hacks
http://mt-hacks.com/atom.xml
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
account  blog  commenters  entries  entry  facebook  movable  new  oauth  open  plugin  twitter account  twitter  version 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: MT Hacks

MT Hacks



Hacks, Apps, Extensions, Plugins, and more



Updated: 2017-10-07T15:30:02Z

 



Use /translate to Instantly Translate Text on Slack

2017-10-07T15:30:02Z

The Translate app for Slack makes it super easy to instantly translate text from within Slack. Example: /translate es Hello World! Installation: To install Translate, use the Add To Slack button below: Usage: After installing the app, use the following... The Translate app for Slack makes it super easy to instantly translate text from within Slack. Example: /translate es Hello World! Installation: To install Translate, use the Add To Slack button below: Usage: After installing the app, use the following command format to translate text: /translate [lang] [text to translate] Where [lang] is equal to one of the following language codes: es (Spanish) de (German) en (English) fr (French) ja (Japanese) zh-CN (Chinese - simplified) ar (Arabic) fa (Persian) ko (Korean) hi (Hindi) th (Thai) da (Danish) nl (Dutch) ru (Russian) tr (Turkish) it (Italian) sv (Swedish) mn (Mongolian) no (Norwegian) ro (Romanian) iw (Hebrew) uk (Ukrainian) pl (Polish) sk (Slovak) pt (Portuguese) hr (Croatian) fi (Finnish) zh-TW (Chinese - traditional) vi (Vietnamese) hu (Hungarian) id (Indonesian) lt (Lithuanian) cs (Czech) la (Latin) ms (Malay) ne (Nepali) tl (Filipino/Tagalog) eu (Basque/Euskera) ta (Tamil) hy (Armenian) bg (Bulgarian) cy (Welsh) el (Greek) ca (Catalan) is (Icelandic) sr (Serbian) eo (Esperanto) et (Estonian) lv (Latvian) If you are looking for a language not listed above, let me know -- it might just be easy enough to add. The source text doesn't have to be English, the app will attempt to auto-detect the source language. This means, for example, that you can use it to translate things into English, if desired. The /translate command and the translation will only be visible to you -- it will not be seen by other team members in the channel. There is a 1000 character limit per command. Contact Me: For help, questions, or feedback, you can reply here, tweet at me: @mthacks on Twitter, or by email: mark@mt-hacks.com Privacy Policy: The Translate app does not store any information about your Slack team or channel. The app receives the contents for the /translate command and it sends back the translation. During installation and with each /translate command, the app does receive the name or your team and channel, but that information is not stored in any way, as it isn't needed to provide the translation. [...]



Bootstrap Theme for Movable Type

2012-11-06T02:44:12Z

Bootstrap Theme for MT is a Theme powered by Twitter Bootstrap and the ThemeManager plugin. It is a fully responsive theme, which means that that the layout automatically adjusts to suit the screen, so it looks great and readable on...

(image) Bootstrap Theme for MT is a Theme powered by Twitter Bootstrap and the ThemeManager plugin. It is a fully responsive theme, which means that that the layout automatically adjusts to suit the screen, so it looks great and readable on smartphone, tablets, as well as laptop/desktop browsers. Bootstrap Theme is based largely on The Bootstrap theme for Wordpress, so much of the credit goes to Konstantin Obenland.

Bootstrap Theme Demo

MT Hacks was recently updated to use Bootstrap Theme, browse the site to check out features. Be sure to try it on a tablet or smartphone too. Also, a demo/dev site can be seen here.

Features

Version 1.0 of Bootstrap Theme is designed to be simple and easy to setup. More features may be added in future. The theme supports Facebook Comments (optional) - support for MT commenting may come in a future version. Bootstrap Theme has customizable menus and sidebar widgets, as well a host of other Theme Options:

(image)

(image)

(image)

Boostrap Theme includes pagination powered by my Pagination plugin.

Open Source

Bootstrap Theme is open source and available at:
https://github.com/markcarey/mt-theme-bootstrap

Suggestions and contributions are welcome. Documentation is one area that is lacking...




Preview XSS Fix for Movable Type

2012-10-19T16:26:31Z

This plugin fixes an issue introduced with Google Chrome v17 that causes admin entry previews to display a blank screen. This seems to happen only when the entry contains img tags with fully qualified src URLs from the same domain...

This plugin fixes an issue introduced with Google Chrome v17 that causes admin entry previews to display a blank screen.

This seems to happen only when the entry contains img tags with fully qualified src URLs from the same domain as the MT install. For some reason, Chrome now suspects this to be an XSS attack and will not render the iframe with he entry preview.

This plugin adds a response header that tells Chrome to skip its XSS checking for this request. It only adds this for admin Entry Previews.

https://github.com/markcarey/mt-plugin-preview-xss-fix




Auto-Tweet New Entries to Twitter

2010-08-27T17:58:56Z

The Twitter Tools plugin for Movable Type enables you to easily and automatically share your MT entries on Twitter. The plugin pushes tweets directly to Twitter immediately when entries are published, avoiding the delays of other services. Future versions of... The Twitter Tools plugin for Movable Type enables you to easily and automatically share your MT entries on Twitter. The plugin pushes tweets directly to Twitter immediately when entries are published, avoiding the delays of other services. Future versions of the plugin will add additional Twitter integration features. Post New Entries to Twitter Within Seconds of Publishing There are a number of free services out there that will automatically share your entries to your Twitter stream. In most cases, these services work by periodically checking your blog's RSS feed for new entries to post. While this works, it means a time lag or delay before new items get posted to Twitter. The delays get worse and more frequent when these services become popular. TwitterFeed has over 1,000,000 users -- because they have so many RSS feeds to check, it can often be a long time before they get around to yours. The Twitter Tools plugin solves this delay problem by pushing the tweets directly from MT, immediately, when the entry is published. How it Works The plugin is pretty simple. After installing the plugin, you authorize MT to auto-tweet when new entries are published. After that, every new entry gets tweeted quickly and directly and automatically. Other optional features include: Add a prefix to tweet (such as "New Post:") Automatically add hashtags to a tweets for a blog Automatically use Entry tags as hashtags URL Shortening using the URL shortener of your choice (including Bit.ly, Awe.sm, Supr, YOURLS, TinyURL, and more). (yes, you can enter your own shortener API key and yes, Bit.ly Pro domains 'just work') Twitter Tools Pro With Twitter Tools Pro, you get the following extra features: Post to both blog and author Twitter feeds at the same time. This is great for multi-author blogs, or if you want to post to both your person Twitter account and to your blog's Twitter account. Optional Filters can be used to only tweet entries with specific Categories or Tags Optional customized Tweet text for each entry (the default is the Entry title). Option to use your own Twitter App, enabling you to customize the "via" text and link shown in Tweet metadata More features are work-in-progress, including importing tweets and more. Template Tags Twitter Tools includes one new template tag: - Outputs the short URL created when the entry was tweeted (using the URL shortener of your choice). You can use this template tag to display the short URL to your readers and/or integrate it into Twitter share links or Tweet Buttons -- great for analytics, as your readers use the the same short URL as you do. Note: if the entry was not tweeted by Twitter Tools, this tag will output an empty string. This tag also works on PHP-dynamic templates. Requirements All required modules are included in the download file for Twitter Tools. See installation steps below. Installation Download and extract the zip file, then upload the contents of the 'plugins' directory into the 'plugins' directory of your Movable Type installation (often /cgi-bin/mt/plugins/). Upload the contents of the 'extlib' directory into the 'extlib' directory of your Movable Type installation (often /cgi-bin/mt/extlib/). Upload the contents of the 'mt-static' directory into the 'mt-static' directory used by your Movable Type installation. Go to the blog-level plugin settings for Twitter Tools and click the Signin with Twitter button to authorize your blog to post to Twitter. Return to the settings once again and click the "Auto-tweet" setting to enable auto-posting to Twitter, and adjust other settings as desired. (Optional for Pro) Authors can also connect their MT author profile with[...]



Automatically Post New Entries to Facebook

2010-08-26T20:38:43Z

The Facebook Tools plugin for Movable Type enables you to easily and automatically share your MT entries on Facebook. The plugin pushes updates directly to Facebook immediately when entries are published, avoiding the delays of other services. Future versions of... The Facebook Tools plugin for Movable Type enables you to easily and automatically share your MT entries on Facebook. The plugin pushes updates directly to Facebook immediately when entries are published, avoiding the delays of other services. Future versions of the plugin will add additional Facebook integration features. Post New Entries to Facebook Within Seconds of Publishing There are a number of free services out there that will automatically share your entries to Facebook. In most cases, these services work by periodically checking your blog's RSS feed for new entries to post. While this works, it means a time lag or delay before new items get posted to Facebook. The delays get worse and more frequent when these services become popular. TwitterFeed has over 1,000,000 users and NetworkedBlogs has over 300,000 -- because they have so many RSS feeds to check, it can often be a long time before they get around to yours. The Facebook Tools plugin solves this delay problem by pushing the Facebook updates directly from MT, immediately, when the entry is published. How it Works The plugin is pretty simple. First you register your Facebook Application (easy to do, takes less than a minute) and then authorize MT to post updates when new entries are published. After that, every new entry gets pushed to Facebook quickly and directly and automatically. The updates include an image from your entries (if present). Facebook Tools Pro With Facebook Tools Pro, you get the following extra features: Post updates to Facebook Pages instead of user profiles Post to both blog and author profiles at the same time. This is great for multi-author blogs, or if you want to post to both your person profile and to your blog's Facebook Page. Optional Filters can be used to only share entries with specific Categories or Tags Optional customized status message for each entry (the default is the Entry title). Option to use a different Facebook App for each blog in your system. Requirements Most required modules are included in the download file for Facebook Tools. Because the Facebook API uses "Oauth 2.0", it must use SSL. As such, one of following are required (plus any dependancies), but may already be installed by default on your server: Crypt::SSLeay, ****OR*** IO::Socket::SSL If your system doesn't not already have one of these, note that the latter is known to be easier to install. Installation Download and extract the zip file, then upload the contents of the 'plugins' directory into the 'plugins' directory of your Movable Type installation (often /cgi-bin/mt/plugins/). Upload the contents of the 'mt-static' directory into the 'mt-static' directory used by your Movable Type installation. Create a Facebook Application. This is easier than it sounds, and it only few settings are needed here. Choose a name for your App, which can be the same name as your blog. The upload a Logo and an icon image -- of these the icon is more important. (if you want you can use my Logo image and my icon image.) Then click on the "Website" tab on the left, and fill the "Site URL" field with the domain of your admin MT login eg. http://www.mydomain.com. Then save the settings, you can leave the rest of the settings the way they are. Copy the "Application ID" and "Application Secret" in the settings for the plugin, then save the settings. Return to the blog-level plugin settings and click the Facebook Connect button to authorize your blog to post to Facebook. The Facebook authorization dialog will ask for the necessary permissions, click "Allow". After authorization, if using the Pro version of the plugin, you will be given an option to choose one of y[...]



Publish Scheduled Entries on Time

2010-08-18T19:31:24Z

For legacy reasons, Movable Type and Melody publish future or "scheduled posts" by way of a periodic task. In short, these means that periodically MT will checked to see if there are any entries with a Scheduled status that have...

For legacy reasons, Movable Type and Melody publish future or "scheduled posts" by way of a periodic task. In short, these means that periodically MT will checked to see if there are any entries with a Scheduled status that have come due, and then publish them. A side-effect of this is that in most cases an entry scheduled for 10:30 won't actually publish until 10:46 or 11:15, or even later (depending on your MT configuration and other periodic tasks).

But what if the post is time-sensitive, and you really want that post to live at 10:30?

This plugin aims to address this by creating a "TheSchwartz" job to publish the post. When the entry is saved, a job gets created for the entry, configured to run at desired publishing date and time. Combine this with running the run-periodic-tasks in daemon mode and scheduled posts should publish very close to the scheduled time.

FuturePost Job on GitHub




Tweet Button Chrome Extension

2010-08-20T19:31:37Z

I have created a version of Twitter's new official Tweet Button that works as a Chrome Extension. With this extension you can view the Tweet Count and Share the page for all web pages, even pages that don't have embedded...

I have created a version of Twitter's new official Tweet Button that works as a Chrome Extension. With this extension you can view the Tweet Count and Share the page for all web pages, even pages that don't have embedded tweet buttons.

(image)

The Tweet Count shows in red over the T icon to the right of the address bar, so you immediately know how how many tweets the page has received. If you want to Tweet it, just click on the icon and Twitter's official share box will appear, the same way it would if you had clicked a Tweet Button embedded on the page itself.

Simple as that.

Click here to get the Tweet Button Chrome Extension.




Twitter Commenters v2.1 - OAuth Bug Fixed

2009-07-14T14:31:43Z

Twitter Commenters is a plugin for Movable Type that enables commenters to sign-in and comment on your blog using their Twitter account. Versions 2+ includes support for Twitter's OAuth authorization system and enables commenters to automatically share their comments to... Twitter Commenters is a plugin for Movable Type that enables commenters to sign-in and comment on your blog using their Twitter account. Versions 2+ includes support for Twitter's OAuth authorization system and enables commenters to automatically share their comments to their Twitter stream. Note: Version 2.1 fixes a serious bug when using OAuth, users would get a Comment Submission Error, saying that Name and Email are required. All sites running v2.0 should upgrade to v2.1 using the download link below. Simply upload the new files, no need to adjust settings or templates Basic Auth (default): OAuth: Twitter comment authentication works like other auth methods in MT -- once you have installed the plugin you can enable Twitter as one of the auth options, as shown in the image above. How It Works - Basic Auth When the user enters their Twitter username and password in the form (shown above), the plugin submits those to the Twitter API to verfiy the credentials. If verified, the user can then post comments using their Twitter account. Their Twitter 'display name' will be shown beside their comments, and their Twitter avatar (profile photo) will be imported and shown beside their comments (if userpics are enabled in your templates). Note that users' Twitter passwords are not stored in the MT database. An upcoming version of this plugin will enable Twitter's new OAuth support, in which case passwords would never be sent to MT at all. That version will like have an option for commenters to cc. their comments to their Twitter account. Stay tuned. How It Works - OAuth New in Version 2.0, you can optionally enable Twitter's new OAuth authorization system. With OAuth, user never have to submit their password info to your server. Instead, they click a "sign in with Twitter" button and they are taken to a page on Twitter.com asking them to authorize the application (see image above). One they click "Allow" they are returned to your site and they then post comments using their Twitter account. As with basic auth, their Twitter 'display name ' will be used as well as their Twitter avatar (profile photo). Share Comments on Twitter A new feature in version 2.0, only supported via OAuth, enables commenters to optionally share their comment to their Twitter stream. All they have to do is click a checkbox, no need to re-authorize or enter Twitter account info. Try it Now MT Hacks has the new OAuth method enabled. Try it now: Click here to login with your Twitter account. After logging in, you will be returned to this entry, and you can leave a comment below. Requirements Net::Twitter 2.07 perl module (included with plugin) (note: do not upgrade to version 2.9+ of this module) Net::Twitter::OAuth perl module (included with plugin) Net::OAuth perl module (included with plugin) Net::OAuth::Simple perl module (included with plugin) JSON::Any perl (included with plugin) Note: Net::Twitter requires newer versions of the libwww-perl collection of Perl modules. I am not sure what the minimum version required is, but on my server, I had to upgrade in order to get Net::Twitter to work. So if you get strange errors, try installing the latest version in your 'extlib' directory of your MT. Update: A common error message is: "Can't locate object method "default_header" via package "LWP::UserAgent" -- if you see this error, this the problem. Download Twitter Commenters Downloads: Installation Upload the contents of the 'plugins' folder to the 'plugins' directory for your MT install. Upload the contents of the 'mt-static' folder to your 'mt-[...]



Open Melody: Movable Type Forked

2009-06-23T16:43:53Z

A new Open Source project has been launched today called Open Melody, which is a fork of Movable Type Open Source. Open Melody has been created by the MT developer community in order to take the product to the next... A new Open Source project has been launched today called Open Melody, which is a fork of Movable Type Open Source. Open Melody has been created by the MT developer community in order to take the product to the next level. Why fork Movable Type? The Open Melody FAQs explain, "The community created Melody out a shared passion for Movable Type and a shared desire to see it flourish as a platform. We felt that the best and quickest way to achieve that goal was to create a product in which the community was inherently entrusted with a greater degree of control over its direction, communication channels and roadmap, and rewarded with more transparency and a greater sense of belonging." In the spirit of being driven by the community, the current state of Open Melody is very similar to the latest version of MT. Going forward, features will be added and changes will be made in accordance with the community collaboration. So its too early to say what Melody will look like, and how it will be different from MT. Time will tell. Why This is a Good Thing Over two years ago, Six Apart, the creator of Movable Type open sourced the code for the core Movable Type application. While its was an exciting and bold move, the announcement and product naming choices were confusing to many -- the differences between Movable Type Open Source and the Movable Type Commercial product and closed source add-ons sold by Six Apart weren't easy to grasp, and some even disputed the newly open source nature of core application. Bottom line is that the core of MT has been open source for 2 years, so what are the reasons and potential benefits of a separate branch of the application, why do we need Melody? In my opinion, the key benefit is that Melody will be developed completely by the community, with no direct ties to a commercial for-profit enterprise. While core MT has been open source licensed, the product planning process and much (but not all) of the discussion, prioritization, and release planning and scheduling were closed to those outside of Six Apart. Six Apart also acted as a gatekeeper to code contributions, with final say over what made into the final product. Both of these may be common for open source projects lead by commercial entities, and are fair enough -- Six Apart is a business and like any business they can and should make decisions based on the commercial interests of the company. But for the community of developers, consultants, and users, this didn't feel very open, at least in my opinion. The feature roadmap was being driven internally at Six Apart, not in a collaborative way with the community at large. [This is not to say that Six Apart did not listen to feature suggestions of the community -- many of the features added to the product were in response to community requests] The reality, I think, is that the internal business objectives that informed the development and product planning process are not fully aligned with the objectives of the broader community. This is an unavoidable reality, there is no right or wrong here, only different contexts and thus different perspectives and goals. For these reasons, I think many developers and end-users shied away from Movable Type -- despite the open source license, the product was controlled by a single for-profit company, and the ability of the external community to contribute and collaborate was limited. Open Melody changes that dynamic. The core code becomes freed from the business concerns and objectives, thus enabling it to evolve in a way that is fully aligned with objectives and desires of the community. This means t[...]



Share Blog Comments on Twitter (plus OAuth Support)

2009-07-07T12:12:54Z

Twitter Commenters is a plugin for Movable Type that enables commenters to sign-in and comment on your blog using their Twitter account. Versions 2 includes support for Twitter's OAuth authorization system and enables commenters to automatically share their comments to... Twitter Commenters is a plugin for Movable Type that enables commenters to sign-in and comment on your blog using their Twitter account. Versions 2 includes support for Twitter's OAuth authorization system and enables commenters to automatically share their comments to their Twitter stream. Basic Auth (default): OAuth: Twitter comment authentication works like other auth methods in MT -- once you have installed the plugin you can enable Twitter as one of the auth options, as shown in the image above. How It Works - Basic Auth When the user enters their Twitter username and password in the form (shown above), the plugin submits those to the Twitter API to verfiy the credentials. If verified, the user can then post comments using their Twitter account. Their Twitter 'display name' will be shown beside their comments, and their Twitter avatar (profile photo) will be imported and shown beside their comments (if userpics are enabled in your templates). Note that users' Twitter passwords are not stored in the MT database. An upcoming version of this plugin will enable Twitter's new OAuth support, in which case passwords would never be sent to MT at all. That version will like have an option for commenters to cc. their comments to their Twitter account. Stay tuned. How It Works - OAuth New in Version 2.0, you can optionally enable Twitter's new OAuth authorization system. With OAuth, user never have to submit their password info to your server. Instead, they click a "sign in with Twitter" button and they are taken to a page on Twitter.com asking them to authorize the application (see image above). One they click "Allow" they are returned to your site and they then post comments using their Twitter account. As with basic auth, their Twitter 'display name ' will be used as well as their Twitter avatar (profile photo). Share Comments on Twitter A new feature in version 2.0, only supported via OAuth, enables commenters to optionally share their comment to their Twitter stream. All they have to do is click a checkbox, no need to re-authorize or enter Twitter account info. Try it Now MT Hacks has the new OAuth method enabled. Try it now: Click here to login with your Twitter account. After logging in, you will be returned to this entry, and you can leave a comment below. Requirements Net::Twitter 2.07 perl module (included with plugin) (note: do not upgrade to version 2.9+ of this module) Net::Twitter::OAuth perl module (included with plugin) Net::OAuth perl module (included with plugin) Net::OAuth::Simple perl module (included with plugin) JSON::Any perl (included with plugin) Note: Net::Twitter requires newer versions of the libwww-perl collection of Perl modules. I am not sure what the minimum version required is, but on my server, I had to upgrade in order to get Net::Twitter to work. So if you get strange errors, try installing the latest version in your 'extlib' directory of your MT. Update: A common error message is: "Can't locate object method "default_header" via package "LWP::UserAgent" -- if you see this error, this the problem. Download Twitter Commenters Downloads: Installation Upload the contents of the 'plugins' folder to the 'plugins' directory for your MT install. Upload the contents of the 'mt-static' folder to your 'mt-static' directory. For each blog you want to enable, go to Preferences > Registration and check the box for 'Twitter'. Enabling Twitter OAuth Unfortunately, this is not as easy as it could be, maybe Twitter will make it easier in futur[...]



Comment on Blogs with your Twitter Account

2009-04-28T13:17:08Z

Twitter Commenters is a plugin for Movable Type that enables commenters to sign-in and comment on your blog using their Twitter account. Twitter comment authentication works like other auth methods in MT -- once you have installed the plugin you...

Twitter Commenters is a plugin for Movable Type that enables commenters to sign-in and comment on your blog using their Twitter account.

(image)

Twitter comment authentication works like other auth methods in MT -- once you have installed the plugin you can enable Twitter as one of the auth options, as shown in the image above.

How It Works

When the user enters their Twitter username and password in the form (shown above), the plugin submits those to the Twitter API to verfiy the credentials. If verified, the user can then post comments using their Twitter account. Their Twitter 'display name' will be shown beside their comments, and their Twitter avatar (profile photo) will be imported and shown beside their comments (if userpics are enabled in your templates).

Note that users' Twitter passwords are not stored in the MT database. An upcoming version of this plugin will enable Twitter's new OAuth support, in which case passwords would never be sent to MT at all. That version will like have an option for commenters to cc. their comments to their Twitter account. Stay tuned.

Try it Now

Click here to login with your Twitter account. After logging in, you will be returned to this entry, and you can leave a comment below.

Requirements

  • Net::Twitter perl module (included with plugin)
  • JSON::Any perl (included with plugin)

Note: Net::Twitter requires newer versions of the libwww-perl collection of Perl modules. I am not sure what the minimum version required is, but on my server, I had to upgrade in order to get Net::Twitter to work. So if you get strange errors, try installing the latest version in your 'extlib' directory of your MT.

Download Twitter Commenters

,<$MTAjaxRatingVoteCount type="twittercommentersdownloads" id="1"$>,0);">(image)
Downloads: <$MTAjaxRatingVoteCount id="1" type="twittercommentersdownloads"$>

Installation

  1. Upload the contents of the 'plugins' folder to the 'plugins' directory for your MT install.
  2. Upload the contents of the 'mt-static' folder to your 'mt-static' directory.
  3. For each blog you want to enable, go to Preferences > Registration and check the box for 'Twitter'.

As always, feedback is appreciated.

(image) Follow @mthacks on Twitter for updates and other MT and Twitter hacks.