NicknameLink Plugin

NicknameLink is a Movable Type plugin that inserts and links the nickname of an entry’s author. Movable Type already has an MTEntryAuthorLink tag, but it inserts the author’s login name into the page. NicknameLink is a simple copy of
MTEntryAuthorLink, but using the author’s nickname instead.

Tim Appnel has taken over the maintenance and support of this plugin as of Oct 2004.

Download. You can get NicknameLink by downloading NicknameLink.zip.

Installation. Once you’ve downloaded and unzipped NicknameLink.zip, connect to your FTP server and open the directory where you have Movable Type installed.

Create a directory there called plugins if there isn’t one already.

Copy NicknameLink.pl to the plugins directory and set the permissions to 755.

Using NicknameLink. Once you’ve installed NicknameLink, using it is as simple as placing a new Movable Type tag in your template.

The <MTEntryAuthorNicknameLink> tag goes between the <MTEntries></MTEntries> tags. The tag will insert a linked version of the author’s nickname. If the author’s profile contains a web URL, the link will be to that URL. If no URL was provided, but an email address was, the link will be a mailto: link to that email address. If neither an email address or URL was provided, then the nickname will not be linked.

Like the original MTEntryAuthorLink, you can use the spam_protect attribute to encode the author’s email address to provide some protection against spam.

Example:

<MTEntries> 
	<p><MTEntryTitle><br>
 	(<MTEntryAuthorNicknameLink>) <br>
	<MTEntryExcerpt> 
</MTEntries>

License. This plugin is released under the MIT License. In plain English, that means you can do whatever you want with the software, including modifying it, selling it, or eating it, but we’re not responsible for anything that goes wrong.

Revision History
1.1 - Apr 3, 2003
If nickname isn’t available, the login name is used instead

1.01 - Aug 23, 2002
(Fix) The spam_protect attribute doesn’t encode email addresses.

1.0 - July 1, 2002
Initial release.

Trackback from Boon Kwee's Blog
February 4, 2003 4:08 AM

http://boonkwee.mavenonline.com/archives/2003_02.html#000047

Excerpt: NicknameLink Plugin :: Kalsey Consulting Group Useful stuff about nicknames.

Benjamin Meyers
April 3, 2003 6:48 PM

This is a suggestion: if the user doesn’t have a nickname, maybe it should show the regular login name

Adam Kalsey
April 3, 2003 10:55 PM

Easy enough. The plugin’s been updated to use the login name if the author doesn’t have a nickname. Download the zip again and try it out.

taine
May 30, 2003 9:35 AM

It would be really handy to have an option other than target=”_blank”

thanks.

Trackback from Zlinks
June 17, 2003 8:03 PM

Nickname Link

Excerpt: NicknameLink Plugin :: Kalsey Consulting Group...

Daniel Merriott
September 3, 2003 4:52 PM

I’ve just added this to my site and it works a treat! Thanks very much :-)

sherwin
October 1, 2004 10:28 PM

does it support show_email attribute as well?

This discussion has been closed.

Follow me on Twitter

Lijit Search

Best Of

  • Embrace the medium The Web is different than print, television, or any other medium. To be successful, designers must embrace those differences.
  • The importance of being good Starbucks is pulling CD burning stations from their stores. That says something interesting about their brand.
  • Let it go Netscape 4 is six years old.
  • Google on the desktop Google picks up Picasa, giving them an important foothold on people's PCs.
  • Lock-in is bad T-Mobile thinks they'll get new Hotspot customers with exclusive content and locked-in devices.
  • More of the best »

Recently Read

Get More

Subscribe | Archives

Recently

Ideas, Risk, and Investors (Jan 1)
Over at SacStarts, I have piece up discussing a common question I get from entrepreneurs....
VoiceXML for web developers (Dec 17)
Building voice applications isn't hard at all. Any web developer can do it.
De-skunking a dog (Oct 27)
How to clean up your pet after a skunk attack.
Pressure sales via Twitter (Oct 16)
Sticking an ad in my face when we first meet is a good way to lose my interest.
Loma Prieta, 20 years later (Oct 13)
Looking at the earthquake from October 17, 1989
Red light cameras don't work (Oct 13)
Cameras installed to catch people running red lights aren't about traffic safety at all.
Jack-o-lantern pumpkin carving patterns (Oct 12)
It's a tradition, what can I say?
SEO realities (Oct 12)
The real search engine optimization. Works every time.

Subscribe to this site's feed.

Elsewhere

IMified
Build instant messaging applications. (My company)
SacStarts
The Sacramento technology startup community.
Pinewood Freak
Pinewood Derby tips and tricks

Contact

Adam Kalsey

Mobile: 916.600.2497

Email: adam AT kalsey.com

AIM or Skype: akalsey

Resume

PGP Key

©1999-2010 Adam Kalsey.
Content management by Movable Type.