Recent Posts

Pages: 1 [2] 3 4 ... 10
11
Support / Responsive layout problem
« Last post by davivegas on February 14, 2018, 01:01:19 AM »
Hi there!

My website www.sosjovem.com.br uses the Mibew and i'm very happy with the new version, especially because of the new function - mobile responsive layout.

But the Mibew still runs the normal layout when I acess the site in smartphone.

Can anyone helps me?

Thanks, guys.
12
Plugins, tips, and tricks / Re: GeoIP2 Configuration
« Last post by faf on February 09, 2018, 12:23:42 PM »
The link was fixed.

As of the installation process, it's all described in the README.md file that comes along with the official plugin package.
13
Plugins, tips, and tricks / GeoIP2 Configuration
« Last post by zzyber on February 09, 2018, 10:23:02 AM »
Does anyone know how to setup the  Maxmind GeoIP2? I installed the plugin fine but I suppose i need to register somewhere and add information to config.yml

The problem is that the link is broken to documentation from https://mibew.org/plugins#mibew-geoip

Thanks
/André
14
Announcements / Mibew Messenger 3.1.0 has been released!
« Last post by faf on February 05, 2018, 03:22:29 PM »
Hi there! We've released Mibew Messenger 3.1.0!  :)

The brief changelog:

[ + ] Added new permission to control access to system statistics and improve permissions logic
[ + ] Implement responsive design for mobile devices (thanks Bert)
[ * ] Fix installation for Percona XtraDB Cluster (and similar solutions) as database
[ * ] Fix (minor) potential information disclosure vulnerability

You can download the release here: https://mibew.org/download2

Update is recommended.
15
Support / Re: cronjob to set away/offline at a certain time
« Last post by Bert on January 30, 2018, 02:27:37 PM »
Thanks for the feedback.

In the end, I decided to go for a different approach.
I now hide the mibew button itself outside business hours.
So, during the day, they can on-/offline the button...
...and when we're closed visitors don't see the button, which means it's not an issue if an employee accidentally leaves the chat online.
16
Support / Re: cronjob to set away/offline at a certain time
« Last post by faf on January 30, 2018, 12:53:17 PM »
However, one can take a look on this function as a starting point.

Are you sure that function is in use, I don't see any calls to it in the code.

Yes, I'm sure;D

It's a part of the core Client-Server interaction for the Users application. It's called during the special RPC-like interaction between the client and the server. However, it's a little bit complicated matter that can be hard to explain. If you really want to understand it you should start with the docs: https://docs.mibew.org/development/core-architecture.html

I think maybe I need to use notify_operator_alive()?

Yes, probably you could write a plugin that utilizes the CRON_RUN event and calls this function.

[Edit:]
Maybe this is a bit closer?
Code: [Select]
UPDATE operator SET istatus=1,idisabled=1,dtmlastvisited=UNIX_TIMESTAMP(NOW());

To begin with, you don't need idisabled. You don't have to disable an operator, just alter the status. And as it was written before, bare SQL-requests is a bad idea.
17
Support / Re: cronjob to set away/offline at a certain time
« Last post by Bert on January 30, 2018, 08:31:20 AM »
To mess with the system on its low level is not the best way to do the job.

Hm, good point.

However, one can take a look on this function as a starting point.

Are you sure that function is in use, I don't see any calls to it in the code.
I think maybe I need to use notify_operator_alive()?

[Edit:]
Maybe this is a bit closer?
Code: [Select]
UPDATE operator SET istatus=1,idisabled=1,dtmlastvisited=UNIX_TIMESTAMP(NOW());
18
Support / Re: cronjob to set away/offline at a certain time
« Last post by faf on January 29, 2018, 04:52:44 PM »
To mess with the system on its low level is not the best way to do the job.

However, one can take a look on this function as a starting point.
19
Support / cronjob to set away/offline at a certain time
« Last post by Bert on January 29, 2018, 03:04:09 PM »
We currently happily use Mibew on several of our websites.

To make sure we don't accidentally leave the chat Available outside business hours, I would like to add a cronjob to automatically set the chat to Away/Offline.
I'm looking for which SQL query to use.

I've already tried using...

Code: [Select]
UPDATE `operator` SET idisabled=1
...but this doesn't seem to have the intended effect.
(In fact, it somehow made it impossible for me to close the chat manually...)

Which query can I run to automatically close the chat?
20
Support / Re: Are there any responsive layout or mobile layout...
« Last post by faf on January 29, 2018, 11:45:58 AM »
So, the functional responsive design made by Bert is available in the dedicated branch of the official repo: https://github.com/Mibew/mibew/tree/responsive

Everyone who's interested in this feature could test it and provide a feedback, so we can track and fix bugs. And if you have any questions, feel free to ask them.

Update: The code is now in the master branch of the repo.
Pages: 1 [2] 3 4 ... 10