1
culex
Lasius 1.18 RC 3
  • 2021/4/10 16:43

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


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"

2
alain01
Re: Lasius 1.18 RC 3
  • 2021/4/11 1:30

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


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 ?

3
alain01
Re: Lasius 1.18 RC 3
  • 2021/4/11 1:34

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


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

4
culex
Re: Lasius 1.18 RC 3
  • 2021/4/11 9:40

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


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

Login

Who's Online

163 user(s) are online (110 user(s) are browsing Support Forums)


Members: 0


Guests: 163


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits