Page 1 of 1

Comment as Author?

Posted: Wed Apr 17, 2013 1:29 am
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

Re: Comment as Author?

Posted: Wed Apr 17, 2013 9:47 am
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.

Re: Comment as Author?

Posted: Wed Apr 17, 2013 12:43 pm
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.

Re: Comment as Author?

Posted: Wed Apr 17, 2013 3:50 pm
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.

Re: Comment as Author?

Posted: Thu Apr 18, 2013 8:02 am
by bernd_d
Yes, this is a feature we need!

Re: Comment as Author?

Posted: Thu Apr 18, 2013 9:53 am
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?

Re: Comment as Author?

Posted: Fri Apr 19, 2013 4:56 am
by bernd_d
Yes, you did ;)

I searched my e-mails for the code, but can't find it anymore :(

Re: Comment as Author?

Posted: Mon Apr 22, 2013 10:03 am
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