Your Ad Here

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.

Lijit Search

Best Of

  • Customer reference questions. Sample questions to ask customer references when choosing a software vendor.
  • Embrace the medium The Web is different than print, television, or any other medium. To be successful, designers must embrace those differences.
  • Lock-in is bad T-Mobile thinks they'll get new Hotspot customers with exclusive content and locked-in devices.
  • Writing Realistic Job Descriptions Publish a job listing like this one and you are virtually guaranteeing that you won't get qualified applicants for the position.
  • Newly Digital Newly Digital is an experimental writing project. I've asked 11 people to write about their early experiences with computing technology and post their essays on their weblogs. So go read, enjoy, and then contribute. This collection is open to you. Write up your own story, and then let the world know about it.
  • More of the best »

Recently Read

Get More

Subscribe | Archives

Recently

Sprout Test (May 7)
A test post for Sprout widgets.
Product Leadership (May 3)
An anthology of product leadership writing.
Fighting Monster patent claims (Apr 16)
The patent bully picked on the wrong little guy.
Peavy's pine tar (Apr 6)
Jake Peavy's cheating
Bush and Morgan on inner city baseball (Mar 30)
Morgan and Bush discuss the role of baseball in the inner cities.
Not a fork (Mar 27)
We have no intention of forking Drupal. That would be nuts. So what are we doing then?
Eating our dogfood in the sausage factory (Mar 26)
Recursive development for the new Drupal powered community platform.

Subscribe to this site's feed.

Elsewhere

Feed Crier
Get alerted by IM when your favorite web sites and feeds are updated.
SacStarts
The Sacramento technology startup community.
Pinewood Freak
Pinewood Derby tips and tricks
Del.icio.us
My tagstream at del.icio.us.
Waddlespot
My son's Club Penguin community. News, blogs, tips, and tricks.

Contact

Adam Kalsey

Mobile: 916.600.2497

Email: adam AT kalsey.com

AIM or Skype: akalsey

Resume

PGP Key

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