Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 12 years ago

#3556 closed defect (bug) (fixed)

hitting post reply more than once creates duplicate posts

Reported by: louisnorthmore's profile louisnorthmore Owned by:
Milestone: 1.6 Priority: normal
Severity: normal Version: 1.2.9
Component: Forums Keywords: needs-patch
Cc:

Description

Hi Guys,

Users on my test site running on 1.2.9 are causing me no end of grief by filling up some forums full of 'spam' posts, by deliberately hitting 'post reply' numerous times. With just a few clicks I had over 140 pages of forum posts.

Does the same with latest trunk.

Apologies if this has already been reported!

Change History (4)

#1 @modemlooper
13 years ago

You could try something like this javascript:

jq('form').submit(function(){
     jq('input[type=submit]', this).attr('disabled', 'disabled');
});

#2 @boonebgorges
13 years ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to 1.5.1
  • Version changed from 1.5 to 1.2.9

Confirmed. We should probably do a duplicate post check like WordPress does for comments (http://core.trac.wordpress.org/browser/tags/3.2.1/wp-includes/comment.php#L619). Too late for 1.5, but we should be able to sneak this in shortly thereafter.

#3 @boonebgorges
13 years ago

  • Milestone changed from 1.5.1 to 1.6

IMO this is too substantial for a point-point release.

#4 @boonebgorges
12 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [5567]) Prevents users from posting identical replies to the same forum topic, to prevent flooding and spam. Fixes #3556

Note: See TracTickets for help on using tickets.