Author Topic: Button status not updating  (Read 13365 times)

0 Members and 1 Guest are viewing this topic.

esdee51

  • Full Member
  • ***
  • Posts: 6
Button status not updating
« 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,

Eddybaur

  • Native
  • *****
  • Posts: 237
  • Mibew Member
    • Mibew
Re: Button status not updating
« Reply #1 on: December 02, 2009, 09:36:11 PM »
You have to be lookin at the Visitors page for it to say you're online.

esdee51

  • Full Member
  • ***
  • Posts: 6
Re: Button status not updating
« Reply #2 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.

jrobie23

  • Jr. Member
  • **
  • Posts: 1
Re: Button status not updating
« Reply #3 on: February 23, 2010, 03:20:52 PM »
for what its worth... I'm having the same issue.
latest version (.3) and using firefox.

Inspirer

  • Mibew Project founder
  • Native
  • *****
  • Posts: 262
    • Mibew Messenger
Re: Button status not updating
« Reply #4 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.

esdee51

  • Full Member
  • ***
  • Posts: 6
Re: Button status not updating
« Reply #5 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.