autotwitter

NP_AutoTwitter.php

The Shtick Auto-Twitter for Nucleus is a plugin designed for Nucleus CMS to enable automatic tweeting (messaging using the Twitter service) to announce when a user has posted a new blog item or even made a comment. (Tweets are posted to the Twitter account of the user who performed the action.)

General Plugin info
Author: Sean M. Cox
Current Version: 0.2
Download: Get the latest from the Auto Twitter web page. (.zip)

Server Requirements

  1. The Client URL (cURL) Library for PHP. (Most servers with PHP have this, but if there’s a problem, this might be something to check into.)

Upgrading

  1. Unzip the file and upload the contents to your plugin directory, overwriting the existing plugin.
  2. Visit the plugin administration page.

Instructions also available from the website for The Shtick Auto-Twitter for Nucleus.

Installing

  1. Unzip the file and upload the contents to your plugin directory

Instructions also available from the website for The Shtick Auto-Twitter for Nucleus.

How to use the plugin

The first thing one needs in order for a user to make use The Shtick Auto-Twitter for Nucleus, is a Twitter account. Once this basic necessity is provided for a user, the user needs to provide The Shtick Auto-Twitter for Nucleus with the Twitter Account username and password. These can be entered in from the user’s profile page. The profile page is available from the sidebar in the nucleus admin area.

Turning on Auto-Twittering.

Once the username and password are entered, a user can turn on and of auto-twittering on comments from the same profile page where the username and password were entered. To turn on and off auto-twittering for blog entries, a blog administrator should visit the “settings” page for the blog. A checkbox is provided from the blog settings page to enable or disable auto-twittering.

Only bloggers who have entered the username and password for a valid twitter account will have their posts automatically tweeted to their accounts.

Customization

The Shtick Auto-Twitter for Nucleus provides the ability to customize the format of tweets using tweet templates. The tweet template for comments can be specified in the user’s profile page, whereas the blog entry tweet template can be specified in the blog settings page.

With the template, the text of the tweet is specified, and three wildcards can be used to make the tweets specific to the blog entry they relate to. The default tweet template for a blog comment is as follows:

Commented on %##BLOGNAME##% - %##URL##%

%##BLOGNAME##% and %##URL##% are both wildcards. There are three wildcards total. These wildcards, along with their replacements, are as follows.

  • %##BLOGNAME##% - The name of the blog.
  • %##TITLE##% - The title of the relevant item.
  • %##URL##% - The url of the relevant item.

Wishlist

  1. Allow a Twitter account for blogs (rather than just the users)
  2. Move the new item tweet option for users be specified under user settings.
  3. Have blog tweet option turn tweeting on and off for the blog account.

Bugs

History

  • Version 0.2, released 28/Jan/2010
  • Version 0.1, released 30/May/2009
 
autotwitter.txt · Last modified: 2010/01/28 09:45 by seanmcox