Time to wait between posts bug

Started by SpectroPro, September 06, 2008, 04:26:48 PM

Previous topic - Next topic

SpectroPro

Using the newest SMF 2b...

I set the time to wait between posts to 30 seconds.  Got a couple messages that when people would get the 'too soon' message, and click back, it was deleting their entire post.

I tested this in both IE7 and FF3b.  Had other people test it as well. 

Results:

In FF:  Firefox has built in 'recover' of what you typed into a text box whenever you go back.  Very handy feature, and all browsers should do it. :)   So the issue wasn't there.   Turns out, the complainers were indeed all using IE.  (however, there is another bug here...I'll mention in a moment.)

In IE (6 and 7):  When a user posts too quickly they get the message.  If they click back (text or browser button) it clears the text box.  Other BBS software doesn't do this.. That's why they mentioned it..  They came to our site from another using other bbs software.  So they were used to to text being there when they went back. 

In both cases, IE and FF, I found this interesting bug:

I type a message.  Post it.  Quickly type another one.  This second message says:  "testing again" and I click to post.  It gives me the warning of too quick.  I click back.  Now, it doesn't matter which browser I use.  It doesn't matter if the text is still there, or NOT..  I change the text.  It now says:  'I want to test this"  I wait the time..and I click to post.  NOW, it doesn't give me the time limit problem.  EVEN if I click to post instantly, still under the 30 seconds.  NOW the message is that I am posting the same message I just posted. 

As stated, doesn't matter if the message is totally different or not.  Until I get OUT of the reply mode, it thinks that anything I enter is the same as what I tried to send before.. 

NOTE:  when I turn off the time limit, it all works perfectly..  So it seems to be in that module of the time limit. 

Stats:  SMF v. 2b4  -  Mambo v4.65  -  Bridge v2.0b1

http://www.therealityrocks.com    http://forum.therealityrocks.com/trr
- Greg

SleePy

The back button is based off telling your browser to go back 1 page in its history.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

SpectroPro

Quote from: SleePy on September 08, 2008, 08:32:29 PM
The back button is based off telling your browser to go back 1 page in its history.

I understand that.  What does that fact have to do with the problem / bug ??

(fyi, I have coded html since the creation of the W3.  I know well how it should and does work. I also work on firefox creation...    not being a snoot, but just letting you and others know...I am not a novice at this stuff.  I have found a problem, and wonder if anyone else notices it, or if this bug has been reported by others..  over 30 people on my forum have report it...  )
Stats:  SMF v. 2b4  -  Mambo v4.65  -  Bridge v2.0b1

http://www.therealityrocks.com    http://forum.therealityrocks.com/trr
- Greg

SleePy

I believe other software may use a form link that hides the actual post contents to create a return button and then auto-fills the message area.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

SpectroPro

Ok..sorry, but I have no clue what your replies have to do with the error that has been reported or the bug of SMF saying you have already posted the same post, when you have not.. 

No other forum software does this, and SMF 1 anything did NOT do this..

Here, if you wish to test it yourself..  In 2.0b3.1  with a quick reply timer turned on..  Say 30 seconds..

Post a reply to a topic.
As soon as it posts, post again, anything different..   You will be warned that you can't post again, too soon.  (most other bbs software just puts up a timer and tells you how long you have to wait.  With the timer is a post button, so once the timer expired, you click post.  If not a dynamic timer, every time you hit the post button, it shows you the NEW time you have to wait...so you see it going down every time you hit it...  THAT would be a nice addition to SMF)

Now, after it tells you that you must wait, it gives you the option to GO BACK.  It's a text link.  Click this, since it is about your only option.  IN IE, the text you entered is gone.. doesn't matter for this bug..  Type something else into the box.  Click to post it.  It will tell you that you already posted that same thing.  The ONLY way to get out of this bug, is to click OUT of that topic, then go back.

Stats:  SMF v. 2b4  -  Mambo v4.65  -  Bridge v2.0b1

http://www.therealityrocks.com    http://forum.therealityrocks.com/trr
- Greg

Advertisement: