xoops forums

culex

Module Developer
Posted on: 4/10 16:43
culex
culex (Show more)
Module Developer
Posts: 711
Since: 2004/9/23
#1

Lasius 1.18 RC 3

Lasis is (as we all know) the working ant. And is the name of this module, as I was looking for a name for something that was keeping busy. And thus the name.

The module is kind of sending workers to each block and refreshing them. This way it would keep your Online users block up-to-date, user menu with messages fresh and any other module currently supported by the module. It is a work in progress but I havent had any issues recently so feel free to grab a trunk version to try it out.

My test inviroment is this.
XOOPS : 2.5.11-Beta2
PHP Version : 7.4.16
MySQL Version : 5.5.5-10.3.28-MariaDB-1:10.3.28+maria~focal

And the link is here.
https://github.com/djculex/lasius/archive/refs/heads/main.zip

Or see it on www.culex.dk (currently only activated 2 blocks "online users" and "user menu"

alain01

Just can't stay away
Posted on: 4/11 1:30
alain01
alain01 (Show more)
Just can't stay away
Posts: 500
Since: 2003/6/20
#2

Re: Lasius 1.18 RC 3

Hi Culex, Thank you for this work !

I got a message during installation :

Avertissement: Invalid argument supplied for foreach() dans le fichier /modules/lasius/include/install.php ligne 44

And tab "block settings" :
Notification: Array to string conversion dans le fichier /modules/lasius/class/Db.php ligne 97

Hum, It could be take big ressources for 15 s to 1 mn, no ?

I understand for the block "Who is online"
But for the user menu, What 's changing if I didnt click on a link ?

alain01

Just can't stay away
Posted on: 4/11 1:34
alain01
alain01 (Show more)
Just can't stay away
Posts: 500
Since: 2003/6/20
#3

Re: Lasius 1.18 RC 3

I can modify parameters in the tab block setting
But no "validation" button,
So, when i go to another tab then come back to block settings, my changes are not keep.
May be cause the error : Notification: Array to string conversion dans le fichier /modules/lasius/class/Db.php ligne 97

culex

Module Developer
Posted on: 4/11 9:40
culex
culex (Show more)
Module Developer
Posts: 711
Since: 2004/9/23
#4

Re: Lasius 1.18 RC 3

Quote:

alain01 wrote:
Hi Culex, Thank you for this work !

I got a message during installation :

Avertissement: Invalid argument supplied for foreach() dans le fichier /modules/lasius/include/install.php ligne 44

And tab "block settings" :
Notification: Array to string conversion dans le fichier /modules/lasius/class/Db.php ligne 97

Hum, It could be take big ressources for 15 s to 1 mn, no ?

I understand for the block "Who is online"
But for the user menu, What 's changing if I didnt click on a link ?


Forgot to add the table name in xoops_version.php it's fixed in github trunk

Well nothing mutch will change in usermenu except the icon form messages will change if you recieve a message.

It does add up with 15 seconds. I have added xoops garbage collector and seems to do ok. I had the page open over night and It aparently has a limit (in this case after a few hours) where you'll need to refresh. But Gc seems to help