General > Support
Button status not updating
esdee51:
Hi,
The code generated and used for displaying the button on the web page does not update the image from online to offline or vice-versa. Is it periodically polling to check if any operator is online?
A full refresh of the page obviously refreshes the button status also but it would be nice to have it check every so many seconds/minutes (configurable) and update the image if required.
Regards,
Eddybaur:
You have to be lookin at the Visitors page for it to say you're online.
esdee51:
Let me give a scenario:
No operator online-
1. Visitor to the web page sees the offline button.
2. Whilst visitor is still on the page, an operator comes 'online' by opening the Visitors page. The button status still remains the same even after over a minute. A full refresh of the page gives the new status.
Maybe I am missing something but I do not see anything in the button code which will poll for the operator status periodically.
jrobie23:
for what its worth... I'm having the same issue.
latest version (.3) and using firefox.
Inspirer:
--- Quote from: jrobie23 on February 23, 2010, 03:20:52 PM ---for what its worth... I'm having the same issue.
latest version (.3) and using firefox.
--- End quote ---
I don't think it is reasonable to poll server from every page at your site. It is better to get the image once.
+: no server load, no extra javascript, compatibility with very old browsers
I'm going to add an ability to generate code with polling, but rather for "Text" buttons.
Navigation
[0] Message Index
[#] Next page
Go to full version