pluginsGLPI / telegrambot

Telegram Bot for GLPI
https://pluginsglpi.github.io/telegrambot/
GNU General Public License v3.0
39 stars 32 forks source link

Doesn't work properly with 9.5+ #40

Open RedAkatsuki opened 3 years ago

RedAkatsuki commented 3 years ago

Hi!!, there will be an update upgrade to 9.5+ support? I am new installing this plugin but in the tests carried out it does not work with the latest version to this date, I followed the instructions but did not send any notification to telegram, thanks for your attention

sazanof commented 3 years ago

Hi! My version is 9.5.5 and the plugin works correctly. You don't need to create a new notification, you only need to create a new notification template with translation. If you also create a new notification, the notifications will not work.

Привет! Моя версия 9.5.5 и плагин работает корректно. Не нужно создавать новое уведомление, нужно создавать только новый шаблон уведомления с переводом. Если создать также новое уведомление, то уведомления не будут работать.

JohnBolanos commented 3 years ago

How install this in GLPI 9.5.3 because this use add buttom is disabled

jcrosasv commented 3 years ago

Hi! My version is 9.5.5 and the plugin works correctly. You don't need to create a new notification, you only need to create a new notification template with translation. If you also create a new notification, the notifications will not work.

Привет! Моя версия 9.5.5 и плагин работает корректно. Не нужно создавать новое уведомление, нужно создавать только новый шаблон уведомления с переводом. Если создать также новое уведомление, то уведомления не будут работать.

Hello sazanof, How did you that, could you please explain about it little more becuase I followed your instructions but I could able to do that. Thanks in advance

yakirillko commented 3 years ago

Hi! My version is 9.5.5 and the plugin works correctly. You don't need to create a new notification, you only need to create a new notification template with translation. If you also create a new notification, the notifications will not work. Привет! Моя версия 9.5.5 и плагин работает корректно. Не нужно создавать новое уведомление, нужно создавать только новый шаблон уведомления с переводом. Если создать также новое уведомление, то уведомления не будут работать.

Hello sazanof, How did you that, could you please explain about it little more becuase I followed your instructions but I could able to do that. Thanks in advance

Hi! It is quite simlpe. just change Setup.php in plugin directory like this

setup.txt

sazanof commented 3 years ago

Hi! My version is 9.5.5 and the plugin works correctly. You don't need to create a new notification, you only need to create a new notification template with translation. If you also create a new notification, the notifications will not work. Привет! Моя версия 9.5.5 и плагин работает корректно. Не нужно создавать новое уведомление, нужно создавать только новый шаблон уведомления с переводом. Если создать также новое уведомление, то уведомления не будут работать.

Hello sazanof, How did you that, could you please explain about it little more becuase I followed your instructions but I could able to do that. Thanks in advance

Pls,give the screenshots of settings(template and notification)

Also i can send my plugin folder archive if you need

andreramon commented 3 years ago

Does not work in version 9.5.3

image

When clicking on notifications it appears!

DimmoK commented 3 years ago

Does not work in version 9.5.3

image

When clicking on notifications it appears!

Hello!

I have the same problem.

In log error I see that notification:

[2021-07-20 09:36:25] glpiphplog.ALERT: *** PHP Compile Error (64): require(): Failed opening required '/var/www/glpi/plugins/telegrambot/vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/glpi/plugins/telegrambot/inc/bot.class.php at line 29

/var/www/glpi/plugins/telegrambot/vendor/autoload.php - doesn't exist....

I used this release! compressed archive bz2

And now I can use settings.

Sorry for my very bad English.

Thanks!

fcrispim77 commented 3 years ago

Hi Guys!!!

Works for us:

This release, sugested by Dimmok:

https://github.com/pluginsGLPI/telegrambot/releases/download/2.0.0/glpi-telegrambot-2.0.0.tar.bz2

Changing setup.php with this version, sugested by yakirillko:

https://github.com/pluginsGLPI/telegrambot/files/6506466/setup.txt

Please, create a new version with these changes!!

image

image