Plugins

From StatusNet

Jump to: navigation, search

StatusNet has a plugin architecture which allows new functionality to be easily added. Please note this page is not complete and needs updating

Here is a list of plugins in 0.9x For the 0.9x plugins your best bet is to get the source from gitorious [[1]] and look in the plugins directory most of them have readme's

  • APCPlugin
  • Autocomplete
  • BitlyUrl
  • Blacklist
  • BlogspamNetPlugin.php
  • CacheLogPlugin.php
  • CasAuthentication
  • Comet
  • DiskCachePlugin.php
  • EmailAuthentication
  • Enjit
  • Facebook
  • FeedSub
  • FirePHP
  • GeonamesPlugin.php
  • GeoURLPlugin.php
  • GoogleAnalyticsPlugin.php
  • Gravatar
  • Imap
  • InfiniteScroll
  • LdapAuthentication
  • LdapAuthorization
  • LilUrl
  • LinkbackPlugin.php
  • Mapstraction
  • MemcachePlugin.php
  • Meteor
  • Minify
  • Mobile
  • MobileProfile
  • Mollom
  • OpenID
  • Orbited
  • PiwikAnalyticsPlugin.php
  • PoweredByStatusNet
  • PtitUrl
  • PubSubHubBub
  • Realtime
  • Recaptcha
  • RequireValidatedEmail
  • ReverseUsernameAuthentication
  • RSSCloud
  • Sample
  • SimpleUrl
  • SphinxSearch
  • SubscriptionThrottlePlugin.php
  • TemplatePlugin.php
  • TightUrl
  • TwitterBridge
  • UrlShortener
  • UserFlag
  • WikiHashtagsPlugin.php
  • XCachePlugin.php

Developers will want to see:

In the meantime see some existing plugins!

Contents

[edit] Existing Plugins

This List is out of date:

[edit] BlogSpam.net

Checks notices for spam using BlogSpam.net. Included with the main StatusNet package.

[edit] Gallery Plugin

Provides per-user, per-group and public gallery of files (pictures, videos, bookmarks and more) shared and uploaded by users (screenshot). Checkout the gitorious repository, read the readme and bug g0.

[edit] Google Analytics

Provides integration with Google Analytics. (For a Free alternative, see the Piwik Analytics plugin. Included with the main StatusNet package.

To install, add the following to the end of your config.php:

require_once('plugins/GoogleAnalyticsPlugin.php');
$ga = new GoogleAnalyticsPlugin('YOUR-GOOGLE-ANALYTICS-CODE');

[edit] Linkback

Sends linkbacks/pingbacks for notices referring to blog posts. Included with the main StatusNet package.

This plugin requires xmlrpc support to be available to PHP. For example, on Debian-based distros, install the php5-xmlrpc package. Then, to install the plugin add the following to the end of your config.php:

require_once('plugins/LinkbackPlugin.php');
$linkback = new LinkbackPlugin();

[edit] recaptcha

Adds a captcha to your registration page to reduce automated spam bots registering. Included with the main StatusNet package. For setup instructions, see plugins/recaptcha/README.

Note:

  • Instructions in the README file are not entirely correct
    • be sure to "quote" your keys
    • you will also need to adjust the url pointer to reflect the actual location of your recaptcha folder

Example: include_once('plugins/recaptcha/recaptcha.php'); $captcha = new recaptcha("YOUR_PUBLIC_KEY", "YOUR_PRIVATE_KEY", showErrors);

[edit] Autocomplete

Autocomplete allows users to autocomplete screen names in @ replies. When an "@" is typed into the notice text area, an autocomplete box is displayed populated with the user's friends' screen names. For setup instructions, see plugins/Autocomplete/readme.txt.

Note: This plugin doesn't work if the site is in Private mode, i.e. when $config['site']['private'] is set to true.

[edit] Lacon-iCal

Provides iCalendar (RFC2445) feeds for all user's notices. Get from http://ciarang.com/posts/lacon-ical.

To install, add the following to the end of your config.php:

addPlugin('ICal', array('limit' => 20));

Replace 20 with the limit you want to place on the number of notices served up in the iCal data.

[edit] MediaWiki

Converts Wiki-style links. Get from http://forge.blueoxen.net/wiki/Laconica/MediaWiki_Plugin.

[edit] Piwik Analytics

Provides integration with Piwik, an Open Source web analytics package. Included with the main StatusNet package.

To install, add the following to the end of your config.php:

addPlugin('PiwikAnalytics', array('piwikroot' => 'example.com/piwik/',
                                  'piwikId' => 'id'));

Replace the "example.com/piwik/" with the url of your PiWik installation, not forgetting the final '/', and replace "id" with the ID your StatusNet installtion has within the PiWik installation.

[edit] statusnet-mollom-plugin

http://gitorious.org/laconica-mollom-plugin referred from http://identi.ca/conversation/12706850#notice-15729213

[edit] TWiT Army

Customises Laconica for the TWiT Army site - not much use elsewhere without modifications, but a great example of how it's done. Get from http://kylehasegawa.com/twit-army-laconica-plugin.

Personal tools