Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[plugin] [ORPHAN] rss_author_info
First off, to give credit where credit is due, this plugin was modeled after Stanton Champion’s spc_section_alias
This plugin provides the ability to display more than just an author’s name. The plugin provides the ability to also define a URL, nickname, bio, email and image for each author. You can also display the total number of live posts for the author and the last posted date. This plugin is ideal for sites with multiple authors.
Download
Please let me know how it works out or if there’s anything to improve on.
- <strong>username</strong> – REQUIRED – must match the TXP username
- <strong>nickname</strong> – specifies a nickname for the author
- <strong>url</strong> – a link associated with the author
- <strong>bio</strong> – biographical information or any sort of description associated with the author
- <strong>imageid</strong> – the TXP given id for an uploaded image file to be associated with the author
- <strong>email</strong> – overrides the email address entered for the author in the admin interface
<code><txp:rss_author_info_nickname /></code>
Displays the author nickname.
<code><txp:rss_author_info_bio /></code>
Displays the author’s biographical info.
<code><txp:rss_author_info_url /></code>
Displays a link to the author’s website.
- <strong>title</strong> – used for the link text and title. defaults to ‘Website’.
<code><txp:rss_author_info_postcount /></code>
Displays the total number of live posts for the author.
<code><txp:rss_author_info_lastpostdate /></code>
Displays the date of the author’s last post.
- <strong>dateformat</strong> – accepts any php date format. defaults to ‘F j, Y’.
<code><txp:rss_author_info_image /></code>
Displays the image file associated with the author.
<code><txp:rss_author_info_email /></code>
Displays the author’s email address.
Last edited by wilshire (2006-01-20 00:57:09)
Offline
#2 2004-11-02 17:49:43
- jay
- New Member
- Registered: 2004-02-28
- Posts: 2
Re: [plugin] [ORPHAN] rss_author_info
I guess i’ll sound a little stupid, but I don’t realise how this works.
How do you set the author data?
Offline
Re: [plugin] [ORPHAN] rss_author_info
Not stupid at all. My docs were pretty lacking on this so I updated them.
Let me know if that clarifies things.
Offline
#4 2004-11-11 02:08:26
- ss
- Member
- Registered: 2004-03-31
- Posts: 20
Re: [plugin] [ORPHAN] rss_author_info
i’m in the middle of moving my site from MT and fixing up a new layout for it as well. your plugin’s the first one i ever tried and am using, thanks! ;-)
i would like to know how to label the url and email output differently.
the page is here – http://dailymalaysia.org/
(still a few things for me to figure out as you can see like the ‘about’ static page, and archives)
thank you!
Offline
Re: [plugin] [ORPHAN] rss_author_info
In order to display the URL with your own title, use <code><txp:rss_author_info_url title=“Your Title” /></code>
The email label can’t be changed. It uses the Real Name that you assign the user in the TXP site admin area.
Here’s an archive plugin that I wrote thats pretty easy to use.
And here’s a good writeup on managing static pages
Last edited by wilshire (2004-11-11 04:20:44)
Offline
Re: [plugin] [ORPHAN] rss_author_info
ss… where in malaysia? :) (your ‘about’ page doesn’t seem to be up yet…)
textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation
Offline
#7 2004-11-11 05:12:02
- ss
- Member
- Registered: 2004-03-31
- Posts: 20
Re: [plugin] [ORPHAN] rss_author_info
wilshire:
ooh nice – thanks for the super quick response. i guess it already looks good as it is so i’ll leave it for now. i will definitely use your archive plugin, thanks again! ;-)
alicson:
i’m in PJ. yea i’m still working on it – it needs a rewrite anyway.
Offline
Re: [plugin] [ORPHAN] rss_author_info
Maybe a stupid question… won’t it be quite heavy for the TXP Engine when a website has 50, 100 or several hundreds authors ?
Ig I get it right, you have to define all the authors “metadata” in a form and call that form on every article page.
Offline
Re: [plugin] [ORPHAN] rss_author_info
Yes, the form would be included on every article page. I don’t know how practical it would be on a site with several hundred authors but how many of them are there?
Offline
Re: [plugin] [ORPHAN] rss_author_info
As verpixelt, I get the same problem. Nothing is shown :-( Does this plugin work with 4.0?
Offline
Re: [plugin] [ORPHAN] rss_author_info
Hmmm…its been a while since I’ve looked at it. I’ll have to try it out at some point but to be honest its not high on the to-do list.
Offline