Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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?
Dozy P My attempt at music
Offline
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:
- other people can use someone else’s e-mail address
- IPs are spoofable
- 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
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.
Dozy P My attempt at music
Offline