shouptbox kunena plugin errors in Joomla5

zmx
Topic Author
Posts: 18
2 years 11 months ago #4533 by zmx
just tested the kunena plugin on Joomla 5 and have to correct some errors.

shoutboxkunena.php

1. (error on KunenaForum class) added the use Kunena\Forum\Libraries\Forum\KunenaForum; line
2. changed $minKunenaVersion to '6.0', although '6.2' would be better on Joomla 5
3. replaced $this->db = Factory->getDBO with $this->db = Factory::getContainer()->get('DatabaseDriver');
4! replaced $this->app->isAdmin (php error - not found) with the new $this->app->isClient('administrator');
5. replaced !class_exists('KunenaForum') (returns false) with !class_exists('Kunena\Forum\Libraries\Forum\KunenaForum')
(namespace in class file must be included)

don't know what about the language file before __construct,
but I simply replaced the 'JJ_SHOUTBOXKUNENA_MIN_KUNENA_VERSION' with the english string.
$this->app->enqueueMessage(Text::sprintf('Your Kunena version does not meet the minimum requirements. You must be using %s or higher.', $this->minKunenaVersion), 'error'); //

Please Log in or Create an account to join the conversation.

Lodder
Lodder's Avatar
Posts: 1264
2 years 11 months ago #4534 by Lodder
Replied by Lodder on topic shouptbox kunena plugin errors in Joomla5
Hi zmx,

I'll be releasing an update for the plugin today or tomorrow, which will be rewritten using the service provider.

Regards,
Lodder

Please Log in or Create an account to join the conversation.

Lodder
Lodder's Avatar
Posts: 1264
2 years 11 months ago #4536 by Lodder
Replied by Lodder on topic shouptbox kunena plugin errors in Joomla5
Hi zmx,

I've released v11.1.0 of the Shoutbox Kunena plugin, which you can download from:
joomjunk.co.uk/products/ajax-shoutbox-pro.html

Regards,
Lodder

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum