Advertisement:

Author Topic: SA Chat  (Read 501771 times)

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 55,885
  • Gender: Male
    • Kindred-999 on GitHub
Re: SA Chat
« Reply #1780 on: September 23, 2017, 09:41:04 PM »
As expected, it is a jquery comflict...
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline aegersz

  • Sophist Member
  • *****
  • Posts: 1,313
  • Gender: Male
  • "mods" junkie
    • dopetalk
Re: SA Chat
« Reply #1781 on: September 24, 2017, 04:38:57 AM »
I have no idea what that means -- does it imply that SA Chat is faulty?
Linux CentOS VPS running SMF 2.0 with 140+ mods installed (the full h/w and s/w can be seen at http://forum.drugs-and-users.org/index.php/topic,3301)

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 55,885
  • Gender: Male
    • Kindred-999 on GitHub
Re: SA Chat
« Reply #1782 on: September 24, 2017, 07:53:27 PM »
No, it means that both as chat and the gallery mod are trying to use or define the same code
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 68,361
    • Arantor on GitHub
Re: SA Chat
« Reply #1783 on: September 25, 2017, 02:46:44 AM »
No, it means that the gallery checks before use if jQuery has been loaded and if not loads it. And chat doesn't look like it does that.
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline aegersz

  • Sophist Member
  • *****
  • Posts: 1,313
  • Gender: Male
  • "mods" junkie
    • dopetalk
Re: SA Chat
« Reply #1784 on: September 25, 2017, 04:02:43 AM »
it would be great if i could get this sorted because then i could go live with Levertine Gallery !

it's the only mod out of my 130+ that conflicts with it but is the author of SA Chat prepared to work on this ?

I haven't gone to the new version of SA Chat because i like the bar at the bottom of the page and the new version didn't seem to recognise all new members (?).

Thanks Arantor !
Linux CentOS VPS running SMF 2.0 with 140+ mods installed (the full h/w and s/w can be seen at http://forum.drugs-and-users.org/index.php/topic,3301)

Offline ErtugrulBEKTIK

  • Semi-Newbie
  • *
  • Posts: 47
Re: SA Chat
« Reply #1785 on: January 12, 2018, 04:28:21 PM »
I change it with this:
date_default_timezone_set('Europe/Istanbul');
but nothing has changed.

I solve the problem like that:

Open the file below.
sachat => Sources => Chat-Subs.php

Find:
Code: [Select]
$d = new \DateTime('@'.$value.'');
Replace:
Code: [Select]
$timeduzgun = $value+10800;
$d = new \DateTime('@'.$timeduzgun.'');


Note: The number in the code "10800" is second form of time. I mean 10800 seconds equal to 3 hours. I write code like this because my time zone is GMT+3. You colud do whatever your timezone. For example, if your timezone is GMT-6, you may write code like this "$timeduzgun = $value-21600;"

Offline aegersz

  • Sophist Member
  • *****
  • Posts: 1,313
  • Gender: Male
  • "mods" junkie
    • dopetalk
Re: SA Chat
« Reply #1786 on: January 12, 2018, 11:12:53 PM »
is there any way to save a log of all chat messages for audit purposes ?

or something i can do to see some of it ?

it would be a handy thing for a site like mine so any help is most welcome !

thanks
Linux CentOS VPS running SMF 2.0 with 140+ mods installed (the full h/w and s/w can be seen at http://forum.drugs-and-users.org/index.php/topic,3301)

Offline aegersz

  • Sophist Member
  • *****
  • Posts: 1,313
  • Gender: Male
  • "mods" junkie
    • dopetalk
Re: SA Chat
« Reply #1787 on: January 19, 2018, 01:55:54 PM »
i opted for a daily email of a batch SQL query of the 2sicat table as the messages are purged daily also.

crude but it has the data that i want.

Linux CentOS VPS running SMF 2.0 with 140+ mods installed (the full h/w and s/w can be seen at http://forum.drugs-and-users.org/index.php/topic,3301)

Offline der_moron

  • Newbie
  • *
  • Posts: 1
Re: SA Chat
« Reply #1788 on: January 22, 2018, 08:05:47 AM »
i have installed SA Chat @ SMF- 2.0.15

the menu disappear !

Is there a solution to that?

Offline aegersz

  • Sophist Member
  • *****
  • Posts: 1,313
  • Gender: Male
  • "mods" junkie
    • dopetalk
Re: SA Chat
« Reply #1789 on: January 24, 2018, 03:58:24 PM »
do you mean this menu: (?)

Home   Help   Search   Profile   My Messages   Calendar   Members   Logout

is this on a live or test system ? if you need to uninstall it quickly then try to via this starting point:

http://your-website-name/index.php?action=admin

then review the error logs and let us know what you find.
« Last Edit: January 24, 2018, 04:11:59 PM by aegersz »
Linux CentOS VPS running SMF 2.0 with 140+ mods installed (the full h/w and s/w can be seen at http://forum.drugs-and-users.org/index.php/topic,3301)