Comments on this site

Moderators: WEBMASTER
Number of threads: 335
Number of posts: 1030

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Duplicate posts? Posted by KDivad Leahcim on 21 Mar 2002 at 11:46 AM
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
Report
Re: Duplicate posts? Posted by ColdShine on 22 Mar 2002 at 5:34 AM
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 <input> element).
_____________________________
ColdShine
http://www16.brinkster.com/rafonline


Report
Re: Duplicate posts? Posted by KDivad Leahcim on 22 Mar 2002 at 6:41 AM
: 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 <input> element).
: _____________________________
: ColdShine
: http://www16.brinkster.com/rafonline

:
:

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...
Report
Re: Duplicate posts? Posted by Eric Tetz on 8 Apr 2002 at 3:26 PM
: 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 not a duplicate 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
Report
Re: Duplicate posts? Posted by KDivad Leahcim on 9 Apr 2002 at 5:10 AM
: : 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 not a duplicate 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.
Report
Re: Duplicate posts? Posted by ColdShine on 13 Apr 2002 at 2:02 PM
Well, I took a look around (other sites), and I've seen the most widely adopted solution (even by M$) is to add a disabled tag attribute upon the first onClick event. WEBMASTER please...
_____________________________
ColdShine
http://www16.brinkster.com/rafonline


Report
Re: Duplicate posts? Posted by WEBMASTER on 15 Apr 2002 at 10:38 PM

:
I will fix that, anyone who has a ready made script for that are welcome to email it to me!


/WEBMASTER

Report
Re: Duplicate posts? Posted by ColdShine on 20 Apr 2002 at 10:54 AM
Script code? Yeah, sure:
<!-- from your post message form HTML code -->
<input type="submit"
       name="PostMessage"
       value="   Post Message   "
       onClick="disabled=true; form.submit();"
>

_____________________________
ColdShine
http://www16.brinkster.com/rafonline


Report
Re: Duplicate posts? Posted by WEBMASTER on 21 Apr 2002 at 1:44 AM
thanks!

I will get that in place.


/WEBMASTER

Report
Re: Duplicate posts? Posted by WEBMASTER on 22 Apr 2002 at 1:36 AM
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?




/WEBMASTER

Report
Re: Duplicate posts? Posted by ColdShine on 23 Apr 2002 at 1:49 PM
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 <style> 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.
_____________________________
ColdShine
http://www16.brinkster.com/rafonline


Report
Re: Duplicate posts? Posted by WEBMASTER on 23 Apr 2002 at 11:04 PM
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.


/WEBMASTER

Report
Re: Duplicate posts? Posted by ColdShine on 25 Apr 2002 at 1:25 PM
Please put the "button disabler" in the Preview message page too!
_____________________________
ColdShine
http://www16.brinkster.com/rafonline


Report
Re: Duplicate posts? Posted by ColdShine on 25 Apr 2002 at 1:25 PM
Please put the "button disabler" in the Preview message page too!
_____________________________
ColdShine
http://www16.brinkster.com/rafonline


Report
Re: Duplicate posts? Posted by ColdShine on 25 Apr 2002 at 1:25 PM
Please put the "button disabler" in the Preview message page too!
_____________________________
ColdShine
http://www16.brinkster.com/rafonline





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.