BYuck
inherit
-5129586
0
Nov 24, 2024 11:56:47 GMT -8
BYuck
0
January 1970
GUEST
|
Post by BYuck on Jan 26, 2013 7:07:47 GMT -8
Hello all ....
This may not be the right place to ask for this, but do any of you know how I can turn my shoutbox into an auto-refreshing one?
I've noticed in testing that if someone posts, it won't show up until you refresh it, which can be a little annoying.
Any help would be greatly appreciated!
|
|
inherit
133338
0
Apr 22, 2024 6:38:54 GMT -8
MC
162
November 2008
mooncath
|
Post by MC on Jan 26, 2013 8:45:11 GMT -8
To my knowledge, the Shoutbox already has auto-refresh... I haven't been able to test it much but I seem to remember posts appearing without me having to refresh... Maybe somone who's been able to "play" with it more can confirm?
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jan 26, 2013 8:57:16 GMT -8
The shoutbox currently has an auto-refresh already built in. It is based on how active the shoutbox is to minimize the amount of calls made to the server. When you type a message it starts an auto refresh check. It looks when the last message is and then refreshes or doesn't based on that. it's fairly complex to explain, but essentially if there has been a message in the last 5 minutes it attempts to refresh the shoutbox on it's own. If there isn't then it doesn't bother. If you don't want to type, but still want to start the auto refresh going you can click the little refresh icon. 'Click to Update' it says when hovering. It then goes into 'Auto-Updating' mode. This is the auto refresh. How long the button stays active is directly based on how long since the last message. So in short, as long as your shoutbox is active it will auto refresh automatically. Your request already exists. Thank you. Note: plugins are forbidden to make AJAX calls to Proboards which is basically what the refresh does when it asks Proboards "Is there anything new?"
|
|
BYuck
inherit
-5129790
0
Nov 24, 2024 11:56:47 GMT -8
BYuck
0
January 1970
GUEST
|
Post by BYuck on Jan 26, 2013 9:00:48 GMT -8
thanks for the help!
appreciate it!
|
|