Mibew Messenger Community

General => Support => Topic started by: esdee51 on December 01, 2009, 11:09:08 AM

Title: Button status not updating
Post by: esdee51 on December 01, 2009, 11:09:08 AM
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,
Title: Re: Button status not updating
Post by: Eddybaur on December 02, 2009, 09:36:11 PM
You have to be lookin at the Visitors page for it to say you're online.
Title: Re: Button status not updating
Post by: esdee51 on December 04, 2009, 12:09:09 AM
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.
Title: Re: Button status not updating
Post by: 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.
Title: Re: Button status not updating
Post by: Inspirer on February 23, 2010, 10:54:35 PM
for what its worth... I'm having the same issue.
latest version (.3) and using firefox.


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.
Title: Re: Button status not updating
Post by: esdee51 on February 24, 2010, 04:54:26 AM

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.

Wonderful if this is done as a priority.