Duplicate posts?

I'm not sure how your script is determining a duplicate post, but it keeps telling me I am trying to do so when I'm not. Usually, it's when I reply to my own message, but just a minute ago I was replying on the same thread as a previous post of mine.

Comments

This is something I thought it could happen. If you scroll some posts below, you'l notice the check is done by using a variable which tracks the title of the last message posted.The problem is, if noone posts messages before your second reply, you'll get an error because the default title for the post if exactly the (hiearchically) previous one, so it fails the check.

When I read that tracking system, I replied asking the WEBMASTER to use another method I've seen on another forum (namely, Westwood's one):instead of perforiming the check on the server, simply disable the Submit button when the user first clicks it (simply add the "disabled" attribute to the HTML element)._____________________________[size=1][b][grey]Cold[/grey][blue]Shine[/blue][/b]http://www16.brinkster.com/rafonline[/size]

: This is something I thought it could happen. If you scroll some posts below, you'l notice the check is done by using a variable which tracks the title of the last message posted.: The problem is, if noone posts messages before your second reply, you'll get an error because the default title for the post if exactly the (hiearchically) previous one, so it fails the check.: : When I read that tracking system, I replied asking the WEBMASTER to use another method I've seen on another forum (namely, Westwood's one):: instead of perforiming the check on the server, simply disable the Submit button when the user first clicks it (simply add the "disabled" attribute to the HTML element).: _____________________________: [size=1][b][grey]Cold[/grey][blue]Shine[/blue][/b]: http://www16.brinkster.com/rafonline[/size]: :

Thank you! Now that I know what is going on, maybe I can work around it a bit better. If he wants to maintain the compare idea, I think he should compare the message and not the subject...

: The problem is, if noone posts messages before your second reply, you'll get an error because the default title for the post if exactly the (hiearchically) previous one, so it fails the check.

That's lame. It happens to me often, because I'll pop in and reply to more than one part of a thread. My post is [italic]not a duplicate[/italic] and it's rejected. It's a bug, and should be fixed, or if it can't be made to work it the 'feature' should be removed. Better to risk spammers than to reject valid posts.

: : The problem is, if noone posts messages before your second reply, you'll get an error because the default title for the post if exactly the (hiearchically) previous one, so it fails the check.: : That's lame. It happens to me often, because I'll pop in and reply to more than one part of a thread. My post is [italic]not a duplicate[/italic] and it's rejected. It's a bug, and should be fixed, or if it can't be made to work it the 'feature' should be removed. Better to risk spammers than to reject valid posts.: : Cheers,: Eric:

I agree, though it's not a bug but a feature that was miscoded. It's not to stop spammers though, it's for the idiots that doubleclick the submit button.

Well, I took a look around (other sites), and I've seen the most widely adopted solution (even by M$) is to add a [b]disabled[/b] tag attribute upon the first onClick event. WEBMASTER please..._____________________________[size=1][b][grey]Cold[/grey][blue]Shine[/blue][/b]http://www16.brinkster.com/rafonline[/size]

I'm really really happy you've used the code I've written right as I wrote it! I do feel more a part of the Programmers Heaven now!

One more suggestion: you can use sheets for the input controls, to give them a consistent look (use the same fonts as the rest of the site). It may improve the "look & feel", and it's not difficult anyhow._____________________________[size=1][b][grey]Cold[/grey][blue]Shine[/blue][/b]http://www16.brinkster.com/rafonline[/size]