A user configurable plugin for blog owners that will add an extra field to the comment form allowing users who comment to add their Twitter username and then display it along with the comment, all without editing a single template file or function call.
Download TwitterLink Comments
(or use the plugin browser in your dashboard to search for TwitterLink-Comments
How It Works
You have a choice of adding the field to the comments.php template or let the plugin do it automatically for you along with a message that you can configure in the settings page. The comment author only needs to put in their Twitter username once and every comment from them on the whole site will display a link to follow them.
The field description, link position, format and action can be configured by the blog owner in the settings page including any extra html, classes and text that they desire.
Features
- Completely automatic, no configuring required.
- Any HTML is filtered through kses using a custom array of allowed tags.
- Set the link as nofollow and open in a new window
- Fully compatible with Mu and Multi-db plugin.
- Twitter link is shown on all comments for a user as long as they comment at least once with their username.
- Localization support
- Multiple translation files included
Installation
WordPress MU and WordPress
- Upload the whole TwitterLink-Comments
- Check the settings page in the dashboard and choose the description message and position/format/action of the follow link
- Save the settings and check a single post as a user or logged out to see it working.
Requirements
The plugin can run on WordPress and WordPress Mu at least version 2.8.
Notes
If you are adding the field for the Twitter id to your comments.php template file, you need to make sure that it has name=”atf_twitter_id” and that you configure the settings page to not automatically add the field (first option).
The plugin adds a table to the database called {prefix}wptwitipid (ie. wp_wptwitipid). The table is removed if the user deletes the plugin using the delete link on the plugin page once it has been deactivated.
All inputs are validated and any HTML is passed through kses using a limited set of HTML tags so there should be no worries for Mu owners about their users using code that they shouldn’t
You can now use your own websites profile page to add a field for the twitter username, see the FAQ in the readme for a link to a tutorial on how to do this
Credits
Code, design and support : Andy Bailey http://comluv.com
Italian translation and localization testing : Gianni http://gidibao.net
Arabic translation : Firas http://www.webli.st/
German translation : Martin Waiss http://martinwaiss.com/
French translation : Didier http://www.wptrads.fr
Russian translation : Yuriy http://yoyurec.in.ua
Swedish translation : Stefan Ljungwall http://minablandadeinfall.se
Belorussian translation : Patricia Clausnitzer http://pc.de/
Tutorial Posts
Manually adding to Thesis theme in 5 easy steps. by @Animhut