891
culex
Re: Spotify Api v1.07 RC 3
  • 2021/4/11 9:51

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


My pleasure. It's been a while since I have had something to share

Quote:

heyula wrote:
Thanks for sharing



892
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



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

  • alain01

  • Just can't stay away

  • Posts: 530

  • 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



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

  • alain01

  • Just can't stay away

  • Posts: 530

  • 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 ?



895
heyula
Re: Spotify Api v1.07 RC 3
  • 2021/4/10 16:59

  • heyula

  • Theme Designer

  • Posts: 594

  • Since: 2008/4/24


Thanks for sharing



896
culex
Spotify Api v1.07 RC 3
  • 2021/4/10 16:56

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


This is a module to show recently played songs on spotify. It uses jwulssons php api for Spotify found here https://github.com/jwilsson/spotify-web-api-php And displays the recent played list in a carousel block.

Steps to set up the module.

Spotify developer side
1) Go to developer.spotify.com -> log in using your normal spotify procedure.
2) Go to dashboard and create a new app. Call it anything you like. The press the big green app.
3) Copy the two values clientid and client secret. You'll use them in the module settings.
4) Edit your app settings. And fill out what you want but importantly put the link the the module/agent.php as redirect uri (eks. https://www.yoursite.com/modules/spotifyapi/agent.php).

Module settings
1) Go to the spotifyapi settings and put the values clientid & client secret in the text boxex.
2) Check that the URI link in the module matches the one you created in spotify

And it should work.
See it in action here http://www.culex.dk (down right) and http://www.culex.dk/modules/spotifyapi/ for a weekly chart

Test inviroment

Download from trunk here.
https://github.com/djculex/spotifyapi/archive/refs/heads/main.zip

Or fork https://github.com/djculex/spotifyapi



897
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 http://www.culex.dk (currently only activated 2 blocks "online users" and "user menu"



898
Mamba
Re: Looking for a light moduke to better understand Xoops Modules Namespacing
  • 2021/4/8 21:55

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Mage, thanks for fixing the installation issue
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



899
edipinho
Re: Error in the themes, xbootstrap and xswatch?
  • 2021/4/8 14:37

  • edipinho

  • Not too shy to talk

  • Posts: 107

  • Since: 2003/10/15


alain01, it worked perfect, thank you very much.



900
edipinho
Re: Error in the themes, xbootstrap and xswatch?
  • 2021/4/8 14:26

  • edipinho

  • Not too shy to talk

  • Posts: 107

  • Since: 2003/10/15


geekwright, not wanting to disagree and already disagreeing, this problem should be dealt with directly on the topic (it is cell phone so do so) and not in the choices made by the site admin, sorry I am not an expert I am just a user of this excellent CMS.




TopTop
« 1 ... 87 88 89 (90) 91 92 93 ... 29425 »



Login

Who's Online

468 user(s) are online (307 user(s) are browsing Support Forums)


Members: 0


Guests: 468


more...

Donat-O-Meter

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

Latest GitHub Commits