livehelperchat
livehelperchat copied to clipboard
Work hours/work days logic problem
"work hours/work days logic is active" and " Ignore users online statuses and use departments online hours " are checked. When I am using Hours 13.00 to 3.00 and operators are offline the chat is offline from 13.00 to 24.00 so its not working correctly . Can you help me ?
When I am using Hours from 13.00 to 24.00 and operators are offline the chat is online from 13.00 to 24.00 so its working correctly.

As you may see at screen shot hours , Monday and Tuesday it was not working. Wednesday its working correctly.
pandiStefo reports:
let me explain again , for today if you see in screen shot that i have sent to you wednesday its working, but if i change the hours from 13 00 to 24 00 and to change it from 13 00 to 3 00 its not working anymore
Maybe this issue is present because you set a start time on Thursday and you set the end time on an hours who goes on the next day. The Live helper chat should maybe not allow you to do this or a different solution should be found for made this issue not happen.
It would be better if there are more than a row for choosing hours within a day.For example
Monday
-
Hours from:
<input type="number" max="24" >Minutes from:<input type="number" max="24" >Hours to:<input type="number" max="24" >Minutes to:<input type="number" max="24" > -
Hours from:
<input type="number" max="24" >Minutes from:<input type="number" max="24" >Hours to:<input type="number" max="24" >Minutes to:<input type="number" max="24" > -
Hours from:
<input type="number" max="24" >Minutes from:<input type="number" max="24" >Hours to:<input type="number" max="24" >Minutes to:<input type="number" max="24" >
Tuesday
- Hours from:
<input type="number" max="24" >Minutes from:<input type="number" max="24" >Hours to:<input type="number" max="24" >Minutes to:<input type="number" max="24" > - Hours from:
<input type="number" max="24" >Minutes from:<input type="number" max="24" >Hours to:<input type="number" max="24" >Minutes to:<input type="number" max="24" > - Hours from:
<input type="number" max="24" >Minutes from:<input type="number" max="24" >Hours to:<input type="number" max="24" >Minutes to:<input type="number" max="24" >
Could it be possible @remdex ?
This is next to impossible to get right and please everyone, plus it can be fairly complex... What about making such a feature pluggable? Standardize on some data format or even a TRUE/FALSE result that can be returned from a custom file/class/function that determines the online/offline status, and let people figure out the code themselves.
At least this way it can offer unlimited functionality, and even handle the most advanced cases with holidays and such too. Such plugins can be exchanged with their own config files or even integrated into cron to make things easier on non-programmers.
Yeah, it's just to complex to have it right. Because 13 till 3 is already different day. You can meanwhile just setup this logic using custom date range's department itself. But in any case this feature I do no think will be implemented ever in standard version. Or someone will be willing to implement it.
@remdex I am using Custom period logic its working for me. I think it will be a feature for your app having multiple ranges per day.