Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-08-30 15:51:17

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

Allow trusted commenters to bypass moderation?

Moderation of comments is ‘on’ but you would like to allow people you trust to post without being moderated, probably by comparing email address and IP when they submit. Is this possible?


BB6 Band My band
Gud One My blog

Offline

#2 2011-08-30 16:00:15

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,448
Website GitHub

Re: Allow trusted commenters to bypass moderation?

zero wrote:

allow people you trust to post without being moderated

Short answer: probably.

Long answer: you’d likely need a plugin that hooked into the comment spam callback that altered the default step of “go to moderation queue” if such-and-such a condition is met. Caveats:

  1. other people can use someone else’s e-mail address
  2. IPs are spoofable
  3. IPs are not always uniquely assigned to the user you might expect (e.g. BT use a pool of IP addresses and you may not get the one you currently have next time you boot up your modem)

I haven’t thought it through in any great detail so it might not be as easy as all that.

Last edited by Bloke (2011-08-30 16:01:21)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#3 2011-08-30 16:18:26

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

Re: Allow trusted commenters to bypass moderation?

Thanks Stef. Re the caveats, I was thinking (1) the IP and email combination would have to match, (2) would spammers go to such trouble? At least scripts would still be moderated, and (3) yes, I realise this and I get a different IP every time I go online. But at least some people would be OK.


BB6 Band My band
Gud One My blog

Offline

Board footer

Powered by FluxBB