I have tried this in FF and IE. I would like the shoutbox to update whenever a user submits a new message. As it stands now, our users will submit items 4-5 times and the the auto refresh will occur. Is there something that could be wrong with our install?
Comments
Comment #1
disterics commentedSo say there are two users on the site - user1 and user2.
When user1 submits a shout - he will see it immediately in the shoutbox. User2 will however not see it immediately. User2 will see it at the next refresh.
Sounds like your refresh interval might be too high.
Comment #2
ron williams commentedActually, what's occurring is when user a submits a shout, the page does not refresh for user a, and the text he just submitted stays in the form. Often, the user will submit the text several times thinking that the text was not posted when in fact it was.
Comment #3
disterics commentedCan you try the latest dev build and let me know if this issue still exists ?
Comment #4
survivorx commentedI think I have the same bug. For me it's like this:
Shoutbox 6.x-1.x-dev (2008-Jun-02) works fine for registered users. If a guest user shouts something, the registeres users see it with the next Ajax refresh. The guest user's Shoutbox is updated on submit but on the next Ajax refresh, the old state is restored. If a registered user shouts something, the guest users don't get an update. You can see the problem by viewing the file "shoutbox/js/view", which is polled by Ajax. For guest users, this file doesn't update, for registered users it does. I can force an update for guest users by running "cron.php".
Regards,
Stefan
Comment #5
disterics commented@survivorx - can you create a new issue for your problem.
Comment #6
mjourney2 commentedI am actually having the same problem... People will hit the submit button but the form won't submit right away. So they hit it again, and again... I don't see why this should be affected by the refresh interval. It should be able to submit the message, and only see it in the box when the box refreshes. But at least clear the input field so that people know it has been submitted already.
Thanks!
Comment #7
disterics commentedCommitted a fix. The input fields are reset and the submit button is replaced with a throbber.
Comment #8
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.