Comment as Author?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
nuka.hourai
Posts: 1
Joined: Wed Apr 17, 2013 1:26 am

Comment as Author?

Post by nuka.hourai »

Hello.

I recently installed serendipity on my host, and I noticed that even when I'm logged in, I still need to provide Name, e-mail and Site to comment in the blog.

Is there any way to enforce the identity of the authors in the comment form?

Thanks in advance
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Comment as Author?

Post by Timbalu »

Hi

No, not in the frontend, while this ~could macerate security.
My browsers input fields do remember content so this would just be onother click.

But, in the backends comment section the answer is being used like that.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
onli
Regular
Posts: 2829
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Comment as Author?

Post by onli »

No, that wouldn't impact security. How would it? It is a sound feature missing.

I wrote that once, but never included it into the core. Basically, you just need to edit the commentform.tpl of your template and prefill the form, output the data if a user is logged in.
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Comment as Author?

Post by Don Chambers »

onli wrote:No, that wouldn't impact security. How would it? It is a sound feature missing.

I wrote that once, but never included it into the core. Basically, you just need to edit the commentform.tpl of your template and prefill the form, output the data if a user is logged in.
Sounds like a good idea to me too.
=Don=
bernd_d
Regular
Posts: 468
Joined: Thu Jun 03, 2010 9:28 am
Contact:

Re: Comment as Author?

Post by bernd_d »

Yes, this is a feature we need!
onli
Regular
Posts: 2829
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Comment as Author?

Post by onli »

I'm not sure anymore, but didn't i write that for your blog? Maybe you still have the code and could show it here?
bernd_d
Regular
Posts: 468
Joined: Thu Jun 03, 2010 9:28 am
Contact:

Re: Comment as Author?

Post by bernd_d »

Yes, you did ;)

I searched my e-mails for the code, but can't find it anymore :(
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Comment as Author?

Post by garvinhicking »

Hi!

Actually, the serendipitY_plugin_adduser plugin (which is meant for multi-user installations with registered commenters) has an option to "force identity", this would always set the ownership of comments in the comments; it's a config option that can be enabled. This plugin can actually be used without enabling the self-user-registration...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply