Advertisement:

Author Topic: SA Chat  (Read 540850 times)

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,747
  • Gender: Male
  • the "mods and tweaks" junkie
    • dopetalk (drugs and users)
Re: SA Chat
« Reply #1860 on: May 16, 2021, 11:58:45 AM »
another fix (by SMF helpers) for PHP 7.2 and above:

see https://www.simplemachines.org/community/index.php?topic=577720
The configuration of my Linux VPS (SMF 2.0 with 155+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline Diego Andrés

  • Customizer
  • SMF Hero
  • *
  • Posts: 3,836
  • Gender: Male
    • DiegoAndresCortes on GitHub
    • @bihgetter on Twitter
    • SMF Tricks - Free & Premium Themes
Re: SA Chat
« Reply #1861 on: May 17, 2021, 02:22:19 PM »
Thanks, will push those soonish (early next month probably), please remind me if I forget.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,747
  • Gender: Male
  • the "mods and tweaks" junkie
    • dopetalk (drugs and users)
Re: SA Chat
« Reply #1862 on: May 31, 2021, 08:20:58 AM »
With MySQL 5.7, the mod fails and produces multiple php_error_log entries that say:

Code: [Select]
Undefined index: database_error in ./Sources/Subs-Db-mysql.php

PHP Fatal error: Call to undefined function allowedTo() in /Sources/Subs-Db-mysql.php on line 1427

Now, that function call to allowedTo relies on Security.php to be loaded (how does SMF load it?)

I had to back to MySQL 5.6 to get it working again.

Any ideas on why this would happen ? I tried every trick I had but no luck.

Much appreciated if you could help.
« Last Edit: May 31, 2021, 08:36:26 AM by aegersz »
The configuration of my Linux VPS (SMF 2.0 with 155+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,747
  • Gender: Male
  • the "mods and tweaks" junkie
    • dopetalk (drugs and users)
Re: SA Chat
« Reply #1863 on: May 31, 2021, 10:07:44 AM »
@Diego Andrés,

I did it for you, see attached.
The configuration of my Linux VPS (SMF 2.0 with 155+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,747
  • Gender: Male
  • the "mods and tweaks" junkie
    • dopetalk (drugs and users)
Re: SA Chat
« Reply #1864 on: June 07, 2021, 01:43:10 AM »
... and here is the original version with it's patches. I keep this one around for group chats as the new version doesn't support that.
The configuration of my Linux VPS (SMF 2.0 with 155+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline Diego Andrés

  • Customizer
  • SMF Hero
  • *
  • Posts: 3,836
  • Gender: Male
    • DiegoAndresCortes on GitHub
    • @bihgetter on Twitter
    • SMF Tricks - Free & Premium Themes
Re: SA Chat
« Reply #1865 on: June 07, 2021, 02:06:53 PM »
Thanks, will take a look later this week and update the repo too.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Offline Diego Andrés

  • Customizer
  • SMF Hero
  • *
  • Posts: 3,836
  • Gender: Male
    • DiegoAndresCortes on GitHub
    • @bihgetter on Twitter
    • SMF Tricks - Free & Premium Themes
Re: SA Chat
« Reply #1866 on: June 11, 2021, 02:14:32 PM »
I pushed the previous changes to a github repo
https://github.com/SMFTricks/SA-Chat

Could you let me know what files you modified on your first attachment so I can add those?

SMF Tricks - Free & Premium Responsive Themes for SMF.

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,747
  • Gender: Male
  • the "mods and tweaks" junkie
    • dopetalk (drugs and users)
Re: SA Chat
« Reply #1867 on: June 11, 2021, 03:29:00 PM »
for the latest version (SAChatBar-1.0b):

package-info.xml
Changlog.txt

sachat/index.php

sachat/Sources/Subs.php

sachat/Sources/User.php
The configuration of my Linux VPS (SMF 2.0 with 155+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline Diego Andrés

  • Customizer
  • SMF Hero
  • *
  • Posts: 3,836
  • Gender: Male
    • DiegoAndresCortes on GitHub
    • @bihgetter on Twitter
    • SMF Tricks - Free & Premium Themes
Re: SA Chat
« Reply #1868 on: June 11, 2021, 10:10:25 PM »
Are those the same fixes from before? If so they are already on github then.
I can upload the updated package to the modsite, it'll just be named 1.1 Beta 1 instead

SMF Tricks - Free & Premium Responsive Themes for SMF.

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,747
  • Gender: Male
  • the "mods and tweaks" junkie
    • dopetalk (drugs and users)
Re: SA Chat
« Reply #1869 on: June 11, 2021, 11:12:21 PM »
Yes, same as before. The main changes I made were for the original version. The only difference on the recent version is for the null array value - I used array() and you used [].
The configuration of my Linux VPS (SMF 2.0 with 155+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here