Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2004-10-07 18:41:28

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

[plugin] [ORPHAN] rss_author_email

This plugin will simply display the article authors name as a mailto link. The link is encoded just as the txp:email tag for spam proofing.

you can find it here

This is my first plugin so please let me know how it goes.

I also have to give mad props to Rufnex for his plugin creator

Using that made creating this a breeze. That and the fact that its probably the simplest plugin ever made for TXP. Enjoy!

Last edited by wilshire (2004-11-25 01:32:43)

Offline

#2 2004-10-07 23:14:53

Vitruvius
Plugin Author
Registered: 2004-09-21
Posts: 125

Re: [plugin] [ORPHAN] rss_author_email

I have just installed this plugin – and yes it may well be the simplest plugin ever made for TXP – but it filled a hole that my site design needed and it worked :)

You can see it in action here.

Wilshire – if you are feeling really eager – an option to either link to email or link to another address would be great.

Anyway – thanks for your efforts…

SH

Last edited by Vitruvius (2004-10-07 23:27:02)

Offline

#3 2004-10-08 00:37:32

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_author_email

OK, it might not be the simplest anymore.

Version 0.2 available here witht he following additions

  • address – will override the authors email address with the given address
  • subject – adds the given subject to the email message

Hope thats what you had in mind Vitruvius. Let me know how it goes.

Last edited by wilshire (2004-11-25 01:33:03)

Offline

#4 2005-02-01 21:42:02

wpbasti
New Member
Registered: 2005-01-31
Posts: 2
Website

Re: [plugin] [ORPHAN] rss_author_email

I get the following error… any idea to fix this?

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/groups/q/qo/qooxdoo/htdocs/textpattern/publish.php(767) : eval()’d code on line 85

Offline

#5 2005-02-02 03:40:20

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_author_email

Do your tables have a prefix? If so, the plugin is not adding it and thats most likely the problem.

If thats the case, find the line that starts with “$query =” and add your prefix to the table names.

Offline

#6 2005-02-13 20:52:50

wpbasti
New Member
Registered: 2005-01-31
Posts: 2
Website

Re: [plugin] [ORPHAN] rss_author_email

Yes, I use prefixes. Thank you for this hint. But, couldn’t you get the information somewhere out of the textpattern config… mhh. I really hate to hack on php scripts, especially on each update this job need to be redone :(

Offline

#7 2005-02-13 21:23:07

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_author_email

Yes, I could have. This was the first plugin I wrote and didn’t really think of those things at the time. I don’t see it being necessary to release another version of this but if I did I would include the table prefix.

Offline

#8 2005-06-07 00:19:49

Anark
Member
Registered: 2004-08-14
Posts: 101

Re: [plugin] [ORPHAN] rss_author_email

I’m not so keen on displaying anyone’s e-mail address any more, and encoding in html entities offers only very weak protection against harvesting bots.

I’d be all over this plugin, though, if I could link the author name to a URL.

Offline

#9 2005-06-07 02:25:41

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_author_email

You can do that with rss_author_info.

Offline

#10 2005-06-07 02:47:01

Anark
Member
Registered: 2004-08-14
Posts: 101

Re: [plugin] [ORPHAN] rss_author_email

Great. Thanks!

Offline

#11 2006-07-10 21:14:58

Locutionist
Member
From: The mountains, central PA, USA
Registered: 2005-08-15
Posts: 57
Website

Re: [plugin] [ORPHAN] rss_author_email

This plugin is not working for me. I’m using 4.0.2, have it installed, activated, an dhave replaced the regular author tag with this one in my form. It doesn’t display anything. Does this not work with more recent TXP releases? I ran into that problem with another plugin.

Any help is appreciated, thanks,
-Paula

Offline

Board footer

Powered by FluxBB