« OneID
Duplicate post detection?

Nao

  • Dadman with a boy
  • Posts: 16,082
Duplicate post detection?
« on March 20th, 2012, 04:22 PM »
Silly idea or not?

Instead of disabling the submit button we could check at post time the last post by the same author in the same topic or board. If it has the same contents, just skip posting it and return to the topic.

Would solve problems that occur when clicking submit and the server is down at that precise moment.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

Pandos

  • Living on the edge of Wedge
  • Posts: 635
# dpkg-reconfigure brain
error: brain is not installed or configured

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Duplicate post detection?
« Reply #3, on March 20th, 2012, 05:53 PM »
Would it be worth making as a plugin first to see how well received it is?

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841
The way it's meant to be

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Duplicate post detection?
« Reply #5, on March 20th, 2012, 05:59 PM »
I already have 15 in my repositories, with fragments and ideas for a few more on top :P What's another plugin between friends?[1]

Main reason is that while I like the idea, I'm not yet entirely sold on its usefulness.
 1. I suspect I'm going to make more plugins than I made for SMF, which is a slightly disturbing thought.

and

  • why swear, boss?
  • I was enlightened
  • Posts: 94
Re: Duplicate post detection?
« Reply #6, on March 20th, 2012, 06:05 PM »
Quote from Arantor on March 20th, 2012, 05:53 PM
Would it be worth making as a plugin first to see how well received it is?
probably yes

such a function (if not mistaken) is in vb
check for duplication of a handy feature
- more than just a forum <br />sorry for my english

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Duplicate post detection?
« Reply #7, on March 20th, 2012, 07:37 PM »
As you like, Pete... ;)
Usefulness?
Just do it my way. Have a Wifi or 3G device. Type while you're moving to another place where reception isn't as good. Sit down. Press Submit. "Server not available". Oops. Moving back to that place 3 meters farther... Submit. Oh crap, it doesn't register it.

Solution: pray that you can copy the contents of your message (sometimes it'll also disable the textarea IIRC, making it impossible to copy it), press Reload, paste your post, submit.

It has happened to me quite a few times because on my porch, right where I'm used to smoking my cigarette with my iPod in hand, I'm about 30 centimetres away from the limit of my Wifi connectivity. Meaning if I bend a bit too much, I'll lose connectivity. Not fun.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Duplicate post detection?
« Reply #8, on March 20th, 2012, 07:43 PM »
In that case, there should actually be no reason to do so. There is still a duplicate-post check being made on the server through the internal system (where it stores a unique value between form and session and checks one against the other)

I'm not really sure why the submit button actually gets disabled in that situation, there's little reason for it...

Pandos

  • Living on the edge of Wedge
  • Posts: 635
Re: Duplicate post detection?
« Reply #9, on March 20th, 2012, 08:09 PM »
Useful because to get rid of crossposters / spammers. I like this idea.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Duplicate post detection?
« Reply #10, on March 20th, 2012, 08:26 PM »
It won't solve either. The sole point of this suggestion is to prevent the same post being posted twice in the same thread. That said we could expand it to prevent that kind of spam, though I'm not sure how effective it would really be.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Duplicate post detection?
« Reply #11, on March 20th, 2012, 08:31 PM »
Quote from Arantor on March 20th, 2012, 07:43 PM
In that case, there should actually be no reason to do so. There is still a duplicate-post check being made on the server through the internal system (where it stores a unique value between form and session and checks one against the other)

I'm not really sure why the submit button actually gets disabled in that situation, there's little reason for it...
You mean that even if we made a double submit, it wouldn't get submitted..?

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Duplicate post detection?
« Reply #12, on March 20th, 2012, 08:38 PM »
Correct. Take out the checkSubmitOnce call as part of the form and see what happens ;)

Nao

  • Dadman with a boy
  • Posts: 16,082

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Duplicate post detection?
« Reply #14, on March 20th, 2012, 09:31 PM »
Doing it on the client side and preventing server load... I think.