Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-10-05 08:33:13

tomsolo
New Member
Registered: 2005-08-21
Posts: 3

Protect Members name in commenting

Hi,

i’m a newbie, now testing txp, everything’s ok, but i have a few questions:

When commenting, how could i prevent non-registered users
to use the same name as a registered one?

Is there an option (or plugin) that allows the registered members to automatically log in to comment (like as wordpress?)

~ts

Offline

#2 2005-10-05 19:23:00

tomsolo
New Member
Registered: 2005-08-21
Posts: 3

Re: Protect Members name in commenting

no any solution? :C

Offline

#3 2005-10-06 01:35:55

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Protect Members name in commenting

I don’t believe one exists.

It could be possible to create a mod/hack to do this, but not a plugin. The reason being that there is no way for plugins to interrupt existing functions in the manner required.

Offline

#4 2005-10-06 01:51:43

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Protect Members name in commenting

The reason being that there is no way for plugins to interrupt existing functions in the manner required.

Plugins are loaded before saveComment() is called. A plugin could jump in before then and modify $_POST before Textpattern does anything with it.


Alex

Offline

#5 2005-10-06 02:59:06

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Protect Members name in commenting

How would you modify it, just re-assign the name?

Offline

#6 2005-10-06 03:48:58

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Protect Members name in commenting

Well I had thought the idea was to stop the commenting process and say “pick a different name” or something.

Offline

#7 2005-10-06 08:16:40

tomsolo
New Member
Registered: 2005-08-21
Posts: 3

Re: Protect Members name in commenting

“Well I had thought the idea was to stop the commenting process and say “pick a different name” or something.”

yes

Offline

#8 2005-10-06 08:47:54

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Protect Members name in commenting

You can unset the submit, and activate preview by manipulating $_POST.
If you further set a state and add some relating conditionals in the comment form you can display a message.

Offline

Board footer

Powered by FluxBB