Author Topic: AutoInvite Plugin  (Read 17037 times)

0 Members and 1 Guest are viewing this topic.

lionsgate

  • Full Member
  • ***
  • Posts: 10
    • LionsGate Creative
AutoInvite Plugin
« on: December 13, 2021, 09:25:57 PM »
Cannot seem to get the AutoInvite plugin to work. You can its implementation here: https://www.password-sentry.com/

faf

  • Mibew Staff Member
  • Native
  • *****
  • Posts: 950
    • Mibew Messenger
Re: AutoInvite Plugin
« Reply #1 on: December 14, 2021, 09:48:15 AM »
Well, ok. You've made a statement, and what is a question?

If you need help, you should shed more light on the whole situation.

lionsgate

  • Full Member
  • ***
  • Posts: 10
    • LionsGate Creative
Re: AutoInvite Plugin
« Reply #2 on: December 14, 2021, 07:14:05 PM »
Question is why isn't AutoInvite working? Followed the instructions to the letter.

1. I added the following to the configs/config.yml file:

plugins:
        "Mibew:AutoInvite":
            wait_time: 1
            strategy: first
            group: 1

2. Via Settings, I enabled Tracking and Inviting.

3. I enabled Silent Invitations before I generated the button. Added code to template.

4. I enabled the plugin.
« Last Edit: December 14, 2021, 08:21:50 PM by lionsgate »

faf

  • Mibew Staff Member
  • Native
  • *****
  • Posts: 950
    • Mibew Messenger
Re: AutoInvite Plugin
« Reply #3 on: December 14, 2021, 11:22:59 PM »
Still not enough data. No information about versions, no data on system environment, no description of what you're expecting to get and what you're actually getting. No logs. My crystal ball doesn't show me anything of that.

I've just checked the plugin with your settings on freshly installed Mibew Messenger. It works as intended.

If you see the plugin in the plugins list and it can be enabled (so it's state is 'Working'), then the plugin is installed correctly.

Double check your configuration. It's YAML, spaces matters.

Are you sure that you have operators group with id 1? Are you sure that there are at least one operator there? Are you sure that the operator from the group with id 1 is online? If answer to any of that questions is negative, auto invitation will not be sent.

Moreover, to send auto invitation the visitor should be tracked (i.e. shown in the appropriate list) and should not be invited before. Auto invitation is being sent only once.

lionsgate

  • Full Member
  • ***
  • Posts: 10
    • LionsGate Creative
Re: AutoInvite Plugin
« Reply #4 on: December 15, 2021, 07:30:35 AM »
Mibew Version: 3.5.3.
Environment: PHP 7.4.26 PDO/7.4.26 pdo_mysql/7.4.26 gd/7.4.26 curl/7.4.26 mbstring/7.4.26
Description: When someone calls the site when Status is set as Available, they are not auto-invited.
Plugin is listed, and displays as Enabled.
Yes, Operators Group with ID of 1 exists (chat_optgroup.groupid = 1). Only one.
I login as Operator who is assigned to Group ID #1.
Cannot say for sure if they were tracked. I'll have a person test tomorrow to check this.

Thanks for the feedback, suggestions, and support! Maybe getting closer.

faf

  • Mibew Staff Member
  • Native
  • *****
  • Posts: 950
    • Mibew Messenger
Re: AutoInvite Plugin
« Reply #5 on: December 15, 2021, 11:06:45 AM »
Both manual and auto invitations are impossible without tracking. Actually, it makes sense: if a visitor doesn't want himself to be tracked on a site, he's probably want some privacy and loneliness. So it's up to him whether to contact operator or not. In theory it's possible to track everyone, but Mibew Messenger isn't Big Brother and frankly I don't want to convert it into anything like that.

lionsgate

  • Full Member
  • ***
  • Posts: 10
    • LionsGate Creative
Re: AutoInvite Plugin
« Reply #6 on: December 17, 2021, 01:47:14 AM »
Are you talking about surfer blocking tracking via browser settings, and in such the case they do not appear in Chat Admin?

faf

  • Mibew Staff Member
  • Native
  • *****
  • Posts: 950
    • Mibew Messenger
Re: AutoInvite Plugin
« Reply #7 on: December 17, 2021, 04:17:37 PM »
Something like that. Mibew Messenger make use of tracking cookies. And that cookies could be blocked in multiple ways: usually it's related to browser preferences, by that's not always so.