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.

Thanks for your time,
KDL

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.

    Cheers,
    Eric
  • : : 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 will fix that, anyone who has a ready made script for that are welcome to email it to me!


    [blue][italic][b]/WEBMASTER[/b][/italic][/blue]

  • Script code? Yeah, sure:
    [code]
    [green][/green]
    [/code]
    _____________________________
    [size=1][b][grey]Cold[/grey][blue]Shine[/blue][/b]
    http://www16.brinkster.com/rafonline[/size]

  • thanks!

    I will get that in place.


    [blue][italic][b]/WEBMASTER[/b][/italic][/blue]

  • Thanks for the code and that code is now implemented online.

    Also, I have removed the check for duplicate subjects. Lets see how this turns out.

    Also, what feature on this messageboard is missing? or what should I focus on to add to the board or site? I need your feedback! any ideas?




    [blue][italic][b]/WEBMASTER[/b][/italic][/blue]

  • 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]

  • Hi

    Great! I am always glad to receive help from my users!

    Regarding the style sheets I will see what I can do, its not that prioritized at this moment.


    [blue][italic][b]/WEBMASTER[/b][/italic][/blue]

  • Please put the "button disabler" in the [b]Preview message[/b] page too!
    _____________________________
    [size=1][b][grey]Cold[/grey][blue]Shine[/blue][/b]
    http://www16.brinkster.com/rafonline[/size]

  • Please put the "button disabler" in the [b]Preview message[/b] page too!
    _____________________________
    [size=1][b][grey]Cold[/grey][blue]Shine[/blue][/b]
    http://www16.brinkster.com/rafonline[/size]

  • Please put the "button disabler" in the [b]Preview message[/b] page too!
    _____________________________
    [size=1][b][grey]Cold[/grey][blue]Shine[/blue][/b]
    http://www16.brinkster.com/rafonline[/size]

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories