Textpattern Forum

You are not logged in. Register | Login | Help

#1 2008-02-14 05:47:08

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

jmd_author

Download 0.3

This plugin provides access to an author’s username and email address. It can also modify the output of an author’s name with case and/or separators.

Last edited by jm (2009-05-03 01:33:14)

Offline

#2 2008-08-03 19:51:21

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: jmd_author

0.2 is up. real_name and email were removed in favor of display="name||email||username".

Offline

#3 2009-04-26 10:21:46

saccade
Plugin Author
From: Raubling, Germany
Registered: 2004-11-05
Posts: 462

Re: jmd_author

Just maintained my installs and noticed the update.
I want to say:
Thanks for that plugin!, it’s working for a year now together with rvm_privileged to provide “edit”-links for logged in authors on the public-side (first together with asy_wondertags – now with core nested tags).

<txp:rvm_if_privileged name='<txp:jmd_author />'> <a href="/textpattern/index.php?event=article&step=edit&ID=<txp:article_id />
" class="editlink" >Edit</a></txp:rvm_if_privileged>

Last edited by saccade (2009-04-26 10:28:13)

Offline

#4 2009-05-02 22:18:20

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: jmd_author

Thanks for the feedback, Michael!

Offline

#5 2009-05-03 00:25:22

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 5,916
Website

Re: jmd_author

I too use this plugin; it fills a missing gap in the core tag set, and it’s fab.

One thing that would make it fabber — I’ve modded my copy to do this — would be the ability to specify the username so the returned author info is not restricted to being the current article’s author. For example, in smd_gallery:

<txp:smd_gallery category="photos">
   <a rel="lightbox-{category}" href="{url}" title="{caption} by <txp:jmd_author user='{author}' display='name' />">
      <txp:thumbnail id="{id}" />
   </a>
</txp:smd_gallery>

would allow me to show the real name of the author who uploaded each photo. Useful for multi-author gallery sites and, of course, the same idea can be applied to file downloads.

Thanks for a very simple yet incredibly useful plugin, jm.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern.

Txp Builders – finely-crafted code, design and Txp

Offline

#6 2009-05-03 01:33:03

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: jmd_author

Good idea, Stef. 0.3 is now up. Thanks for the feedback too.

Edit: Forgot to add, the new attr is username.

Last edited by jm (2009-05-03 22:54:14)

Offline

Board footer

Powered by FluxBB