Author Topic: Stop offline messages?  (Read 11724 times)

0 Members and 2 Guests are viewing this topic.

FirestarZA

  • Jr. Member
  • **
  • Posts: 1
Stop offline messages?
« on: April 23, 2010, 08:02:29 AM »
Hi,

Is there any way to disable offline messages in the live chat app?

Inspirer

  • Mibew Project founder
  • Native
  • *****
  • Posts: 262
    • Mibew Messenger
Re: Stop offline messages?
« Reply #1 on: April 27, 2010, 12:39:26 PM »
Is there any way to disable offline messages in the live chat app?

To stay online forever:
"Settings -> Performance -> Operator online time threshold" = 999999999

Do not show "Leave offline message" page, even when all operators are offline:
Modify client.php, remove 7 lines starting from "if(!has_online_operators($groupid)) {".

pyrofallout

  • Jr. Member
  • **
  • Posts: 3
Re: Stop offline messages?
« Reply #2 on: November 22, 2010, 06:54:13 PM »
I know this is an old thread, but figured I would leave this here in case it helps anyone else in the future:

I wanted to do something similar but I still wanted to retain the ability to notify a visitor that no operators were available (I just didn't want them to be able to leave a message.)

What I did was remove lines 41-58 from leavemessage.tpl

This removed the form but left the offline page. I also went and changed leavemessage.title in localization to "No operators available" instead of "Leave a message".

Hope this helps!  :)