Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: SA™ on July 21, 2010, 10:36:59 PM

Title: SA Chat
Post by: SA™ on July 21, 2010, 10:36:59 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=2534)

SA Chat Bar

MySpace/Facebook style chat bar for Simple Machines Forum.

SMF 2.0x - Chat Bar

Developed for SMF forums c/o SA @ http://www.facebook.com/devsamods           
Copyright 2013 Wayne Mankertz (SA)                           

SA Chat bar software integrates with SMF and works with SMF without working within SMF. This is done by loading the SMF cookie from the browser and verifying it against data saved in the database. This way of working allows SA Chat to run inside and outside of SMF and throughout your website as long as the user is logged into SMF.

The integration codes can be put into any html code. One in the head and one in the body. The install script however installs the JavaScript codes by default in the default theme, but you can add these codes into whatever template you like SMF or not.

here is so far a quite bit of possibilities left for you to explore with the custom template and chat sound system SA Chat has to offer. I am looking forward to what theme designers might have to add to this equation.

You can also customize how SA Chat works from the SMF Admin Panel. You can set the chat heart beat, message window heart beat and set how many days until the chat purges old messages.

SA Chat also comes with share links to MySpace, Facebook and Twitter. This allows your site visitors to post the page they are at to any of these social networks.

In the Who's Online section of the chat you will see all of your buddies. Just click on a buddy to start a chat session.

Licence

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

Disclaimers:

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Please read all other license agreements contained within this package.
Title: Re: 2-SI Chat
Post by: crustybum on July 22, 2010, 06:29:16 AM
will this work on 1.1.11?
Title: Re: 2-SI Chat
Post by: haito on July 22, 2010, 10:04:34 AM
interesting mod, i will try it  ;)
Title: Re: 2-SI Chat
Post by: hadesflames on July 22, 2010, 10:06:07 AM
will this work on 1.1.11?

No.
Title: Re: 2-SI Chat
Post by: nend on July 22, 2010, 12:47:17 PM
will this work on 1.1.11?

So far what the mod page says, SMF 2.0 RC3. May be compatible with other versions of the SMF 2 branch but currently untested.

However older versions where compatible. I had to switch the chat to use smcFunc to get approved here, so revision 17 and down with a little work will work with SMF1. Only bad part is it is not as feature rich, bugs and is not optimized.
Title: Re: 2-SI Chat
Post by: just.eno on July 23, 2010, 01:09:58 AM
I have installed this mod into my forum but after I went to the home does not happen right? anyone can tell me?
Title: Re: 2-SI Chat
Post by: Nirose on July 23, 2010, 03:10:55 AM
The mod installed correctly but nothing happens there is no bar or anything showing up on the forum.
Title: Re: 2-SI Chat
Post by: NaYa on July 23, 2010, 05:35:39 AM
Hello there ,

I installed this mod on my forum,Installed correctly with out any errors.

But nothing happens ,No chat ,nothing,I am running SMF 2.0 RC3  .

Thank you .
Title: Re: 2-SI Chat
Post by: diamondred123 on July 23, 2010, 05:50:01 AM
i had same problem as everyone else
Title: Re: 2-SI Chat
Post by: m1993 on July 23, 2010, 10:26:26 AM
it works on Smf 1.1.1?
Title: Re: 2-SI Chat
Post by: Joker™ on July 23, 2010, 10:40:31 AM
it works on Smf 1.1.1?
nope


In SMF2.0 RC3 the settings path is here
?action=admin;area=2sichat; (not the one shown in pic on the mod page ) , also there is a gadget button which shows some values in broken way.Also when you try to save them you get error

Object not found!

and i was also not able to get it working
Title: Re: 2-SI Chat
Post by: NaYa on July 23, 2010, 10:50:33 AM
@ nend .........

A reply may be MUST .
Title: Re: 2-SI Chat
Post by: Joker™ on July 23, 2010, 10:53:55 AM
@ nend .........

A reply may be MUST .

have Patience boy , he may be out .This will get sorted soon ;)
Title: Re: 2-SI Chat
Post by: nend on July 23, 2010, 10:55:34 AM
The problem is custom themes, The chat usually only installs to the default theme's index.template.php. During the install you can select to install to additional themes but this does not always work.

Here is the manual way to install the chat on custom themes.

Open index.template.php in the theme you want 2-SI Chat to work in.

Find
Code: [Select]
</head>
Add Before
Code: [Select]
<script type="text/javascript" src="http://www.your-site.com/path_to_forum/2sichat/index.php?action=head"></script>
Find
Code: [Select]
<body>
Add After
Code: [Select]
<script type="text/javascript" src="http://www.your-site.com/path_to_forum/2sichat/index.php?action=body"></script>
Be sure to replace the path in the codes from http://www.your-site.com/path_to_forum to your site and path to your forum.
Title: Re: 2-SI Chat
Post by: nend on July 23, 2010, 11:16:25 AM
@NaYa

Well visited your site and the code seems to be in place in the template. This isn't a new issue and even though the mod installed correctly it usually means the PHP files for the chat can not execute.

So the problem is usually folder and file permissions. FTP to your site and try this.

2sichat 755
2sichat/index.php 755
2sichat/body.js.php 755
2sichat/head.js.php 755
2sichat/cache 755
2sichat/themes/default/index.php 755
Title: Re: 2-SI Chat
Post by: diamondred123 on July 23, 2010, 02:03:58 PM
thanks man the premissions helped me alot
Title: Re: 2-SI Chat
Post by: Joker™ on July 23, 2010, 03:28:16 PM
i installed it on my test site and im using default curve theme on it.
Title: Re: 2-SI Chat
Post by: Dysfunctional Monkey on July 23, 2010, 04:28:23 PM
I was able to install it without any problems but when I click who's online to try to start a chat the box this blank.  Any ideas why?
Title: Re: 2-SI Chat
Post by: Dysfunctional Monkey on July 23, 2010, 04:50:42 PM
sorry forgot to list my site www.unitedfitnessguide.com/forums
Title: Re: 2-SI Chat
Post by: GQCritic on July 23, 2010, 06:05:49 PM
Oh wow, what a neat mod!

Thank you nend!
Title: Re: 2-SI Chat
Post by: Threepwud on July 23, 2010, 08:12:47 PM
I too am having issues. This mod does look absolutely lovely though! When installed it doesn't show and the bottom left of the browser shows an error sign. Could this be due to a portal installation?
Title: Re: 2-SI Chat
Post by: nend on July 24, 2010, 12:07:09 AM
I was able to install it without any problems but when I click who's online to try to start a chat the box this blank.  Any ideas why?
The who's online section is made to be a buddy list of buddies online. I can see how this can cause some confusion.

My beta tester has ported it out by editing the query in function genBudList in 2sichat/index.php to show who's online. I may in future revisions make it optional in the control panel.

I too am having issues. This mod does look absolutely lovely though! When installed it doesn't show and the bottom left of the browser shows an error sign. Could this be due to a portal installation?
Check this post out - http://mods.2-si.net/2si_chat_support/2si_chat_installation_trouble_shooter_29.0.html - to see if any of the steps solve any problems you may have. ;)

Also on a side note I made a little post at my support site with tips and tricks - http://mods.2-si.net/2si_chat_support/2si_chat_tips_tricks_18.0.html -. This site also has a working demo of 2-SI Chat.

Title: Re: 2-SI Chat
Post by: just.eno on July 24, 2010, 01:53:49 AM
I have installed this mod but there's something not right when there are two members of their online is not listed in the bar who's online? that why? Can help me.
Title: Re: 2-SI Chat
Post by: NaYa on July 24, 2010, 01:58:28 AM
@ nend .....
Ahhh thank you .It really help me alot .

I am sorry if you feel hearts .

Your mod is realy good .
Title: Re: 2-SI Chat
Post by: NaYa on July 24, 2010, 02:31:19 AM
Nend one more issues ,i can see the bar .but i cant see the online list .the online list in empty  ,but i have buddies online that time .

anyway ?
Title: Re: 2-SI Chat
Post by: nend on July 24, 2010, 11:07:35 AM
Nend one more issues ,i can see the bar .but i cant see the online list .the online list in empty  ,but i have buddies online that time .

anyway ?

The problem may be that they haven't added you as a buddy back. You can check the member tables to see if they added you or you can just create a test account and add your account as a buddy from there and log into your account and add your test account as a buddy.

I registered at your site, add me as a buddy to see if you can see me, I have already added the two admin accounts as my buddy, don't know which one is yours.

Me and a buddy had a talk about what is considered as a buddy. At first the mod had it as soon as you added someone and they haven't added you back that they where on your chat list. But then we considered this to not be a true buddy and I made it two directional meaning they have to add you also.

It may be a little confusing though since SMF's buddy system has not matured. But if you look at it sites like Facebook and MySpace are the exact same way, you have to wait until they add you back before they are truly your buddy. I wish SMF did a notification every time someone has removed a user or made a request but it does not, making it more confusing to know if you are added on their list or not.

Title: Re: 2-SI Chat
Post by: InfoStrides on July 25, 2010, 01:07:40 AM
Good job nend! I have it working fine on my forum http://www.theinfostrides.com (http://www.theinfostrides.com). I changed permission for all folders and files in 2-Si Chat folder from 666 to 755.

Meanwhile, I want to modify it in the following:
- Change toolbar colour
- Enlarge chat message width

Can you give me a hint where to go?

Thank you.
Title: Re: 2-SI Chat
Post by: NaYa on July 25, 2010, 02:34:54 AM
@ nend

Thanks yaaar . Its helped me a lot .

I think that it i s a better idea to provide all the common erros or mistakes ..

So that the admin can easily find what they are missing . . .

And also i have some Suggestion that to give some more options in the admin cp ,more styles

and also the sound is making me some problems (it's IDM ) ...

And also some other idea ,can u make chat which is from Gmail,facebook also ....

It will be very helpfull ,Usefull !!
Title: Re: 2-SI Chat
Post by: diamondred123 on July 25, 2010, 06:23:00 AM
hi, what file do i need to edit (in the install) to make it so that it is anyone who is online and not just the buddy list
Thanks man
Title: Re: 2-SI Chat
Post by: SA™ on July 25, 2010, 10:45:52 AM
great work nend nice to see this approved at last :)
Title: Re: 2-SI Chat
Post by: nend on July 25, 2010, 12:10:57 PM
Please note though features will be added when I do that feature. May be a couple of revisions from the current one. They will however be published as they are added at - http://mods.2-si.net/project,1/

Good job nend! I have it working fine on my forum http://www.theinfostrides.com (http://www.theinfostrides.com). I changed permission for all folders and files in 2-Si Chat folder from 666 to 755.

Meanwhile, I want to modify it in the following:
- Change toolbar colour
- Enlarge chat message width

Can you give me a hint where to go?

Thank you.

ftp to your site and go to forum_path/2sichat/themes/default

You got mp3 sound files to remove or replace, a style sheet, language file, images folder and a template there. ;)

hi, what file do i need to edit (in the install) to make it so that it is anyone who is online and not just the buddy list
Thanks man

File is not in the install it is in forum_path/2sichat/index.php. I plan however to make this optional in a future relase, so waiting may be the key. But if you need it now edit that file with the appropriate query and there you go.

Be careful though, more is not always better, the chat system like most chat systems has a potential to overload your db or server. The more users you let chat to each other the more db connections and file request.

And also some other idea ,can u make chat which is from Gmail,facebook also ....

It will be very helpfull ,Usefull !!

Do you mean to chat to people from Facebook and Gmail or to send social bookmarks? Can you clarify your request?

More social bookmark request are welcome, if anybody submits one please post the landing page of the site so I can figure out how the particular social site works.
Title: Re: 2-SI Chat
Post by: diamondred123 on July 25, 2010, 12:43:25 PM
ok that confused me
what bit of code do i change?
Title: Re: 2-SI Chat
Post by: Threepwud on July 25, 2010, 03:37:48 PM
Thanks for the advice, however I am still having issues. I have also re-installed this on a fresh install of 2.0 RC3 and get the exact same issues.

I have CHMOD the files to 755 and the lines are correct (in <head> and <body>) and I removed the cache option too.

Sadly I still get the internet explorer error, saying this:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C)
Timestamp: Sun, 25 Jul 2010 19:37:21 UTC


Message: Syntax error
Line: 1
Char: 1
Code: 0
URI: http://www.threepwud.com/test/2sichat/index.php?action=head


Message: Syntax error
Line: 1
Char: 1
Code: 0
URI: http://www.threepwud.com/test/2sichat/index.php?action=body

Title: Re: 2-SI Chat
Post by: nend on July 26, 2010, 01:16:39 AM
Thanks for the advice, however I am still having issues. I have also re-installed this on a fresh install of 2.0 RC3 and get the exact same issues.

I have CHMOD the files to 755 and the lines are correct (in <head> and <body>) and I removed the cache option too.

Sadly I still get the internet explorer error, saying this:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C)
Timestamp: Sun, 25 Jul 2010 19:37:21 UTC


Message: Syntax error
Line: 1
Char: 1
Code: 0
URI: http://www.threepwud.com/test/2sichat/index.php?action=head


Message: Syntax error
Line: 1
Char: 1
Code: 0
URI: http://www.threepwud.com/test/2sichat/index.php?action=body



Your server is not executing the files as PHP code but outputting the source. Does not make any sense and I would have to say it has to be the server configuration.
Title: Re: 2-SI Chat
Post by: Threepwud on July 26, 2010, 06:56:23 PM
Indeed... the server does run every php script thrown at it though, apart from this one. Php is version 5.3.1 also.

Any suggestions / ideas where to check for the cause of these errors?

Thanks for your time.
Title: Re: 2-SI Chat
Post by: Roo on July 26, 2010, 09:39:37 PM
Some of the files are using Short Tags (http://www.simplemachines.org/community/index.php?topic=201049.0), perhaps that's causing problems on your server?
Title: Re: 2-SI Chat
Post by: nend on July 26, 2010, 09:59:10 PM
Some of the files are using Short Tags (http://www.simplemachines.org/community/index.php?topic=201049.0), perhaps that's causing problems on your server?


That probably will do it, will use <?php in revision 26.
Title: Re: 2-SI Chat
Post by: Threepwud on July 27, 2010, 02:52:29 AM
So very appreciated! Short tage enabled and I'm now laughing. Superb mate.
Title: Re: 2-SI Chat
Post by: More-to-life on July 27, 2010, 11:07:04 AM
Ive installed the mod but had a few problems
1st I had to chmod the files which I did & the bar worked except for "who's online" which throws this error

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB6.5; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)
Timestamp: Tue, 27 Jul 2010 15:04:01 UTC


Message: 'document.all.friends.style' is null or not an object
Line: 402
Char: 5
Code: 0
URI: http://www.myforum.co.uk/forum/2sichat/index.php?action=body

Any ideas?
Title: Re: 2-SI Chat
Post by: More-to-life on July 27, 2010, 11:32:26 AM
SOLVED
For some reason I had double script entries
Title: Re: 2-SI Chat
Post by: Threepwud on July 27, 2010, 06:08:55 PM
Interesting error, now. Anyone know the cause, perhaps?

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C)
Timestamp: Tue, 27 Jul 2010 21:59:50 UTC


Message: Expected ')'
Line: 1
Char: 17
Code: 0
URI: http://www.threepwood.co/index.php?action=forum


Message: Invalid argument.
Line: 323
Char: 7
Code: 0
URI: http://www.threepwood.co/2sichat/index.php?action=body


Message: Expected ')'
Line: 1
Char: 17
Code: 0
URI: http://www.threepwood.co/index.php?action=forum

Title: Re: 2-SI Chat
Post by: Marsh on July 27, 2010, 11:26:59 PM
Anyway that i can just make this work for everyone instead of just buddies? Also a option for users to disable it that dont like it would be nice.

Awesome mod btw
Title: Re: 2-SI Chat
Post by: nend on July 28, 2010, 12:23:50 AM
Interesting error, now. Anyone know the cause, perhaps?

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C)
Timestamp: Tue, 27 Jul 2010 21:59:50 UTC


Message: Expected ')'
Line: 1
Char: 17
Code: 0
URI: http://www.threepwood.co/index.php?action=forum


Message: Invalid argument.
Line: 323
Char: 7
Code: 0
URI: http://www.threepwood.co/2sichat/index.php?action=body


Message: Expected ')'
Line: 1
Char: 17
Code: 0
URI: http://www.threepwood.co/index.php?action=forum



Line 323 of the php code 2sichat/index.php does not contain any code but a line break. Line 323 of the output is...
Code: [Select]
doCookies();..., which is JavaScript calling function doCookies. The output of that action should all be JavaScript which is called by the script tags in the index.template.php. These script tags declare the output of the file as script even though the file extension is not of a js. If this file is called for validation by itself as a PHP document then it will fail because there is nothing declaring it as a script so the testing program will not know what to process it as.

Line 1 of index.php is SMF, the chat does not touch that file. Line 1 of your output is...
Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
...,which is correct.

What are you using to get these results? I am guessing whatever your testing with is not giving creditable results, looks like a IE test tool to me. I do most of my testing in Firefox with Firebug, which is a great little tool. I wouldn't be able to make the chat if it wasn't for Firebug. Maybe I should put them in my credits. :D

I have tested with the following browsers, which I believe to be the most popular - Firefox, Opera, Safari, IE and Chrome. Please note though if you have compatibility mode turned on in IE turn that junk off. Allot of JavaScript code in the chat system is custom tailored for IE(Stupid IE) since it does not work like the rest and Opera is really picky so it is a good final testing environment. And Netscape, will you can forget about Netscape, it is gone IMHO so no Netscape testing was done.
Title: Re: 2-SI Chat
Post by: nend on July 28, 2010, 12:46:29 AM
Anyway that i can just make this work for everyone instead of just buddies? Also a option for users to disable it that dont like it would be nice.

Awesome mod btw
Showing everyone option is coming up in a future revision for sure, don't know which one, but it will be there. If you read some threads however at http://mods.2-si.net you will get a idea of how to do this yourself withing SMF. I may post something though when I get time. ;)

However I am not too sure about disabling the chat for individual users, I will probably add the possibility to disable it for everyone, because there are times you may want to disable it.

The main problem with this idea is it is diving into SMF, when I started this project the whole idea was to stay out of SMF's code. As you can see the only edits to SMF code is the admin panel for the chat and the two script tags in index.template.php. Other than that the chat is independent, it pulls SMF's resources and information without being loaded in SMF or loading SMF. The idea behind this is the ability to be displayed in non SMF pages. The chat will work outside of SMF as long as the user is logged in. So it is more of a bridge application than a SMF modification.

So I will have to consider this as a hack, not impossible but not going to be implemented. Not saying though I will not make the hack but it will not be considered for being part of the main package.

2-SI Chat Revision 25 index.php lines 3 & 4
Code: [Select]
This is the chat backend. It should only load chat junk.
It should be allot better than loading all that other junk.

2-SI Chat Revision 1 (aka Developmental 1) lines 3 & 4
Code: [Select]
This is the chat backend. It should only load messages.
It should be allot better than loading all that other junk.
Title: Re: 2-SI Chat
Post by: Marsh on July 28, 2010, 01:21:36 AM
I just made separate themes that dont load the bar. Cant wait for the version that allows everyone. Thanks for making the mod :). The Gadgets to the bar is sweet.
Title: Re: 2-SI Chat
Post by: Threepwud on July 28, 2010, 07:53:50 AM
Thanks for the quick reply!

It works well in Chrome and Firefox but displays an error in the bottom left of the screen in IE8 which I have attached. Clicking on it brings up the error I posted above. It still works but of course you want it to not have that error!

I installed it on a fresh install (http://www.threepwud.com/test) and it works very well. Then on my main test site http://www.threepwood.co it displays the error. I do have other themes there and another quick chat mod so it may be that...
Title: Re: 2-SI Chat
Post by: Boricua012 on July 29, 2010, 01:04:05 AM
Hi, i just installed the chat and everything is working fine BUT... it shows the same 3 members online when they aren't online. It doesn't show anyone else but those three. Anyways to fix this?
Title: Re: 2-SI Chat
Post by: Cutter65 on July 29, 2010, 12:26:42 PM
Im running SMF 2.0 RC3 with 2-SI_Chat_rev25 installed without any errors.

Purge all messages causes the following database error.

http://www.website.com/forum/index.php?action=admin;area=2sichat;save;sa=config
Database Error: Table 'name_smf.smf_chat' doesn't exist
File: /home/name/public_html/forum/Sources/2sichatAdmin.php
Line: 69

Line 69 has the following:

$smcFunc['db_query']('', 'DELETE FROM {db_prefix}chat',array());

Mod seems to work great other than one other issue I have noticed. If you add new buddies in SMF to your buddy list after the mod was installed they don't show up in the chat window only the ones that were on your list before you installed it are there. Thats how mine is anyways.

Hope to see the bugs ironed out on this great mod.

Thanks!
Cutter
Title: Re: 2-SI Chat
Post by: Marsh on July 29, 2010, 12:47:39 PM
Hi, i just installed the chat and everything is working fine BUT... it shows the same 3 members online when they aren't online. It doesn't show anyone else but those three. Anyways to fix this?

It shows people even if they are offline but it should have a little red dot instead of a green one. It probably only shows 3 because they are your buddies.
Title: Re: 2-SI Chat
Post by: Cutter65 on July 29, 2010, 01:11:32 PM
Im running SMF 2.0 RC3 with 2-SI_Chat_rev25 installed without any errors.

Purge all messages causes the following database error.

http://www.website.com/forum/index.php?action=admin;area=2sichat;save;sa=config
Database Error: Table 'name_smf.smf_chat' doesn't exist
File: /home/name/public_html/forum/Sources/2sichatAdmin.php
Line: 69

Line 69 has the following:

$smcFunc['db_query']('', 'DELETE FROM {db_prefix}chat',array());

Mod seems to work great other than one other issue I have noticed. If you add new buddies in SMF to your buddy list after the mod was installed they don't show up in the chat window only the ones that were on your list before you installed it are there. Thats how mine is anyways.

Hope to see the bugs ironed out on this great mod.

Thanks!
Cutter

I fixed the database error. 2sichatAdmin.php needs line 69 and 70 edited.

From:
Line 69 = $smcFunc['db_query']('', 'DELETE FROM {db_prefix}chat',array());
Line 70 =   $smcFunc['db_query']('', 'ALTER TABLE {db_prefix}chat AUTO_INCREMENT = 0',array());

To:
Line 69 = $smcFunc['db_query']('', 'DELETE FROM {db_prefix}2sichat',array());
Line 70 =   $smcFunc['db_query']('', 'ALTER TABLE {db_prefix}2sichat AUTO_INCREMENT = 0',array());

Cutter
Title: Re: 2-SI Chat
Post by: Boricua012 on July 29, 2010, 02:00:12 PM
Hi, i just installed the chat and everything is working fine BUT... it shows the same 3 members online when they aren't online. It doesn't show anyone else but those three. Anyways to fix this?

It shows people even if they are offline but it should have a little red dot instead of a green one. It probably only shows 3 because they are your buddies.

Ah, so it will show my buddies? I'm a bit confused because i have more than 3 buddies, so if it's like that, then it should show all my buddies even if they are offline right?
Title: Re: 2-SI Chat
Post by: theguise on July 29, 2010, 02:31:29 PM
Quote
Ah, so it will show my buddies? I'm a bit confused because i have more than 3 buddies, so if it's like that, then it should show all my buddies even if they are offline right?

No, you have to be buddies with each other.  You can add someone as a buddy and if they don't add you as a buddy back then you two don't truly connect.  2SI Chat works off of SMF's buddy system so the only way someone appears on your Who's Online list is if you both have added each other as a buddy.  It would be nice if SMF had a notification feature when someone adds you as a buddy, but they don't.  Maybe someone will eventually add a mod for this although I would feel like they would have done it already.
Title: Re: 2-SI Chat
Post by: Cutter65 on July 29, 2010, 02:40:28 PM
Quote
Ah, so it will show my buddies? I'm a bit confused because i have more than 3 buddies, so if it's like that, then it should show all my buddies even if they are offline right?

No, you have to be buddies with each other.  You can add someone as a buddy and if they don't add you as a buddy back then you two don't truly connect.  2SI Chat works off of SMF's buddy system so the only way someone appears on your Who's Online list is if you both have added each other as a buddy.  It would be nice if SMF had a notification feature when someone adds you as a buddy, but they don't.  Maybe someone will eventually add a mod for this although I would feel like they would have done it already.

Thanks for the info!

Thats why in my post above the new buddies were not showing in the chat window! Didn't know they both had to have each other as buddies!

Thanks again!
Cutter
Title: Re: 2-SI Chat
Post by: theguise on July 29, 2010, 02:54:33 PM
Yeah, I'd love to be able to figure out a way to send a notification through ENotify or PM when someone adds you.  The Buddy Page mod let's you know if someone you have added as a buddy has added you or not.  But, if you haven't added someone as a buddy you have no idea that you yourself have been added as a buddy to someone.
Title: Re: 2-SI Chat
Post by: nend on July 30, 2010, 01:21:02 AM
Im running SMF 2.0 RC3 with 2-SI_Chat_rev25 installed without any errors.

Purge all messages causes the following database error.

http://www.website.com/forum/index.php?action=admin;area=2sichat;save;sa=config
Database Error: Table 'name_smf.smf_chat' doesn't exist
File: /home/name/public_html/forum/Sources/2sichatAdmin.php
Line: 69

Line 69 has the following:

$smcFunc['db_query']('', 'DELETE FROM {db_prefix}chat',array());

Mod seems to work great other than one other issue I have noticed. If you add new buddies in SMF to your buddy list after the mod was installed they don't show up in the chat window only the ones that were on your list before you installed it are there. Thats how mine is anyways.

Hope to see the bugs ironed out on this great mod.

Thanks!
Cutter

I fixed the database error. 2sichatAdmin.php needs line 69 and 70 edited.

From:
Line 69 = $smcFunc['db_query']('', 'DELETE FROM {db_prefix}chat',array());
Line 70 =   $smcFunc['db_query']('', 'ALTER TABLE {db_prefix}chat AUTO_INCREMENT = 0',array());

To:
Line 69 = $smcFunc['db_query']('', 'DELETE FROM {db_prefix}2sichat',array());
Line 70 =   $smcFunc['db_query']('', 'ALTER TABLE {db_prefix}2sichat AUTO_INCREMENT = 0',array());

Cutter

The old database table was just called chat. I figured it was too generic, but it looks like I forgot to change a couple lines to the new db table. This will be fixed in revision 26.
Title: Re: 2-SI Chat
Post by: ukhalik2 on July 30, 2010, 05:54:03 AM
superb mod.. worked great...
EXcellent JOB!! thanks very much!
Title: Re: 2-SI Chat
Post by: theguise on July 31, 2010, 03:03:26 PM
I think people may want to think it over as to whether they want the option to show everyone who is online.  This may become a bit of a privacy/nuisance issue, because I know there are people I wouldn't want directly messaging me whenever they felt like it.  As of now I use the profile icon on post to where any user can click and talk to any user and I still feel like that's a bit intrusive.  In my opinion it should stick to just "buddies" but there needs to be some kind of notification for users when someone adds a member as a buddy, like i've said before and I wish I had the knowledge to figure this out.  I have been looking through SMF files though and if I ever figure it out (which is doubtful) I will post it somewhere. 
Title: Re: 2-SI Chat
Post by: Shole on July 31, 2010, 07:49:51 PM
I just need help with one thing how to make it that it shows all the online members? I can't find the tut where it is shown anymore and anyhow I couldn't understand it :(
Can someone help me make all the members visibile in the who is online?
Title: Re: 2-SI Chat
Post by: Mystery? on July 31, 2010, 10:53:42 PM
The mod is awesome, but is it possible to make it look EXACTLY like the facebook chat bar? The thing I don't like is that the design/theme/skin/color of the chat its too dull like make it look like its a part of the new default curve theme or something, can you change that? Otherwise, its one of the best mods out there.
Title: Re: 2-SI Chat
Post by: theguise on August 01, 2010, 12:53:26 AM
Why don't you just go back in time and re-invent facebook? Just kidding.  Cometchat found here (http://www.cometchat.com/) is the exact same chat bar as what facebook has pretty much.  But, it ranges from $49 to $500 to use it.  2SI Chat on the other hand is free thanks to nend and I greatly appreciate that, he has obviously put a lot of time and work into it.   The current design he has fits his own website very well, so obviously he built this for himself and took the time and went through all the hoopla to let everyone else at SMF use it.  All I'm saying is you can't really ask someone to change a design because you don't like it, he has a section on his personal support site for people to share their themes, so he's more than open to allowing anyone to alter his work specific to how they see fit. 
Title: Re: 2-SI Chat
Post by: nend on August 01, 2010, 01:36:49 AM
I was not going to say it but might as well since there is a great amount of post about it. The option to show members online is going to be released in revision 26, it is already in the code and working perfectly. This is optional in revision 26, you must enable it in the control panel for the mod. But this is once again in revision 26 which currently is unreleased at this time.

I also want to clear up some things too, no I will not provide support by PM. I am real busy right now and sad to say I don't have much time for 2-SI Chat. I am on Hiatus right now, it will not be permanent though, you just have to wait a little longer for things to get finished.

Plus if anyone wants to create custom themes they are welcomed to do so. You can copy the contents of the default theme to start with and create your own theme by editing them. Then store the contents in 2sichat/themes/your_theme_name. Then you can call it from the JavaScript code below the body tag like so...

Code: [Select]
<script type="text/javascript" src="http://your_site.com/2sichat/index.php?action=body;theme=your_theme_name"></script>
... So all your adding is ;theme=your_theme_name to the end of the source in the script tags. This tells the chat what theme to use.

So yes you can make it like Facebook.
Title: Re: 2-SI Chat
Post by: Hj Ahmad Rasyid Hj Ismail on August 01, 2010, 05:42:54 AM
I would say: Great Mod! Keep it up. I've looking and waiting for this.
Title: Re: 2-SI Chat
Post by: Nirose on August 01, 2010, 10:39:56 AM
I have installed this without problem. fixed the index.template.php and chmods of the files.

Still the chat bar don't appear on the site. and there is no error desplayed.

 i am on SMF 2 RC2

Title: Re: 2-SI Chat
Post by: redbaby92 on August 04, 2010, 07:28:48 PM
when i try to talk to someone this pops up...

Fatal error: Call to undefined function: array_combine() in /homepages/29/d335423707/htdocs/public_html/Sources/Subs-Db-mysql.php on line 641
Title: Re: 2-SI Chat
Post by: nend on August 04, 2010, 11:50:08 PM
when i try to talk to someone this pops up...

Fatal error: Call to undefined function: array_combine() in /homepages/29/d335423707/htdocs/public_html/Sources/Subs-Db-mysql.php on line 641


Which PHP version are you using? array_combine is a PHP function.
Title: Re: 2-SI Chat
Post by: nend on August 04, 2010, 11:58:03 PM
I have installed this without problem. fixed the index.template.php and chmods of the files.

Still the chat bar don't appear on the site. and there is no error desplayed.

 i am on SMF 2 RC2



For a better response please post your site url and any error messages. If not possible then please navigate to these locations and tell me the output of the source in a code box. I need the source not what is shown on the browser. To view the source on most browsers go to view then source.

Locations
http://www.your_site.com/path_to_smf/2sichat/index.php?action=head
http://www.your_site.com/path_to_smf/2sichat/index.php?action=body

If there are any problems it might be easier to spot in those files.

Also if you haven't done so try to disable the optimizer. If your PHP fopen is disable and optimizers are enabled 2-SI Chat will not work.

Please visit this topic for more help - http://mods.2-si.net/2si_chat_support/2si_chat_installation_trouble_shooter_29.0.html
Title: Re: 2-SI Chat
Post by: !RFAN on August 05, 2010, 01:38:52 AM
hey great mod .. thanx a lot...

a suggestion: ... u have added the option for the owner/admin of forum to choose whether only buddies should be shown or all the online users.. plz add an option for the user to choose this.... sorry if it is ridiculous :)
Title: Re: 2-SI Chat
Post by: Threepwud on August 05, 2010, 11:24:09 AM
Interesting error, now. Anyone know the cause, perhaps?

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C)
Timestamp: Tue, 27 Jul 2010 21:59:50 UTC


Message: Expected ')'
Line: 1
Char: 17
Code: 0
URI: http://www.threepwood.co/index.php?action=forum


Message: Invalid argument.
Line: 323
Char: 7
Code: 0
URI: http://www.threepwood.co/2sichat/index.php?action=body


Message: Expected ')'
Line: 1
Char: 17
Code: 0
URI: http://www.threepwood.co/index.php?action=forum



Line 323 of the php code 2sichat/index.php does not contain any code but a line break. Line 323 of the output is...
Code: [Select]
doCookies();..., which is JavaScript calling function doCookies. The output of that action should all be JavaScript which is called by the script tags in the index.template.php. These script tags declare the output of the file as script even though the file extension is not of a js. If this file is called for validation by itself as a PHP document then it will fail because there is nothing declaring it as a script so the testing program will not know what to process it as.

Line 1 of index.php is SMF, the chat does not touch that file. Line 1 of your output is...
Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
...,which is correct.

What are you using to get these results? I am guessing whatever your testing with is not giving creditable results, looks like a IE test tool to me. I do most of my testing in Firefox with Firebug, which is a great little tool. I wouldn't be able to make the chat if it wasn't for Firebug. Maybe I should put them in my credits. :D

I have tested with the following browsers, which I believe to be the most popular - Firefox, Opera, Safari, IE and Chrome. Please note though if you have compatibility mode turned on in IE turn that junk off. Allot of JavaScript code in the chat system is custom tailored for IE(Stupid IE) since it does not work like the rest and Opera is really picky so it is a good final testing environment. And Netscape, will you can forget about Netscape, it is gone IMHO so no Netscape testing was done.
Thanks for the quick reply!

It works well in Chrome and Firefox but displays an error in the bottom left of the screen in IE8 which I have attached. Clicking on it brings up the error I posted above. It still works but of course you want it to not have that error!

I installed it on a fresh install (http://www.threepwud.com/test) and it works very well. Then on my main test site http://www.threepwood.co it displays the error. I do have other themes there and another quick chat mod so it may be that...

Sorry to bump this, but I'm not sure what is causing it. I may have to go about starting again but that's a wee kicker!

Thanks unreservedly!!
Title: Re: 2-SI Chat
Post by: nend on August 05, 2010, 11:54:06 AM
Interesting error, now. Anyone know the cause, perhaps?

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C)
Timestamp: Tue, 27 Jul 2010 21:59:50 UTC


Message: Expected ')'
Line: 1
Char: 17
Code: 0
URI: http://www.threepwood.co/index.php?action=forum


Message: Invalid argument.
Line: 323
Char: 7
Code: 0
URI: http://www.threepwood.co/2sichat/index.php?action=body


Message: Expected ')'
Line: 1
Char: 17
Code: 0
URI: http://www.threepwood.co/index.php?action=forum



Line 323 of the php code 2sichat/index.php does not contain any code but a line break. Line 323 of the output is...
Code: [Select]
doCookies();..., which is JavaScript calling function doCookies. The output of that action should all be JavaScript which is called by the script tags in the index.template.php. These script tags declare the output of the file as script even though the file extension is not of a js. If this file is called for validation by itself as a PHP document then it will fail because there is nothing declaring it as a script so the testing program will not know what to process it as.

Line 1 of index.php is SMF, the chat does not touch that file. Line 1 of your output is...
Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
...,which is correct.

What are you using to get these results? I am guessing whatever your testing with is not giving creditable results, looks like a IE test tool to me. I do most of my testing in Firefox with Firebug, which is a great little tool. I wouldn't be able to make the chat if it wasn't for Firebug. Maybe I should put them in my credits. :D

I have tested with the following browsers, which I believe to be the most popular - Firefox, Opera, Safari, IE and Chrome. Please note though if you have compatibility mode turned on in IE turn that junk off. Allot of JavaScript code in the chat system is custom tailored for IE(Stupid IE) since it does not work like the rest and Opera is really picky so it is a good final testing environment. And Netscape, will you can forget about Netscape, it is gone IMHO so no Netscape testing was done.
Thanks for the quick reply!

It works well in Chrome and Firefox but displays an error in the bottom left of the screen in IE8 which I have attached. Clicking on it brings up the error I posted above. It still works but of course you want it to not have that error!

I installed it on a fresh install (http://www.threepwud.com/test) and it works very well. Then on my main test site http://www.threepwood.co it displays the error. I do have other themes there and another quick chat mod so it may be that...

Sorry to bump this, but I'm not sure what is causing it. I may have to go about starting again but that's a wee kicker!

Thanks unreservedly!!

I can not reproduce these results. Not with a fresh install of PortaMx and 2-SI Chat, Not with a fresh install of 2-SI Chat or not even on your website with Internet Explorer 8.

This is the error I get which is associated with the shoutbox JavaScript and not 2-SI Chat.
Code: [Select]
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB6.5; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; OfficeLiveConnector.1.5; OfficeLivePatch.1.3)
Timestamp: Thu, 5 Aug 2010 15:48:05 UTC


Message: Object required
Line: 122
Char: 4
Code: 0
URI: http://www.threepwood.co/Themes/default/shoutbox.js


A perfect clean JavaScript on the other hand can spit out errors when perfectly error free. This does not mean there is a problem with the script though. More commonly most errors that I encounter is resources not being available. Is this error intermittent or all the time?
Title: Re: 2-SI Chat
Post by: redbaby92 on August 06, 2010, 04:19:29 PM
How i know which php version im using?
Title: Re: 2-SI Chat
Post by: theguise on August 06, 2010, 04:47:20 PM
You'd have to look at your webhosts Cpanel.  Mine has it listed with a bunch of other statistics. 
Title: Re: 2-SI Chat
Post by: diamondred123 on August 07, 2010, 04:57:27 AM
ok im going to see if i can make a theme for it
Title: Re: 2-SI Chat
Post by: crustybum on August 10, 2010, 05:48:19 AM
Seems like all the good stuff goes on the 2.0.....anything like this for the 1.11.1? ;D
Title: Re: 2-SI Chat
Post by: Boricua012 on August 10, 2010, 11:36:51 AM
hey great mod .. thanx a lot...

a suggestion: ... u have added the option for the owner/admin of forum to choose whether only buddies should be shown or all the online users.. plz add an option for the user to choose this.... sorry if it is ridiculous :)

Good idea. That's the only reason why i don't have mines activated on my forum right now.
Title: Re: 2-SI Chat
Post by: theguise on August 10, 2010, 01:57:48 PM
It is now included in Revision 26 which I believe is available here now.
Title: Re: 2-SI Chat
Post by: crustybum on August 10, 2010, 02:56:27 PM
I get this when i send a message

Fatal error: Call to undefined function: array_combine() in /home/content/c/r/u/crusty1/html/forum/Sources/Subs-Db-mysql.php on line 641

any ideas?
Title: Re: 2-SI Chat
Post by: PastorMartin on August 10, 2010, 04:06:06 PM
I get this when i send a message

Fatal error: Call to undefined function: array_combine() in /home/content/c/r/u/crusty1/html/forum/Sources/Subs-Db-mysql.php on line 641

any ideas?

I am getting the same error.
PHP5 -- I think that's the version.
Title: Re: 2-SI Chat
Post by: lucas-ruroken on August 10, 2010, 04:07:31 PM
Perfect man, i love it

It's a excelent mod. Congrats.
Title: Re: 2-SI Chat
Post by: !RFAN on August 10, 2010, 10:56:00 PM
i just installed it... working flawlessly..

after my experience i got some ideas..and i want to share them here..

the "who's online" shud be updated automatically as soon as a members comes online... rite now it will update on refreshing the page..

the chat window should be resizeable while chatting...
there must be an option to select a theme for bar if more than one themes are installed...

thanks for the mod though
Title: Re: 2-SI Chat
Post by: theguise on August 11, 2010, 12:00:17 AM
Posted a little edit you can do to make the 2sichat bar a little more unobtrusive on your website at the 2si mod site http://mods.2-si.net/2si_chat_themes/making_2si_chat_bit_more_opague_44.0.html
Title: Re: 2-SI Chat
Post by: nend on August 11, 2010, 12:40:58 AM
I get this when i send a message

Fatal error: Call to undefined function: array_combine() in /home/content/c/r/u/crusty1/html/forum/Sources/Subs-Db-mysql.php on line 641

any ideas?

I am getting the same error.
PHP5 -- I think that's the version.

array_combine is a PHP function which is part of PHP. This function is not part of SMF or the chat.

This post may give some information - http://www.simplemachines.org/community/index.php?topic=287480.0

More than likely the PHP distro does not have that particular PHP function. 2-SI Chat does not load Subs-Compat.php which has a work around for that PHP function. Instead of loading Subs-Compat.php it looks like a work around in 2-SI Chat is required. Post phoned though until revision 27. A simple work around though would be selecting the code below, which I took from the link above, and putting it in 2-SI Chats index.php

Code: [Select]
if (!function_exists('array_combine'))
{
   function array_combine($keys, $values)
   {
      $ret = array();
      if (($array_error = !is_array($keys) || !is_array($values)) || empty($values) || ($count=count($keys)) != count($values))
      {
         trigger_error('array_combine(): Both parameters should be non-empty arrays with an equal number of elements', E_USER_WARNING);

         if ($array_error)
            return;
         return false;
      }

      // Ensure that both arrays aren't associative arrays.
      $keys = array_values($keys);
      $values = array_values($values);

      for($i=0; $i < $count; $i++)
         $ret[$keys[$i]] = $values[$i];

      return $ret;
   }
}

Title: Re: 2-SI Chat
Post by: crustybum on August 11, 2010, 04:04:22 AM
Sorry, were do i actually put that?
Title: Re: 2-SI Chat
Post by: PastorMartin on August 11, 2010, 04:13:20 PM
Thank you Nend for your reply but I also do not know where exactly to put that code.  I don't find anything about "array combine" in the file.
Title: Re: 2-SI Chat
Post by: nend on August 11, 2010, 10:44:57 PM
Try inserting it towards the top under <?php
Title: Re: 2-SI Chat
Post by: crustybum on August 12, 2010, 02:43:43 AM
Yep......that worked..Ta!!!
Title: Re: 2-SI Chat
Post by: crustybum on August 12, 2010, 02:40:09 PM
For some reason it works for some members....and not others?  its not just one membergroup either, some mods can see it....and some cant... :o
Title: Re: 2-SI Chat
Post by: nend on August 12, 2010, 07:46:08 PM
For some reason it works for some members....and not others?  its not just one membergroup either, some mods can see it....and some cant... :o

Possible reasons could be cache or script blockers. Have them empty their browser cache and see if that works. If not then it is possible they are using some sort of script or ad blocker that is blocking the JavaScript code. Can you see if you can get their browser setup including add-ons they may have installed with their browser.
Title: Re: 2-SI Chat
Post by: PastorMartin on August 12, 2010, 10:23:52 PM
Nend,

Thank you so much.  That seems to have it fixed on my forum.  Thank you for your quick replies!
Title: Re: 2-SI Chat
Post by: crustybum on August 13, 2010, 08:36:00 AM
Shame...i just cant get it to work perfect... :-[ :-[ and it also slows the forum down a bit....
Title: Re: 2-SI Chat
Post by: Dharshan on August 13, 2010, 11:35:57 AM
Nend,

can we have these changes updated on the package files... Plz... :)
Title: Re: 2-SI Chat
Post by: nend on August 13, 2010, 11:59:05 AM
Nend,

can we have these changes updated on the package files... Plz... :)

I'm not sure what you are talking about. Revision 26 was released a couple days ago with requested features.
Title: Re: 2-SI Chat
Post by: PastorMartin on August 13, 2010, 10:46:02 PM
I'm having trouble with some.

If I start the conversation, the other user can use the chat.  When he closes the chat and goes to click on the "Who's Online" it says:

"Error on Page" just below "Who's Online"

It gives this if you double click on the error:
Message: 'document.all.friends.style' is null or not an object
Line: 408
Char: 5
Code: 0
URI: http://cavespringsgbchurch.com/2sichat/index.php?action=body

We've cleared the cookies, temp files, history multiple times.  I'm at a loss with it Nend.
Title: Re: 2-SI Chat
Post by: nend on August 14, 2010, 12:43:11 AM
Looks like IE error message again.

Thanks for the more in dept information, I just can't reproduce the error to get any idea of what may be going on with their setup. I'm not saying that there is no problem with the script, may or may not be, I just need to look what is going on with their version of IE. Parts of the script are custom tailored to IE because it does not do scripts the same way as other browser, IE is buggy  ;D. More than likely though it may be IE's compatibility mode set to on.
Title: Re: 2-SI Chat
Post by: crustybum on August 14, 2010, 03:06:39 AM
when i try to talk to someone this pops up...

Fatal error: Call to undefined function: array_combine() in /homepages/29/d335423707/htdocs/public_html/Sources/Subs-Db-mysql.php on line 641


I uninstalled this mod last night, because it slowed the forum down a bit.......i installed it again this morning, and now i get the same mesage.....same on firefox

Title: Re: 2-SI Chat
Post by: nend on August 14, 2010, 11:59:31 AM
when i try to talk to someone this pops up...

Fatal error: Call to undefined function: array_combine() in /homepages/29/d335423707/htdocs/public_html/Sources/Subs-Db-mysql.php on line 641


I uninstalled this mod last night, because it slowed the forum down a bit.......i installed it again this morning, and now i get the same mesage.....same on firefox

This has been covered. http://www.simplemachines.org/community/index.php?topic=391961.msg2740290#msg2740290 - Your either going to have to apply the manual hack for revision 26 or wait until revision 27.

This url [ http://mods.2-si.net/project,1/ ] will give you more information what is being worked on for revision 27.
Title: Re: 2-SI Chat
Post by: crustybum on August 14, 2010, 12:15:11 PM
Thanks..when will 27 be ready?
Title: Re: 2-SI Chat
Post by: nend on August 14, 2010, 12:19:08 PM
Thanks..when will 27 be ready?

Soon I hope.
Title: Re: 2-SI Chat
Post by: Dharshan on August 14, 2010, 12:42:07 PM
Nend,

can we have these changes updated on the package files... Plz... :)

I'm not sure what you are talking about. Revision 26 was released a couple days ago with requested features.

thanks. i installed..so far so good. like it!

thank you
Title: Re: 2-SI Chat
Post by: nend on August 14, 2010, 01:13:13 PM
Just dabbed the last feature onto revision 27, next testing, then a release. Should not be too much longer.

Quick recap on what is different on revision 27, so most may or may not want to update. The undefined function error is fixed, this was caused by older versions of PHP. Also introduced is load checking, disables some aspects of the chat or entire thing when server loads are high.

That is it for now, have to investigate some possible IE problems but will not know if these IE errors are a bug or just browser setup problems, like IE compatibility mode. If I find anything that would be revision 28.
Title: Re: 2-SI Chat
Post by: PastorMartin on August 14, 2010, 01:19:57 PM
Thank you Nend.  I'll check his system to see if IE is the compatibility is the issue.
Title: Re: 2-SI Chat
Post by: nend on August 14, 2010, 01:54:50 PM
Thank you Nend.  I'll check his system to see if IE is the compatibility is the issue.

If possible can you get me their OS version, IE version and any add-ons they may have installed. I don't use IE but I know a couple of Firefox add-ons that can kill the chat, like NoScript, I am thinking this may be a possibility.
Title: Re: 2-SI Chat
Post by: crustybum on August 14, 2010, 03:31:47 PM
Thanks for all your hard work on this...a great mod, i only had it working for a bit, but our members loved it..

Chris
Title: Re: 2-SI Chat
Post by: !RFAN on August 16, 2010, 09:33:57 AM
i applied my old database on a new forum.. on new forum widgets are not working although they were working on old site.. what should i do???
Title: Re: 2-SI Chat
Post by: Dharshan on August 16, 2010, 09:58:55 AM
i applied my old database on a new forum.. on new forum widgets are not working although they were working on old site.. what should i do???

what do you mean by widgets?? is it this mods? or another portal?
Title: Re: 2-SI Chat
Post by: SA™ on August 16, 2010, 10:12:34 AM
you can add widgets to this mod eg google gadgets
Title: Re: 2-SI Chat
Post by: nend on August 16, 2010, 12:57:50 PM
i applied my old database on a new forum.. on new forum widgets are not working although they were working on old site.. what should i do???

You sure you didn't overwrite any information that was used before. This would be the only cause I know of.
Title: Re: 2-SI Chat
Post by: nend on August 16, 2010, 02:30:50 PM
A security risk has been identified in the chat system. I am asking all users to disable the chat or uninstall it until revision 28 public beta is released. I will try to get revision 28 out today. Be patient, I will not disclose this vulnerabilities details until revision 28 is released. A fix has already been made, so just doing the final touches to the chat system.

This vulnerability will be undocumented to not give any advance users the idea of how to use it.
Title: Re: 2-SI Chat
Post by: !RFAN on August 16, 2010, 03:36:05 PM
i applied my old database on a new forum.. on new forum widgets are not working although they were working on old site.. what should i do???

You sure you didn't overwrite any information that was used before. This would be the only cause I know of.

actually when i installed the mod on new forum the one gadget i had on old was still there on new forum.. i checked the gadget and it was not showing .. i mean  i was able to click on it..a window appear but does not show any thing... then i removed the gadget and made a new gadget for the same code... the code is below...

Code: [Select]
<iframe src="http://www.facebook.com/plugins/likebox.php?id=110929655606430&width=350&connections=12&stream=true&header=true&height=600" scrolling="yes" frameborder="0" style="border:none; overflow:hidden; width:350px; height:600px;background-color: #ffffff;" ></iframe>
i think i shud uninstall this mode.. remove the database tables and then reinstall it???

will this solve the problem or not???
Title: Re: 2-SI Chat
Post by: nend on August 16, 2010, 06:56:41 PM
Revision 28 is now released, this is a quick release so it might be a little buggy. It is very highly recommended to upgrade.

Please note the load checking is not fully bug free yet. You can enable if you want but there might be some problems. Like if a user is already on the website and the server load goes higher than your setting and they click a gadget or something there is a possibility they will get a invisible div. This will not look like much but might cover links on the page.
Title: Re: 2-SI Chat
Post by: diamondred123 on August 17, 2010, 06:25:59 AM
we still need to change the premissionsa to make it work
can you not make it so i dont need to do that
because that wont work on my site because its hosted with a friend and he has set premissins he cant change but i can change on the test server
Thanks
Title: Re: 2-SI Chat
Post by: nend on August 17, 2010, 11:22:04 AM
I have made one in the past, just it didn't work with SMF's Package Manager. Will however look into this.
Title: Re: 2-SI Chat
Post by: diamondred123 on August 17, 2010, 04:59:03 PM
it shows my blocked cursed words
Title: Re: 2-SI Chat
Post by: crustybum on August 17, 2010, 05:09:19 PM
Re installed this great mod....butttttttttttttttttttttttt it still slows down the whole forum...i suppose this is due to being on a shared server.... :-[
Title: Re: 2-SI Chat
Post by: uzumbaba on August 17, 2010, 10:46:28 PM
Revision 28 is now released, this is a quick release so it might be a little buggy. It is very highly recommended to upgrade.

I upgraded but now I could not succeed for the guests.
It is not visible for guests.
Tried to detect the error but did not succeed.

Here is the message:

"Detailed information about the error on the website

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2;. NET CLR 2.0.50727;. NET CLR 3.5.30729;. NET CLR 3.0.30729; Media Center PC 6.0; Tablet PC 2.0 ;. NET4.0C;. NET4.0E; AskTbCLM/5.8.0.12304)
Time stamp: Fri, August 18 2010 01:09:25 UTC


Message: ',' expected
Row: 1
Character: 10
Code: 0
URI: http://www.xxxxxx.com/2sichat/index.php?action=head


Message: ',' expected
Row: 1
Character: 10
Code: 0
URI: http://www.xxxxxxx.com/2sichat/index.php?action=body"

How should I inform the Bar will visible for guests as well?
Once you have logged in, there is no problem.

--------
I have tried several times, uninstalled and reinstalled, went into the forum database and cleared the table appearing "2sichat" variables, then installed clean, but the same error occurs.

Title: Re: 2-SI Chat
Post by: nend on August 17, 2010, 11:00:35 PM
Revision 28 is now released, this is a quick release so it might be a little buggy. It is very highly recommended to upgrade.

I upgraded but now I could not succeed for the guests.
It is not visible for guests.
Tried to detect the error but did not succeed.

Here is the message:

"Detailed information about the error on the website

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2;. NET CLR 2.0.50727;. NET CLR 3.5.30729;. NET CLR 3.0.30729; Media Center PC 6.0; Tablet PC 2.0 ;. NET4.0C;. NET4.0E; AskTbCLM/5.8.0.12304)
Time stamp: Fri, August 18 2010 01:09:25 UTC


Message: ',' expected
Row: 1
Character: 10
Code: 0
URI: http://www.xxxxxx.com/2sichat/index.php?action=head


Message: ',' expected
Row: 1
Character: 10
Code: 0
URI: http://www.xxxxxxx.com/2sichat/index.php?action=body"

How should I inform the Bar will visible for guests as well?
Once you have logged in, there is no problem.

--------
I have tried several times, uninstalled and reinstalled, went into the forum database and cleared the table appearing "2sichat" variables, then installed clean, but the same error occurs.



Its a bug, please refer to this post.
http://mods.2-si.net/2si_chat_support/a_bug_firefox_49.msg133.html#msg133
Title: Re: 2-SI Chat
Post by: Marsh on August 18, 2010, 02:22:01 AM
Any word on making this work for everyone online and not just buddies?
Title: Re: 2-SI Chat
Post by: crustybum on August 18, 2010, 03:57:36 AM
Any word on making this work for everyone online and not just buddies?

It does..there is an option in the config.
Title: Re: 2-SI Chat
Post by: !RFAN on August 19, 2010, 04:14:50 AM
whats new in rev29???

Title: Re: 2-SI Chat
Post by: !RFAN on August 19, 2010, 04:39:54 AM
i applied my old database on a new forum.. on new forum widgets are not working although they were working on old site.. what should i do???

You sure you didn't overwrite any information that was used before. This would be the only cause I know of.


now i deleted 2-SI Chat database tables and intalled the mod again... but again my widgets are not working :(
Title: Re: 2-SI Chat
Post by: nend on August 19, 2010, 11:23:40 AM
whats new in rev29???



Not much, just one bug fix.
Title: Re: 2-SI Chat
Post by: Afro on August 19, 2010, 11:40:39 AM
Good mod. Congrats
Title: Re: 2-SI Chat
Post by: drhamza on August 19, 2010, 02:55:40 PM
hello there, thank you very very much for the great mod, i've been waiting for such a mod for long time

arabic names are being viewed as ???? instead of arabic characters, i checked 2sichat and 2sichat_gadgets and it's utf8 general, i suppose the script gets the information from settings.php, but character set there is utf8 as well... soo, any what should i do? thank you very much
Title: Re: 2-SI Chat
Post by: nend on August 19, 2010, 06:34:19 PM
hello there, thank you very very much for the great mod, i've been waiting for such a mod for long time

arabic names are being viewed as ???? instead of arabic characters, i checked 2sichat and 2sichat_gadgets and it's utf8 general, i suppose the script gets the information from settings.php, but character set there is utf8 as well... soo, any what should i do? thank you very much

Yes your right, utf8 support should be default, however I think the ???? marks may be caused by jQuery. I'll have to check this out though. Thanks for the input.
Title: Re: 2-SI Chat
Post by: drhamza on August 20, 2010, 04:37:16 AM
thanks to you
Title: Re: 2-SI Chat
Post by: Afro on August 20, 2010, 11:38:11 AM
How the you make the chat box stay fixed at the bottom like fb?

Title: Re: 2-SI Chat
Post by: nend on August 20, 2010, 12:24:14 PM
How the you make the chat box stay fixed at the bottom like fb?



There is no way to do this at this time due to how the JavaScript is coded. You can however change the position of the drag-able chat windows when they open in the chats style sheet.
Title: Re: 2-SI Chat
Post by: nend on August 22, 2010, 01:24:16 PM
50 downloads to 1,000. It has been exactly 1 month 1 day after the mod got approved. Not bad it was needed, but still a long ways to go.

The main problem in the chat at this time and my main concern is the stuttering. I know some may suggest doing it the XML way would of been allot better and could of eliminated the stuttering, I agree. Now am I going to add XML support, No.

That may seems a little harsh but XML barfs and I am looking for something more stable like JSON or JavaScript Object Notation. Most newer versions of PHP have it built in, but backwards compatibility can be added to older versions of PHP. So the future of JSON in future releases of 2-SI Chat looks good.
Title: Re: 2-SI Chat
Post by: nend on August 22, 2010, 01:46:19 PM
Revision 30 uploaded here.

Fixes

Workaround for IE UTF-8 Bug, encode before sending.
Fix for chat window online status wrong.
More session support.
Title: Re: 2-SI Chat
Post by: !RFAN on August 23, 2010, 12:02:41 AM
going well... we can xpect lot of betterment in future.. keep it up.. :)
Title: Re: 2-SI Chat
Post by: nend on August 23, 2010, 12:33:39 AM
Already made some real big strides with JSON in the chat. Just reworking the code to support it and removing old code that will no longer be supported. Like the session thing put in revision 30, it is gone, lol, long live that idea.

The stuttering issue is completely fixed in revision 31. Just have to wait though.

A JSON response from 2-SI Chat revision 31+
Code: [Select]
{"ID" : "105", "DATA" : "\n\t\t\t\t<div id=\"u4i105\">\n\t\t\t\t\t<img width=\"20px\" height=\"20px\" src=\"http:\/\/www.2-si.net\/avatarsu\/avatar_4_1280630777.png\" \/>\n\t\t\t\t\t<strong>Informer: <\/strong>\n\t\t\t\t\t<img src=\"http:\/\/www.2-si.net\/Smileys\/2-SI\/tongue.gif\">\n\t\t\t\t<\/div>"}
and another one that makes the heartbeats more efficient.
Code: [Select]
{"ids" : [{"id" : "4","id" : "8","id" : "2"}]}
and anther one, no data, the plug was pulled by the optimizers(aka DB lease function), but still a response was made.
Code: [Select]
{"ID" : null, "DATA" : null}
Isn't that prettier than XML. :D
Title: Re: 2-SI Chat
Post by: DarkflameQ on August 24, 2010, 08:39:42 AM
Finally got this awesome mod working.

The mod installed into my custom theme correctly but it didn't take into account simple portal.

Now i've got this bad boy working, is there a place for providing feedback / suggestions for future releases? :D
Title: Re: 2-SI Chat
Post by: !RFAN on August 24, 2010, 08:43:27 AM
yes..u can see links in sigi of nend
Title: Re: 2-SI Chat
Post by: drhamza on August 25, 2010, 05:37:26 PM
nend my friend, wanna ask about the language problem am getting, what are the news?
(i already asked about it but am too excited and i still can't apply the mod due to this issue =( )
Title: Re: 2-SI Chat
Post by: dkharp on August 25, 2010, 07:15:54 PM
Great mod!  When I clicked on the face book one it shows code. I'm using default curve theme. Any ideas?
Title: Re: 2-SI Chat
Post by: nend on August 25, 2010, 10:42:30 PM
nend my friend, wanna ask about the language problem am getting, what are the news?
(i already asked about it but am too excited and i still can't apply the mod due to this issue =( )

The language problem I believe was fixed in revision 30. There has been quite a few fixes lately.

This post contains allot manual fixes. http://mods.2-si.net/2si_chat_support/a_bug_firefox_49.0.html

I am not going to provide a update real soon because revision 31 already has quite a few changes and need to finish those up first. However revision 31 will have all fixes found so far.
Title: Re: 2-SI Chat
Post by: tfs on August 26, 2010, 09:06:55 PM
Looking very nice!  One cool feature would be to allow ignoring individual users.

I'd also like to be able to turn off the bottom bar, and then make a SimplePortal block that would display the online users with the ability to chat them from there, and also have access to the sound on/off button.
Title: Re: 2-SI Chat
Post by: x.Silencer.x on August 28, 2010, 01:04:02 PM
Hello,

I have installed this mod on RC3,  and on the Default theme, it successfully installed, but for some reason there's no chat Bar or anyone to chat with other members! Please let me know if there are any extra things need to be done after installation, i have also checked the Settings for Config of SI Chat and everything is enabled.
Title: Re: 2-SI Chat
Post by: x.Silencer.x on August 28, 2010, 08:42:57 PM
oh its working now , problem with folder and file permissions
I have some other problem
Language Arabic Online does not work now can not read the names and box damaged
As in the picture
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww9.0zz0.com%2F2010%2F08%2F29%2F00%2F274367609.jpg&hash=9ae0b7b512d4b51a8d37726ec6be6b4d)
What is the problem
Title: Re: 2-SI Chat
Post by: nend on August 29, 2010, 12:30:55 AM
Confirmed about Arabic usernames not showing correctly. Bug logged - http://mods.2-si.net/issue,18.0/

This however in test I have done does not miss up the style sheet. For some reason your style sheet for the chat is not loading up correctly.
Title: Re: 2-SI Chat
Post by: x.Silencer.x on August 29, 2010, 06:05:00 AM
Okay, thanks a lot for your Feedback, Do you happen to have any suggestions regarding the Style sheet?
Title: Re: 2-SI Chat
Post by: nend on August 29, 2010, 11:13:07 AM
I need a closer look, I never seen this behavior before. It looks like the chat was flipped around but how? If you can PM me or post a link to the site.
Title: Re: 2-SI Chat
Post by: x.Silencer.x on August 29, 2010, 11:29:41 AM
i can't pm you 

my site is

http://www.proegy.com
Title: Re: 2-SI Chat
Post by: nend on August 29, 2010, 12:24:03 PM
I don't know whether to consider this as a bug or a incompatibility. I have not worked with any right to left sites in the past and the html declaration of the site being right to left is the problem.
Code: [Select]
<html xmlns="http://www.w3.org/1999/xhtml" dir="rtl">Since 2-SI Chat appends its data to the html via JavaScript it has to follow the rules of the document. This is what is causing the problem. I will need to research this further. Recorded and logged as a bug - http://mods.2-si.net/issue,19.0/
Title: Re: 2-SI Chat
Post by: x.Silencer.x on August 29, 2010, 01:05:15 PM
can send me  link for ver 31 if finshed to try

i can send you pass cepanel to show what's the problem but i can't send here

im pm i can't send msg

any other way to send my user and pass cpanel

Title: Re: 2-SI Chat
Post by: nend on August 29, 2010, 03:37:14 PM
Sure, but will have to wait until it is finished. I need someone who can test this release on different setups such as site language.
Title: Re: 2-SI Chat
Post by: x.Silencer.x on August 29, 2010, 04:26:20 PM
oky nend i wait you

thx for help

 this mod is very good i hop to work in my site
Title: Re: 2-SI Chat
Post by: x.Silencer.x on September 02, 2010, 03:26:33 PM
nend

how much you can finshed ver31
Title: Re: 2-SI Chat
Post by: nend on September 02, 2010, 03:37:59 PM
Well the character encoding bug was thought to be stomped until I upload rev31 on 2-SI Mod site. For some reason the usernames looked to be stored wrong in the database. I am trying to sort this out but sort of hard when MySql returns ??? marks from the start.

Rev31 will be released soon but no fix for the usernames yet. Sorry, but hey the template is fixed. ;)
Title: Re: 2-SI Chat
Post by: nend on September 02, 2010, 04:33:39 PM
Well looks like the username is fixed now, thanks to Oya a member here at SMF who helped me greatly fixing this problem before revision 31 release.

So revision 31 will be bug free.

Silencer since you encountered some of the problems and bugs in revision 31 can you register at my mod site. http://mods.2-si.net, once registered I will appoint you a temporary beta so you can get a running version. But remember though revision 31 may still have some bugs. Hopefully we all got the bugs worked out this time. :D
Title: Re: 2-SI Chat
Post by: x.Silencer.x on September 02, 2010, 10:12:42 PM
Im register but name is alsaka  :)

i wait you to try ver 31 i hop to fixed this problem
Title: Re: 2-SI Chat
Post by: dkharp on September 03, 2010, 12:44:21 AM
Is there a way to move the bar uptop?
Title: Re: 2-SI Chat
Post by: SilverKnight on September 03, 2010, 01:41:01 AM
Good mod, i joined the forums and posted my suggestions there.
Title: Re: 2-SI Chat
Post by: !RFAN on September 03, 2010, 02:53:25 AM
waiting for final release :D
Title: Re: 2-SI Chat
Post by: nend on September 03, 2010, 12:09:41 PM
Is there a way to move the bar uptop?

The postition of the bar, online list and initial location of chat or gadget window is controlled by the style sheet. ;)
Title: Re: 2-SI Chat
Post by: dkharp on September 03, 2010, 04:49:39 PM
Thank you.. Where is the style sheet?
Title: Re: 2-SI Chat
Post by: CapadY on September 03, 2010, 04:55:20 PM
I've installed this MOD and it seems to work fine, except one little thing.

When using the defalt curve theme there is a language selector shown.
As soon as I switch over to the Facebook theme the language selector disappaers.

Is this a bug or is there a possibilty to set this somewhere ?

When needed a can give an URL and an test account to have a look.


In addition to this,
When using the Facebook Theme the "Who is online"- link works properly in Firefox but doesn't work when using Internet Explorer.
Title: Re: 2-SI Chat
Post by: nend on September 03, 2010, 07:49:27 PM
I've installed this MOD and it seems to work fine, except one little thing.

When using the defalt curve theme there is a language selector shown.
As soon as I switch over to the Facebook theme the language selector disappaers.

Is this a bug or is there a possibilty to set this somewhere ?

When needed a can give an URL and an test account to have a look.


In addition to this,
When using the Facebook Theme the "Who is online"- link works properly in Firefox but doesn't work when using Internet Explorer.


The theme can be incompatible with 2-SI Chat meaning some of the vars in the JavaScript or names of containers might be the same. It can also be if the facebook theme uses jQuery and does not use the no conflict statement then there may be a conflict. However, there are allot of things that can conflict.

The language selector can also can be set in the admin panel, make sure that the setting didn't change.

I don't want to guess what is wrong, I hate guessing, but more than likely it is going to be the first one if it works on one theme and not the other. Something is butting heads with the chat.
Title: Re: 2-SI Chat
Post by: !RFAN on September 05, 2010, 12:43:11 PM
i'm using this mod and it is working fine... but there is one problem...
when any member is "Appearing offline" 2-SI Chat bar still shows that the member is online...
hey nend... plz do something with this one also...
btw.. going very well.. :)
Title: Re: 2-SI Chat
Post by: nend on September 05, 2010, 12:56:53 PM
Maybe the next version, not the one coming up, that is already in testing for any bugs.

The who's online section part of the bar is not AJAX, it only refreshes only on a new page load. But now that 2-SI Chat is supporting JSON we can do a few things. This may be optional though, because making request to a server to check who is online is allot of unnecessary load IMHO, but hey some people can cope handle this load.

I will give you the tools to overload your MySql or hosting server at your desecration, and ways to disable them of coarse.  ;D
Title: Re: 2-SI Chat
Post by: !RFAN on September 05, 2010, 03:01:27 PM
wow... great things are coming up.... :D
Title: Re: 2-SI Chat
Post by: nend on September 05, 2010, 09:19:45 PM
Yup, I picked JSON over XML because it is allot easier way to communicate back and forth with the JavaScript.
Title: Re: 2-SI Chat
Post by: nend on September 05, 2010, 10:26:36 PM
Ok, here is the deal.

If the beta team does not report any problems with revision 31 within at least a week from now I will release it on SMF. If one problem no go, lets see if this can happen.
Title: Re: 2-SI Chat
Post by: !RFAN on September 05, 2010, 11:27:51 PM
hmmm... we are waiting then...


btw i made some changes to look of this mod... u can see on my forum.. link is in sigi...

may i share it here???
Title: Re: 2-SI Chat
Post by: nend on September 09, 2010, 01:31:00 PM
Revision 31 is now available for download.

Fixes
Usernames not displaying correctly for certain characters.
Right to left sites display chat wrong.
Invisible divs.
Stuttering issue.

Features / Changes
Enable chat window heartbeat - Allows for one heartbeat now instead of multiple.
JSON support.
Template no longer echo's content but must return $data.

Allot of these fixes wouldn't be possible if it wasn't for JSON support being added, which was greatly needed.

Revision 30 and lower templates are not compatible with Revision 31+ templates. I am hoping this is the last change to the template system.

For more details about the changes please visit.
http://mods.2-si.net/project,1/
Title: Re: 2-SI Chat
Post by: MC73 on September 12, 2010, 03:16:05 PM
Great Mod ... After inputing the information in my custom themes, it works real well for my site .... Thanks for a job well done on this mod . Thank you ... MC
Title: Re: 2-SI Chat
Post by: Afro on September 12, 2010, 04:14:15 PM
Good job nend.
Title: Re: 2-SI Chat
Post by: drhamza on September 13, 2010, 10:12:27 AM
i shall say again; that's one of the best mods ever
Title: Re: 2-SI Chat
Post by: MordyT on September 13, 2010, 01:07:08 PM
Wow, shall test...
Title: Re: 2-SI Chat
Post by: !RFAN on September 16, 2010, 01:33:28 AM
i was using rev 30.. then i uninstalled it and installed rev 31... now i cant see any bar...

i cant see themes folder for bar... 2sichat/themes/default/index.php

??
Title: Re: 2-SI Chat
Post by: Hj Ahmad Rasyid Hj Ismail on September 16, 2010, 05:50:00 AM
Go to OP and see there is a troubleshoot guide there. Basically the main problem is the relevant files and folders permission which you should change to 755. If you are using custom theme, make sure there the 2 SI Chat script is there before and after body opening tag.
Title: Re: 2-SI Chat
Post by: !RFAN on September 16, 2010, 07:39:20 AM
i did everything... but the problems is that there is no Themes folder??
Title: Re: 2-SI Chat
Post by: Hj Ahmad Rasyid Hj Ismail on September 16, 2010, 08:43:31 AM
It can't be. If you are installing correctly, there must be urforumroot/2sichat/themes. Otherwise, you can try uninstall and reinstall again (and troubleshoot again).
Title: Re: 2-SI Chat
Post by: nend on September 16, 2010, 11:54:08 AM
That is strange, try downloading the package again. Maybe something didn't download right and the package is corrupt.
Title: Re: 2-SI Chat
Post by: x.Silencer.x on September 16, 2010, 10:35:43 PM
Was a very good solution to the problem of names and profile pictures appear too, and I still have a problem

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww3.0zz0.com%2F2010%2F09%2F17%2F02%2F219753922.jpg&hash=f1da4dd3b62ac1bda7a4a26926e663fd)

See photo

Arabic language shows her destination image Yellow

The problem of the emergence of Arabic Language


Please help me solve them
Title: Re: 2-SI Chat
Post by: nend on September 17, 2010, 01:10:41 AM
I thought the problem was solved. :(

Can you send me something in Arabic at mods.2-si.net via IM. I can't reproduce the problem and I am guessing it is because I am copying and pasting Arabic to test this. Lets see if we can figure this one out.
Title: Re: 2-SI Chat
Post by: x.Silencer.x on September 18, 2010, 04:34:39 AM
 i send in mods.2-si.net 

in ver 30 or 29 i can write arabic  but name's and pic is error
but in 31 i can't  write arabic but name's and pic its ok problem was solved

i wait you to try fixed

thx nend

Title: Re: 2-SI Chat
Post by: nend on September 18, 2010, 11:51:49 AM
I am still having trouble reproducing the problem you are having. When I copy and paste the Arabic it works fine. Since I am not able to reproduce the problem it is difficult track it down. If you can send me a IM via chat in Arabic at mods.2-SI.net. I think something more is going on when I copy and paste the code into my computer back to the chat. It may be getting convert there, don't know, we will find out though.

I attached a image of the results I get.
Title: Re: 2-SI Chat
Post by: x.Silencer.x on September 18, 2010, 01:09:06 PM
OK nend when you copy this is pic ok

try to closed who's online and open again you can't see again arabic

you see this ?????? and face yelow
Title: Re: 2-SI Chat
Post by: timmytimmy on September 18, 2010, 02:54:43 PM
ok, so i installed the latest version of this mod and i don't see any bar? 

i have a custom SMF theme but i made sure i checked the box for it during the install.  help?
Title: Re: 2-SI Chat
Post by: John1 on September 18, 2010, 04:29:10 PM
Hi Nend, Thanks for this wonderful mod.
Meanwhile, if i stay invisible as the admin on the forum, Members still see me online from the chat list.
Is there a way to avoid that ?
Title: Re: 2-SI Chat
Post by: nend on September 19, 2010, 01:22:05 AM
Please no PM's about installation of 2-SI Chat, most information on installation can be found at http://mods.2-si.net

@x.Silencer.x - Can you PM or post the URL to your site, I don't seem to remember the it. I can't reproduce the problem you are having but it doesn't mean there isn't any bugs, it could be a configuration difference.

@John1 - If you go to the site mentioned you can request it in as a feature, I like this idea also, invisible should be invisible. Please post it in the 2-SI Chat Bugs and Features area as a feature request. I tend to forget things lately, so if you post it there it will be remembered.

Also I would like to mention things in the works, live updating of the friends/online list with optimizers off, semi live updating of the friends/online with optimizers on, simple bbc, better JSON and permissions.
Title: Re: 2-SI Chat
Post by: x.Silencer.x on September 19, 2010, 03:17:46 AM
http://www.proegy.com/smf

ok nend and if you want my pass and user cpanel to see what's the problem

i can send pm in mods.2-si.net
 
Title: Re: 2-SI Chat
Post by: nend on September 19, 2010, 12:27:16 PM
http://www.proegy.com/smf

ok nend and if you want my pass and user cpanel to see what's the problem

i can send pm in mods.2-si.net
 

I think I may have found it, just I am unsure. You know how to use phpMyAdmin? Can you log into your phpMyAdmin and get me a screen shot of the table structure of {db_prefix}_2sichat? I think there may be a structure difference that may not be getting set right.

A real quick test to do though is to change the msg field collation to utf8_general_ci and see what happens if it is already there then get me the contents of Settings.php for SMF, be sure to take out your db information out of the file before posting it. ;)
Title: Re: 2-SI Chat
Post by: x.Silencer.x on September 19, 2010, 06:48:41 PM
i change msg text collation from latin_general_ci to utf8_general_ci
and arabic its ok now

You are a serious
The problem  is resolved
Thank you nend
 your mod very beautiful from one of a professional
Thank you nend  for all the help and support

Title: Re: 2-SI Chat
Post by: x.Silencer.x on September 21, 2010, 02:28:21 PM
hi nend

I need help on some of the additions

Example

Visible and invisible like facebook

No one can see me must [Add To Buddy List ]
Title: Re: 2-SI Chat
Post by: nend on September 21, 2010, 02:54:41 PM
hi nend

I need help on some of the additions

Example

Visible and invisible like facebook

No one can see me must [Add To Buddy List ]

I was actually wondering how that should be set up. If your invisible should you be invisible to everyone or just people who are not your buddy?

I know how I am going to do it, you will be visible if you set your status to "Show others my online status" in your profile. I think buddies should be able to see you though, so this is a feature for the show everyone online option in 2-SI Chat.
Title: Re: 2-SI Chat
Post by: x.Silencer.x on September 21, 2010, 05:47:41 PM
yes , i konw

but i need to Visible in forum  but i don't need talking in chat

in need to invisible only chat



Title: Re: 2-SI Chat
Post by: improv on September 23, 2010, 02:23:38 AM
Just a stupid question and not sure if this has been asked already but what if you "ignored" an user on the forums?
Will they still be able to chat with each other, or?
Title: Re: 2-SI Chat
Post by: Hj Ahmad Rasyid Hj Ismail on September 23, 2010, 05:44:05 AM
I don't think ignored user can chat with us at all. But give a test and try it out. Who knows...
Title: Re: 2-SI Chat
Post by: nend on September 23, 2010, 12:38:32 PM
I don't think ignored user can chat with us at all. But give a test and try it out. Who knows...

Yes they can, it was never thought about building this type of thing into 2-SI Chat in the beginning. Will be adding this however to the next release.
Title: Re: 2-SI Chat
Post by: John1 on September 23, 2010, 02:07:57 PM
I dont know if someone already asked this question.

Can you set the time frame for which online people can be shown.
Something like -

Set the time [in minutes or seconds] for the online people to show :
Title: Re: 2-SI Chat
Post by: nend on September 23, 2010, 03:11:06 PM
I dont know if someone already asked this question.

Can you set the time frame for which online people can be shown.
Something like -

Set the time [in minutes or seconds] for the online people to show :

I'm not sure what you mean, if your talking about updating the Online List this will be available on the next release.
Title: Re: 2-SI Chat
Post by: improv on September 23, 2010, 05:06:56 PM
Okay awesome.
I like this mod already and I will be following it up!
Title: Re: 2-SI Chat
Post by: Sweetwater on September 25, 2010, 05:44:57 AM

Well visited your site and the code seems to be in place in the template. This isn't a new issue and even though the mod installed correctly it usually means the PHP files for the chat can not execute.

So the problem is usually folder and file permissions. FTP to your site and try this.

2sichat 755
2sichat/index.php 755
2sichat/body.js.php 755
2sichat/head.js.php 755
2sichat/cache 755
2sichat/themes/default/index.php 755
@NaYa

Well visited your site and the code seems to be in place in the template. This isn't a new issue and even though the mod installed correctly it usually means the PHP files for the chat can not execute.

So the problem is usually folder and file permissions. FTP to your site and try this.

2sichat 755
2sichat/index.php 755
2sichat/body.js.php 755
2sichat/head.js.php 755
2sichat/cache 755
2sichat/themes/default/index.php 755

Same issue with mine, but for some reason I can't change the permissions on these files.... but can on everything else on the server.
Can see who is on line, but no chat window to be found.

Any tips?

Regards,

Sweetwater
Title: Re: 2-SI Chat
Post by: Galatea on September 27, 2010, 12:01:26 AM
@John1 - If you go to the site mentioned you can request it in as a feature, I like this idea also, invisible should be invisible. Please post it in the 2-SI Chat Bugs and Features area as a feature request. I tend to forget things lately, so if you post it there it will be remembered.

Quick fix for this is in 2sichat/index.php:
Find
Code: [Select]
function genOnList() {

global $smcFunc, $member_id, $context;

$results = $smcFunc['db_query']('', '
SELECT m.id_member, m.member_name, m.real_name, o.session
FROM {db_prefix}members AS m
LEFT JOIN {db_prefix}log_online AS o ON o.id_member = m.id_member
ORDER BY m.real_name DESC',
array()
);

Replace with:
Code: [Select]
function genOnList() {

global $smcFunc, $member_id, $context;

$results = $smcFunc['db_query']('', '
SELECT m.id_member, m.member_name, m.real_name, o.session
FROM {db_prefix}members AS m
LEFT JOIN {db_prefix}log_online AS o ON o.id_member = m.id_member
WHERE m.show_online = 1
ORDER BY m.real_name DESC',
array()
);

This hardcodes in so that members who have set themselves to "invisible" remain invisible.  Bear in mind that even admins cannot access invisible members to chat with using this method.  I'm sure this could be remedied with a quick conditional statement and some SSI that checks for $context['user']['is_admin'].
Title: Re: 2-SI Chat
Post by: x.Silencer.x on September 27, 2010, 05:03:38 AM

if i need to show who the friends list ( Buddy  list ) only can i do that
 
Title: Re: 2-SI Chat
Post by: nend on September 27, 2010, 10:54:55 AM
Revision 32 has been delayed a bit lately. I have been real busy lately, my sons birthday and getting burned by a charcoal grill, because someone put too much lighter fluid in it. Don't worry I am ok, just first degree burns on my face, not too bad, but is sure did hurt around the sensitive parts like the eyes, nose and mouth at the time.

Here is the list code as it is for next revision.
Code: [Select]
function genOnList() {

    global $smcFunc, $member_id, $context;

    $results = $smcFunc['db_query']('', '
        SELECT m.id_member, m.member_name, m.real_name, o.session
        FROM {db_prefix}members AS m
        LEFT JOIN {db_prefix}log_online AS o ON o.id_member = m.id_member
        WHERE NOT FIND_IN_SET({int:member_id}, m.pm_ignore_list) AND m.show_online = 1 OR FIND_IN_SET({int:member_id}, m.buddy_list) AND m.show_online = 0
        ORDER BY m.real_name DESC',
        array(
            'member_id' => $member_id,
        )
    );

    if ($results){
        while ($row = $smcFunc['db_fetch_assoc']($results)) { //show_online
            if (isset($row['session']) && $row['id_member'] != $member_id){
                  $context['friends'][] = $row;
            }
        }
        $smcFunc['db_free_result']($results);
    }
    $data = buddy_list_template();
    return $data;
}
Title: Re: 2-SI Chat
Post by: Aktoraman on September 29, 2010, 08:24:05 AM
SOLVED
For some reason I had double script entries

I get the same error in internet explorer although firefox is working fine.
Can you please inform me about the changes that you made there?
Title: Re: 2-SI Chat
Post by: drhamza on October 04, 2010, 11:06:52 AM
for some unknown reason, I opened my forum today to find that the bar was hidden completely, I checked the admin panel and it's not disabled, I also asked the other admin if he did anything new; negative
any idea please?
Title: Re: 2-SI Chat
Post by: drhamza on October 05, 2010, 01:34:03 PM
^^ help please
Title: Re: 2-SI Chat
Post by: nend on October 06, 2010, 12:50:47 AM
I am in the middle of moving so any support will take time, please check your the load settings in the chat, if enabled then disable that feature and see if it works.
Title: Re: 2-SI Chat
Post by: alsaka on October 07, 2010, 04:17:42 AM
hi nend

what's about  ( on - off ) to si caht )

===> im was join befor by my friend user (x.Silencer.x) but now i have a one  ;D



Title: Re: 2-SI Chat
Post by: drhamza on October 09, 2010, 04:57:05 AM
I am in the middle of moving so any support will take time, please check your the load settings in the chat, if enabled then disable that feature and see if it works.
nop, it's unchecked, any other ideas?
thank you
Title: Re: 2-SI Chat
Post by: nend on October 09, 2010, 11:03:34 PM
Website please.
Title: Re: 2-SI Chat
Post by: worldnet on October 18, 2010, 06:05:25 PM
I have one minor problem. I use an old theme, and I did get it going fine, except the Gadjets do not work right on the old theme. They did work on the new theme. What I do is make them links that open a new window. The window pops open, but the page does not load in the old theme. Could I have made a mistake making the changes that you posted in the beginning of this thread? The forum is below:
http://www.claytonadvocate.com/forum/
The Gadjet is "The AJC" which used to open http://www.ajc.com  in the old theme.

Thank you in advance!
Title: Re: 2-SI Chat
Post by: worldnet on October 18, 2010, 06:12:38 PM
Update:
Seems the Chat window works in Internet Explorer, but not in Firefox, and the Gadjets work in Firefox, but not Internet Explorer.
Title: Re: 2-SI Chat
Post by: mxcape21 on October 19, 2010, 05:10:02 PM
This looks like a great mod but I cant get anything but a blank gray chat window when I click "who's online".
It installed without any errors.
I followed the trobleshooting tips, checked the java script code in the head and body of index.template.php, edit the cache setting in the index file and set read and write permissions to the folder and all children and no change.
Is it something i'm missing in the configuration settings?

thanks
Title: Re: 2-SI Chat
Post by: nend on October 19, 2010, 11:43:18 PM
This looks like a great mod but I cant get anything but a blank gray chat window when I click "who's online".
It installed without any errors.
I followed the trobleshooting tips, checked the java script code in the head and body of index.template.php, edit the cache setting in the index file and set read and write permissions to the folder and all children and no change.
Is it something i'm missing in the configuration settings?

thanks

Depends on your settings, if no one is online then it will be blank, if you have no buddies and it is set to buddies only it will be blank. ;)

@worldnet - Should work in all newer browsers, haven't tested in any real old browsers though. Maybe this is the problem.
Title: Re: 2-SI Chat
Post by: mxcape21 on October 20, 2010, 12:48:42 AM
OK it looks like only an online buddy will show, I had the tick box checked to "show everyone online" but that seems to have no effect.
How do I make it show everyone and I see no setting from the chat admin (2.0 RC3) to show buddys only.
Also do you have a link to instructions for gadget setup?

Very nice mod...thanks
Title: Re: 2-SI Chat
Post by: nend on October 20, 2010, 09:41:39 AM
I don't have any tutorials on gadget setup at this time. It is pretty simple though how a gadget works, the gadget code is contained in a object container, if you put a url in the gadget code area it will pick it up and show the page in the gadget. If you supply html code it will do the same. Also be sure to set the gadgets width and height or the content may not be shown at all.
Title: Re: 2-SI Chat
Post by: worldnet on October 23, 2010, 10:43:44 PM
Another update. I have everything working perfectly on Firefox including the Gadjets(Links that open in Java). In IE version 8, everything except the gadjets work. The gadjet  "links" pop open a Java window with an "X" in them. The links do not load.
http://claytonadvocate.com/forum/index.php
Title: Re: 2-SI Chat
Post by: nend on October 24, 2010, 03:08:13 PM
Some bugs have been identified for IE7 & IE8, these have been fixed in the unreleased revision 34. Revision 33 has these bugs also so it will be unreleased.

Changes in revision 33.

Group Permissions for the chat.
Fixed problem with gadgets launching due to Live Update feature for the Who's Online list.

Changes in revision 34.

Fixed various IE7 & IE8 bugs. No bugs where detected in any other browsers using spoon to test.
http://mods.2-si.net/2si_chat_support/browser_compatibility_86.msg266.html
Title: Re: 2-SI Chat
Post by: worldnet on October 24, 2010, 06:57:05 PM
Some bugs have been identified for IE7 & IE8, these have been fixed in the unreleased revision 34. Revision 33 has these bugs also so it will be unreleased.

Changes in revision 33.

Group Permissions for the chat.
Fixed problem with gadgets launching due to Live Update feature for the Who's Online list.

Changes in revision 34.

Fixed various IE7 & IE8 bugs. No bugs where detected in any other browsers using spoon to test.
http://mods.2-si.net/2si_chat_support/browser_compatibility_86.msg266.html



Thanks for the info! will be watching for the revisions.
Title: Re: 2-SI Chat
Post by: !RFAN on October 25, 2010, 12:11:26 AM
i think "wh is online" should show number of online members/buddies on its face. :s
Title: Re: 2-SI Chat
Post by: nend on October 25, 2010, 03:34:23 PM
This can be done in the theme. I will probably add support though inside the script to count. I think I will add this to 2-SI Chat dark theme, which hasn't been released with any version of 2-SI Chat for a long while. Needs a few updates to the dark theme to make it compatible though. I may resurrect the classic 2-SI Chat theme also.
Title: Re: 2-SI Chat
Post by: alsaka on October 26, 2010, 03:52:49 PM
nend i have ver 31  how can update  to  34
Title: Re: 2-SI Chat
Post by: nend on October 26, 2010, 09:16:20 PM
Uninstall the old one and install the new one.
Title: Re: 2-SI Chat
Post by: alsaka on October 27, 2010, 06:31:59 AM
thx nend for replay , i update chat its ok , but i see chat in internet Explorer 7 in up not down

in firefox its ok very nice but erorr in Explorer 7

what's the problem ?
Title: Re: 2-SI Chat
Post by: Baloch on October 31, 2010, 06:55:44 AM
After upgrading to the 2-SI_Chat_rev34.zip CHAT bar is missing.
Title: Re: 2-SI Chat
Post by: Baloch on October 31, 2010, 11:13:58 AM
@NaYa

Well visited your site and the code seems to be in place in the template. This isn't a new issue and even though the mod installed correctly it usually means the PHP files for the chat can not execute.

So the problem is usually folder and file permissions. FTP to your site and try this.

2sichat 755
2sichat/index.php 755
2sichat/body.js.php 755
2sichat/head.js.php 755
2sichat/cache 755
2sichat/themes/default/index.php 755

cache file is missing????????????????????????
Title: Re: 2-SI Chat
Post by: rhack382 on November 03, 2010, 04:47:57 PM
I have read this thread with  great interest... 

Does any one use this with AjaxChat Integration? - and E-Z Portal...? 

I am curious how does it work with these additional mods? 

Has anyone uninstalled AjaxChat Integration in favor of this mod?

Thanks in advance for your input...
Title: Re: 2-SI Chat
Post by: Alarm on November 06, 2010, 10:46:03 PM
I install this,everything is ok..but when i do chat with somebady that window is not moveable ? Please help..
Title: Re: 2-SI Chat
Post by: nend on November 08, 2010, 09:55:18 AM
I install this,everything is ok..but when i do chat with somebady that window is not moveable ? Please help..

Can you give more details about the problem you are experiencing?
Title: Re: 2-SI Chat
Post by: LotusRS on November 10, 2010, 10:59:10 AM
how to insert a long link to me you see a horizontal scroll?
Title: Re: 2-SI Chat
Post by: SN on November 23, 2010, 12:27:29 PM
I have installed this mod on RC4.... but the bar isn't showing.

can anybody help??
Title: Re: 2-SI Chat
Post by: marwan on November 25, 2010, 07:21:02 PM
Can we have a way to chat with our facebook friends while on forums using this mod?
Title: Re: 2-SI Chat
Post by: eyo on November 25, 2010, 08:22:29 PM
i get these install errors, using rc4. any ideas what's wrong?

5.    Execute Modification    ./Sources/ManagePermissions.php    Test failed
      1.    Add Before    ./Sources/ManagePermissions.php    Test failed
      2.    Add Before    ./Sources/ManagePermissions.php    Test successful
      3.    Add Before    ./Sources/ManagePermissions.php    Test successful
      4.    Add Before    ./Sources/ManagePermissions.php
Title: Re: 2-SI Chat
Post by: nend on November 27, 2010, 12:34:38 PM
Installation with a fresh copy of SMF 2 RC4 and default theme was tested and installed successfully. Most problems with installation are mainly due to mod incompatibility or theme edits.

@ggman, the problem here is most likely that 2-SI Chat installer is trying to edit something that has been changed by a previously installed package. You may have to edit these lines manually.

@SN, if your not using the default theme then you must manually add the script codes to your index.template.php for that template.

@marwan, there is no support at this time for the chat to communicate with other chat applications on other websites.
Title: Re: 2-SI Chat
Post by: PPowerHouseK on November 28, 2010, 12:49:17 PM
I love this mod.
How can I simply change the color from blue to black?
Thanks in advance!
Title: Re: 2-SI Chat
Post by: nend on November 28, 2010, 09:23:23 PM
I love this mod.
How can I simply change the color from blue to black?
Thanks in advance!

smf_folder/2sichat/themes/default

Browse to this folder, edit images, css and templates as you see fit.
Title: Re: 2-SI Chat
Post by: boazor on December 03, 2010, 07:33:14 PM
hello

I install 2-Si chat and all look ok no error on install like everyone els i so everyone had
the problem with "who is online" i try all the 3 step to fix it and still not working
btw i try on default theme to still not work.

on the error_log i find this error
[03-Dec-2010 17:25:33] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/ixedts.lin' - /usr/local/lib/php/extensions/no-debug-zts-20060613/ixedts.lin: undefined symbol: executor_globals_id in Unknown on line 0

is that connect to the chat system and what is the problem ?

and if its not connect to the chat what is my problem?

http://www.orbks.com

thank you
Title: Re: 2-SI Chat
Post by: nend on December 03, 2010, 09:44:47 PM
It looks like the files are not executable. Please make all php files executable and it should work.
Title: Re: 2-SI Chat
Post by: boazor on December 04, 2010, 04:49:48 AM
i try it to not work all the file are 755

i even install pure SMF and still not work


http://smf.orbks.com clean install  only 2-SI Chat installed
Title: Re: 2-SI Chat
Post by: ntr2ntr on December 04, 2010, 06:46:46 AM
Hello frnds,

I m currently using 2.0 RC4 and my 2-SI Chat is not working for members when they change their Display name, and when they change back their Display name to previous name its again working, why is this so???   does this happen if they include any special character in their display name???  like ©

Members are able to see them online but when they click on their name it doest open.....

Pls Pls frnds help me out.......  P.S: i m not using default theme.

my forum is www.kammafriends.com
Title: Re: 2-SI Chat
Post by: nend on December 04, 2010, 09:47:16 AM
Hello frnds,

I m currently using 2.0 RC4 and my 2-SI Chat is not working for members when they change their Display name, and when they change back their Display name to previous name its again working, why is this so???   does this happen if they include any special character in their display name???  like ©

Members are able to see them online but when they click on their name it doest open.....

Pls Pls frnds help me out.......  P.S: i m not using default theme.

my forum is www.kammafriends.com

That is a awkward one since 2-SI Chat goes by user id and display name has nothing to do with how the data is stored or chat session creation. Maybe it could be a browser cache problem, I don't see how though but try clearing your browser cache.

i try it to not work all the file are 755

i even install pure SMF and still not work


http://smf.orbks.com clean install  only 2-SI Chat installed

The files are returning a blank page still, for some reason it looks like they are not executing.
Title: Re: 2-SI Chat
Post by: h4k on December 13, 2010, 03:04:49 PM
I install this,everything is ok..but when i do chat with somebady that window is not moveable ? Please help..

Can you give more details about the problem you are experiencing?


Same problem here, the popup chat window is not moveable, i tried on Mozilla, Chromium, etc... is not a browser problem, but the chat. It show the hand pointer but when I select the window, i cant move it.


Also, sometimes, If i have closed a popup and open other page of the forum, then the window comes invisible but i cant click on a link behind the "invisible popup". This mod is awesome, but is not ussable for me for the moment... what can i do?

Title: Re: 2-SI Chat
Post by: nend on December 13, 2010, 08:09:53 PM
Which revision of the chat have you installed? Also what version of PHP do you have, I believe I added some compatibility for older versions of PHP but without a test site running older versions of PHP there is no way for me to check that if functions available in the 5 branch are available in the 4 branch.

Also please note 2-SI Chat uses the class msg_win for its movable divs. If anything in your template uses msg_win then it will conflict with the chat application.

There are many other possible conflicts since the space 2-SI Chat executes. More than likely it is a conflict because the chat works perfect on the default theme. If possible in the future I may release a version with more unique functions, variables, classes and ids so these conflicts will not occur.

It may be a while though, I haven't had much time lately to touch any 2-SI Chat code. I am also thinking about releasing the chat mod under a free open source license or having someone take over the mod. I am more leaning to open source since I feel like the mod should belong to everyone.
Title: Re: 2-SI Chat
Post by: Baloch on December 23, 2010, 06:25:40 AM
2-SI Chat is not supporting Unicode. Is there any solution?
Title: Re: 2-SI Chat
Post by: Baloch on December 24, 2010, 09:58:27 AM
It seems nobody is here to response on issues :(
Title: Re: 2-SI Chat
Post by: JoeB on December 30, 2010, 07:23:19 PM
Installed on SMF 2.0 RC4
No bar!
Eddit filed manually
no joy
The package is not visable in modfication settings.
Please advice
Title: Re: 2-SI Chat
Post by: nend on December 30, 2010, 11:29:46 PM
Settings are not in modification settings, check configuration menu in the admin panel.

Also please note with this revision if you enable group permissions you must edit each one of your permissions for each group so the chat will show for all membergroups you wish the chat to show for.

Once again if your using a custom theme then it may be likely the chat JavaScript code didn't get inserted into the template file. Please check your template files to be sure if the chat installed its code in there.

I would like to mention there has been found a small bug in the method 2-SI Chat uses to send messages to the PHP end of the script. This bug is the cause of various problems with special characters. The JavaScript function is jsubmit in body.js.php and in that function a method was not defined to submit messages to the PHP end so jQuery defaults to get which causes allot of problems with special characters. If you know enough jQuery then you can define the method as POST and this will save allot of problems with special characters.

In that function just add this to the jQuery AJAX call.
Code: [Select]
type: "post",
Title: Re: 2-SI Chat
Post by: 楚君 on January 01, 2011, 05:20:52 AM
 :D 你們在做什麼???
Title: Re: 2-SI Chat
Post by: colej2k on January 04, 2011, 10:08:30 AM
Tried it on RC3 and couldn't see any chat, nothing.  Just tried it on RC4 and still nothing.

Is this a joke  :-\
Title: Re: 2-SI Chat
Post by: SA™ on January 04, 2011, 01:23:40 PM
take a look at this

http://mods.2-si.net/2si_chat_support/2si_chat_installation_trouble_shooter_29.0.html
Title: Re: 2-SI Chat
Post by: impreza on January 04, 2011, 02:34:22 PM
An interesting modification, test it
Title: Re: 2-SI Chat
Post by: Baloch on January 06, 2011, 08:53:06 AM
2-SI Chat is not supporting Unicode. Is there any solution?

I am still waiting for the answer :(
Title: Re: 2-SI Chat
Post by: nend on January 06, 2011, 12:41:58 PM
2-SI Chat is not supporting Unicode. Is there any solution?

I am still waiting for the answer :(
I would like to mention there has been found a small bug in the method 2-SI Chat uses to send messages to the PHP end of the script. This bug is the cause of various problems with special characters. The JavaScript function is jsubmit in body.js.php and in that function a method was not defined to submit messages to the PHP end so jQuery defaults to get which causes allot of problems with special characters. If you know enough jQuery then you can define the method as POST and this will save allot of problems with special characters.

In that function just add this to the jQuery AJAX call.
Code: [Select]
type: "post",
Title: Re: 2-SI Chat
Post by: nend on January 06, 2011, 12:45:59 PM
I would also like to note SA is taking over this modification, I have requested the Simple Machines team to transfer this mod over about a week ago I believe, it has been a while but still no action. But in any matter SA will be taking over this modication, I will still stop by when I have time and give help when needed but I don't have enough time lately to continue development and support for this modification.

@SA I will get those files to you today.
Title: Re: 2-SI Chat
Post by: SA™ on January 06, 2011, 01:42:00 PM
thanks nend i was wondering what was going on lol
Title: Re: 2-SI Chat
Post by: DirtRider on January 13, 2011, 01:00:09 AM
I could not get this mod to work so I uninstalled it but since then I have been getting the following server error and don't know where to look for this. I have gone through all the files and cannot find any code left after the uninstall

Code: [Select]
However, examining your page loads more closely revealed the following errors appearing multiple times throughout the load:
[Sat Jan 08 17:22:20 2011] [error] [client xxx.xxx.xxx] File does not exist: /home/triumphtalk/public_html/2sichat, referer: http://triumphtalk.com/
[Sat Jan 08 17:22:31 2011] [error] [client xxx.xxx.xxx] File does not exist: /home/triumphtalk/public_html/2sichat, referer: http://triumphtalk.com/
[Sat Jan 08 17:22:31 2011] [error] [client xxx.xxx.xxx] File does not exist: /home/triumphtalk/public_html/2sichat, referer: http://triumphtalk.com/

Title: Re: 2-SI Chat
Post by: SA™ on January 13, 2011, 02:04:40 PM
your custom theme still has

Code: [Select]
<script type="text/javascript" src="http://triumphtalk.com/2sichat/index.php?action=body"></script>
and

Code: [Select]
<script type="text/javascript" src="http://triumphtalk.com/2sichat/index.php?action=head"></script>
Title: Re: 2-SI Chat
Post by: tesser on January 13, 2011, 03:42:50 PM
Is there any way to change the color of the blue bar to a color of choice ?

As good as this mod is  the color is to much for me.
Title: Re: 2-SI Chat
Post by: nend on January 13, 2011, 09:24:53 PM
Is there any way to change the color of the blue bar to a color of choice ?

As good as this mod is  the color is to much for me.

Browse to your forum directory then 2sichat/themes/default/images and replace cbar.png to whatever image you want.

You can also change the style in 2sichat/themes/default/style.css

Hope that helps.
Title: Re: 2-SI Chat
Post by: DirtRider on January 13, 2011, 10:24:10 PM
Can anyone help me with this please?

I could not get this mod to work so I uninstalled it but since then I have been getting the following server error and don't know where to look for this. I have gone through all the files and cannot find any code left after the uninstall

Code: [Select]
However, examining your page loads more closely revealed the following errors appearing multiple times throughout the load:
[Sat Jan 08 17:22:20 2011] [error] [client xxx.xxx.xxx] File does not exist: /home/triumphtalk/public_html/2sichat, referer: http://triumphtalk.com/
[Sat Jan 08 17:22:31 2011] [error] [client xxx.xxx.xxx] File does not exist: /home/triumphtalk/public_html/2sichat, referer: http://triumphtalk.com/
[Sat Jan 08 17:22:31 2011] [error] [client xxx.xxx.xxx] File does not exist: /home/triumphtalk/public_html/2sichat, referer: http://triumphtalk.com/

Title: Re: 2-SI Chat
Post by: nend on January 13, 2011, 11:43:06 PM
Can anyone help me with this please?

I could not get this mod to work so I uninstalled it but since then I have been getting the following server error and don't know where to look for this. I have gone through all the files and cannot find any code left after the uninstall

Code: [Select]
However, examining your page loads more closely revealed the following errors appearing multiple times throughout the load:
[Sat Jan 08 17:22:20 2011] [error] [client xxx.xxx.xxx] File does not exist: /home/triumphtalk/public_html/2sichat, referer: http://triumphtalk.com/
[Sat Jan 08 17:22:31 2011] [error] [client xxx.xxx.xxx] File does not exist: /home/triumphtalk/public_html/2sichat, referer: http://triumphtalk.com/
[Sat Jan 08 17:22:31 2011] [error] [client xxx.xxx.xxx] File does not exist: /home/triumphtalk/public_html/2sichat, referer: http://triumphtalk.com/

The mod didn't uninstall all the way, it looks like Aeva pushed the script tags to different positions in the code which caused errors during the uninstall. Please remove the script tags from your index.template.php file. We can't do this for you unless you provide us your index.template.php.

A small note though that will save you headaches with other modules in the future. Next time when uninstalling modules if there are ANY ERRORS you must uninstall all mods you installed after that module before it can be removed. This is a sad truth of the SMF package manager and can not be avoided. After you removed the module you can reinstall the modules you uninstalled.
Title: Re: 2-SI Chat
Post by: nend on January 14, 2011, 12:23:30 AM
Want to share these social network links for 2-SI Chat. Manual editing required.

Here are the html links for your template.php for function guest_bar_template and function chat_bar_template. You work them in how you want. also I didn't provide images, don't have any that match the current release theme sorry.
Code: [Select]
<a href="javascript:void(0)" onclick="javascript:getSocial(\'mailto\');">
<img src="'.$themeurl.'/images/email.png" alt="Email this to a friend" title="Email this to a friend" border="0">
</a>
<a href="javascript:void(0)" onclick="javascript:getSocial(\'digg\');">
<img src="'.$themeurl.'/images/digg.png" alt="Digg" title="Post this to Digg" border="0">
</a>
<a href="javascript:void(0)" onclick="javascript:getSocial(\'googlebuzz\');">
<img src="'.$themeurl.'/images/google-buzz.png" alt="Google Buzz" title="Post this to Google Buzz" border="0">
</a>
<a href="javascript:void(0)" onclick="javascript:getSocial(\'stumbleupon\');">
<img src="'.$themeurl.'/images/stumbleupon.png" alt="StumbleUpon" title="Post this to StumbleUpon" border="0">
</a>
<a href="javascript:void(0)" onclick="javascript:getSocial(\'yahoobuzz\');">
<img src="'.$themeurl.'/images/yahoo-buzz.png" alt="Yahoo Buzz" title="Post this to Yahoo Buzz" border="0">
</a>

Now in body.js.php add these lines to the JavaScript function getSocial.
Code: [Select]
if (social == \'digg\') {
pupUP("http://digg.com/submit?phase=2&url="+window.location+"&title="+document.documentElement.getElementsByTagName("TITLE")[0].innerHTML);
}
if (social == \'googlebuzz\') {
pupUP("http://www.google.com/buzz/post?url="+window.location+"&title="+document.documentElement.getElementsByTagName("TITLE")[0].innerHTML+"&message="+metadescription);
}
if (social == \'yahoobuzz\') {
pupUP("http://buzz.yahoo.com/submit/?urlsubmission-input="+window.location);
}
if (social == \'stumbleupon\') {
pupUP("http://www.stumbleupon.com/submit?url="+window.location+"&title="+document.documentElement.getElementsByTagName("TITLE")[0].innerHTML);
}
if (social == \'mailto\') {
document.location.href="mailto:?subject="+document.documentElement.getElementsByTagName("TITLE")[0].innerHTML+"&body="+document.documentElement.getElementsByTagName("TITLE")[0].innerHTML+"%0D%0A%0D%0A"+metadescription+"%0D%0A%0D%0ALink%0D%0A"+window.location;
}

Now you have a few extra social networks,  ;D.

*edit

Almost forgot this new part of the code. Add this line before function getSocial in body.js.php. If you don't the description var will be empty.
Code: [Select]
var metadescription;
var metas = document.getElementsByTagName(\'meta\');
for (var x=0,y=metas.length; x<y; x++) {
if (metas[x].name.toLowerCase() == "description") {
metadescription = metas[x].content;
}
}
Title: Re: 2-SI Chat
Post by: DirtRider on January 14, 2011, 12:28:10 AM
Can anyone help me with this please?

I could not get this mod to work so I uninstalled it but since then I have been getting the following server error and don't know where to look for this. I have gone through all the files and cannot find any code left after the uninstall

Code: [Select]
However, examining your page loads more closely revealed the following errors appearing multiple times throughout the load:
[Sat Jan 08 17:22:20 2011] [error] [client xxx.xxx.xxx] File does not exist: /home/triumphtalk/public_html/2sichat, referer: http://triumphtalk.com/
[Sat Jan 08 17:22:31 2011] [error] [client xxx.xxx.xxx] File does not exist: /home/triumphtalk/public_html/2sichat, referer: http://triumphtalk.com/
[Sat Jan 08 17:22:31 2011] [error] [client xxx.xxx.xxx] File does not exist: /home/triumphtalk/public_html/2sichat, referer: http://triumphtalk.com/

The mod didn't uninstall all the way, it looks like Aeva pushed the script tags to different positions in the code which caused errors during the uninstall. Please remove the script tags from your index.template.php file. We can't do this for you unless you provide us your index.template.php.

A small note though that will save you headaches with other modules in the future. Next time when uninstalling modules if there are ANY ERRORS you must uninstall all mods you installed after that module before it can be removed. This is a sad truth of the SMF package manager and can not be avoided. After you removed the module you can reinstall the modules you uninstalled.

Ok here is my index.template.php. thanks
Title: Re: 2-SI Chat
Post by: SA™ on January 14, 2011, 01:30:53 PM
that file is for the default theme we need the index.template.php from you custom theme

your custom theme still has

Code: [Select]
<script type="text/javascript" src="http://triumphtalk.com/2sichat/index.php?action=body"></script>
and

Code: [Select]
<script type="text/javascript" src="http://triumphtalk.com/2sichat/index.php?action=head"></script>

Title: Re: 2-SI Chat
Post by: DirtRider on January 15, 2011, 12:23:23 PM
that file is for the default theme we need the index.template.php from you custom theme

your custom theme still has

Code: [Select]
<script type="text/javascript" src="http://triumphtalk.com/2sichat/index.php?action=body"></script>
and

Code: [Select]
<script type="text/javascript" src="http://triumphtalk.com/2sichat/index.php?action=head"></script>


Ok I have a few themes running so here they are
Title: Re: 2-SI Chat
Post by: SA™ on January 16, 2011, 05:20:01 PM
been a hectic weekend :/
here you go pls back up before adding these just incase
Title: Re: 2-SI Chat
Post by: DirtRider on January 19, 2011, 12:43:18 PM
been a hectic weekend :/
here you go pls back up before adding these just incase

Thanks it's been a hectic week have hardly been able to do any work on my site at all  ;D
Title: Re: 2-SI Chat
Post by: puntalanza on January 23, 2011, 01:05:47 PM
IE error.

Iexplorer 8.0.7600.16385
Windows 7

This is the error, login user:

Detalles de error de página web

Agente de usuario: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDC; .NET4.0C; .NET4.0E)
Fecha: Sun, 23 Jan 2011 17:43:14 UTC


Mensaje: Argumento no válido.
Línea: 378
Carácter: 7
Código: 0
URI: http://www.suazoservice.com/bomberos/2sichat/index.php?action=body


This is the error, logout user:

Detalles de error de página web

Agente de usuario: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDC; .NET4.0C; .NET4.0E)
Fecha: Sun, 23 Jan 2011 18:08:47 UTC


Mensaje: Se esperaba un objeto
Línea: 173
Carácter: 7
Código: 0
URI: http://www.suazoservice.com/bomberos/2sichat/index.php?action=body


Thank you very much!
Title: Re: 2-SI Chat
Post by: Jeet Chowdhury on January 25, 2011, 03:30:32 AM
installed this mod in rc4. installed sucessfully but nothing happen in homescreen.
Title: Re: 2-SI Chat
Post by: SA™ on January 25, 2011, 03:46:19 PM
take a look at this

http://mods.2-si.net/2si_chat_support/2si_chat_installation_trouble_shooter_29.0.html
Title: Re: 2-SI Chat
Post by: SA™ on January 25, 2011, 04:18:08 PM
Rev 35 realsed

mod taken over by SA from nend
sanatised all inputs when adding gadgets
added error checks when adding gadgets
now uses no index.temlate.php edits
added missing closing php tags to language files
Title: Re: 2-SI Chat
Post by: JoeB on January 25, 2011, 04:56:42 PM
Wonderful!!!!
At last it is working now
(SMF 2.0 RC4)

well done & keep the good work

Only one error:
Who's Online
javascriptvoid(0)

Title: Re: 2-SI Chat
Post by: Jeet Chowdhury on January 28, 2011, 11:16:32 AM
the mod is working on another server not in my x10hosting. i see that he mention to set cpu throttling. how to do that?

i cant see even the bar.
Title: Re: SA Chat
Post by: SA™ on January 28, 2011, 11:38:21 PM
please see the stickys here

http://www.sa-mods.info/index.php?board=50.0
Title: Re: SA Chat
Post by: ironhide1 on January 31, 2011, 01:18:31 PM
Love this MOD but having some user issues. Runs fine in Firefox, Safari but user in IE8 is seeing the following error:
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; GTB6.6; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET4.0C; .NET4.0E; MSSDMC2.5.2219.1)
Timestamp: Mon, 31 Jan 2011 18:15:48 UTC


Message: Invalid argument.
Line: 378
Char: 7
Code: 0
URI: http://sundowntiki.net/forum/2sichat/index.php?action=body

Running 2.0 RC4 would really like to resolve this so my users are able to use this function when I update my live forum. I've attached the file that the error is called from. Sorry still new @ all the modifications. Thanks for any help you can provide.
Title: Re: SA Chat
Post by: DirtRider on February 01, 2011, 12:18:13 PM
I have installed this mod on just about every forum I have created and I still have yet to see it working. So what am I doing wrong? Install the mod no errors go to the setting set it all up and still nothing. Even looked on the SMF default theme also nothing  :-\
Title: Re: SA Chat
Post by: hcfwesker on February 05, 2011, 03:31:20 AM
Can this MOD and Ajax Chat both work on the same forum?

I just want this 2siChat for staff communication on the forum.
Title: Re: SA Chat
Post by: allthumbz on February 05, 2011, 10:53:15 AM
I installed it- then decided I did not like it.

It refuses to uninstall properly- leaves the word "chat" in the menu.

I tried to reinstall them remove it and got an error in a source file.

Why didn't this uninstall correctly and how to I manually remove it?

Thanks,

Nelson
www.Hobby-Machinist.com
Title: Re: SA Chat
Post by: hcfwesker on February 05, 2011, 01:55:10 PM
It refuses to uninstall properly- leaves the word "chat" in the menu.

You mean in the AdminCP menu on the forum?  Doesn't look like this makes a chat button in the main menu of the forum.

Sources/Admin.php

Find & REMOVE
Code: [Select]
'2sichat' => array(
'label' => $txt['2sichat'],
'file' => '2sichatAdmin.php',
'function' => 'twosichatAdmin',
'icon' => 'languages.gif',
'permission' => array('admin_forum'),
'subsections' => array(
      'config' => array($txt['twosichatConfig']),
      'gadget' => array($txt['twosichatGadget']),
),
),
Title: Re: SA Chat
Post by: allthumbz on February 06, 2011, 10:15:47 AM
You are right- it was SideSparks chat that will not uninstall.

I will make a new topic so as not to hijack here.


Nelson
Title: Re: SA Chat
Post by: lankavision on February 07, 2011, 01:27:43 AM
I have apply the mod of 2-si chat to my msf 2.0 rc4 But it not working
but i applied the mod on my local pc XAAMP server its working correctly. why my 2-si chat is not working on my hosting http://www.lankavision.com/forum/  (http://www.lankavision.com/forum/)
Title: Re: SA Chat
Post by: nend on February 07, 2011, 11:28:31 AM
I have apply the mod of 2-si chat to my msf 2.0 rc4 But it not working
but i applied the mod on my local pc XAAMP server its working correctly. why my 2-si chat is not working on my hosting http://www.lankavision.com/forum/  (http://www.lankavision.com/forum/)

The files are returning internal server error.

http://www.lankavision.com/forum/2sichat/index.php?action=head
http://www.lankavision.com/forum/2sichat/index.php?action=body

Check your file permissions, the install script does not set these automatically and some server setups upon install will default files to non-executable.
Title: Re: SA Chat
Post by: ACAMS on February 07, 2011, 07:33:18 PM
I have SMF 2.0 RC3 and I installed this and it is working fine (best I can tell) but it only shows on the main forum page, and the front page.....I have SimplePortal 2.3.2 ......is this normal and the way it is supposed to work, and if so, how do I make it show on all pages.....even portal pages?
 
THANKS....great mod
 
 
EDIT: It does not work on the portal front page....it is there, but when I click "who's on line" nothing happens.
Title: Re: SA Chat
Post by: SA™ on February 08, 2011, 12:43:00 PM
@ACAMS
see you post on my site
Title: Re: SA Chat
Post by: lankavision on February 09, 2011, 06:24:50 PM
I have apply the mod of 2-si chat to my msf 2.0 rc4 But it not working
but i applied the mod on my local pc XAAMP server its working correctly. why my 2-si chat is not working on my hosting http://www.lankavision.com/forum/  (http://www.lankavision.com/forum/)

The files are returning internal server error.

http://www.lankavision.com/forum/2sichat/index.php?action=head
http://www.lankavision.com/forum/2sichat/index.php?action=body

Check your file permissions, the install script does not set these automatically and some server setups upon install will default files to non-executable.

What changes should i do ?
i set my chmod like 777 but i hv give above error

Im very sorry to my poor english.
Title: Re: SA Chat
Post by: henrik1782 on February 16, 2011, 11:27:37 AM
Hi...

Very impressive mod and installed without problems.

I have two users wich have problems to initiate a chat and to receive a chat. Are there anything one the user side to be aware of.

I think this mod is a very god alternative to all the SMF chat solutions on the market that costs a lot of money. What is your goal with this... are this going to be a real alternative to the commercial chat?
Title: Re: SA Chat
Post by: SA™ on February 16, 2011, 11:30:23 AM
it doesnt play to well with ie at the moment what brousers are these users using?
Title: Re: SA Chat
Post by: henrik1782 on February 16, 2011, 11:33:46 AM
I think they both uses IE...

I have testet in with IE 7,8 and 9 without problems.
Title: Re: SA Chat
Post by: SA™ on February 16, 2011, 11:43:44 AM
try tuning compat mode off with IE 7,8 and 9 they all have errors
Title: Re: SA Chat
Post by: henrik1782 on February 16, 2011, 12:11:38 PM
I will try that a post a note here.
Title: Re: SA Chat
Post by: henrik1782 on February 16, 2011, 12:26:53 PM
I am just a little confused... SA Chat and 2-SI chat is that one and same product...?
Title: Re: SA Chat
Post by: SA™ on February 16, 2011, 01:21:52 PM
yes it was 2-si chat before i took up development
Title: Re: SA Chat
Post by: MC73 on February 19, 2011, 11:18:58 PM
Just thought I would post a little trouble that i have found with your great mod ......

#1) I recently upgraded to rc5 and i went ahead and loaded the 35 version that was compatible ..... as i found out , it does not work right ( at least on my site ) with SP Shoutbox ... the trouble was that every time someone would post on Simple Portal shout , the words that they typed would disappear ( FF3 )till they hit the refresh button from their browser ..... and the word "NULL" would show up via using IE.

#2) According to the package Manager of SMF 2.0 RC5 -- it showed that i downloaded version 34 instead of version 35 for some odd reason --- so i reloaded V35 but it still showed version 34

#3) So i reloaded version 34 back onto my site and your mod worked with SP shout.

I still love this mod of yours, just thought i would let you know ... Thanks , MC
Title: Re: SA Chat
Post by: eyo on February 20, 2011, 01:21:36 AM
installed flawlessly, no errors, enabled it in admin, set permissions. but no chat bar anywhere?!? why is this?
Title: Re: SA Chat
Post by: SA™ on February 20, 2011, 12:00:06 PM
@MC73
so rev 34 works with sp? and rev35 doesnt? i think i know what is causing this it the themeless edits

@eyo
take a look at the trouble shooting topic
http://www.sa-mods.info/index.php?topic=1017.0
Title: Re: SA Chat
Post by: MC73 on February 20, 2011, 03:19:06 PM
@MC73
so rev 34 works with sp? and rev35 doesnt? i think i know what is causing this it the themeless edits


Correct , I'm using the 34 version on my RC5 Forum and it works fine ... Version 35 caused trouble via using SP Shout.
Title: Re: SA Chat
Post by: eyo on February 21, 2011, 12:24:58 AM
changed permissions to 755 still nothing, i guess its back to ajax lol
Title: Re: SA Chat
Post by: grynmoors on February 22, 2011, 09:11:39 PM
Just thought I would post a little trouble that i have found with your great mod ......

#1) I recently upgraded to rc5 and i went ahead and loaded the 35 version that was compatible ..... as i found out , it does not work right ( at least on my site ) with SP Shoutbox ... the trouble was that every time someone would post on Simple Portal shout , the words that they typed would disappear ( FF3 )till they hit the refresh button from their browser ..... and the word "NULL" would show up via using IE.

#2) According to the package Manager of SMF 2.0 RC5 -- it showed that i downloaded version 34 instead of version 35 for some odd reason --- so i reloaded V35 but it still showed version 34

#3) So i reloaded version 34 back onto my site and your mod worked with SP shout.

I still love this mod of yours, just thought i would let you know ... Thanks , MC

Same thing here except no chat bar with either the v34 or v35.  Yes, I checked the CHMOD and all that. The only time I was ever able to get this mod to work was on last stable release SMF 1.1.X

Currently using SMF 2.0 RC5 SP 2.3.3
Title: Re: SA Chat
Post by: SA™ on February 23, 2011, 02:28:35 PM
try rev34 but make sure you custom theme if you use one has the edits in place
Title: Re: SA Chat
Post by: nend on February 23, 2011, 02:44:47 PM
Just thought I would post a little trouble that i have found with your great mod ......

#1) I recently upgraded to rc5 and i went ahead and loaded the 35 version that was compatible ..... as i found out , it does not work right ( at least on my site ) with SP Shoutbox ... the trouble was that every time someone would post on Simple Portal shout , the words that they typed would disappear ( FF3 )till they hit the refresh button from their browser ..... and the word "NULL" would show up via using IE.

#2) According to the package Manager of SMF 2.0 RC5 -- it showed that i downloaded version 34 instead of version 35 for some odd reason --- so i reloaded V35 but it still showed version 34

#3) So i reloaded version 34 back onto my site and your mod worked with SP shout.

I still love this mod of yours, just thought i would let you know ... Thanks , MC

Same thing here except no chat bar with either the v34 or v35.  Yes, I checked the CHMOD and all that. The only time I was ever able to get this mod to work was on last stable release SMF 1.1.X

Currently using SMF 2.0 RC5 SP 2.3.3

There has been no release that I know of for the SMF 1.1.x branch. Are you sure it wasn't on another version of SMF 2?
Title: Re: SA Chat
Post by: JoeB on February 25, 2011, 09:24:17 PM
Installed new Rev 35 (comes as Rev 34)  on fresh RC5 (no modes)
Changed files chmod

No chat bar
no radio buttons for these options:
---------------------
Show Everyone Online
Shows everyone online instead of buddies only.
Disable chat list
Removes the Who's Online list.
Enable Simple BBC
Enable Page Translator  Language Code
The Page language translator needs a language code to work.
This should be your websites default language.
Enable Home Icon  Enable PM Icon  Enable Myspace Icon  Enable Twitter Icon  Enable Facebook Icon
Enable load checking  Highest load level
Goes by server load average  On high load disable 2-SI Chat  On high load disable chat list  On high load disable bar
-----------------
These errors only in Explorer ver 9
Looks OK when using Firefox

Please advice
Title: Re: SA Chat
Post by: henrik1782 on February 25, 2011, 09:39:29 PM
Try to run IE 9 in compatible mode.

Has anyone tweaked the chat to have a bigger chat area...?
Title: Re: SA Chat
Post by: SA™ on March 02, 2011, 08:45:05 AM
SA chat bar beta1 rev37 relased

renamed the mod to SA Chat Bar
added missing closing php tags to sevaral files
chnaged shrt php tags in SAchatAmin.php
fixed hard coded text from last realse
now uses integration hooks for less edits
fixed simple portal shoutbox displaying null when shouting
some ie issues fixed

Title: Re: SA Chat
Post by: laetabi on March 02, 2011, 10:24:23 AM
Installed on RC4 and all appeared to work ok but visible to guests and all membergroups. Started customising setting in SA Chat Admin and set to allow specific user groups. Went to permissions but can't find SA Chat anywhere.  How can I set this so that only certain user groups can use the chat?

Thanks
Title: Re: SA Chat
Post by: SA™ on March 02, 2011, 11:04:43 AM
it in admin;/permissions
Title: Re: SA Chat
Post by: laetabi on March 02, 2011, 11:24:58 AM
Exactly where? I cannot find it anywhere under general permissions. I click modify for any membergroup and there are plenty of options but SA Chat is not one of them...

* Post Ratings    
View Ratings          
Rate Posts          
Edit Own Rating          
Delete Own Rating          
Administrate Post Ratings          
* Contact members using the personal messaging system    
View PM attachments          
Upload PM attachments          
Read personal messages          
Send personal messages          
* SMF Articles    
View Articles          
Add Article          
Edit own Articles          
Delete own Articles          
Rate Articles          
Leave Comments          
Articles Auto Approved          
Auto Approve Comments          
Admin Articles          
* Use SMF Gallery    
View SMF Gallery          
Add Picture          
Bulk Uploads          
Edit own Picture          
Delete own Picture          
Rate Picture          
Leave Comments          
Edit own Comment          
Report Pictures/Comments          
Auto Approve Comments          
Auto Approve Pictures          
Personal Gallery          
Admin Gallery          
* SMF Links    
View Links Page          
Add Links          
Edit Links          
Delete Links          
Manage Categories          
Approve Links          
Links Auto Approved          
Rate Links                    
* Use basic forum functionality    
Never be checked by mod httpBL          
View forum statistics          
View the memberlist and groups          
View Who's Online          
Search for posts and topics          
View the calendar          
View their own profile          
View other people's profiles          
Create bookmarks for topics          
* Moderate the entire forum    
Change other people's karma          
Edit other people's calendar events          
Access the moderation center          
Moderate forum members          
Issue warnings to members          
Edit other people's account settings          
Edit other people's profile options          
Edit other people's custom titles          
Delete other user's accounts          
Give Awards          
* SimplePortal    
Administrate portal          
Manage portal settings          
Manage portal blocks          
Manage portal articles          
Manage portal pages          
Can add article          
* Post events onto the calendar    
Create events in the calendar          
Edit their own calendar events          
* Carry out administrative duties    
Administrate forum and database          
Manage boards and categories          
Manage attachments and avatars          
Manage smileys and message icons          
Edit news          
Manage and assign membergroups          
Manage ban list          
Send a forum email to members          
Manage Thank you mod settings          
* Personalize their profile    
Edit their account settings          
Edit their additional profile options          
Choose a custom title for themselves          
* Delete their account    
Delete their own account          
* Select or upload an avatar    
Select an avatar from the server          
Upload an avatar to the server          
Choose a remotely stored avatar          
* Thank you mod permissions    
Vote on posts (up or down)          
Reveal Bad posts          
Reveal who gave Thanks          
* Moderator tag controls    
Allow this user to use [gmod] ?          
Allow this user to use [admin] ?
Title: Re: SA Chat
Post by: SA™ on March 02, 2011, 01:48:46 PM
hmmm do you get any error in your error logs?
Title: Re: SA Chat
Post by: laetabi on March 02, 2011, 04:56:22 PM
No errors on install and nothing in error log...

I have the 'allow deny permissions' enabled - would that change anything? Which file should I be checking in sources/themes?
Title: Re: SA Chat
Post by: henrik1782 on March 02, 2011, 09:10:23 PM
Hi....

Can you please advice how to create a bigger chat window.
Title: Re: SA Chat
Post by: JoeB on March 04, 2011, 09:22:38 PM
Removed Rev 35
Installed new Rev 37 on fresh RC5 (no modes)
Changed files chmod

No chat bar
no radio buttons on IE9 but ok in Firefox
no Chat bar

Please advice
Title: Re: SA Chat
Post by: Baloch on March 06, 2011, 12:31:01 AM
Although I liked your mod but it increased load on SERVER CPU and because of this and Simple portal's Shout box my site had been suspended by the hosting company.
Title: Re: SA Chat
Post by: SA™ on March 07, 2011, 02:55:06 PM
@Willerby...
well this mod uses hooks to show permissions i dont get why you cant see them i see them fine on my test site and my live site?

@JoeB
have you seen the SA Chat Installation Trouble Shooter  (http://www.sa-mods.info/index.php?topic=1017.0)?

@Baloch
this is why Load Average is included in the mod
SA Chat Load Average  (http://www.sa-mods.info/index.php?topic=1019.0)
Title: Re: SA Chat
Post by: f_aston on March 08, 2011, 06:44:25 PM


Hey mate,

I have tried and tried and followed all of the instructions and suggestions and have not been able to get this to work.

I have set the permissions, commented out the optimiser.

I can't figure out if the present version still requires the template edits or not but have tried doing that as well.

I have set all of the permissions in the console, also.

Do you have any other suggestions on how to get this to work.  I would be happy to show you the forum in question.

Although I have installed other mods now, this was the first mod I installed on a clean build and it didn't work at all.

I am browsing with Chrome, if that makes a difference though have tried unsuccessfully in other browsers.

I don't see chat, I don't see a toolbar, I don't see any change to the forum at all.
Title: Re: SA Chat
Post by: Sledgie on March 09, 2011, 10:46:09 PM
White screen. My site is gone. I installed the mod with no problems but when I refreshed all I get is a white screen. I tried different browsers with the same result. I'm extremely alarmed because I have no access even to the admin panel so I can uninstall. Any ideas or solutions?

RC4
Title: Re: SA Chat
Post by: SA™ on March 10, 2011, 12:55:09 PM
in your sources directory theres is a file called SAChatHooks.pho? if it there can you post it up if not add it from the package
Title: Re: SA Chat
Post by: f_aston on March 14, 2011, 09:00:28 PM
Hey Mate,

Weren't sure who you were referring to above.

I am running SMF 2.0 RC 5 with very few other mods.  This was the first mod installed on a clean build with a database import.

I set up the file permissions in my FTP.

I disabled the experimental code manually.

The page does not change at all.

Please assist as I would very much like to use this mod.

Do you require additional information to diagnose?
Title: Re: SA Chat
Post by: SA™ on March 17, 2011, 12:44:29 AM
in your sources directory theres is a file called SAChatHooks.pho? if it there can you post it up if not add it from the package
Title: Re: SA Chat
Post by: cnywrestling on March 17, 2011, 08:40:58 PM
Great Mod! Looks great everywhere but IE8.  In IE8, I get this message, similar to what others have reported:

Java Script Error
Description: 'document.all.friends.style' is null or not an object
Source: http://www.cnywrestling.com/smd/sachat/index.php?action=body
Line: 462

I'm on rev 37, SMF 2.0 RC5.  Works fine in Chrome, Firefox, and Safari

Thanks!
Title: Re: SA Chat
Post by: f_aston on March 17, 2011, 09:20:06 PM
Yes, the file was there.


Attached...


Thanks so much for your help mate, my users really want this mod!
Title: Re: SA Chat
Post by: f_aston on March 18, 2011, 01:28:03 AM


I have, for another reason, reinstalled the software and rebuilt from the backup.

Mod still won't show :(


Is it do with the fact that I have rebuilt from a backup or that we used to run Ajax-chat and Simple Portal?
Title: Re: SA Chat
Post by: eyeseven on March 19, 2011, 08:58:29 AM
I installed rev 37 everthing works fine but the problem is the gadget, nothings happen when click the gadget.. I think there is an invisible window is poping up because i can't click some of the links..

thanks! hope you can help me..

Title: Re: SA Chat
Post by: SA™ on March 19, 2011, 03:10:23 PM
@ ff_aston
try attached hooks file

@ eyeseven
can you post up your sachat/body.js.php pls
Title: Re: SA Chat
Post by: eyeseven on March 20, 2011, 02:54:51 AM
@ SA here's my body.js.php
Title: Re: SA Chat
Post by: f_aston on March 20, 2011, 08:32:09 AM


Thanks so much for your help mate, but unfortunately I still can't get the toolbar to show with this new hooks file.

Anything else we can do?
Title: Re: SA Chat
Post by: f_aston on March 20, 2011, 11:24:03 AM


Mate - I'd be happy to show you forum in question to get it working...
Title: Re: SA Chat
Post by: SA™ on March 20, 2011, 03:25:22 PM
@eyeseven
try attached file

@ f_aston
sure link to to your site and a temp user account and ill take a look be sure to check out the trouble shooter frst locatd here
http://www.sa-mods.info/index.php?topic=1017.0
Title: Re: SA Chat
Post by: eyeseven on March 20, 2011, 04:12:14 PM
Thanks so much! :D

it works! ! !
Title: Re: SA Chat
Post by: f_aston on March 20, 2011, 06:12:59 PM


Thanks for continuing to help mate!

I have PMed you the forum location and a login.

:)
Title: Re: SA Chat
Post by: SA™ on March 21, 2011, 01:56:53 PM
pls try the package now i just updated it tho i have a feeling your problem is permissions on the files i cant chack that with out ftp accesse
Title: Re: SA Chat
Post by: f_aston on March 22, 2011, 12:31:52 AM


I can assure you that I have double-checked the permissions about 15 times at this point, and unless there are required permissions that are not outlined in your document then they are set as you have required.

I won't be able to upload the new version just now, but will report back when I can!


Thanks so much for your help, you do a great job!  :)
Title: Re: SA Chat
Post by: f_aston on March 22, 2011, 01:06:49 AM


Mate - I tried the new package on a fresh build and no love.

And I did all the troubleshooting steps you outlined.

Be aware - our hosting is on a Zeus server and I found issues with other mods before because of this - for example - prettyurls makes use of Apache specific url rewriting commands.  Could this be a cause of the problem as, after trouble-shooting, most people get it working.  :(
Title: Re: SA Chat
Post by: xrunner on March 25, 2011, 08:41:31 PM
How do more than 2 people chat together?
Title: Re: SA Chat
Post by: Goodman854 on March 27, 2011, 04:29:10 AM
Can you make a GO OFFLINE button?
Title: Re: SA Chat
Post by: !RFAN on April 12, 2011, 07:54:20 AM
i am logged in but SA Chat Bar is showing:  Welcome, Guest. Please login or register. instead of Whos's Online...
what is wrong??

http://www.forum.vlovefun.com

user: testt
pass: 12345678

please check it and help me..

thanks
Title: Re: SA Chat
Post by: cnywrestling on April 12, 2011, 09:47:09 PM
I can't get this to work in any version of internet explorer - 7, 8, or 9.  The javascript error is different in each, but it's always the "index.php?action=body" file.  Personally, I wouldn't care as I use Chrome and it works fine in chrome.  But, 75% of my forum users are still on some version of IE.  Is there anything that can be done to get it working with IE?
Title: Re: SA Chat
Post by: nend on April 13, 2011, 11:11:37 AM
I can't get this to work in any version of internet explorer - 7, 8, or 9.  The javascript error is different in each, but it's always the "index.php?action=body" file.  Personally, I wouldn't care as I use Chrome and it works fine in chrome.  But, 75% of my forum users are still on some version of IE.  Is there anything that can be done to get it working with IE?
This looks like it may be a pain, however I can test in IE8 and say there is no problems with SA Chat on a unmodified IE8. Can you post the errors your are receiving here, it will help diagnose the problems you are receiving a little easier.
Title: Re: SA Chat
Post by: cnywrestling on April 13, 2011, 07:25:09 PM
Thanks for lending a hand.  As an IT troubleshooter, I sympathize when you can't duplicate the error  :-\

IE8 error is attached.  It's slightly different in IE9 and IE7, but I can't get to those machines right now.
Title: Re: SA Chat
Post by: nend on April 14, 2011, 12:02:25 PM
Thanks for lending a hand.  As an IT troubleshooter, I sympathize when you can't duplicate the error  :-\

IE8 error is attached.  It's slightly different in IE9 and IE7, but I can't get to those machines right now.

I heard of this one before but haven't been able to duplicate it. I can't look at it today though, have to go to work in a few minutes. I think it will be best for me to get my IE to duplicate the error and go from there. But if I remember correctly that portion of code still does it the traditional JS way. It may be better to let jQuery handle the style there. The chat system didn't always have jQuery so that part of the code that is giving the error is pretty old.

Once I figure it out I will send my fixes to SA and post a code snippet here until he can get around to working it in.
Title: Re: SA Chat
Post by: nend on April 14, 2011, 12:09:21 PM
May be a quick fix but in your body.js.php , look for this.
Code: [Select]
if (document.all) { //IS IE 4 or 5 (or 6 beta)
eval( "document.all." + layer_ref + ".style.display = state");
}

May change it to this
Code: [Select]
if (document.all) { //IS IE 4 or 5 (or 6 beta)
hza = document.getElementById(layer_ref);
hza.style.display = state;
}

Some reason it is detecting them as IE 4,5 or 6. I think it is because backwards compatibility is worked into the newer versions of IE. But I think this code will break the chat for IE 4,5 and 6. I will not know however without testing, so that will be later on. Sorry.
Title: Re: SA Chat
Post by: cnywrestling on April 14, 2011, 02:06:04 PM
You're a genius Nend  ;)  Thank You.

Bet you can't wait for the day when you don't have to program "around" IE  ???
Title: Re: SA Chat
Post by: SA™ on April 14, 2011, 02:29:39 PM
thanks nend i will  try to work on this at the weekend been a little busy in rl with work seems to be slowing down now then again i said this the other week and work picked back up again lol
Title: Re: SA Chat
Post by: nend on April 14, 2011, 10:36:32 PM
You're a genius Nend  ;)  Thank You.

Bet you can't wait for the day when you don't have to program "around" IE  ???

Sad though, I didn't find this out sooner. Some of my other sites use this function for hiding and showing divs. I tend to reuse code from previous projects in other work. It saves allot of time, but now it looks like I have a bug in some of my sites also.

I don't like the work around I posted though, because it takes away support from IE6 which isn't that bad. But the code is just too sloppy. So I will do a rewrite on this function for the chat.
Title: Re: SA Chat
Post by: anakmacan on April 18, 2011, 07:10:08 AM
I installed simple portal, is it possible to disable this mod on main forum, instead in want it to appear only on portal page ?
Title: Re: SA Chat
Post by: SA™ on April 18, 2011, 12:13:39 PM
you can try this

in sources/sachathooks.php

find
Code: [Select]
$buffer = str_replace('</head>', '<script type="text/javascript" src="'.$boardurl.'/sachat/index.php?action=head"></script>
</head>', $buffer);

$buffer = str_replace('<body>', '<body>
<script type="text/javascript" src="'.$boardurl.'/sachat/index.php?action=body"></script>', $buffer);

replace with
Code: [Select]
if(!isset($_GET['action'])){
$buffer = str_replace('</head>', '<script type="text/javascript" src="'.$boardurl.'/sachat/index.php?action=head"></script>
</head>', $buffer);

$buffer = str_replace('<body>', '<body>
<script type="text/javascript" src="'.$boardurl.'/sachat/index.php?action=body"></script>', $buffer);
}
Title: Re: SA Chat
Post by: anakmacan on April 20, 2011, 02:05:40 AM
WOW! THAT WORKS! Thank you  ;D
I reinstalled and i have donated, nice mod!
Title: Re: SA Chat
Post by: anakmacan on April 20, 2011, 03:37:33 AM
btw, i found out that SA Chat bar still appears on thread section.
http://www.loners-club.com/index.php/topic,566.0.html

could you help me so the bar doesnt show up on thread section too ?
Title: Re: SA Chat
Post by: SA™ on April 20, 2011, 12:07:27 PM
ttry changing

if(!isset($_GET['action'])){
to
if(!isset($_GET['action'])  || !isset($_GET['topic'])){
Title: Re: SA Chat
Post by: anakmacan on April 20, 2011, 06:19:23 PM
Nope, not working this time... where do you find !isset($_GET codes ? maybe i can also try it myself, cos i just found out it shows up on profile either (and make the page loads slower) xD
Title: Re: SA Chat
Post by: IME-Matthew on April 20, 2011, 08:31:51 PM
First off, let me say that this mod is by far the best I've seen for SMF, ever. It is way cool, and it will definitely become a permanent fixture of all of my SMF forums in the future.

That said, I am having the strangest issue (r37) with the chat bar not loading on the Message Index ONLY. It loads on everything else, even including admin pages, profiles, a member map mod, etc. I have tried comparing headers with both the MessageIndex source file as well as the template files within the default theme. I have tried replacing stock versions of MessageIndex pages from the SMF 2.0 RC5 source, as well as the stock templates as well, to no avail.

I have tried installing after a clean install with zero mods and I also have the same problem. Is anyone else experiencing this? Again, it loads for every single page except the message index (not the board index, but the message index after clicking into a board). Very strange, please help!!!

Thanks in advance for any suggestions!
Title: Re: SA Chat
Post by: IME-Matthew on April 21, 2011, 04:34:45 PM
I have found by adding the ...index.php?action=head... to a new <head> section, and ...index.php?action=body... to the <body> area in the Message Index template, works perfectly. The only thing is it is loading considerably slower, presumably because I am doubling the <head> area now, along with body.

Why is this not parsed properly through the main index page of the forum template I wonder? Interesting indeed...
Title: Re: SA Chat
Post by: SA™ on April 22, 2011, 01:19:00 PM

@IME-Matthew

in sources/sachathooks.php

Code: [Select]
// Post preview compatabilty
if (!empty($_REQUEST['board']))
return $buffer;

was added cos post preview wasnt working but if you remve that code it will show but it will also break post preview
ill have to look for another way round the post preview bug

@anakmacan
they come from the url
Title: Re: SA Chat
Post by: IME-Matthew on April 22, 2011, 09:00:47 PM

@IME-Matthew

in sources/sachathooks.php

Code: [Select]
// Post preview compatabilty
if (!empty($_REQUEST['board']))
return $buffer;

was added cos post preview wasnt working but if you remve that code it will show but it will also break post preview
ill have to look for another way round the post preview bug
Perfect, thank you! This worked immediately upon commenting out the code. I also tested post preview and it is working fine. I am assume you simply mean when you are replying to any post and hit "Preview", right? Yes, the text still previews just fine right above the text input area. Strange that it does not work for you. Regardless, I am thankful for your support here! This mod is excellent!!!
Title: Re: SA Chat
Post by: SA™ on April 22, 2011, 10:00:05 PM
@anakmacan
 uno the last edits i gave you and add

Code: [Select]
if(isset($_GET['action']) || isset($_GET['topic']))
   return $buffer;

before
Code: [Select]
$buffer = str_replace('</head>', '<script type="text/javascript" src="'.$boardurl.'/sachat/index.php?action=head"></script>
</head>', $buffer);
Title: Re: SA Chat
Post by: cnywrestling on April 22, 2011, 10:22:14 PM
Could some kind soul please offer a mini-tutorial on how to reposition the default location of the chat window?  I'm having a terrible time getting it to move all of the pieces.  When I change msg_container to fixed so it it at the bottom where I want it, then the rest of the message window stays at the top.  If I try to move those, some move, some disappear.  I'm just plain terrible with css so I was hoping someone would be kind enough to point me to the css variable(s) that need to be changed to move the chat window to the bottom.
Thanks  ;D
Title: Re: SA Chat
Post by: SA™ on April 23, 2011, 01:38:33 PM
id have to dig into the code to find this outt cos i dont know of hand
Title: Re: SA Chat
Post by: nend on April 24, 2011, 12:09:06 PM
Could some kind soul please offer a mini-tutorial on how to reposition the default location of the chat window?  I'm having a terrible time getting it to move all of the pieces.  When I change msg_container to fixed so it it at the bottom where I want it, then the rest of the message window stays at the top.  If I try to move those, some move, some disappear.  I'm just plain terrible with css so I was hoping someone would be kind enough to point me to the css variable(s) that need to be changed to move the chat window to the bottom.
Thanks  ;D

It is in the css file. I don't rember the class name though but all you have to do is change the position values. Somewhere in sachat.themes.default.style.css. Sorry about the sloppy information important on my droid.
Title: Re: SA Chat
Post by: mibodega on April 24, 2011, 08:14:09 PM
I spent hours troubleshooting Sa Chat. It worked when I initially installed it but then I noticed it was not there anymore. So I started removing some MODS and when I removed the SMF Multi Quote mod, boom the SA Chat bar was back.

Just to make sure I re-installed the Multi Quote Mod and Sa Chat Bar disappeared.
Title: Re: SA Chat
Post by: SA™ on April 24, 2011, 08:26:58 PM
it is cos the chat bar uses the buffer hook and that mod moifies the body tag

index.template.php
find
Code: [Select]
<body '.((isset($context['current_action']) && ($context['current_action'] == 'post') && (isset($context['current_topic']))) ? 'onLoad="post_mquotes();"' : '').'>';
replace with

Code: [Select]
<body>
in sources/sachathooks.php

find
Code: [Select]
$buffer = str_replace('<body>', '<body>
<script type="text/javascript" src="'.$boardurl.'/sachat/index.php?action=body"></script>', $buffer);

replace with
Code: [Select]
global $context;
$buffer = str_replace('<body>', '<body  '.((isset($context['current_action']) && ($context['current_action'] == 'post') && (isset($context['current_topic']))) ? 'onLoad="post_mquotes();"' : '').'>
<script type="text/javascript" src="'.$boardurl.'/sachat/index.php?action=body"></script>', $buffer);

both mods should now work as intended
Title: Re: SA Chat
Post by: Arantor on April 24, 2011, 08:28:52 PM
Better still, don't manipulate the buffer hook at all and just add the <script> onto the end of $context['html_headers'] at some point before the templates are invoked, even using the action hook if necessary.
Title: Re: SA Chat
Post by: SA™ on April 24, 2011, 08:38:59 PM
that will work?
Title: Re: SA Chat
Post by: mibodega on April 24, 2011, 08:43:47 PM
Better still, don't manipulate the buffer hook at all and just add the <script> onto the end of $context['html_headers'] at some point before the templates are invoked, even using the action hook if necessary.

I am not sure I follow how to do what you instruct ... can you show me please?
Title: Re: SA Chat
Post by: Arantor on April 24, 2011, 08:48:11 PM
I am not sure I follow how to do what you instruct ... can you show me please?

Not really, it wasn't aimed in your direction, but as a suggestion for the mod author.

that will work?

Can't see why not, $context['html_headers'] should exist at that point and be ripe for extending - and it should be faster than modifying the buffer.
Title: Re: SA Chat
Post by: SA™ on April 24, 2011, 09:25:18 PM
aha i see id have to play about with and  see if i can do this thanks for rhe suggestion
Title: Re: SA Chat
Post by: SA™ on April 25, 2011, 01:20:46 PM
new version realsed

fixed conflics with ajax stuff
removed all edits now soly uses hooks
updated the open close function [thanks nend]
fixed bar not showing on message index
now you can add,edit,remove your own links from the bar
fixed broken admin layout
now uses intergate_load_theme hook and subtemplates to show the bar
Title: Re: SA Chat
Post by: mibodega on April 25, 2011, 09:17:57 PM
 so.... should we uninstall Beta 1 and install Beta 2? ::)
Title: Re: SA Chat
Post by: anakmacan on April 25, 2011, 09:40:17 PM
SA™: It doesnt work, cos i installed the newer version. New version loads faster though!
Title: Re: SA Chat
Post by: anakmacan on April 25, 2011, 09:48:19 PM
Could you give me the code to show this mod inside simpleportal block instead?
Title: Re: SA Chat
Post by: SA™ on April 25, 2011, 11:51:14 PM
@mibodega
yes uninstall then reinstall

@anakmacan
try the atttached package it allowes you to chooss where the bar shows
Title: Re: SA Chat
Post by: Enzofielt on April 26, 2011, 11:57:35 AM
Hello, i have installed SA Chat Bar Beta2 rev38.
Where can i find the code to paste in a EZportal block.
Thanks  ;)
Title: Re: SA Chat
Post by: Yngwiedis on April 26, 2011, 01:07:29 PM
After install the new version i cant see the bar at all.
I forgot to do something ?

Thank you.


EDIT: Problem fixed after i change permissions of sachat folder to 755.

Thank you.

EDIT2: New problem. In the Who Is Online list i see all the members of the forum and not only the online members.
What i do wrong ?

Thank you.
Title: Re: SA Chat
Post by: anakmacan on April 26, 2011, 06:19:39 PM
@mibodega
yes uninstall then reinstall

@anakmacan
try the atttached package it allowes you to chooss where the bar shows

Ive downloaded, and i uninstalled SA chat, dropped old chat database, and then installed the file you gave me. I dont find any menu or option to choose where the bar will show. I mustve made mistake somwhere :/
Title: Re: SA Chat
Post by: SA™ on April 26, 2011, 08:55:15 PM
@anakmacan
it in sa chat admin

Actions to Show Bar on (separated by comma)
right at the bottom

@Yngwiedis
pos up your sachat/index.php
please

or in that file

find
Code: [Select]
if ($results){
while ($row = $smcFunc['db_fetch_assoc']($results)) { //show_online
if ($row['id_member'] != $member_id){
          $context['friends'][] = $row;
$user_settings = loadUserSettings($row['id_member']);
}
}
$smcFunc['db_free_result']($results);
}

replace with

Code: [Select]
if ($results){
while ($row = $smcFunc['db_fetch_assoc']($results)) { //show_online
if (isset($row['session']) && $row['id_member'] != $member_id){
          $context['friends'][] = $row;
$user_settings = loadUserSettings($row['id_member']);
}
}
$smcFunc['db_free_result']($results);
}
Title: Re: SA Chat
Post by: mibodega on April 26, 2011, 08:57:25 PM
I have to figure out how to uninstall Beta 1. I get the following errors

Execute Modification   ./Themes/default/languages/Modifications.english.php   Test failed
   1.   Replace   ./Themes/default/languages/Modifications.english.php   Test failed

I think I am just going to hang with Beta 1 for now until I see more happy faces ;D
Title: Re: SA Chat
Post by: SA™ on April 26, 2011, 09:05:09 PM
there text strings youd be ok to uninstall it still it wont break the forum ;)
Title: Re: SA Chat
Post by: Yngwiedis on April 27, 2011, 10:37:42 AM

@Yngwiedis
pos up your sachat/index.php
please

or in that file

find
Code: [Select]
if ($results){
while ($row = $smcFunc['db_fetch_assoc']($results)) { //show_online
if ($row['id_member'] != $member_id){
          $context['friends'][] = $row;
$user_settings = loadUserSettings($row['id_member']);
}
}
$smcFunc['db_free_result']($results);
}

replace with

Code: [Select]
if ($results){
while ($row = $smcFunc['db_fetch_assoc']($results)) { //show_online
if (isset($row['session']) && $row['id_member'] != $member_id){
          $context['friends'][] = $row;
$user_settings = loadUserSettings($row['id_member']);
}
}
$smcFunc['db_free_result']($results);
}

OK. After this fix the members list is now showing only the online members.
Thank you for that.

Can you tell me now how can i change the dimensions of the chat window ?

Thank you very very much.
Title: Re: SA Chat
Post by: cnywrestling on April 27, 2011, 01:56:08 PM
@eyeseven
try attached file

I had the same problem with gadgets - they just didn't work at all.  I saved the body.js.php file from the above resolution and now gadgets are "trying" to work, but there are problems in all browsers.  In IE, I get a "404 not found" error.  In Chrome and Firefox, nothing shows.  To simplify things, I just put a little table in the gadget:

Code: [Select]
<table>
  <tr>
    <td>Test Gadget</td>
  </tr>
</table>

But all I get are the above mentioned errors.  Little Help??

Thanks!
Title: Re: SA Chat
Post by: SA™ on April 27, 2011, 02:03:48 PM
missing global in the chat bar template

in sachat\themes\default/template.php

find
Code: [Select]
function gadget_template() {

global $themeurl, $context;

replace with
Code: [Select]
function gadget_template() {

global $boardurl, $themeurl, $context;

it actualy fixed in the package a few post back just i need todo more testing before i realse that package properly
Title: Re: SA Chat
Post by: cnywrestling on April 27, 2011, 11:05:47 PM
Sorry, but that really threw things off.  All that did was cause a JS error:

Code: [Select]
Script Error
Description: 'document.all.friends.style' is null or not an object
Source: http://www.cnywrestling.com/smd/sachat/index.php?action=body
Line: 383

I changed the one line back, but the javascript error won't go away.  Doesn't make sense.  I had to disable it for now.
Title: Re: SA Chat
Post by: SA™ on April 28, 2011, 12:22:12 AM
that error has nothing todo with what i told you todo hence why it dont go away

beta 2-1 rev39 realsed
now you can define where the bar show
online list now shows avatars
fixed gadgets now showing when clicking them
now has a simple yet powerful theme manager
Title: Re: SA Chat
Post by: Yngwiedis on April 28, 2011, 10:01:08 AM
After installing the new release i get this error when i click on SA Chat Administration:

Quote
Fatal error: Cannot redeclare isallowedextension() (previously declared in /home/xxxxxx/public_html/Sources/sachatAdmin.php:209) in /home/xxxxxx/public_html/Sources/FB_Connect/FB_Connect_Subs.php on line 62

Also SA can you tell me how can i change the chat window dimensions ?

Thank you.
Title: Re: SA Chat
Post by: SA™ on April 28, 2011, 11:53:44 AM
Quote
Fatal error: Cannot redeclare isallowedextension() (previously declared in /home/xxxxxx/public_html/Sources/sachatAdmin.php:209) in /home/xxxxxx/public_html/Sources/FB_Connect/FB_Connect_Subs.php on line 62

fixed pls download and reinstall

Quote
Also SA can you tell me how can i change the chat window dimensions ?
look in sachat/themes/yourtheme/style.css
i dont know the excact class  of hand tho
Title: Re: SA Chat
Post by: Yngwiedis on April 28, 2011, 12:34:24 PM
Quote
Fatal error: Cannot redeclare isallowedextension() (previously declared in /home/xxxxxx/public_html/Sources/sachatAdmin.php:209) in /home/xxxxxx/public_html/Sources/FB_Connect/FB_Connect_Subs.php on line 62

fixed pls download and reinstall

OK. Everything is fine now...

Quote
Also SA can you tell me how can i change the chat window dimensions ?
look in sachat/themes/yourtheme/style.css
i dont know the excact class  of hand tho

I find it. I am OK now.

Thank you very very much.
Title: Re: SA Chat
Post by: Capion on April 29, 2011, 07:53:29 PM
nice ..nice..
but how do I get rid of that very annoying, and unwanted..unexpected... google translate ---- annoy-me-bar ?
( unexpected..because it has not a thing to do with what I thought I was installing )
Title: Re: SA Chat
Post by: SA™ on April 29, 2011, 08:36:52 PM
in sa chat admin you can disable it
Title: Re: SA Chat
Post by: chinaren on May 01, 2011, 12:41:57 AM
Hi, I've installed this but there's no chat bar showing anywhere? 


I added the lines to the index.template.php as specified on the first page of this mod, but still nothing (probably out of date now). 


The directories are on 755.


I can see the mod settings in admin okay though.


Help?

Title: Re: SA Chat
Post by: SA™ on May 01, 2011, 12:36:34 PM
first off you dont need to make any edits for this mod o work it uses hooks and sub templates to show the bar

second thing
directories and files should be 755 for the chat bar to work
Title: Re: SA Chat
Post by: chinaren on May 03, 2011, 09:12:31 AM
Mmm, well no idea then.   ???
Title: Re: SA Chat
Post by: SA™ on May 03, 2011, 03:12:43 PM
you read my last post?
Title: Re: SA Chat
Post by: chinaren on May 03, 2011, 06:54:56 PM
y
Quote
ou read my last post?


I did.  The directories are 755 and I only did the edit because, after I installed the mod, I couldn't see the chat bar and thought it may be that, though I realized later on those were likely out of date.


However, I've just uninstalled and re-installed the mod and it's working now!!??? :o  Go figure!


So... thanks!  Looks good!
Title: Re: SA Chat
Post by: cubansephiroth on May 04, 2011, 01:48:37 PM
I tried rev39 in my forum and works fine, but I want to show the chatbar only to a members of some groups, I've checked the permision based on the main SA chat config but i cant find where to define which groups are allowed to chat and which not.

The mod said that i need to specify permissions in the SMF permision system but there's nothing related to SI-chat there.

Sorry for my english.

Any help will be apreciated
Title: Re: SA Chat
Post by: SA™ on May 04, 2011, 02:33:59 PM
whats your smf version? if you patched rc4 instead of upgrading then the permissions wont work cos the permission hook wasnt added to rc4
Title: Re: SA Chat
Post by: cubansephiroth on May 05, 2011, 09:18:01 AM
I have 2.0 RC4 in my forum i upgraded from RC3 some months ago. Sorry but my english it's no good at all, did you tell me that in RC4 i cant use de the permission system due to a hook limitation of the mod?
Title: Re: SA Chat
Post by: SA™ on May 05, 2011, 01:32:26 PM
yup thats correct you could try adding the permission hook your self i just tryed it on a patched rc4 forum and it seemed to work if you post up your managepermissions.php
Title: Re: SA Chat
Post by: tripplex on May 08, 2011, 12:20:59 AM
Hey, I installed the latest version (Beta 2-1 Revision 39) and I'm using SMF 2.0 RC5.

Everything seems to be working, BUT I can't see anyone in the whose online list. I set all the correct permissions:

sachat 755
sachat/index.php 755
sachat/body.js.php 755
sachat/head.js.php 755
sachat/cache 755
sachat/themes/default/index.php 755

I signed out and signed in, still no one on the list. What can be the problem? Someone please help!

EDIT: Problem fixed. Go to Admin > SA Chat > Config > Checkmark: Show Everyone Online :P
Title: Re: SA Chat
Post by: AcidFMHQ on June 01, 2011, 11:43:50 PM
Would like to say that in the settings I believe "Update Online List Live" doesn't work very sure if it did I wouldn't have to refresh the page to see who's online

Back when I was using 1.1.x I had cometchat and it would update online list in real time really liked that feature but ne way hope this is still supported by the originally creator hope for more updates in the future
Title: Re: SA Chat
Post by: SA™ on June 02, 2011, 01:24:36 PM
thanks for the report ill look into this for the next update
Title: Re: SA Chat
Post by: Joomlamz on June 04, 2011, 12:05:23 AM
Thank you
when update dont forget portuguese linguage


Portuguese and portuguse_brazillian

Code: [Select]
$txt['home'] = 'Home';
$txt['msgs'] = 'Mensagens';
$txt['myspace'] = 'MySpace';
$txt['twitter'] = 'Tweet';
$txt['facebook'] = 'Facebook';
$txt['whos_on'] = 'Quem est&aacute; Online';
$txt['guest_msg'] = 'Bem-vindo, Visitante. Por favor <a class="white" href="'.$boardurl.'/index.php?action=login">Entrar</a> ou <a class="white" href="'.$boardurl.'/index.php?action=register">registar-se.</a>';
$txt['load_warning'] = 'O Chat n&atilde;o esta disponível, devido à alta carregar do servidor.';
Title: Re: SA Chat
Post by: UKShark on June 06, 2011, 06:36:29 PM
I have only done a quick search on the topic so the warning below should be treated below with some patience until the developers have had time to respond...but...

I have just been suspended by hosting company (Siteground) for excessive CPU usage as a result of installing SAChat!

I really really like the mod but am forced to uninstall it despite being on an 'unlimited share hosting package' as it apparentely exceeds their 'stated thresholds'.

I'd appreciate any feedback both in terms of the mod and how to minimise its CPU and my hosts actions.
Title: Re: SA Chat
Post by: Diddybanks on June 10, 2011, 10:07:39 AM
Hey, I installed the latest version (Beta 2-1 Revision 39) and I'm using SMF 2.0 RC5.

Everything seems to be working, BUT I can't see anyone in the whose online list. I set all the correct permissions:

sachat 755
sachat/index.php 755
sachat/body.js.php 755
sachat/head.js.php 755
sachat/cache 755
sachat/themes/default/index.php 755

I signed out and signed in, still no one on the list. What can be the problem? Someone please help!

EDIT: Problem fixed. Go to Admin > SA Chat > Config > Checkmark: Show Everyone Online :P


i cant even see the bar below... i have set all those file permissions and even did as you just suggested checked the show everyone online but still nothing is displaying am using the beta version just like you and an RC5 smf platform. have input the code ned talked about on page one yet its still not showing please help ??


Thanks...   waiting??
Title: Re: SA Chat
Post by: Crissm on June 23, 2011, 07:31:07 AM
hello
i installed SA chat and it works fine with the default time, but i'm not able to make it work with the theme i use on my forum (core)...could you help me with this?
this is the index.template of my theme in attachment

i'll thank you with an italian translation for the mode :)

Title: Re: SA Chat
Post by: SA™ on June 23, 2011, 01:49:32 PM
it should work on every theme with out any edits what smf version are you using?
i got an update coming in a bit that fixes some ie issues
Title: Re: SA Chat
Post by: Crissm on June 23, 2011, 08:26:52 PM
it should work on every theme with out any edits what smf version are you using?
i got an update coming in a bit that fixes some ie issues

smf 2.0 gold ,
SA chat rev 39
btw in the core theme it won't works neither in firefox and google. In the default theme it works perfectly while in core simply it doesn't show the bar...i don't know why
Title: Re: SA Chat
Post by: SA™ on June 24, 2011, 01:19:09 AM
it work in core theme for me
with the  the core theme on can you right click and veiw the page souce and copy it pm me it?
Title: Re: SA Chat
Post by: SA™ on June 24, 2011, 01:42:44 AM
beta 3 realsed

moved load balencing setting to own admin page
added  portuguese linguage [thanks joomlams]
fixed broken html validation
fixed using to much code for the links part
made all images 16 by 16
updated jquery to the ltest version
added online count
mute button still showed if chat was disbled
now has better supprt for just link and gadgets with no chat part
fixed opening gadgets always loaded the default theme
sevaral more template tweeks
who online count counted hidden users
fixed some internet explorer errors
gadgets now support php, html and bbc
Title: Re: SA Chat
Post by: Dark king on June 24, 2011, 03:31:39 AM
Hey im having a problem on my forum with SAchat. I tried using both your rev39 and rev 41 packages on a smf 2.0 forum (upgraded from rc5) and i cant seem to get it to work. There are no install errors the datqabase tables have been written (checked)

ive turned the permisssions to 755 and commented out the cache as stated here http://www.sa-mods.info/index.php?topic=1017.0 and still nothing im at a real loss here any help would be appreciated
Title: Re: SA Chat
Post by: SA™ on June 24, 2011, 03:37:32 AM
in sachat admin there is a page called chmod check it out
Title: Re: SA Chat
Post by: Dark king on June 24, 2011, 04:02:25 AM
in sachat admin there is a page called chmod check it out

I told you i chmod the  things listed to 755 (maybe i should have said chmod instead of permissions but i already did that is the point)
Title: Re: SA Chat
Post by: SA™ on June 24, 2011, 04:33:26 AM
yes and somtimes it reqires all the files and folder to be 755 not just the ones listed in the topic did you even try it?
Title: Re: SA Chat
Post by: Dark king on June 24, 2011, 04:51:27 AM
yes and somtimes it reqires all the files and folder to be 755 not just the ones listed in the topic did you even try it?

yes i tried it i wouldnt be asking for help if i didnt i usually like to handle thesse things on my own but im at a genuine loss at the moment
Title: Re: SA Chat
Post by: SA™ on June 24, 2011, 04:54:22 AM
ill take a quick look now  got work in a minuite

got a link to you site?
Title: Re: SA Chat
Post by: Dark king on June 24, 2011, 05:04:03 AM
Code: [Select]
www.mudascantrad.com
well i installed it on a testboard and it works fine there  and i only had to chmod the whole sa folder. Its a clean install so it should work but if thats the case i litterally just upgraded the forum to 2.0 i did the large upgrade (for site that had mods) currently i have simple portal, smf packs shoutbox, an extra menu button for an off forum link, advanced rep system, and activity bar. Im not sure wich one of these could be affecting it
Title: Re: SA Chat
Post by: SA™ on June 24, 2011, 05:10:45 AM
it is in your template so it is there

undo the chnages you made with the topic then use the chmod thing in admin it has to be a file permission issue if all else fail loginto ftp and chmod sachat dir and all the file and folders inside to 755

if these wasnt in your template wich they are
<script type="text/javascript" src="http://www.mudascantrad.com/sachat/index.php?action=head&amp;theme=default"></script>
<script type="text/javascript" src="http://www.mudascantrad.com/sachat/index.php?action=body&amp;theme=default"></script>
then were no it isnt a chmod problem but cos they are there it can only be a chmod issue wich is the most commen reason for the bar not to show
Title: Re: SA Chat
Post by: SA™ on June 24, 2011, 05:23:12 AM
did you have enotify installed befor cos i see that in your template aswell?
Title: Re: SA Chat
Post by: Dark king on June 24, 2011, 05:30:55 AM
yes i forgot about that i do have enotify first thing i installed back its a pretty popular mod and memberclor links (just installed that a second ago)

I chmoded the whole sa chat still nothing x.x it prob is a mod confilct ill try to uninstall them one by one and see if that helps
Title: Re: SA Chat
Post by: frx on June 24, 2011, 06:27:49 AM
How should i do the update?

Unistall the Beta 2-1 Rev39 ?
And install the Rev 41 ?

Thanks
Title: Re: SA Chat
Post by: cryptic3 on June 24, 2011, 06:55:04 AM
I had problems when upgrading to VPS to handle the extra load but the new version seems to have sorted most of the problems.

I can now see the bar after using CHMOD, thanks for that :)

However members in Opera and firefox can see the bar and members on line but when they press on a name nothing happens...

Works fine for them in other browsers as it does for me.

Any suggestions please?

Cheers.
Title: Re: SA Chat
Post by: SA™ on June 24, 2011, 02:37:55 PM
tested and works in ff not tested opera yet tho i have added some compatability for ie in this version so maybe it broken it someware ill check itout later
Title: Re: SA Chat
Post by: SA™ on June 24, 2011, 04:09:41 PM
can you try this attached file pls

tested with ff, safari, opera, chrome, ie

just upload it to sachat directory
Title: Re: SA Chat
Post by: cryptic3 on June 25, 2011, 03:28:38 PM
can you try this attached file pls

tested with ff, safari, opera, chrome, ie

just upload it to sachat directory

Replace the one thats there?

Sorry I am not the most advanced at making changes to files so want to make sure I do the right thing :)
Title: Re: SA Chat
Post by: SA™ on June 25, 2011, 03:33:37 PM
yea thats correct
Title: Re: SA Chat
Post by: cryptic3 on June 25, 2011, 03:34:56 PM
OK thanks seems to have work as I can now use it in my firefox, just waiting for other members to verify its ok in their browsers...

Thanks very much, we all love this chat option  ;) :D
Title: Re: SA Chat
Post by: SA™ on June 25, 2011, 03:38:44 PM
thanks can you let me know and ill update the package
Title: Re: SA Chat
Post by: cryptic3 on June 25, 2011, 03:42:53 PM
I just tried it myself on Opera and it was fine...thanks again.
Title: Re: SA Chat
Post by: PLAYBOY on June 26, 2011, 11:13:51 AM
Questions before install...

Can i do group chat?
Can i edit membergroup permissions for access and write?
will there be any copyright on the bar or anywhere on my screen?
Title: Re: SA Chat
Post by: ukhalik2 on June 26, 2011, 07:23:18 PM
I CHOMED the files, but members still can't see the chat bar.. any help?
permissions are also correctly set from Admin>permissions.
Title: Re: SA Chat
Post by: Jessica. on June 27, 2011, 01:54:51 PM
Chat bar not appearing. installed with no errors :/
Title: Re: SA Chat
Post by: frx on June 27, 2011, 03:11:44 PM
Chat bar not appearing. installed with no errors :/

see this: http://www.sa-mods.info/index.php?topic=1017.0

:)
Title: Re: SA Chat
Post by: Jessica. on June 27, 2011, 03:42:27 PM
ah it works now! thank you
Title: Re: SA Chat
Post by: sunilimon on June 28, 2011, 07:47:16 AM
I would like to track a "bug". When I install SA Chat, the chat looks great, but my nivoslider banner disapears, it's a block of simple portal. I think thats a conflict between jquery call. Do you know any sollution about this bug? thank you very much!
Title: Re: SA Chat
Post by: Jessica. on June 28, 2011, 10:05:16 AM
I think this might be another bug. I was chatting with someone yesterday and two times it happened, I tried to enter something and instead it came out as "undefined". then I was unable to enter anything else until a few minutes later. then it happened again
Title: Re: SA Chat
Post by: SA™ on June 29, 2011, 04:02:28 PM
@sunilimon
whats the code for you banner?


@Jessica.
thnks for your report this bug i noticed the other day
Title: Re: SA Chat
Post by: PLAYBOY on June 29, 2011, 05:51:22 PM
Questions before install...

Can i do group chat?
Can i edit membergroup permissions for access and write?
will there be any copyright on the bar or anywhere on my screen?

Can anybody answer my questions?
Title: Re: SA Chat
Post by: SA™ on June 29, 2011, 07:28:44 PM
1 no
2 yes
3 yes
Title: Re: SA Chat
Post by: sunilimon on June 30, 2011, 03:17:57 AM
Hei! I use the code of nivoslider, you can find it here: http://nivo.dev7studios.com/#usage

Thank you very much!
Title: Re: SA Chat
Post by: SA™ on June 30, 2011, 03:27:40 AM
can you post the cod you are using in the block?
Title: Re: SA Chat
Post by: sunilimon on June 30, 2011, 03:45:04 AM
I send you by PM, thanks!

Edit: Please tell me when you receive it!, thank you very much!
Title: Re: SA Chat
Post by: bruce86 on July 03, 2011, 02:01:11 PM
SA chat problem with the package, you do not see, it releases (in the case of distillation) SAChatHooks.php the file. The package has display problems.
Theme default..;)
Title: Re: SA Chat
Post by: SA™ on July 03, 2011, 02:02:11 PM
what?
Title: Re: SA Chat
Post by: bruce86 on July 03, 2011, 02:25:33 PM
Does not display the chat, I just drop the file mentioned in the case of distillation.
Title: Re: SA Chat
Post by: SA™ on July 03, 2011, 02:34:52 PM
see this:
 http://www.sa-mods.info/index.php?topic=1017.0
Title: Re: SA Chat
Post by: bruce86 on July 03, 2011, 03:03:04 PM
Thank you very much..;)
Title: Re: SA Chat
Post by: studiowi33 on July 04, 2011, 03:48:10 PM
What's up with the javascript:void() on the windows?

BTW, taking the google translate bar off the chatbar finally got the messages to send & receive. Up until then, no-one could send or receive any IMs.

But aside from my little bit of difficulty, GREAT MOD!
Title: Re: SA Chat
Post by: bruce86 on July 05, 2011, 05:20:12 AM
Chat wonderful! And 'possible to minimize the chat? Thanks (as facebook )..:)
Title: Re: SA Chat
Post by: studiowi33 on July 11, 2011, 09:39:27 AM
It works fine in Firefox, but for some IE users, the IM's never send or receive.

Any insight is appreciated.
Title: Re: SA Chat
Post by: PS4DEV on July 19, 2011, 03:28:38 PM
hello, i´ve a question:
Is it possible to add a own url for displaying this chat ??
I only want to have the chat on this url-> smfsocialnetwork:   www.domain.net/forum/index.php?action=smfsocialnetwork;sa=home

Can someone help me ?
Title: Re: SA Chat
Post by: SA™ on July 19, 2011, 05:55:43 PM
check in sachat admin

Actions to Show Bar on (separated by comma)
Title: Re: SA Chat
Post by: PS4DEV on July 19, 2011, 06:43:35 PM
yep thanks a lot, my mistake ^^
Title: Re: SA Chat
Post by: tuantt on July 21, 2011, 05:04:48 AM
Dear Sir or Madam:

I've installed SAChat and it worked fine. However, when I check my index.php by View Source, the to script for sachat 'head' and 'body' seems not to be at "correct place". (the head script below my forum menu and the body script is not at the end of my body tag).

I looked in sachathook.php and it seem be differed from what I've read this thread (there is no $buffer, just a simple echo' <script...)

Though SAchat still work but this above may lead to a problem of javascript on my page (a yellow critical indecate that javascript get an error but not relate to SAChat, I believe).

I would like to know how to place the script at the "correct place" (to check if there still is an js error). Please give me some information.

Thank in advance.

Tuan Tran
Title: Re: SA Chat
Post by: SA™ on July 21, 2011, 02:10:05 PM
if it is working the script is in the right place :)
Title: Re: SA Chat
Post by: tuantt on July 22, 2011, 11:09:28 AM
Oh, I am not sure about that. Please have a look
Code: [Select]
<div class="navigate_section">
<ul>
<li class="last">
<a href="http://www.bizad.tk/diendan/index.php"><span>My forum name</span></a>
</li>
</ul>
</div><script type="text/javascript" src="http://www.bizad.tk/diendan/sachat/index.php?action=head&amp;theme=default"></script>
<div class="title_barIC">
the script for 'head' is not in the head section.
Anh here, the script for 'body'
Code: [Select]
oCookieOptions: {

bUseCookie: false,

sCookieName: 'upshrinkIC'

}

});

// ]]></script><script type="text/javascript" src="http://www.bizad.tk/diendan/sachat/index.php?action=body&amp;theme=default"></script>
<div class="bottom_quicklinks clear">...
the script is not only at the end of body section but also be "commented".
Title: Re: SA Chat
Post by: SA™ on July 22, 2011, 01:03:53 PM
if it is working the script is in the right place :)

it is in the right place
it uses subtemplates to show the bar so no edits are made
Title: Re: SA Chat
Post by: LC on July 23, 2011, 11:11:49 PM
Got this error on install.

Fatal error: Call to undefined function twosichatAdmin() in /Sources/Admin.php on line 560

Seems that the mod wasn't installed properly, even though the package manager did not report any errors. My error log did however say some files were not writable, but it was the file that comes with the mod, not any edits made to the other few files.

Did I goof somewhere? Should I do a manual install?


2.0 Final with a Custom theme, with some other mods.


Resolved, had to go back in my FTP and manually delete files. Seems I had extra copies.
Title: Re: SA Chat
Post by: tuantt on July 26, 2011, 04:16:23 AM
it is in the right place
it uses subtemplates to show the bar so no edits are made

Ok, thank for your supporting information
Title: Re: SA Chat
Post by: dj_king on July 26, 2011, 05:44:56 AM
A very good chat! Thank you!
Title: Re: SA Chat
Post by: Hege on July 27, 2011, 01:48:38 PM
hello. i've got a problem with this chat. i installed it without any problem, i did that thing in index.template. now, i can see the bar. BUT. when i'm logged in, it says " Welcome Guest, please login or register. " what should i have to do? please help.!!

check it.
www (dot) nlrp (dot) net ( it's hungarian, but the problem is the same.
Title: Re: SA Chat
Post by: SA™ on July 27, 2011, 03:02:14 PM
try this?

admin/server settings/cookies and sessions

disable
Use subdomain independent cookies
Title: Re: SA Chat
Post by: Hege on July 27, 2011, 03:19:35 PM
it did not work. it's already disabled... :/
Title: Re: SA Chat
Post by: mxcape21 on July 27, 2011, 05:01:53 PM
I get this error http://techraffle.com/forum area=2sichat;sa=gadget;xxxxxxx=xxx .....
Unable to load the '2sichat' template <--- should i still have a "2si chat" template?
I think I have a bad install of SA chat, should I still have 2si chat files after installing?

SMF 2.0 RC5 --  http://techraffle.com/forum/index.php
Title: Re: SA Chat
Post by: Hege on July 27, 2011, 06:41:31 PM
hm... it works in internet explorer ( with many bugs ), and in chrome/firefox dont work. any ideas? :/
Title: Re: SA Chat
Post by: mxcape21 on July 27, 2011, 06:45:53 PM
Ok I removed hooks.php manually and that seems to have fixed it, thanks for a great mod  :D
Title: Re: SA Chat
Post by: Rawn on July 28, 2011, 04:40:45 PM
Hi, I *love* this mod. My users are HUGE fans of it. Easily one of the best additions to my website. I have one question, though, and I;ve dug around everywhere to try and figure out how, but is there a way I can disable the mod for specific themes?

I have a mobile theme for my forums and the bar shows up on it and doesnt work too well on mobile devices.
Title: Re: SA Chat
Post by: divecall on July 30, 2011, 06:59:19 PM
I have the "Ajax Recent Topics"-Mod installed.

Is there any way to create a widget for the SA-Chat-bar, to show the recent topics in realtime (with ajax support)?

Thank you in advance...
Title: Re: SA Chat
Post by: AcidFMHQ on August 02, 2011, 04:43:16 AM
Getting a error after deleting a gadget saying

Code: [Select]
Fatal error: Cannot redeclare chat_window_template() (previously declared in themes/default/template.php:10) in /themes/dark/template.php on line 59
it pops up and can't be closed please help

Also getting this error with the default SA chat theme

Code: [Select]
Fatal error: Wrong value type sent to the database. Integer expected. (gid)(index.php-244) in /Sources/Subs-Db-mysql.php on line 684
Title: Re: SA Chat
Post by: studiowi33 on August 04, 2011, 01:48:49 PM
The chat bar covers up the RSS link at the bottom of my index page. And when I create a post, it also covers the last line of my typing.

Are there any easy solutions to these small inconveniences? I LUV the chat mod.

As always, any insight is appreciated.

-s.w
Title: Re: SA Chat
Post by: nend on August 16, 2011, 11:32:57 AM
Getting a error after deleting a gadget saying

Code: [Select]
Fatal error: Cannot redeclare chat_window_template() (previously declared in themes/default/template.php:10) in /themes/dark/template.php on line 59
it pops up and can't be closed please help

Also getting this error with the default SA chat theme

Code: [Select]
Fatal error: Wrong value type sent to the database. Integer expected. (gid)(index.php-244) in /Sources/Subs-Db-mysql.php on line 684
You may have to delete your cookies for the site in your browser. The cookies are telling the chat to try to load the gadget that you deleted.
Title: Re: SA Chat
Post by: braddasexy on August 21, 2011, 01:18:41 AM
I installed this and it installed beautifully and work on all the themes except the one I need it to work on.  I have helios installed and I have tried everything to make it show up.  If I switch to one of the other themes it shows up fine and works fine.

Any ideas on this?  I would very much appreciate the help!

Thanks.
Title: Re: SA Chat
Post by: SA™ on August 22, 2011, 02:31:20 AM
sachathooks.php

if ($layer == 'body')
replace with
if ($layer == 'body' || $layer == 'main')
Title: Re: SA Chat
Post by: mulch on August 26, 2011, 08:22:57 PM
hey, thanks for a great mod. i really like this bar but i followed the instructions at http://www.simplemachines.org/community/index.php?topic=293441.0 #1 and moved my avatars from the attachments folder to the avs folder and now, avatars are missing from the chat bar (and box)

Is there a way with my new setup to get the avatars back. It looked much nicer than a X?

Thank you in advance for your help
Title: Re: SA Chat
Post by: dayveboy on August 29, 2011, 12:47:42 PM
I have installed the chat and it is showing in my admin panel but nothing else shows anywhere on the site. on the themes tab, all settings a white with no options, could this be the issue?
i have uninstalled and reisntalled with same outcome.
all files in the sachat folder are chmod 777
any help would be great!

I read through this entire post be cant work out what i have done wrong or need to do, to make this work

thanks

Dave
Title: Re: SA Chat
Post by: SA™ on August 29, 2011, 01:46:15 PM
hey, thanks for a great mod. i really like this bar but i followed the instructions at http://www.simplemachines.org/community/index.php?topic=293441.0 #1 and moved my avatars from the attachments folder to the avs folder and now, avatars are missing from the chat bar (and box)

Is there a way with my new setup to get the avatars back. It looked much nicer than a X?

Thank you in advance for your help

id have to install the mod to try this out tho it should work like that ill try to take a look somtime this week for you

I have installed the chat and it is showing in my admin panel but nothing else shows anywhere on the site. on the themes tab, all settings a white with no options, could this be the issue?
i have uninstalled and reisntalled with same outcome.
all files in the sachat folder are chmod 777
any help would be great!

I read through this entire post be cant work out what i have done wrong or need to do, to make this work

thanks

Dave

can you take a screen dump for me pls i dont fully uderstand what you mean
Title: Re: SA Chat
Post by: dayveboy on August 29, 2011, 01:56:13 PM
Sorry I uninstalled it, in case it caused problems when i was not there.
I have found a few things that i tried to recify.

1. the themes folder inside the sachat folder was a blank file, i uploaded the themes folder.
2. the cache folder was a blank file, i uploaded the cache folder.

this happened both times i tried to install.

once installed, the themes tab of the sachat admin options, had no options. the drop down was empty.

when i tried the chmod option, blank screen.

I will install again and send a dump asap

thanks

Dave
Title: Re: SA Chat
Post by: dayveboy on August 29, 2011, 02:17:12 PM
I just installed ti again and its working, appart from there is nobody in the userlist.. I will go through the steps you have already expleined and let you know..sorry to have wasted your time.. third time lucky it seems
thanks

Dave
Title: Re: SA Chat
Post by: dayveboy on August 29, 2011, 02:29:14 PM
working flawlessly!

Thanks
Title: Re: SA Chat
Post by: mulch on August 29, 2011, 03:22:38 PM
id have to install the mod to try this out tho it should work like that ill try to take a look somtime this week for you

thank you, that would be much appreciated, love the mods but its ugly with no avatars

one thing to note, the default SMF avatar shows before people upload their own, and then has an X. you may want install your mod, make a few users, give them custom avatars, then do step 1 of the 24 things, then fix the broken avatars of the users

at that point you should see the problem

thanks again, i appreciate any help you can give me and the very cool and functional mod
Title: Re: SA Chat
Post by: studiowi33 on September 05, 2011, 07:51:56 PM
Hey all! I was looking thru my host account CP, and I found my Error Log completely filled up with:

Code: [Select]
[Mon Sep 05 18:23:14 2011] [error] [client 12.345.678.90] File does not exist: /home/theozcc1/public_html/sachat/themes/defualt, referer: http://************.cz.cc/index.php
[Mon Sep 05 18:23:05 2011] [error] [client 12.345.678.90] File does not exist: /home/theozcc1/public_html/404.shtml, referer: http://**********.cz.cc/index.php

On line 38 of the sachat/index.php file a misspelling of "default" occurs.

-s.w
Title: Re: SA Chat
Post by: hcfwesker on September 05, 2011, 11:40:11 PM
some members are complaining of an empty box on their screen, and cant get it to remove.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi133.photobucket.com%2Falbums%2Fq48%2Fcamdenml%2Fdummychat.png&hash=d819869270a364ee9df37e3262ce3dd9)
Title: Re: SA Chat
Post by: SA™ on September 06, 2011, 01:22:44 PM
the ghost boxes is a known issue but im unsure what causes this yet  you can try clearing you brouser cookies?
Title: Re: SA Chat
Post by: Dblog on September 06, 2011, 01:51:02 PM
i installed this on 2.0 and forum hung !
pages became dead slow and chat bar was not loading at all

can this be rectified or instead of bar, can there be popup chat window
Title: Re: SA Chat
Post by: hcfwesker on September 06, 2011, 03:59:26 PM
the ghost boxes is a known issue but im unsure what causes this yet  you can try clearing you brouser cookies?

Yeah, that worked.   Thanx

What would be really great, was when you minimize a chat box, it goes down in the SA chat bar next to "who's online", so you know exactly who all you been chatting with, and can reopen at anytime by clicking it.
Title: Re: SA Chat
Post by: PS4DEV on September 06, 2011, 05:03:59 PM
SA , can you tell me where the javascript code is located , that can move the main chat window ?
I want to make the main chat window static :)

Edit: found it
Title: Re: SA Chat
Post by: nend on September 08, 2011, 12:10:48 AM
It has to do something with garbage in the chat cookie. I am thinking it may be related to deleted members but since I haven't been keeping up with the project since I handed it over the code might of changed so I can be wrong.
Title: Re: SA Chat
Post by: SA™ on September 08, 2011, 10:39:02 AM
the ghost boxes is a known issue but im unsure what causes this yet  you can try clearing you brouser cookies?

Yeah, that worked.   Thanx

What would be really great, was when you minimize a chat box, it goes down in the SA chat bar next to "who's online", so you know exactly who all you been chatting with, and can reopen at anytime by clicking it.

yeah this is somthing i wanted to add to the mod
Title: Re: SA Chat
Post by: hcfwesker on September 08, 2011, 11:34:04 PM
yeah this is somthing i wanted to add to the mod

This is my temp work around to that, but problem is, when i get a new message chime, I have to pull each one up to see which one i got a new message in lol

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi51.tinypic.com%2Fo7q1lg.jpg&hash=751e76492a67a7f4f7cba2d289d3d035)


Also, I went through the index.php , and found out where to list online members alphabetically in ascending order, but some members were wondering if chat messages could be reversed, instead of being at the top, conversation works downwards in the box.

And, would be really, really, nice, if members could deactivate/activate this from their profile options.   but i think I read somewhere that wasn't possible, atm.



Title: Re: SA Chat
Post by: capncraka on September 10, 2011, 05:08:41 PM
Installed and it's working great! However, when you have a chat window open and you move it around the page it highlights all the text on the page AND the chat window likes to dip behind the main menu bar at the top. I tried messing with the z-index a little but that didn't seem to work. Any help would be appreciated!

Title: Re: SA Chat
Post by: hcfwesker on September 10, 2011, 05:48:33 PM
Installed and it's working great! However, when you have a chat window open and you move it around the page it highlights all the text on the page AND the chat window likes to dip behind the main menu bar at the top. I tried messing with the z-index a little but that didn't seem to work. Any help would be appreciated!

A work around I found to the entire page highlighting is, just put your cursor on the postbit box of the IM box you're moving, then hold and drag while your cursor is in the postbit box.  won't highlight anything again.   this is a good tip to let your members know as well.
Title: Re: SA Chat
Post by: SA™ on September 10, 2011, 06:54:04 PM
Quote
And, would be really, really, nice, if members could deactivate/activate this from their profile options.   but i think I read somewhere that wasn't possible, atm.

it is actualy possible with a couple of edits

profile.template.php

Code: (find) [Select]
if (empty($modSettings['disableCustomPerPage']))
Code: (add before) [Select]
echo '
<li>
<input type="hidden" name="default_options[show_cbar]" value="0" />
<label for="show_cbar"><input type="checkbox" name="default_options[show_cbar]" id="show_cbar" value="1"', !empty($context['member']['options']['show_cbar']) ? ' checked="checked"' : '', ' class="input_check" /> Disable Chat Bar</label>
</li>';

sources/sachathooks.php

uncomment
 if(empty($options['show_cbar']))

it is there twice
Title: Re: SA Chat
Post by: hcfwesker on September 10, 2011, 09:27:08 PM
Sweet, it works.  Only thing is other members wont know who has theirs deactivated.  Maybe should had a code that shows them as offline in the messenger online list.  :)

I'm going to donate to this mod on your site once i get some funds.  Very stellar work and upkeeping of this MOD, SA.
Title: Re: SA Chat
Post by: Sci-Fi_Fan on September 12, 2011, 02:13:26 PM
If you're taking suggestions for this mod, it would be awesome to be able to either minimize or manually resize a chat window, just for those with a small monitor. Also, if the chat bar itself could work on top of the forum so it doesn't refresh and have to load up with every page click, that would be another welcome improvement.

Otherwise this is an awesome mod. Keep up the excellent work!
Title: Re: SA Chat
Post by: SA™ on September 15, 2011, 01:24:07 PM
thanks hcfwesker

@Sci-Fi_Fan this is planned for the futer
Title: Re: SA Chat
Post by: studiowi33 on September 19, 2011, 02:36:27 PM
Hi all--
Can anyone help with this? I just got a PM from one of my members that describes his inability to use SA Chat:

Quote
Hmmm--what I'm seeing at the bottom is a link and list called USERS Online, not Who's Online--and it doesn't bring a pop-up list up when I click on it, just a list of the online users with options to either send them a regular message or a yahoo IM to the right of the name. I tried it in Safari and Firefox with pop-up blocker off. At least this will cut down on my opportunities to bother you. :)

Any help is much appreciated.

-s.w

EDIT: I'm using 2.0 final.
Title: Re: SA Chat
Post by: JustinG20 on September 25, 2011, 01:44:28 AM
Hey I am having a problem getting this to work, if anyone could help I'd appreciate it big time. I have smf 2.0.1 and tinyportal. I install this and afterward i don't see it anywhere on the site. I used package manager to install it, no errors at all, will do a manual install in the meantime. Thanks in advance for any help, and if someone has tinyportal running and this I'd know its definitely on my end.
Title: Re: SA Chat
Post by: SA™ on September 25, 2011, 07:29:14 PM
see if this helps

SA Chat Installation Trouble Shooter (http://www.sa-smf.com/community/index.php?action=kb;area=article;cont=29)
Title: Re: SA Chat
Post by: mulch on September 25, 2011, 07:31:56 PM
fyi, that is a privileged board, i can't see it

any luck with the avatar thing?
Title: Re: SA Chat
Post by: SA™ on September 25, 2011, 07:52:11 PM
opps sorry i had permission disabled for guest

no not yet im having issue getting it to work on my local server since i reformated my hdd
Title: Re: SA Chat
Post by: vikingsraven on September 28, 2011, 04:26:47 PM
Hi brillaint mod, well done.
Is there anyway it could be made to do mulitiple chats, rather than opening several im boxes you could have mulitple peopl in the one. We need a way of chatting so all the forum members can see it.
any ideas?
Title: Re: SA Chat
Post by: krash661 on September 29, 2011, 12:41:34 PM
    I was able to install it without any problems but when I click who's online to try to start a chat the box this blank.  Any ideas why?

"The who's online section is made to be a buddy list of buddies online. I can see how this can cause some confusion.

My beta tester has ported it out by editing the query in function genBudList in 2sichat/index.php to show who's online. I may in future revisions make it optional in the control panel."

and i don't understand how to fix it. i even checked the option to show members online box in the control panel.i need a detailed walk through to fix this.can you help? im using SMF 2.0.1 and im using the template:insidious (2.0)
im frustrated,please help,thanks
Title: Re: SA Chat
Post by: danthe on October 03, 2011, 02:14:17 PM
great mod,but can I somehow add public channel(something like shoutbox,everyone can see what is written) as addition to this mod?
Title: Re: SA Chat
Post by: tweaka on October 18, 2011, 10:42:23 PM
    I was able to install it without any problems but when I click who's online to try to start a chat the box this blank.  Any ideas why?

"The who's online section is made to be a buddy list of buddies online. I can see how this can cause some confusion.

My beta tester has ported it out by editing the query in function genBudList in 2sichat/index.php to show who's online. I may in future revisions make it optional in the control panel."

and i don't understand how to fix it. i even checked the option to show members online box in the control panel.i need a detailed walk through to fix this.can you help? im using SMF 2.0.1 and im using the template:insidious (2.0)
im frustrated,please help,thanks


ditto ! very frustrating..
I have a shoutbox, that also doesnt seem to help with the whole Who's Online thing...
If there is such a shout/chat box for 2.0.1 I'd love to give a donation for it...

As for this SAChat, I get mixed and most times inaccurate results from the Who's Online... mostly though it is blank.
Title: Re: SA Chat
Post by: beanflying on November 07, 2011, 12:12:42 AM
If you're taking suggestions for this mod, it would be awesome to be able to either minimize or manually resize a chat window, just for those with a small monitor. Also, if the chat bar itself could work on top of the forum so it doesn't refresh and have to load up with every page click, that would be another welcome improvement.

Otherwise this is an awesome mod. Keep up the excellent work!

While I know this is from several weeks ago I have changed the CSS for SA chat to do this sort of thing on my sub 1000px theme. Set width to whatever you like and it should centre on the page. Tweak left or right with padding to suit.

Find at the top of the CSS
Code: [Select]
#chat_containter{
background: url(./images/cbar.png) repeat-x;
padding-left: 10px;
padding-top: 2px;
width: 100%;
height: 25px;
position: fixed;
bottom: 0px;
left: 0px;
zIndex: 10000;

Replace with
Code: [Select]
#chat_containter{
    background: url("./images/cbar.png") repeat-x scroll 0 0 transparent;
    bottom: 0;
    height: 25px;
    left: 50%;
    margin: 0 0 0 -497px;
    padding-left: 10px;
    padding-top: 2px;
    position: fixed;
    width: 985px;
z-Index: 10000;

Hope this helps someone else out there.

Also I second the option to allow hidden members to be hidden on chat as standard  :)
The other option or code to do it would be the Google +1 functionality and or G+ posting.

Understanding this is in your "spare time"  ;)
Title: Re: SA Chat
Post by: SA™ on November 07, 2011, 10:29:36 PM
Quote
Also I second the option to allow hidden members to be hidden on chat as standard
i swear it doesnt show hidden members already?

Quote
The other option or code to do it would be the Google +1 functionality and or G+ posting.

whats g posting?
Title: Re: SA Chat
Post by: beanflying on November 07, 2011, 10:46:42 PM
Quote
Also I second the option to allow hidden members to be hidden on chat as standard
i swear it doesnt show hidden members already?

Mmm possible I have some permission issues then. Hidden members could be seen be regular members and moderators and chatted to but Admins couldn't see or chat to them? Just a strange quirk to resolve. Possibly a database issue as we used to allow hidden members on 1.15 but have stopped them from being hidden on 2.0.1 currently. But it sounds like my problem  :o

Quote
whats g posting?

Like the facebook, twitter links the bar currently has available write the code for a button to do the same for google+ social media platform. I currently have a mod installed that will do the same thing and it appears in the first post of each thread but I would like to remove it and just keep your bar with the same functionality. The mod I mentioned http://custom.simplemachines.org/mods/index.php?mod=3053 (http://custom.simplemachines.org/mods/index.php?mod=3053)
Title: Re: SA Chat
Post by: SA™ on November 07, 2011, 10:57:10 PM
aha i see there some tricks here to add more social icons but no g+ yet

http://www.sa-smf.com/community/index.php?topic=1018.msg6034#msg6034

maybe this will help you to add g+ till i get an update out?
Title: Re: SA Chat
Post by: beanflying on November 08, 2011, 02:39:29 AM
thanks I look forward to it because my Java programming skills are terrible ;)
Title: Re: SA Chat
Post by: nend on November 08, 2011, 05:17:15 PM
Quote
Also I second the option to allow hidden members to be hidden on chat as standard
i swear it doesnt show hidden members already?

Mmm possible I have some permission issues then. Hidden members could be seen be regular members and moderators and chatted to but Admins couldn't see or chat to them? Just a strange quirk to resolve. Possibly a database issue as we used to allow hidden members on 1.15 but have stopped them from being hidden on 2.0.1 currently. But it sounds like my problem  :o

Admins and Global Moderators can see everyone in the chat. Nobody can hide from them because it is hard coded in the chat. There is no permission available that will deny Admins and Global Mods.
Title: Re: SA Chat
Post by: beanflying on November 08, 2011, 08:46:08 PM
Told you it was strange It's a little off topic as your mod is doing it's thing properly ;) I could see and chat to hidden members with my global mod account but couldn't with my admin account to the same users. Regular members were able to chat to the hidden members too.

Since fixed. I have manually changed the regular members accounts to 'visible' who used to hide online status and re enabled the permission to do so in 2.0.1 (suspect it may have been an issue with permissions in 1.1.15 that were changed after the upgrade to 2.0.1 by me to prevent being hidden as a permission. The hidden members wer still showing up in italics in the who's online but the members could still see them.

All happy anyway  :)
Title: Re: SA Chat
Post by: SA™ on November 20, 2011, 12:43:46 AM
Rev 42 realsed

Quote
fixed sevaral errors acumalating in server error logs
fixed Elements in chat were centered and hard to read with body text-align center [thanks nend]
fixed issue with bar not showimg on some servers
fixed issue with uploaded avatars that use a custom avatar dir
Title: Re: SA Chat
Post by: transientangler on December 07, 2011, 03:00:29 PM
Hello there. I was asked to remove the SA chat mod from my shared hosting plan. Apparently its against the rules to have it on there and they are saying my website is taking up to much server resources. So I went to try and uninstall it and I get an error code. I attached the screen shot and my site is http://canadiankayakanglers.com (http://canadiankayakanglers.com) and my package list includes the list below. Can you help me to correctly uninstall this without messing the site up? Or tell me what step I should make to remove this? Thanks so much for your help. Also I am using SMF 2.0 RC5
1.    Google Analytics Code    1.4    
2.    SMF Store    1.4beta2    
3.    TinyPortal    1.102    
4.    Tagging System    2.4.2    
5.    SMF Gallery Lite    3.1b    
6.    Google +1    1.0
7.    SA Chat    Beta 1 Rev37    
8.    Google Member Map    2.0.7    
9.    Aeva Media    1.4a    
10.    Ad Seller Pro    1.0.8    
11.    MetaTags Modification    1.5    
12.    CKA Map    1.0
13.    Pretty URLs    
14.    Show your social networks
Title: Re: SA Chat
Post by: SA™ on December 07, 2011, 04:57:28 PM
there only language strings so you can safely uninstall the mod with this error
Title: Re: SA Chat
Post by: transientangler on December 07, 2011, 06:02:06 PM
sweet thanks for your help.
Title: Re: SA Chat
Post by: butchjax on December 13, 2011, 06:40:36 PM
I can't get this mod to install. I tried installed the Beta 4 but got an error (that I didn't notate, sorry). I'm using 1.15. Also, every link to the documentation is broken. I've tried the tips and tricks, finding the forum, just going to the actual website sa-smf.com. Turns out the site is suspended.

http://www.sa-smf.com/cgi-sys/suspendedpage.cgi

Anyone know what is going on?
Title: Re: SA Chat
Post by: SA™ on December 13, 2011, 07:56:05 PM
this mod is only for smf2.0, 2.0.1 will not work on 1.1.5
Title: Re: SA Chat
Post by: butchjax on December 13, 2011, 09:52:40 PM
Oh, oops. I got confused because there are instructions for everything. Thanks.
Title: Re: SA Chat
Post by: wolfetundra on December 15, 2011, 12:48:06 PM
How do you prevent SA Chat from ever purging messages? I don't want it to delete old messages.
Title: Re: SA Chat
Post by: SA™ on December 16, 2011, 12:27:28 AM
not deleting old messages is probaly a bad idea
Title: Re: SA Chat
Post by: wolfetundra on December 16, 2011, 01:18:19 AM
Can you explain why that is?

If I set it for 7 days, is it every 7 days all records are dumped? Or is it only records that are 7 days old are dumped?
Title: Re: SA Chat
Post by: SA™ on December 16, 2011, 01:31:04 AM
cos your database will get huge wich isnt too good

if it is set to 7 days all chat are deleted
Title: Re: SA Chat
Post by: wolfetundra on December 16, 2011, 01:50:55 AM
Is there a way to change the coding so only messages that are x days old are deleted rather than all messages after x days?
Title: Re: SA Chat
Post by: SA™ on December 16, 2011, 02:32:19 AM
actualy i think it may already do this
Title: Re: SA Chat
Post by: wolfetundra on December 16, 2011, 03:22:09 AM
Hmmm any way to verify? ... other than playing the 24 hour waiting game?
Title: Re: SA Chat
Post by: SA™ on December 16, 2011, 05:26:46 PM
hmm threre probaly is but i dont have no server up to test it properly at the moment
Title: Re: SA Chat
Post by: nend on December 21, 2011, 10:28:42 AM
After X amount of days anything read will be deleted. All unread messages are kept until they are read and then after X days of being read they are deleted.

There is a setting to control the amount of days.
Quote
Purge read messages
Purge read messages after how many days?

You can set this to a high value, you have 365 days in a year. So how many days/months/years would you like to keep them. Your message index will get long and there is currently no archive function in the chat. Bad enough the chat, being a chat that is does waste quite a bit resources. With a bigger message index initial load on the message window will be quite big. That is just start up cost though, once it loads the chat only loads what is new, but you still have that initial load.

Basically it isn't impossible to do, but I highly advise setting the value up to high unless you know your chat system isn't being used heavily. I think over a month may be too high for most forum systems. You know your site better than I do, experiment a little and be sure to use your Load Checking in the chats control panel. Some settings in the chat have the potential to bring down your server and/or upset your host.  ;)
Title: Re: SA Chat
Post by: SA™ on December 21, 2011, 10:31:52 AM
ahh thanks for clearing this that up nend
Title: Re: SA Chat
Post by: Get Pumped Saltwater on January 01, 2012, 08:33:02 PM

Ok, I have used the Package Manager to upload this mod.. Everything uploaded fine. But.....

Every time I click:  Gadgets, Links, Theme, CHMOD

The screen goes nuts!

I have insert in the insert this in the head
<script type="text/javascript" src="http://www.your-site.com/path_to_forum/sachat/index.php?action=head"></script>

This in the body
<script type="text/javascript" src="http://www.your-site.com/path_to_forum/sachat/index.php?action=body"></script>

If I put this in the browser I get an error 404
http://ourwebsite/path_to_forum/sachat/index.php

I have changed the permissions on:
public_html/resources/2sichat/index.php 755
public_html/resources/2sichat/body.js.php 755
public_html/resources/2sichat/head.js.php 755
public_html/resources/2sichat/cache ****There is nothing in cache folder****
public_html/resources/2sichat/themes/default/index.php 755

I move these file to public_html/resources/
"sachat" to "the root directory".
"Sources" to "the root directory".
"Themes" to "the root directory".

Thanks for your time, Lance
Title: Re: SA Chat
Post by: Get Pumped Saltwater on January 01, 2012, 08:33:50 PM

Ok, I have used the Package Manager to upload this mod.. Everything uploaded fine. But.....

Every time I click:  Gadgets, Links, Theme, CHMOD

The screen goes nuts!

I have insert in the insert this in the head
<script type="text/javascript" src="http://www.your-site.com/path_to_forum/sachat/index.php?action=head"></script>

This in the body
<script type="text/javascript" src="http://www.your-site.com/path_to_forum/sachat/index.php?action=body"></script>

If I put this in the browser I get an error 404
http://ourwebsite/path_to_forum/sachat/index.php

I have changed the permissions on:
public_html/resources/2sichat/index.php 755
public_html/resources/2sichat/body.js.php 755
public_html/resources/2sichat/head.js.php 755
public_html/resources/2sichat/cache ****There is nothing in cache folder****
public_html/resources/2sichat/themes/default/index.php 755

I move these file to public_html/resources/
"sachat" to "the root directory".
"Sources" to "the root directory".
"Themes" to "the root directory".

Thanks for your time, Lance
Title: Re: SA Chat
Post by: Get Pumped Saltwater on January 01, 2012, 08:43:57 PM
BTW, we are running a custom theme too

I Messed up... Its an Internal Server Error error 500
If I put this in the browser I get an error 404
http://ourwebsite/path_to_forum/sachat/index.php
Title: Re: SA Chat
Post by: hcfwesker on January 01, 2012, 09:08:19 PM
I have insert in the insert this in the head
<script type="text/javascript" src="http://www.your-site.com/path_to_forum/sachat/index.php?action=head"></script>

This in the body
<script type="text/javascript" src="http://www.your-site.com/path_to_forum/sachat/index.php?action=body"></script>

did you add these edits to the custom theme's index.template.php file as well?

also, "www.your-site.com/path_to_forum"  has to be edited in both lines with YOUR forum url

Example, mine would be 
Code: [Select]
<script type="text/javascript" src="http://www.brawldomain.com/sachat/index.php?action=body"></script>
Quote
http://ourwebsite/path_to_forum/sachat/index.php

are you changing "ourwebsite/path_to_forum/"  in the url to YOUR site url and path to the forum?

Title: Re: SA Chat
Post by: Get Pumped Saltwater on January 01, 2012, 09:17:51 PM
This is what I have in public_html/resources/Themes/2011/index.template.php

   <script type="text/javascript" src="http://www.http://getpumpedsaltwater.com/resources/2sichat/index.php?action=head"></script>
</head>
<body><script type="text/javascript" src="http://www.http://getpumpedsaltwater.com/resources/2sichat/index.php?action=body"></script>';
}


yes I tried
http://www.getpumpedsaltwater.com/resources/2sachat/index.php

But, Then I also tried this just to see what happens...
Got a few errors..
http://www.getpumpedsaltwater.com/resources/sachat/index.php
Title: Re: SA Chat
Post by: Get Pumped Saltwater on January 02, 2012, 09:34:03 AM
I This is what I have under SA Chat Admin

Is there anything I need to change?

I still cannot click the Gadgets, Links, Theme, CHMOD without the screen to show a massive amount if this text..

'.$txt['2sichat_ord'].' '.$txt['2sichat_title'].' '.$txt['2sichat_vis'].' Type '; foreach ($context['gadgets'] as $row) { echo' '.$row['ord'].' '.$row['title'].'
'.($row['vis'] == 0 ? $txt['2sichat_vis0'] : '').' '.($row['vis'] == 1 ? $txt['2sichat_vis1'] : '').' '.($row['vis'] == 2 ? $txt['2sichat_vis2'] : '').' '.($row['vis'] == 3 ? $txt['2sichat_vis3'] : '').' '.($row['type'] == 0 ? 'PHP' : '').' '.($row['type'] == 1 ? 'HTML' : '').' '.($row['type'] == 2 ? 'BBC' : '').' '; } echo' '; } function template_twosichatchmod(){ global $txt,$scripturl; if(isset($_GET['done'])){echo'
'.$txt['2sichatchmod3'].'
';} echo' '; echo'
'.$txt['2sichatchmod'].'
'.$txt['2sichatchmod2'].'
'; } function template_twosichatLinks(){ global $context, $txt, $scripturl; echo ' '; foreach ($context['gadgets'] as $row) { echo' '; } echo'
'.$txt['2sichat_ord'].'    '.$txt['2sichat_title'].'    '.$txt['2sichat_vis'].'
'.$row['ord'].'    '.$row['title'].'
   '.($row['vis'] == 0 ? $txt['2sichat_vis0'] : '').' '.($row['vis'] == 1 ? $txt['2sichat_vis1'] : '').' '.($row['vis'] == 2 ? $txt['2sichat_vis2'] : '').' '.($row['vis'] == 3 ? $txt['2sichat_vis3'] : '').'
'; } function template_twosichatLinkAdd(){ global $context, $scripturl, $txt; echo '
'.$txt['2sichat_linkyyy'].'    
'.$txt['2sichat_title'].'    
'.$txt['2sichat_laddu'].'    
'.$txt['2sichat_laddiu'].'    
'.$txt['2sichat_vis'].'    
'.$txt['2sichat_ord'].'    
'.(isset($context['gadget']['id']) ? '':'').'
'; } function template_twosichatGadAdd(){ global $context, $scripturl, $txt; echo '
'.$txt['2sichat_title'].'    
'.$txt['2sichat_url'].'    '.(isset($context['gadget']['url']) ? $context['gadget']['url']:'').'
'.$txt['2sichat_width'].'    
'.$txt['2sichat_height'].'    
'.$txt['2sichat_vis'].'    
Type    
'.$txt['2sichat_ord'].'    
'.(isset($context['gadget']['id']) ? '':'').'
'; } function template_twosichatThemes(){ global $context, $txt, $settings, $modSettings, $scripturl, $dirArray, $indexCount; echo'
'.$txt['2sichat_theme14'].'
'; if(isset($_GET['rdone'])) { echo'
Succesfully removed '.$_GET['rdone'].' theme
'; } if(isset($_GET['done'])) { echo'
'.$txt['2sichat_theme4'].' '.$modSettings['2sichat_theme'].'
'; } if(isset($_GET['udone'])) { echo'
'.$txt['2sichat_theme5'].' '.$_GET['udone'].'
'; } echo'
'; echo''; echo'
'.$txt['2sichat_theme6'].'
'; echo' '.$txt['2sichat_theme15'].'
'.$txt['2sichat_theme7'].'

'.$txt['2sichat_theme8'].' '; // loop through the array of files and echo all for($index=0; $index < $indexCount; $index++) { if (substr($dirArray[$index], 0, 1) != '.' && $dirArray[$index] != "index.php"){ // don't list hidden files echo' '; } } echo'

'; echo'
'; echo'
'; echo'
'; echo'
'.$txt['2sichat_theme9'].'
'.$txt['2sichat_theme10'].'

'.$txt['2sichat_theme11'].'

'.$txt['2sichat_theme12'].' zip


'; echo'
'; echo'
'; echo'
'.$txt['2sichat_theme16'].'
'.$txt['2sichat_theme17'].'

'.$txt['2sichat_theme18'].'

'; echo'
'; echo'
'.$txt['2sichat_theme23'].'
'.$txt['2sichat_theme24'].'

'.$txt['2sichat_theme25'].'
'; if(!empty($dirArray)){ for($index=0; $index < $indexCount; $index++) { if (substr($dirArray[$index], 0, 1) != '.' && $dirArray[$index] != "index.php" && $dirArray[$index] != 'default' ){ // don't list hidden files echo' '.$dirArray[$index].' '.$txt['2sichat_theme27'].'
'; } } } echo'

Title: Re: SA Chat
Post by: Get Pumped Saltwater on January 02, 2012, 11:43:04 AM

Translations needed
sachat/themes/default/languages/english.php
Code: [Select]
$txt['home'] = 'Home';
$txt['msgs'] = 'Messages';
$txt['myspace'] = 'MySpace';
$txt['twitter'] = 'Tweet';
$txt['facebook'] = 'Facebook';
$txt['whos_on'] = 'Who's Online';
$txt['guest_msg'] = 'Welcome, Guest. Please <a class="white" href="'.$boardurl.'/index.php?action=login">login</a> or <a class="white" href="'.$boardurl.'/index.php?action=register">register.</a>';
$txt['load_warning'] = 'The chat is not availible due to high server load.';

/Themes/default/language/
Code: [Select]
$txt['2sichat_mn_heart'] = 'Main heartbeat';
$txt['2sichat_mn_heart_sub'] = 'In ms<br />Example: 30000 = 30 seconds<br />Note: Setting too low may cause database load problems.<hr />';
$txt['2sichat_cw_h_enable'] = 'Enable chat window heartbeat';
$txt['2sichat_cw_h_e_sub'] = 'Have a seperate heartbeat for each chat window';
$txt['2sichat_cw_heart'] = 'Chat window heartbeat';
$txt['2sichat_cw_heart_sub'] = 'In ms<br />Example: 15000 = 15 seconds<br />Note: Setting too low may cause database load problems.<hr />';
$txt['2sichat_purge'] = 'Purge read messages';
$txt['2sichat_purge_sub'] = 'Purge read messages after how many days?<hr />';
$txt['2sichat_purge_all'] = 'Purge all messages';
$txt['2sichat_purge_a_sub'] = '<span style="color:red">Warning! this will delete all chat messages.<br />This will also reset the auto increment.</span><hr />';
$txt['2sichat_gad_trans'] = 'Enable Page Translator';
$txt['2sichat_gad_lang'] = 'Language Code';
$txt['2sichat_gad_lang_sub'] = 'The Page language translator needs a language code to work.<br />This should be your websites default language.<hr />';
$txt['2sichat_ico_home'] = 'Enable Home Icon';
$txt['2sichat_ico_pm'] = 'Enable PM Icon';
$txt['2sichat_ico_myspace'] = 'Enable Myspace Icon';
$txt['2sichat_ico_twit'] = 'Enable Twitter Icon';
$txt['2sichat_ico_fb'] = 'Enable Facebook Icon<hr />';
$txt['2sichat'] = 'SA Chat';
$txt['twosichatConfig'] = 'Config';
$txt['twosichatGadget'] = 'Gadgets';
$txt['2sichat_admin'] = 'SA Chat Admin';
$txt['2sichat_config'] = 'SA Chat Config';
$txt['2sichat_config_des'] = 'Here you can edit the main settings for SA Chat';
$txt['2sichat_gadgets'] = 'SA Chat Gadgets';
$txt['2sichat_gadgets_des'] = 'Add custom gadgets to SA Chat';
$txt['2sichat_gad_add'] = 'Add Gadget';
$txt['2sichat_title'] = 'Title';
$txt['2sichat_url'] = 'URL/Gadget Code';
$txt['2sichat_width'] = 'Width';
$txt['2sichat_height'] = 'Height';
$txt['2sichat_vis'] = 'Visibility';
$txt['2sichat_vis0'] = 'Hidden';
$txt['2sichat_vis1'] = 'Members';
$txt['2sichat_vis2'] = 'Guest';
$txt['2sichat_vis3'] = 'All';
$txt['2sichat_ord'] = 'Order';
$txt['2sichat_preview'] = 'Preview';
$txt['2sichat_edit'] = 'Edit';
$txt['2sichat_delete'] = 'Delete';
$txt['2sichat_link'] = 'Link';
$txt['2sichat_list_type'] = 'Show Everyone Online';
$txt['2sichat_list_t_sub'] = 'Shows everyone online instead of buddies only.<hr />';
$txt['2sichat_dis_list'] = 'Disable chat list';
$txt['2sichat_dis_l_sub'] = 'Removes the Who\'s Online list.<hr />';
$txt['2sichat_disable'] = 'Disable SA Chat';
$txt['2sichat_disable_sub'] = 'Disable SA Chat and all features.<hr />';
$txt['2sichat_dis_bar'] = 'Disable Bar';
$txt['2sichat_dis_b_sub'] = 'Disable chat bar leaving features.<hr />';
$txt['2sichat_load_chk'] = 'Enable load checking';
$txt['2sichat_max_load'] = 'Highest load level';
$txt['2sichat_max_l_sub'] = 'Goes by server load average';
$txt['2sichat_load_dis_list'] = 'On high load disable chat list';
$txt['2sichat_load_dis_chat'] = 'On high load disable SA Chat';
$txt['2sichat_load_dis_bar'] = 'On high load disable bar';
$txt['2sichat_live_online'] = 'Update Online List Live';
$txt['2sichat_simple_bbc'] = 'Enable Simple BBC<hr />';
$txt['2sichat_permissions'] = 'Enable group permissions';
$txt['2sichat_permissions_sub'] = 'Enable group permissions that you can modify in the permission manager in SMF.<br />Note: The settings here overide permission settings.<hr />';

I do not have a /Themes/default/language/ file
Title: Re: SA Chat
Post by: nend on January 02, 2012, 03:43:26 PM
This is what I have in public_html/resources/Themes/2011/index.template.php

   <script type="text/javascript" src="http://www.http://getpumpedsaltwater.com/resources/2sichat/index.php?action=head"></script>
</head>
<body><script type="text/javascript" src="http://www.http://getpumpedsaltwater.com/resources/2sichat/index.php?action=body"></script>';
}


yes I tried
http://www.getpumpedsaltwater.com/resources/2sachat/index.php

But, Then I also tried this just to see what happens...
Got a few errors..
http://www.getpumpedsaltwater.com/resources/sachat/index.php
You must of found a old tutorial, that is the old embed codes when I was running the project. The embed code has changed to reflect the new name of the chat. Also the new version uses hooks so there shouldn't be no need for those embed codes unless you plan to embed on another page that is outside of the Simple Machines Forum system.

New code
Code: [Select]
<script type="text/javascript" src="http://www.your-site.com/path_to_forum/sachat/index.php?action=head"></script>
I notice when I go to your site you have the old code, maybe inserted by 2-SI Chat which is the older version of SA Chat, are you running a older version or had a older version installed before? If you have 2-SI Chat installed uninstall SA Chat, uninstall 2-SI Chat and then reinstall SA Chat.

But from looking at your site it seems like the sachat folder was not created or something because I get a 404. You may have to unzip the package and upload the sachat folder to your forum root folder and chmod.

In any means it would probably be better to remove the chat systems first and start with a fresh install because it seems you have remnants of the two chat systems. The two systems can not work together because they are basically the same code base with the same commands. ;)

Here is the download link...
http://custom.simplemachines.org/mods/index.php?mod=2534
Title: Re: SA Chat
Post by: SA™ on January 02, 2012, 04:16:31 PM

Translations needed
sachat/themes/default/languages/english.php
Code: [Select]
$txt['home'] = 'Home';
$txt['msgs'] = 'Messages';
$txt['myspace'] = 'MySpace';
$txt['twitter'] = 'Tweet';
$txt['facebook'] = 'Facebook';
$txt['whos_on'] = 'Who's Online';
$txt['guest_msg'] = 'Welcome, Guest. Please <a class="white" href="'.$boardurl.'/index.php?action=login">login</a> or <a class="white" href="'.$boardurl.'/index.php?action=register">register.</a>';
$txt['load_warning'] = 'The chat is not availible due to high server load.';

/Themes/default/language/
Code: [Select]
$txt['2sichat_mn_heart'] = 'Main heartbeat';
$txt['2sichat_mn_heart_sub'] = 'In ms<br />Example: 30000 = 30 seconds<br />Note: Setting too low may cause database load problems.<hr />';
$txt['2sichat_cw_h_enable'] = 'Enable chat window heartbeat';
$txt['2sichat_cw_h_e_sub'] = 'Have a seperate heartbeat for each chat window';
$txt['2sichat_cw_heart'] = 'Chat window heartbeat';
$txt['2sichat_cw_heart_sub'] = 'In ms<br />Example: 15000 = 15 seconds<br />Note: Setting too low may cause database load problems.<hr />';
$txt['2sichat_purge'] = 'Purge read messages';
$txt['2sichat_purge_sub'] = 'Purge read messages after how many days?<hr />';
$txt['2sichat_purge_all'] = 'Purge all messages';
$txt['2sichat_purge_a_sub'] = '<span style="color:red">Warning! this will delete all chat messages.<br />This will also reset the auto increment.</span><hr />';
$txt['2sichat_gad_trans'] = 'Enable Page Translator';
$txt['2sichat_gad_lang'] = 'Language Code';
$txt['2sichat_gad_lang_sub'] = 'The Page language translator needs a language code to work.<br />This should be your websites default language.<hr />';
$txt['2sichat_ico_home'] = 'Enable Home Icon';
$txt['2sichat_ico_pm'] = 'Enable PM Icon';
$txt['2sichat_ico_myspace'] = 'Enable Myspace Icon';
$txt['2sichat_ico_twit'] = 'Enable Twitter Icon';
$txt['2sichat_ico_fb'] = 'Enable Facebook Icon<hr />';
$txt['2sichat'] = 'SA Chat';
$txt['twosichatConfig'] = 'Config';
$txt['twosichatGadget'] = 'Gadgets';
$txt['2sichat_admin'] = 'SA Chat Admin';
$txt['2sichat_config'] = 'SA Chat Config';
$txt['2sichat_config_des'] = 'Here you can edit the main settings for SA Chat';
$txt['2sichat_gadgets'] = 'SA Chat Gadgets';
$txt['2sichat_gadgets_des'] = 'Add custom gadgets to SA Chat';
$txt['2sichat_gad_add'] = 'Add Gadget';
$txt['2sichat_title'] = 'Title';
$txt['2sichat_url'] = 'URL/Gadget Code';
$txt['2sichat_width'] = 'Width';
$txt['2sichat_height'] = 'Height';
$txt['2sichat_vis'] = 'Visibility';
$txt['2sichat_vis0'] = 'Hidden';
$txt['2sichat_vis1'] = 'Members';
$txt['2sichat_vis2'] = 'Guest';
$txt['2sichat_vis3'] = 'All';
$txt['2sichat_ord'] = 'Order';
$txt['2sichat_preview'] = 'Preview';
$txt['2sichat_edit'] = 'Edit';
$txt['2sichat_delete'] = 'Delete';
$txt['2sichat_link'] = 'Link';
$txt['2sichat_list_type'] = 'Show Everyone Online';
$txt['2sichat_list_t_sub'] = 'Shows everyone online instead of buddies only.<hr />';
$txt['2sichat_dis_list'] = 'Disable chat list';
$txt['2sichat_dis_l_sub'] = 'Removes the Who\'s Online list.<hr />';
$txt['2sichat_disable'] = 'Disable SA Chat';
$txt['2sichat_disable_sub'] = 'Disable SA Chat and all features.<hr />';
$txt['2sichat_dis_bar'] = 'Disable Bar';
$txt['2sichat_dis_b_sub'] = 'Disable chat bar leaving features.<hr />';
$txt['2sichat_load_chk'] = 'Enable load checking';
$txt['2sichat_max_load'] = 'Highest load level';
$txt['2sichat_max_l_sub'] = 'Goes by server load average';
$txt['2sichat_load_dis_list'] = 'On high load disable chat list';
$txt['2sichat_load_dis_chat'] = 'On high load disable SA Chat';
$txt['2sichat_load_dis_bar'] = 'On high load disable bar';
$txt['2sichat_live_online'] = 'Update Online List Live';
$txt['2sichat_simple_bbc'] = 'Enable Simple BBC<hr />';
$txt['2sichat_permissions'] = 'Enable group permissions';
$txt['2sichat_permissions_sub'] = 'Enable group permissions that you can modify in the permission manager in SMF.<br />Note: The settings here overide permission settings.<hr />';

I do not have a /Themes/default/language/2sichat.english.php

the file now is
/Themes/default/language/2sichat.english.php

Title: Re: SA Chat
Post by: Get Pumped Saltwater on January 02, 2012, 04:18:11 PM
Should I use the Package Manager or do it manual for the re-install?
Title: Re: SA Chat
Post by: SA™ on January 02, 2012, 04:18:59 PM
best to use the package manager
Title: Re: SA Chat
Post by: Get Pumped Saltwater on January 02, 2012, 04:20:59 PM
best to use the package manager

Ok.. we will see what happens..  :-[
Title: Re: SA Chat
Post by: nuri552 on January 02, 2012, 08:22:04 PM
I've installed this modification. One word : Perfect !

But sometimes; when I click on someone in the "Who's online ?" list, the popup doesn't appear. Some kind of a bug ?

Thanks, much appreciated.
  :)
Title: Re: SA Chat
Post by: SA™ on January 03, 2012, 12:43:44 AM
i have notice this one myself in ie tho mainly
Title: Re: SA Chat
Post by: nuri552 on January 03, 2012, 04:20:57 AM
Sir, I've noticed; I see this problem in Google Chrome v16, Mozilla Firefox v8 and Safari v5. In IE v8, toolbar works perfect.

Maybe, this will be a compatibility problem.
Title: Re: SA Chat
Post by: SA™ on January 03, 2012, 04:35:49 AM
yeah maybe i had it working on all brousers cept ie but i musta been dreaming ar e somthing cos it doesnt work any more  :(
Title: Re: SA Chat
Post by: 1stAngel on January 08, 2012, 01:06:49 PM
Hello :)  Using Firefox and cannot see a thing :|   SMF 2.0.2
Title: Re: SA Chat
Post by: SA™ on January 09, 2012, 10:47:10 AM
see if this helps you

http://www.sa-smf.com/community/index.php?action=kb;area=article;cont=29
Title: Re: SA Chat
Post by: 1stAngel on January 10, 2012, 04:34:06 PM
Thank you :)
Title: Re: SA Chat
Post by: ForumMustang.com on January 12, 2012, 12:09:55 PM
see if this helps you

http://www.sa-smf.com/community/index.php?action=kb;area=article;cont=29
This didn't help me for my forum but everything works fine with the mod because when I open an html file from my computer with the mod's javascript code the chat bar appears and when I place the same file on my server, it doesn't.

I was wondering if the mod needs server requirement to be functional. ???
Title: Re: SA Chat
Post by: eric1234 on January 12, 2012, 12:49:51 PM
got any guide on how to install it? I find out that those link in the 1st post seem to be unworking
Title: Re: SA Chat
Post by: Psico42 on January 13, 2012, 09:35:05 AM
i've installed this mod, the bar appears correctly and i can see who's online, but when i try to start a chat with someone it doesn't work, the chat windows appears, but i can't drag it and when i send messages nothing happens.

Any idea? :/
Title: Re: SA Chat
Post by: nend on January 13, 2012, 11:28:56 AM
got any guide on how to install it? I find out that those link in the 1st post seem to be unworking
It was up yesterday morning, I wonder what gives.
Title: Re: SA Chat
Post by: HR on January 14, 2012, 06:48:09 AM
Well I installed this in 2.0.2 and it worked... then it didnt.. then it did.. chmod worked once but when you click on a chat the box opens and nothing updates you type and nothing shows up and the username in the chat looks greyed out like they are offline.

SEVERAL members love his thing but I cant mess with it until its viably solid :(

Interesting enough I use a Paypal donation link in my forum signature and with SA running it did not work. With SA removed it (the paypal link) does work. *shrugs*
Title: Re: SA Chat
Post by: eric1234 on January 14, 2012, 07:51:01 AM
got any guide on how to install it? I find out that those link in the 1st post seem to be unworking
It was up yesterday morning, I wonder what gives.
Where is it? @.@ Because i clicked the link in the 1st page, it lead me to a weird site.
Title: Re: SA Chat
Post by: SA™ on January 14, 2012, 11:00:29 AM
got any guide on how to install it? I find out that those link in the 1st post seem to be unworking
It was up yesterday morning, I wonder what gives.

samei ssue as before lack of money sry but id rather have electrick and food at the end of the day :/ it will be back monday
Title: Re: SA Chat
Post by: eric1234 on January 14, 2012, 03:24:45 PM
got any guide on how to install it? I find out that those link in the 1st post seem to be unworking
It was up yesterday morning, I wonder what gives.

samei ssue as before lack of money sry but id rather have electrick and food at the end of the day :/ it will be back monday
haha, is ok. Thank you ! :)
Title: Re: SA Chat
Post by: nend on January 15, 2012, 01:50:37 AM
got any guide on how to install it? I find out that those link in the 1st post seem to be unworking
It was up yesterday morning, I wonder what gives.

samei ssue as before lack of money sry but id rather have electrick and food at the end of the day :/ it will be back monday

Not enough off from ads and donations? SA, I think I need to share a few tricks that I use to generate money for my websites. It isn't really a secret but it is best that not much people know how much they can make off from doing this.  ;)
Title: Re: SA Chat
Post by: eric1234 on January 15, 2012, 08:59:15 AM
got any guide on how to install it? I find out that those link in the 1st post seem to be unworking
It was up yesterday morning, I wonder what gives.

samei ssue as before lack of money sry but id rather have electrick and food at the end of the day :/ it will be back monday
please share it with me too. thank you very much ^^

Not enough off from ads and donations? SA, I think I need to share a few tricks that I use to generate money for my websites. It isn't really a secret but it is best that not much people know how much they can make off from doing this.  ;)
Title: Re: SA Chat
Post by: HR on January 15, 2012, 10:40:12 AM
I'd like that little piece of information nend :) Post it or drop a PM or make a nice tutorial please
Title: Re: SA Chat
Post by: SA™ on January 15, 2012, 12:35:19 PM
got any guide on how to install it? I find out that those link in the 1st post seem to be unworking
It was up yesterday morning, I wonder what gives.

samei ssue as before lack of money sry but id rather have electrick and food at the end of the day :/ it will be back monday

Not enough off from ads and donations? SA, I think I need to share a few tricks that I use to generate money for my websites. It isn't really a secret but it is best that not much people know how much they can make off from doing this.  ;)

yeah ads aibnt erning nothing realy in the two years ive been doing it i have avaeraged at about 20 pound a year lol still need another 20 just so i cn reach the thresh hold lol and donation well i have had a few but they have mostly been silly money lol
Title: Re: SA Chat
Post by: nend on January 15, 2012, 01:02:05 PM
That is pretty low, if I had it that bad I would have pulled my sites a long time ago. When I started back up on the net after failing, I oath I must be at least breaking even.

Maybe this wasn't the place to talk about this. Sorry to anyone else, some stuff in this business must be acquired. It isn't that I don't want to tell but I don't need any more competition than what I already have. Plus it isn't as easy as I make it out to be, you must have a pretty decent coding knowledge in various languages.

@SA where is the best place to speak, if you get your site up I'll make a post in the staff boards about it. If not hit me via PM on one of my sites.
Title: Re: SA Chat
Post by: SA™ on January 15, 2012, 01:42:50 PM
indeed site will back up later tonight so we can chat in the staff boards ther eif you wanted
Title: Re: SA Chat
Post by: SA™ on January 15, 2012, 01:57:29 PM
site is now back up
Title: Re: SA Chat
Post by: eric1234 on January 16, 2012, 03:25:39 PM
site is now back up
SA Chat Installation Trouble Shooter
SA Chat tips & tricks

Still down
Title: Re: SA Chat
Post by: SA™ on January 16, 2012, 03:42:04 PM
http://www.sa-smf.com/community/index.php?action=kb;area=cats;cat=3
Title: Re: SA Chat
Post by: JonnyFB421 on January 23, 2012, 05:04:11 AM
Love the mod!  Easy to install, lots of room for customization! 

I seem to be generating a small number of 403s though. 
Error 403 - Forbidden (http://www.myForum.com/sachat/index.php?action=heart&_=1327310809835)

I used the built-in CHMOD feature that came in the mod.   
Title: Re: SA Chat
Post by: SA™ on January 23, 2012, 04:04:04 PM
yes i did notice these in my local server error logs today i dont think it is permmissions tho need todo more diggin realy somthing is wrong with the mod
Title: Re: SA Chat
Post by: Realinfo on January 27, 2012, 08:12:41 AM
When two persons try to chat........... Nothing goes to other one............ see blank page........... 2.0.2 Default Theme
Title: Re: SA Chat
Post by: SA™ on January 27, 2012, 02:14:10 PM
yes im working on these issue it just going to take longer than i intended
Title: Re: SA Chat
Post by: fungku on January 30, 2012, 01:38:59 AM
When two persons try to chat........... Nothing goes to other one............ see blank page........... 2.0.2 Default Theme
Ditto.

Looks real nice. Installed without a hitch, but won't send messages.
Title: Re: SA Chat
Post by: SA™ on January 30, 2012, 02:33:25 PM
yes im working on these issue it just going to take longer than i intended

the thing is i get it working in one brouser then it breaks in another this is why it is taking so long to update the mod after trying things all weekend i had to change to one of my other projects for a change of code but will get back to it later on it one of them things you wanna get done lol cos it is realy buggin me :D
Title: Re: SA Chat
Post by: fungku on January 30, 2012, 05:08:00 PM
yes im working on these issue it just going to take longer than i intended

the thing is i get it working in one brouser then it breaks in another this is why it is taking so long to update the mod after trying things all weekend i had to change to one of my other projects for a change of code but will get back to it later on it one of them things you wanna get done lol cos it is realy buggin me :D

No worries.

Looking forward to seeing it working  ;)

I know how frustrating it can be when you fix one thing and it breaks another.
Title: Re: SA Chat
Post by: irayhan on February 01, 2012, 07:02:50 AM
I installed this mod. I really like this. But the problem is it makes my forum slow. I mean when it's disabled the pages load faster. But when i enable it the pages take more time to load. Can you please tell me how can i make it faster? Thanks in advance. :)
Title: Re: SA Chat
Post by: SA™ on February 01, 2012, 03:21:15 PM
it is a chat mod and will eat up resources there isnt realy much more i can do
you could try using the built in load checking feature
Title: Re: SA Chat
Post by: Realinfo on February 03, 2012, 07:44:56 AM
yes im working on these issue it just going to take longer than i intended

the thing is i get it working in one brouser then it breaks in another this is why it is taking so long to update the mod after trying things all weekend i had to change to one of my other projects for a change of code but will get back to it later on it one of them things you wanna get done lol cos it is realy buggin me :D

On which Brouser.......... it works........ please tell......... So I will recommend that to my members ( of my Forum)............... I really want this MOD.............. but not working........ as no message is going to others..............
Title: Re: SA Chat
Post by: SA™ on February 03, 2012, 05:36:33 PM
@everyone pls try attached  8)
Title: Re: SA Chat
Post by: Realinfo on February 03, 2012, 09:16:02 PM
Not solved by SA_Chat_Beta_4-1_Rev43.zip............. No message goes no any one.............
Title: Re: SA Chat
Post by: SA™ on February 04, 2012, 12:49:07 AM
brouser?
Title: Re: SA Chat
Post by: Realinfo on February 04, 2012, 05:00:09 AM
brouser?

I tried on all Browsers ( Like Chrome, IE, FireFox, Opera)............... But I saw someone's else forum........... there this MOD is working ok.............. Is there need of any server (website's Hosting) settings....................
Title: Re: SA Chat
Post by: SA™ on February 04, 2012, 02:06:23 PM
it should work in them brousers i just tested ie ff opera chrome try clearing you brouser cache
Title: Re: SA Chat
Post by: Realinfo on February 04, 2012, 09:35:52 PM
can it work on Linux Hoisting.......... Please someone see at my forum www.realinfo.info is it working for you or not...............
Title: Re: SA Chat
Post by: nend on February 05, 2012, 10:39:09 AM
can it work on Linux Hoisting.......... Please someone see at my forum www.realinfo.info is it working for you or not...............
It looks to be working for me. Try to clear your cache, the chat saves stuff in a cookie and when that cookie doesn't match what is on the site then stuff can get a little missed up.

@SA, I notice the hook for the head tag is showing in the body section. I understand though, because there is currently no hook in the head section of a page and must use context['headers'] or something.
Title: Re: SA Chat
Post by: SA™ on February 05, 2012, 01:58:31 PM
Quote
@SA, I notice the hook for the head tag is showing in the body section. I understand though, because there is currently no hook in the head section of a page and must use context['headers'] or something.

yep your right thanks nend

changed it to $context['html_headers'] = SAChat_showBar('head');
Title: Re: SA Chat
Post by: nend on February 05, 2012, 10:53:15 PM
Quote
@SA, I notice the hook for the head tag is showing in the body section. I understand though, because there is currently no hook in the head section of a page and must use context['headers'] or something.

yep your right thanks nend

changed it to $context['html_headers'] = SAChat_showBar('head');
Should append it instead of overwrite it because there might be other stuff in there.

Never done it this way, but it should work.
Code: [Select]
$context['html_headers'].= SAChat_showBar('head');
OR
Code: [Select]
$context['html_headers'] = $context['html_headers'].SAChat_showBar('head');
Whatever way your comfortable with, ;)
Title: Re: SA Chat
Post by: SA™ on February 06, 2012, 02:35:31 PM
opps i always forget that :P i updated my last post ill wait a few more days then ill realse it properly
Title: Re: SA Chat
Post by: Heardy on February 07, 2012, 05:56:58 PM
Is there any way to keep it static instead of being able to move the chats and stuff?

I kinda like the Facebook chat where it just pops up at the bottom of the screen but this one you can move around and stuff.

Can you tell me how I could make the chat stay still?
Title: Re: SA Chat
Post by: SA™ on February 08, 2012, 07:17:24 AM
you can modify your cha theme css and template to achive this
Title: Re: SA Chat
Post by: SA™ on February 11, 2012, 02:51:38 AM
New version realsed


fixed issue with bar not showimg on some servers
fixed issue with urls not linking properly
moved js stuff before the head tags
Title: Re: SA Chat
Post by: ForumMustang.com on February 11, 2012, 10:46:44 AM
I have some progress with this new version. The bar is now showing with Firefox but still not with IE and Chrome.

With Firefox, when I click on the username I want to chat with, nothing happens and all links placed under the location where the list of members was located before I minimize it are disabled. I have refresh the page in order to be able to click on a link in the forum and I only have a few seconds to do so before the links are automatically disabled again. ???

I applied all the tips you gave in your "Installation Trouble Shooter"  but nothing changed.
Title: Re: SA Chat
Post by: nend on February 11, 2012, 12:51:28 PM
@SA, I think it is strange how so many users are having so much trouble. However I am thinking that it may not be the mod since the mod works perfect on a fresh install of SMF. I am thinking there must be something installed on these sites that are conflicting with the chat.

@others, check to see if the chat works with load balancing turned off, check your chat permissions and use the CHMOD option in the chat control panel if all else fails.
Title: Re: SA Chat
Post by: SA™ on February 11, 2012, 01:44:46 PM
maybe take a peek in your server error logs it just may hold a clue?
Title: Re: SA Chat
Post by: ForumMustang.com on February 11, 2012, 06:02:02 PM
I didn't find anything wrong in the server's error logs but I had no problem installing the mod in a different forum on the same server, both running with SMF 2.0.2 so it has to do with a conflict with a mod.

Here is the list of mods I have one the forum giving me troubles that are not installed in the forum where SA Chat is functional. If i am not the only one having problems we can find wich one is giving us troubles.

Topic Descriptions
Smush.it!
Simple .htaccess Cache Mod
nCode Image Resizer
Curve mobile mod
Treasury
Enhancements to purge inactive members
Single Category
Related Topics
Bookmarks
Member NotePad
Birthday Posts
SMF Arcade
BlogBridger
vBulletin Style Meta Tags
Off-Topic BBC Tag
Title: Re: SA Chat
Post by: Heardy on February 11, 2012, 06:55:23 PM
you can modify your cha theme css and template to achive this

How..?

Is there any chance of maybe implementing a minimize button too?
Title: Re: SA Chat
Post by: SA™ on February 11, 2012, 11:51:39 PM
in sachat/body.js.php

document.onmousedown=selectmouse;

replace with

//document.onmousedown=selectmouse;

that will disable the mouse moving it


Quote
Is there any chance of maybe implementing a minimize button too?

if i knew how i would but so far every attempts ive made at this has faild miserably
Title: Re: SA Chat
Post by: nend on February 12, 2012, 11:37:49 AM
I didn't find anything wrong in the server's error logs but I had no problem installing the mod in a different forum on the same server, both running with SMF 2.0.2 so it has to do with a conflict with a mod.

Here is the list of mods I have one the forum giving me troubles that are not installed in the forum where SA Chat is functional. If i am not the only one having problems we can find wich one is giving us troubles.

Topic Descriptions
Smush.it!
Simple .htaccess Cache Mod
nCode Image Resizer
Curve mobile mod
Treasury
Enhancements to purge inactive members
Single Category
Related Topics
Bookmarks
Member NotePad
Birthday Posts
SMF Arcade
BlogBridger
vBulletin Style Meta Tags
Off-Topic BBC Tag

If I would have to take a educated guess I would say more than likely it is a mod that uses JavaScript. Here I will update your list and take out mods that i know are ok with the mod. Then we have to troubleshoot the rest.

Updated List
Code: [Select]
Topic Descriptions
Smush.it!
Simple .htaccess Cache Mod
nCode Image Resizer
Curve mobile mod
Treasury
Enhancements to purge inactive members
Single Category
Bookmarks
Member NotePad
Birthday Posts
BlogBridger
vBulletin Style Meta Tags
Off-Topic BBC Tag

I would take off more but I haven't tried any of these mods to see which one it would be. Maybe this will work, on the forum that the chat works install and uninstall each mod on the list until you find which one is causing the problems. After we know which one it is we can take steps into troubleshooting the conflict.

@SA, minimize implementation and bottom chat windows will have to be implemented at the JavaScript and Template levels. However a few new functions will have to be written into the JavaScript to achieve this. Along with this would have to include a cache system sort of like the one that tracks window positions and a template rewrite.

IMHO it will probably be easiest to start with a new template with its own JavaScript file. In index.php you can see if this file exist for the template and include it, if the file doesn't exist then load the default JavaScript. This would keep the compatibility for older themes in the system.

Like on this line
Code: [Select]
// If we are loading the main javascript lets get it ready based on the user
      if ($_REQUEST['action'] == 'body') {
require_once('body.js.php');
initLink();
initGadgets();
initchat();
initCleanup();
}

We can do something like this
Code: [Select]
// If we are loading the main javascript lets get it ready based on the user
      if ($_REQUEST['action'] == 'body') {
if (is_file($themedir.'body.js.php')) {require_once($themedir.'body.js.php');} else {require_once('body.js.php');}
initLink();
initGadgets();
initchat();
initCleanup();
}


There are other ways also to do this also. Since the theme is loaded first we can set a global in the theme with the location to it's custom JavaScript file. If it does not have one then the variable will be left blank to support older themes.

Basically I am requesting this as a feature request to support other JavaScript options. Once this or global varible or some similar system is implemented I will get started on the theme that works the traditional Facebook way that people are asking about. However this may take me some time, it is hard to get a chance to get on the computer and get to coding away.
Title: Re: SA Chat
Post by: SA™ on February 12, 2012, 01:30:17 PM
i woulda put it down to this mod but havent had time to test it yet

nCode Image Resizer

there is also a conflict with the fancybox mod for s,e reason this mod doesnt like the latest version of jquery

Quote
new template with its own JavaScript

i was considering this as the templates that come with the mod could be better i was actualy trying to do the minimise thing js side but couldent figar it out :P googling doesnt realy help me eaither unless tere is a decent example i can understand

Title: Re: SA Chat
Post by: ForumMustang.com on February 12, 2012, 01:37:02 PM
i woulda put it down to this mod but havent had time to test it yet

nCode Image Resizer
I tried to uninstall this mod but it didn't change anything.

Quote
If I would have to take a educated guess I would say more than likely it is a mod that uses JavaScript. Here I will update your list and take out mods that i know are ok with the mod. Then we have to troubleshoot the rest.
I will try to uninstall the other mods one by one later to see if it helps and I will let you know if I find the right one.

Thank you guys for your help.  :)
Title: Re: SA Chat
Post by: Heardy on February 12, 2012, 01:51:44 PM
in sachat/body.js.php

document.onmousedown=selectmouse;

replace with

//document.onmousedown=selectmouse;

that will disable the mouse moving it


Quote
Is there any chance of maybe implementing a minimize button too?

if i knew how i would but so far every attempts ive made at this has faild miserably

This stops it being moved but is there any way to get it like the Facebook chat so it just appears at the bottom then the next conversation appears next to it?
Title: Re: SA Chat
Post by: SA™ on February 12, 2012, 02:29:01 PM
you can ajust the poistion here in sachat/themes/yourtheme/style.css

.msg_win{
   width: 225px;
   height: 300px;
   position: fixed;
   left: 100px;
   top: 30px;
   text-align: left;
}
Title: Re: SA Chat
Post by: kohkikker on February 12, 2012, 10:50:45 PM
Are your help me?

How to config  POPUP automatic ?


Title: Re: SA Chat
Post by: SA™ on February 13, 2012, 04:30:45 PM
Are your help me?

How to config  POPUP automatic ?




what
Title: Re: SA Chat
Post by: PS4DEV on February 18, 2012, 04:53:18 PM
Are your help me?

How to config  POPUP automatic ?




what

Maybe he wants to have the chat list (#friends) opened all the time, so you don´t have to click on "Who´s Online" ? Could that be ?
Title: Re: SA Chat
Post by: PS4DEV on February 19, 2012, 08:30:14 AM
Sorry for double post, but i got a problem with your application, i cant write to anyone :/
i get these 2 problems:

Code: [Select]
$("#" + fobj.id).viewportOffset is not a function

var dpos = $('#'+fobj.id).viewportOffset();

and:

Code: [Select]
dobj is undefined

dobj.style.zIndex = zdex;

can you solve that for me please ?
Title: Re: SA Chat
Post by: SA™ on February 19, 2012, 01:31:51 PM
what other mods have you got installed that uses jquery?
Title: Re: SA Chat
Post by: PS4DEV on February 19, 2012, 05:04:39 PM
Well i installed these mods:
1.     ENotify
2.    FancyBox 4 SMF
3.     LGF MOD
4.     SA CHAT

I myself used also some jquery on the index.template.php
i have a mootools navigation menu and  jscroller( which is needed for LGF Mod)
Title: Re: SA Chat
Post by: SA™ on February 19, 2012, 05:21:42 PM
there is a issue with FancyBox 4 SMF

see if this this tip helps you
http://www.sa-smf.com/community/index.php?topic=1500.msg8989#msg8989
Title: Re: SA Chat
Post by: PS4DEV on February 19, 2012, 05:37:20 PM
there is a issue with FancyBox 4 SMF

see if this this tip helps you
http://www.sa-smf.com/community/index.php?topic=1500.msg8989#msg8989

well if i replace that, all other jquery on my site doesn´t work anymore :/
Title: Re: SA Chat
Post by: vinzbomb on February 21, 2012, 10:02:10 AM
Hi i use the SA chat bar, and works like a charm, til yesterday, it disappears
i cannot see it anymore, i did much mod installs last days, i've tried to uninstall and install again, doens't shows up !!!!
It installs, but cannot see it anymore !!!

Thnks for reply
Title: Re: SA Chat
Post by: vinzbomb on February 21, 2012, 11:05:48 AM
Btw i did a update to the last version yesterday !!! Since that it doesn't show up !!!!
Title: Re: SA Chat
Post by: vinzbomb on February 21, 2012, 04:45:30 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=2534)



SA Chat Bar
MySpace/Facebook style chat bar for Simple Machines Forum.


If you like this mod please donate by clicking here. (https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4ECXFSWZSM89U)


SA Chat bar software integrates with SMF and works with SMF without working within SMF. This is done by loading the SMF cookie from the browser and verifying it against data saved in the database. This way of working allows SA Chat to run inside and outside of SMF and throughout your website as long as the user is logged into SMF.

The integration codes can be put into any html code. One in the head and one in the body. The install script however installs the JavaScript codes by default in the default theme, but you can add these codes into whatever template you like SMF or not.

More information and troubleshooting.
Video Demostrations (http://www.youtube.com/user/sicommnend)
SA Chat Installation Trouble Shooter (http://www.sa-mods.info/index.php?topic=1017.0)
SA Chat tips & tricks (http://www.sa-mods.info/index.php?topic=1018.0)

License
You are allowed to use and modified SA Chat on your website, however you are not allowed to distribute SA Chat without permission. Any user who offers download of SA Chat without permission will have proper actions taken against them. This includes a take down notice to their host and maybe legal actions. Currently there are two places you may be able to get SA Chat the SMF Site(http://www.simplemachines.org) and the SA Mod Site(http://sa-mods.info). If you downloaded this file from any other source besides the sources mention please report the site you downloaded this mod at http://sa-mods.info.

As of revision 10 makes use of jQuery JavaScript Library v1.4.2 - http://jquery.com/, Copyright 2010, John Resig. Dual licensed under the MIT or GPL Version 2 licenses - http://jquery.org/license. Which also includes Sizzle.js - http://sizzlejs.com/, Copyright 2010, The Dojo Foundation. Released under the MIT, BSD, and GPL Licenses.

As of revision 16 makes use of jQuery viewportOffset v0.3 - http://benalman.com/projects/jquery-misc-plugins/, Copyright 2010 "Cowboy" Ben Alman. Dual licensed under the MIT and GPL licenses - http://benalman.com/about/license/.

As of revision 17 makes use of jQuery Translate plugin v1.3.2 - http://code.google.com/p/jquery-translate/, Copyright 2009 Balazs Endresz. Dual licensed under the MIT and GPL licenses.

SA Chat default theme images courtesy of BittBox - http://www.bittbox.com/category/freebies/

All other code is copyright 2011 SA Mods/sa-mods.info
Special Thanks
Nend (origanal developer)
Al Capwn (beta testing)

Translations needed
sachat/themes/default/languages/english.php
Code: [Select]
$txt['home'] = 'Home';
$txt['msgs'] = 'Messages';
$txt['myspace'] = 'MySpace';
$txt['twitter'] = 'Tweet';
$txt['facebook'] = 'Facebook';
$txt['whos_on'] = 'Who's Online';
$txt['guest_msg'] = 'Welcome, Guest. Please <a class="white" href="'.$boardurl.'/index.php?action=login">login</a> or <a class="white" href="'.$boardurl.'/index.php?action=register">register.</a>';
$txt['load_warning'] = 'The chat is not availible due to high server load.';

/Themes/default/language/
Code: [Select]
$txt['2sichat_mn_heart'] = 'Main heartbeat';
$txt['2sichat_mn_heart_sub'] = 'In ms<br />Example: 30000 = 30 seconds<br />Note: Setting too low may cause database load problems.<hr />';
$txt['2sichat_cw_h_enable'] = 'Enable chat window heartbeat';
$txt['2sichat_cw_h_e_sub'] = 'Have a seperate heartbeat for each chat window';
$txt['2sichat_cw_heart'] = 'Chat window heartbeat';
$txt['2sichat_cw_heart_sub'] = 'In ms<br />Example: 15000 = 15 seconds<br />Note: Setting too low may cause database load problems.<hr />';
$txt['2sichat_purge'] = 'Purge read messages';
$txt['2sichat_purge_sub'] = 'Purge read messages after how many days?<hr />';
$txt['2sichat_purge_all'] = 'Purge all messages';
$txt['2sichat_purge_a_sub'] = '<span style="color:red">Warning! this will delete all chat messages.<br />This will also reset the auto increment.</span><hr />';
$txt['2sichat_gad_trans'] = 'Enable Page Translator';
$txt['2sichat_gad_lang'] = 'Language Code';
$txt['2sichat_gad_lang_sub'] = 'The Page language translator needs a language code to work.<br />This should be your websites default language.<hr />';
$txt['2sichat_ico_home'] = 'Enable Home Icon';
$txt['2sichat_ico_pm'] = 'Enable PM Icon';
$txt['2sichat_ico_myspace'] = 'Enable Myspace Icon';
$txt['2sichat_ico_twit'] = 'Enable Twitter Icon';
$txt['2sichat_ico_fb'] = 'Enable Facebook Icon<hr />';
$txt['2sichat'] = 'SA Chat';
$txt['twosichatConfig'] = 'Config';
$txt['twosichatGadget'] = 'Gadgets';
$txt['2sichat_admin'] = 'SA Chat Admin';
$txt['2sichat_config'] = 'SA Chat Config';
$txt['2sichat_config_des'] = 'Here you can edit the main settings for SA Chat';
$txt['2sichat_gadgets'] = 'SA Chat Gadgets';
$txt['2sichat_gadgets_des'] = 'Add custom gadgets to SA Chat';
$txt['2sichat_gad_add'] = 'Add Gadget';
$txt['2sichat_title'] = 'Title';
$txt['2sichat_url'] = 'URL/Gadget Code';
$txt['2sichat_width'] = 'Width';
$txt['2sichat_height'] = 'Height';
$txt['2sichat_vis'] = 'Visibility';
$txt['2sichat_vis0'] = 'Hidden';
$txt['2sichat_vis1'] = 'Members';
$txt['2sichat_vis2'] = 'Guest';
$txt['2sichat_vis3'] = 'All';
$txt['2sichat_ord'] = 'Order';
$txt['2sichat_preview'] = 'Preview';
$txt['2sichat_edit'] = 'Edit';
$txt['2sichat_delete'] = 'Delete';
$txt['2sichat_link'] = 'Link';
$txt['2sichat_list_type'] = 'Show Everyone Online';
$txt['2sichat_list_t_sub'] = 'Shows everyone online instead of buddies only.<hr />';
$txt['2sichat_dis_list'] = 'Disable chat list';
$txt['2sichat_dis_l_sub'] = 'Removes the Who\'s Online list.<hr />';
$txt['2sichat_disable'] = 'Disable SA Chat';
$txt['2sichat_disable_sub'] = 'Disable SA Chat and all features.<hr />';
$txt['2sichat_dis_bar'] = 'Disable Bar';
$txt['2sichat_dis_b_sub'] = 'Disable chat bar leaving features.<hr />';
$txt['2sichat_load_chk'] = 'Enable load checking';
$txt['2sichat_max_load'] = 'Highest load level';
$txt['2sichat_max_l_sub'] = 'Goes by server load average';
$txt['2sichat_load_dis_list'] = 'On high load disable chat list';
$txt['2sichat_load_dis_chat'] = 'On high load disable SA Chat';
$txt['2sichat_load_dis_bar'] = 'On high load disable bar';
$txt['2sichat_live_online'] = 'Update Online List Live';
$txt['2sichat_simple_bbc'] = 'Enable Simple BBC<hr />';
$txt['2sichat_permissions'] = 'Enable group permissions';
$txt['2sichat_permissions_sub'] = 'Enable group permissions that you can modify in the permission manager in SMF.<br />Note: The settings here overide permission settings.<hr />';

hi,

this mod worked fine until i update the theme blackstorm & sa chat bar, that's latest modifications i've made.

It doesn't show up anymore, i did almost everything i could try in settings and by uninstall and reinstall,  CHKMOD stills the same

When i uninstall and réinstall the settings from SA CHAT were not removed !!!!!?


So i tried the install a new fresh forum to test the latest version of mods, and problem is the same, doesn't show up anymore

So that's not cool since i used SA CHAT on my international forum with translation api. now i'm loosing visitors since yesterday i doesn't work

THANKS FOR FUTURE HELP!!!
Title: Re: SA Chat
Post by: wedderweelde on February 22, 2012, 04:44:51 AM
First i want to say thank you for this mode
but i have one problem maybe it is noticed
install works fine chat also works fine
i use IE 9 and when I turn on the chat my scrolbar is not working
and when i turn it off scrolbar works fine
so when the chat is on I can only scroll down with my mouse
is there a fix for this ?
Title: Re: SA Chat
Post by: SA™ on February 22, 2012, 03:54:54 PM
not tested  this in ie9 yet as i dont have it installed on this pc not sure why it would affect the scroll bar realy i have to wait till next week when i get my pc back to do more testing
Title: Re: SA Chat
Post by: vinzbomb on February 23, 2012, 02:36:34 AM
not tested  this in ie9 yet as i dont have it installed on this pc not sure why it would affect the scroll bar realy i have to wait till next week when i get my pc back to do more testing

i can already say i doesn't work anymore on latest smf version with latest simpleportal, and with latest theme blackstorm, even with a new fresh install, doens't show up !!!!

Who is guilty ?!!  the portal, the theme, the forum version ?!!, I don't know, but is doens't work and show up anymore

thanks to help me somebody
Title: Re: SA Chat
Post by: wedderweelde on February 23, 2012, 02:58:48 AM
not tested  this in ie9 yet as i dont have it installed on this pc not sure why it would affect the scroll bar realy i have to wait till next week when i get my pc back to do more testing

i can already say i doesn't work anymore on latest smf version with latest simpleportal, and with latest theme blackstorm, even with a new fresh install, doens't show up !!!!

Who is guilty ?!!  the portal, the theme, the forum version ?!!, I don't know, but is doens't work and show up anymore

thanks to help me somebody

It works fine on smf 2.0.2
Title: Re: SA Chat
Post by: leeman on March 08, 2012, 04:00:00 PM
iE 9 issue- I have 2 users who claim the same thing: Their up/down scroll bar becomes non-functional with chat enabled...
Title: Re: SA Chat
Post by: Ascot on April 12, 2012, 01:44:20 PM
Hi there. Nice mod! i love it.
But some of my users are having an issue. They can't move chat window. Why might this be happening?
Title: Re: SA Chat
Post by: SA™ on April 12, 2012, 02:19:40 PM
what brouser ie?
Title: Re: SA Chat
Post by: leyon533 on April 13, 2012, 10:16:54 AM
Can I install any IRC Chat while this mod is installed?
Title: Re: SA Chat
Post by: Ascot on April 13, 2012, 10:21:27 AM
they've test on chrome and firefox with same results.
It's weird, because it works in my pc, but in others don't.
Title: Re: SA Chat
Post by: hukrtrend on April 17, 2012, 06:56:42 PM
hi i just installed this mod, it wont work for me. i am running smf 2.0.2 and using the custom blackday theme

help ?
Title: Re: SA Chat
Post by: hukrtrend on April 17, 2012, 06:58:30 PM
or maybe it is woring just fine and cant find out where to start the chat

help ?
Title: Re: SA Chat
Post by: Ascot on April 17, 2012, 08:03:40 PM
You have a new menu in your Admin panel called SA Chat .
Make sure to use chmod option to chmod all your files.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I guess moving issue it's cause you may install some plugin. But wich one?
Title: Re: SA Chat
Post by: hukrtrend on April 17, 2012, 08:10:35 PM
You have a new menu in your Admin panel called SA Chat .
Make sure to use chmod option to chmod all your files.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I guess moving issue it's cause you may install some plugin. But wich one?

i love you... thank you it worked for me..  i am in debt to you
Title: Re: SA Chat
Post by: hukrtrend on April 18, 2012, 11:43:30 PM
question about sa chat. some of my clan members are saying they cant see the blue bar. do i need to adjust a setting. i told them to enable pop ups , still not working.
Title: Re: SA Chat
Post by: hukrtrend on April 19, 2012, 02:37:23 PM
alright so if i start a chat with one of my members they can see the message window but they cant start a chat with anyone else, they dont see a blue bar, at the bottom of web browser like i can. ive already set the permission to there groups so they can see it. still nothign .  help anyone ?
Title: Re: SA Chat
Post by: drroot on May 08, 2012, 04:23:14 PM
This is a very cool mod.
But there is some compatibility issue.

iE 9 issue- I have 2 users who claim the same thing: Their up/down scroll bar becomes non-functional with chat enabled...

Yes, same story here.
The scroll bar freezes in IE9.
It is worse in IE8, the BoardIndex page and login page could not be fully loaded. Users even could not login.
When loading the forum, I got
"HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)"

After I disabled SA chat bar, everything is back to normal.
Title: Re: SA Chat
Post by: drroot on May 17, 2012, 06:06:25 AM
IETester is a free tool to test the IE compatibility.
http://www.my-debugbar.com/wiki/IETester/HomePage


This is a very cool mod.
But there is some compatibility issue.

iE 9 issue- I have 2 users who claim the same thing: Their up/down scroll bar becomes non-functional with chat enabled...

Yes, same story here.
The scroll bar freezes in IE9.
It is worse in IE8, the BoardIndex page and login page could not be fully loaded. Users even could not login.
When loading the forum, I got
"HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)"

After I disabled SA chat bar, everything is back to normal.
Title: Re: SA Chat
Post by: PS4DEV on May 25, 2012, 03:30:02 PM
the chatbox displays the text content DESC , but i want to display it ASC , in the index.php i changed it already to ASC but in the body.js.php there i still have to change the ajax function to display a new written chat text at the bottom and not at the top(default), how do i do that ?
Title: Re: SA Chat
Post by: David111567 on May 28, 2012, 08:33:33 PM
After several years of flawless service....this mod displayed the following error when my members tried to talk to each other this morning:

Fatal error: Wrong value type sent to the database. Integer expected. (gid)(index.php-244) in G:\myfakepath\htdocs\myfakepath\Sources\Subs-Db-mysql.php on line 684

This started immediately after I tried to create an HTML gadget...something I have done dozens of times with this mod over the past several years.  ANy help would be appreciated. I have tried everything, including uninstalling the mod, deleting the sql tables and starting over with the same mod...and the error keeps popping up in windows next to the chat windows of my members.
Title: Re: SA Chat
Post by: Realinfo on August 20, 2012, 08:59:42 PM
I want to put SA Chat on just one particular page like this

http://realinfo.tv/index.php?action=chat

How to do that?
Title: Re: SA Chat
Post by: beanflying on August 21, 2012, 12:07:51 AM
Down the very bottom of the SAChat config menu. Enter into the box your choices of page/pages. Mine is set to everywhere because I like it that way ;)

Actions to Show Bar on (separated by comma)
to show on board index use: board_index
to show on message index use: message_index
to show on topic veiw use: topic_index
to show on all pages use: everywhere
default actions below:
post,board_index,message_index,topic_index,help,search,profile,mlist,pm,moderate,admin
Title: Re: SA Chat
Post by: Realinfo on August 21, 2012, 09:06:19 AM
Can we put bar in Block of simple Portal?
if yes
how?
Title: Re: SA Chat
Post by: beanflying on August 21, 2012, 11:15:58 PM
Can we put bar in Block of simple Portal?
if yes
how?

If you go back through the thread I am fairly certain there was good instructions and the code needed to run the bar off the forum itself.

Found it Remember Search is your friend ;) (http://www.simplemachines.org/community/index.php?topic=391961.msg3021125#msg3021125)
Title: Re: SA Chat
Post by: beanflying on August 21, 2012, 11:18:48 PM
My turn for a question or request for a mod. More and more of my users are using Tablets for browsing and chatting but as the chat pop ups get in the way of the forum they have asked about a method to enable them to move the chat windows around.

so incorporate ongesturetap or alternatively onclick? on the header to enable dragging of these?
Title: Re: SA Chat
Post by: Realinfo on August 22, 2012, 07:31:17 AM
you can try this

in sources/sachathooks.php

find
Code: [Select]
$buffer = str_replace('</head>', '<script type="text/javascript" src="'.$boardurl.'/sachat/index.php?action=head"></script>
</head>', $buffer);

$buffer = str_replace('<body>', '<body>
<script type="text/javascript" src="'.$boardurl.'/sachat/index.php?action=body"></script>', $buffer);

replace with
Code: [Select]
if(!isset($_GET['action'])){
$buffer = str_replace('</head>', '<script type="text/javascript" src="'.$boardurl.'/sachat/index.php?action=head"></script>
</head>', $buffer);

$buffer = str_replace('<body>', '<body>
<script type="text/javascript" src="'.$boardurl.'/sachat/index.php?action=body"></script>', $buffer);
}


why i don't get this lines in my file
Title: Re: SA Chat
Post by: SA™ on August 22, 2012, 07:43:57 AM
thats for an old version of the mod so no you wont find that code
Title: Re: SA Chat
Post by: SA™ on August 22, 2012, 07:49:26 AM
Can we put bar in Block of simple Portal?
if yes
how?

im not sure i havent tryed this but you can try and use

Code: [Select]
global $context;
$context['html_headers'] .= SAChat_showBar('head');
echo SAChat_showBar('body');

in a php block?
Title: Re: SA Chat
Post by: beanflying on August 22, 2012, 07:56:45 AM
Oops sorry for the bum steer I a heap of stuff on the go :)

That code didn't work on Simple Portal BTW.
Title: Re: SA Chat
Post by: Realinfo on August 22, 2012, 08:44:00 AM
Can we put bar in Block of simple Portal?
if yes
how?

im not sure i havent tryed this but you can try and use

Code: [Select]
global $context;
$context['html_headers'] .= SAChat_showBar('head');
echo SAChat_showBar('body');

in a php block?

Syntax error in block code. Please check the code.

I got this When i try to add code in php block of Simple portal
Title: Re: SA Chat
Post by: Realinfo on August 22, 2012, 08:44:42 AM
Oops sorry for the bum steer I a heap of stuff on the go :)

That code didn't work on Simple Portal BTW.

You mean no way to put Sa chat bar in simple portal blocks
Title: Re: SA Chat
Post by: Realinfo on August 22, 2012, 09:07:30 AM
Load Checking
like
Enable load checking
On high load disable SA Chat
On high load disable chat list
On high load disable bar
Highest load level

are not working for we I can't "tick" any of them also can't write in "Highest load level "
Title: Re: SA Chat
Post by: SA™ on August 22, 2012, 02:22:39 PM
Load Checking
like
Enable load checking
On high load disable SA Chat
On high load disable chat list
On high load disable bar
Highest load level

are not working for we I can't "tick" any of them also can't write in "Highest load level "

this is not avliable on windows servers
it should say some stuff on that page in red pls look and tell me what it says?

Can we put bar in Block of simple Portal?
if yes
how?

im not sure i havent tryed this but you can try and use

Code: [Select]
global $context;
$context['html_headers'] .= SAChat_showBar('head');
echo SAChat_showBar('body');

in a php block?

Syntax error in block code. Please check the code.

I got this When i try to add code in php block of Simple portal

maybe this?

Code: [Select]
global $modSettings, $boardurl;

if(empty($modSettings['2sichat_theme']))
    $modSettings['2sichat_theme'] = 'default';

$saTheme = $modSettings['2sichat_theme'];

echo '<script type="text/javascript" src="'.$boardurl.'/sachat/index.php?action=head&amp;theme=',$saTheme,'"></script>';
echo '<script type="text/javascript" src="'.$boardurl.'/sachat/index.php?action=body&amp;theme=',$saTheme,'"></script>';

i have never tryed to add it to a sp block so this maybe a hit and miss i dont have a test site right now so i cant realy test these
Title: Re: SA Chat
Post by: Realinfo on August 22, 2012, 08:13:42 PM
By this global $modSettings, $boardurl;

if(empty($modSettings['2sichat_theme']))
    $modSettings['2sichat_theme'] = 'default';

$saTheme = $modSettings['2sichat_theme'];

echo '<script type="text/javascript" src="'.$boardurl.'/sachat/index.php?action=head&amp;theme=',$saTheme,'"></script>';
echo '<script type="text/javascript" src="'.$boardurl.'/sachat/index.php?action=body&amp;theme=',$saTheme,'"></script>';


SA Chat bar is started coming on Portal page.........

But it's not inside the block...........

May see at http://realinfo.tv/
Title: Re: SA Chat
Post by: Realinfo on August 22, 2012, 08:14:51 PM
My server is Linux
and nothing in red, but I just click on any box of Load Checking
like
Enable load checking
On high load disable SA Chat
On high load disable chat list
On high load disable bar
Highest load level
Title: Re: SA Chat
Post by: Realinfo on August 22, 2012, 08:50:29 PM
1. What's Main heartbeat and Chat window heartbeat?

2. What change will occur if we change its value?
Title: Re: SA Chat
Post by: SA™ on August 22, 2012, 11:20:37 PM
1. What's Main heartbeat and Chat window heartbeat?

2. What change will occur if we change its value?

how often it fetches new messages

new beta 5 version added
fixed undefined server errors this could another possible reson for the bar not shoing on some servers
themes now can use there own body.js.php file this will help with theme making [newer theme may come with minimised feature]

on a side note the source for this mod is now avlible here
https://github.com/SAMods/SAChatBar
Title: Re: SA Chat
Post by: Realinfo on August 23, 2012, 12:00:57 PM
Can member for forum can disable it for himself............. is there any such option as some members just don't want while many others like it...............
Title: Re: SA Chat
Post by: LexusFTW on August 23, 2012, 02:47:50 PM
When I have the chat enabled, the scroll bar doesn't work.  If I disable it through config, the scroll bar works again.  I also have simple portal installed. IE9.

GREAT MOD BTW!!
Title: Re: SA Chat
Post by: SA™ on August 23, 2012, 03:18:58 PM
When I have the chat enabled, the scroll bar doesn't work.  If I disable it through config, the scroll bar works again.  I also have simple portal installed. IE9.

GREAT MOD BTW!!

ie has always had issues with this mod i dont use ie myself cos it suks but i will install ie9 soon cos im gonna overhaul the themes

Can member for forum can disable it for himself............. is there any such option as some members just don't want while many others like it...............

in this topic im sure there is some code todo this if not ill add this option to rc1

your find it here https://github.com/SAMods/SAChatBar before i add it to the mod site
Title: Re: SA Chat
Post by: nend on August 23, 2012, 03:55:06 PM
your find it here https://github.com/SAMods/SAChatBar before i add it to the mod site

Forked, I will be following the development.  ;D
Title: Re: SA Chat
Post by: beanflying on August 23, 2012, 07:01:26 PM
Nice work,

Minimized would be a great option. Either that or what about a pull down menu option off the header? Not sure how the users online would look on a big forum would be the killer if it is set to open chat rather than just buddies.

One thing if you could include it would be the Google + social media integration. It has been on my list to try and hack some of this mod http://custom.simplemachines.org/mods/index.php?mod=3103 into place to the SA Chat bar.
Title: Re: SA Chat
Post by: Realinfo on August 23, 2012, 09:42:54 PM
#chat_containter{
   background: url(./images/cbar.png) repeat-x;
   padding-left: 10px;
   padding-top: 2px;
   width: 205px;
   height: 25px;
   position: fixed;
   bottom: 0px;
   right: 0px;
   text-align: left;
   z-Index: 10000;
I made change in style.css and it works in Firefox and Chrome
But IE still Bar is 100%

and tell how member can disable it for himself
Title: Re: SA Chat
Post by: SA™ on August 23, 2012, 10:18:49 PM
Quote
and tell how member can disable it for himself

sure install the dev build
https://github.com/SAMods/SAChatBar/downloads
Title: Re: SA Chat
Post by: Realinfo on August 24, 2012, 06:12:19 AM
Quote
and tell how member can disable it for himself

sure install the dev build
https://github.com/SAMods/SAChatBar/downloads

as I install it.......... Now it show "who's online" zero..............

while SA_Chat_Beta_5_Rev44.zip show right number of users online.................

can't we do manual edit in profile.template
Title: Re: SA Chat
Post by: SA™ on August 24, 2012, 11:58:24 AM
that part was modifyed to take into account the users who disabled the bar  if it disabled it wont show them in the list but i do see the issue here the problem is this mod look in the themes table for show_cbar if it is 1 then bar is disabled for that person now the problem is that vlaue probaly wont exsist untill all members set that in there prifule lookand layout so  i need to think on this one for a bit longer to get it right
Title: Re: SA Chat
Post by: hcfwesker on August 24, 2012, 09:02:16 PM
Can member for forum can disable it for himself............. is there any such option as some members just don't want while many others like it...............

@ SA, I remember you doing this in the past.  It allowed members to turn it off under their options in look & layout preferences.

EDIT:::

Just found it 9 pages back.  ;)

http://www.simplemachines.org/community/index.php?topic=391961.msg3157578#msg3157578

Title: Re: SA Chat
Post by: SA™ on August 24, 2012, 09:39:55 PM
yeah that code has changed since then tho
Title: Re: SA Chat
Post by: hcfwesker on August 24, 2012, 10:26:10 PM
Derped!  lol.  didn't realize that, haven't checked updates since last year.
Title: Re: SA Chat
Post by: Realinfo on August 24, 2012, 10:36:15 PM
Code: [Select]
echo ' <li> <input type="hidden" name="default_options[show_cbar]" value="0" /> <label for="show_cbar"><input type="checkbox" name="default_options[show_cbar]" id="show_cbar" value="1"', !empty($context['member']['options']['show_cbar']) ? ' checked="checked"' : '', ' class="input_check" /> Hide chat bar?</label> </li>';
echo '
<li>
<input type="hidden" name="default_options[view_newest_first]" value="0" />
<label for="view_newest_first"><input type="checkbox" name="default_options[view_newest_first]" id="view_newest_first" value="1"', !empty($context['member']['options']['view_newest_first']) ? ' checked="checked"' : '', ' class="input_check" /> ', $txt['recent_posts_at_top'], '</label>
</li>';

I tried to do manual edit............ But this not disable SA Chat bar............

and I also have this issue...............

When I have the chat enabled, the scroll bar doesn't work.  If I disable it through config, the scroll bar works again.  I also have simple portal installed. IE9.

GREAT MOD BTW!!
Title: Re: SA Chat
Post by: SA™ on August 25, 2012, 01:49:05 PM
you need more than that to disable the bar all ou have todo is keep anyu eye here
https://github.com/SAMods/SAChatBar
for any updates wich one has been aded todo just this so download the mod from there
Title: Re: SA Chat
Post by: SA™ on August 26, 2012, 10:02:20 PM
anybody fancy testing this?
https://github.com/SAMods/SAChatBar/downloads

here some of the chnages

two new options in profile look and layout hide chat bar and show only buddies in chat bar
member count auto refresh
removed 2sichat_list_type from admin members can now choose themself
initJs() refactured
custom head js per theme
bug fixes and code changes
Title: Re: SA Chat
Post by: beanflying on August 26, 2012, 10:57:57 PM
Nice new features but if possible I would still like to have Admin control over If the members can use them or not. So can you leave them as additional permission settings such as-

Users hide/show chatbar
Users select buddies/open/off (that is still show the chatbar and the other gadgets)

so rather than an admin setting a permission is more flexible.
Title: Re: SA Chat
Post by: SA™ on August 26, 2012, 11:32:48 PM
so permissions to use this profile features you mean?
Title: Re: SA Chat
Post by: beanflying on August 26, 2012, 11:44:23 PM
Yes. For example I may like to Force all users of a certain group or groups to view the bar so the gadgets are available (including for guests). But allow users to switch on of off the chat side of it (or select buddies only).

I think it just gives more flexibility to customize it for most admins with little to no programming skills needed.
Title: Re: SA Chat
Post by: SA™ on August 26, 2012, 11:51:24 PM
https://github.com/SAMods/SAChatBar/downloads
try that

added two permissions to use the settings
Title: Re: SA Chat
Post by: beanflying on August 27, 2012, 12:53:08 AM
Some strange things going on my Admin account is the only one showing as whos online to regular users. They can chat to me and I can chat back but as I can't see them I can't start a chat?

I suspect maybe a permission around the wrong way  :-\


Cleared the cache on both browsers and all as it should be  :) I will leave it up live on our site and see how it goes.
Title: Re: SA Chat
Post by: SA™ on August 27, 2012, 01:24:30 AM
cool i registerd there as Wine

tho i just pushed another update that will update the users better
Title: Re: SA Chat
Post by: beanflying on August 27, 2012, 01:49:37 AM
I wondered who the stray UK member was when I was approving it :laugh: Tim or Beanflying is me BTW.

Seems our existing members are still stuck with cached versions of the old bar, know of an easy way server or smf side to clear this?
Title: Re: SA Chat
Post by: SA™ on August 27, 2012, 02:11:35 AM
hmm not sure
im only seeing aswell 2 people in chat have the others set there settings to disabled or buddies you know?
Title: Re: SA Chat
Post by: beanflying on August 27, 2012, 02:23:53 AM
Very unlikely all of the others would have run off to disable the settings in the 30 minutes or so it has been up. I did also remove the permissions for member disable to test that too but no change to the members showing online.
Title: Re: SA Chat
Post by: SA™ on August 27, 2012, 02:36:41 AM
yeah i see the issue now 8)
Title: Re: SA Chat
Post by: beanflying on August 27, 2012, 02:48:42 AM
 8) Success thanks to some SA mod work  ;D

The Current version linked above works, still has an issue with new members to be resolved but SA was going to sleep - No dedication at all ;)
Title: Re: SA Chat
Post by: SA™ on August 27, 2012, 05:44:17 PM
8) Success thanks to some SA mod work  ;D

The Current version linked above works, still has an issue with new members to be resolved but SA was going to sleep - No dedication at all ;)

:D thanks lol

just pushed another update
!new member default settings
Title: Re: SA Chat
Post by: beanflying on August 27, 2012, 06:39:16 PM
Installed the new package and tweaked the CSS a touch over a nice pre breakfast coffee. Working well :)
Title: Re: SA Chat
Post by: SA™ on August 28, 2012, 04:39:09 PM
another update
+simple minamise chat feature
+added gplus

may not look too good with many people minamised and the theme still needs tweeking abit
https://github.com/SAMods/SAChatBar
Title: Re: SA Chat
Post by: beanflying on August 28, 2012, 07:28:06 PM
Installed and tested  ;D Love the G+.

Had a little time to play with it now and a few thoughts I wrote on the forum.

"Also a really nice feature is the minimise to bar the name of an open IM chat and are still chatting you can tuck it out of the way but not closed. If you get a new message from who you were chatting to then it reopens automatically. Not quite the move function the Pad users may have wanted but a lot better than it was. (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.bestcafes.com.au%2Fforum%2FSmileys%2FLightB%2FThumbsup.gif&hash=423508451aab593940da3ad0c137b101) "
Title: Re: SA Chat
Post by: SA™ on August 29, 2012, 12:33:51 AM
Quote
Not quite the move function

what you mean?
Title: Re: SA Chat
Post by: beanflying on August 29, 2012, 01:41:59 AM
Some of our users that browse on ipads asked about being able to grab and move the chat windows elsewhere on the screen so they can keep looking at the forum without necessarily closing the chat window to others.

The minimise to bar will work I think so not a major one but I did start having a look at adding the java ontap or similar but my Java isn't strong ;)
Title: Re: SA Chat
Post by: SA™ on August 29, 2012, 01:52:19 AM
well i would need an  ipad to test this but im poor :D but i get what you mean :)
Title: Re: SA Chat
Post by: beanflying on August 29, 2012, 03:29:27 AM
I have the same issue with cross browser compatibility testing. I have a dumb phone and a windoze laptop and don't speak 'I' so I am ok :) Better integration of SMF with/without Tapatalk for mobiles and pads is becoming an issue but they change generations to quick.

I just tried minimising around 10 open chat windows on my fixed width 1000px forum and after 7 they started disappearing off the bar. While removing them again the bar at one stage went blank so something is a little flakey if you try and have to many open conversations on the bar. Personally 5 or 6 should be heaps so maybe a software limit might be easiest?

thanks for the reworking on this too :)
Title: Re: SA Chat
Post by: SA™ on August 29, 2012, 01:42:10 PM
Quote
I have the same issue with cross browser compatibility testing. I have a dumb phone and a windoze laptop and don't speak 'I' so I am ok  Better integration of SMF with/without Tapatalk for mobiles and pads is becoming an issue but they change generations to quick.

yeah thats the isue these days yu buy some new tablet or somthing and it old with in a week or two

Quote
I just tried minimising around 10 open chat windows on my fixed width 1000px forum and after 7 they started disappearing off the bar. While removing them again the bar at one stage went blank so something is a little flakey if you try and have to many open conversations on the bar. Personally 5 or 6 should be heaps so maybe a software limit might be easiest?

yeah i know i tested that on your site last night the theme needs tweeking
Title: Re: SA Chat
Post by: SA™ on August 30, 2012, 02:54:56 AM
updated the package on git hub with a new wip theme

this new theme save a lot of space on the bar and looks clean to me :D it also has
improved chat minamised feature it also dont pop back up when minamised it changes colour to red

known bugs for some reason the red gets bigger and bigger not sure why yet
Title: Re: SA Chat
Post by: beanflying on August 30, 2012, 04:18:43 AM
No sound on messages on the default_new theme. Colour change is working as you explained and a good idea.

I was having a bit of a look around last night for a means to add a few additional social groups and bumped into http://www.addthis.com/ (http://www.addthis.com/) I haven't really looked to closely at the embed code to see if it could be run off the bar but it would cleanup the post area where it is currently located for a trial. Nice thing from your end is you could strip some code and button room if you could incorporate it into the bar? Might be worth a look anyway.

Main reason to look at it is Pinterest photo sharing to get some additional links in to the forum.
Title: Re: SA Chat
Post by: SA™ on August 30, 2012, 04:34:26 AM
il take a look at the sound issue later  :)
Title: Re: SA Chat
Post by: SA™ on August 30, 2012, 06:08:00 PM
updated package on github

fixed sound issue on new theme missing sound folder
aded suport for addthis script
fixed issue with the red minamised chat growing
fixed hard coded text on new theme
removed other languages as they are now out dated and needed updating

now when a chat is minamised you wil here a bleep but it will keep going untill you read the messgae i need to fix this as it will get anoying lol
Title: Re: SA Chat
Post by: beanflying on August 31, 2012, 06:51:02 AM
Done a little playing with addthis and there is a small glitch with it off the bar. Unless you are at the top of the page or first post then it doesn't trigger the hover popup, onclick still works and brings up the entire list? The embedded addthis I have on my forum works regardless of which post your on.

Other than that working well :)
Title: Re: SA Chat
Post by: SA™ on August 31, 2012, 06:33:53 PM
it does trigger it just you have to scroll upto see it  ill see if i can fix that
Title: Re: SA Chat
Post by: beanflying on September 01, 2012, 05:22:43 AM
Cool I hadn't tried scrolling up. :)
Title: Re: SA Chat
Post by: MotRude on September 01, 2012, 12:33:02 PM
This is a Really great Mod...Thank you to the Developer.
Title: Re: SA Chat
Post by: SA™ on September 01, 2012, 03:32:28 PM
thanks :)
Title: Re: SA Chat
Post by: SA™ on September 01, 2012, 06:41:15 PM
New Version rc1 realsed on modsite

changes since last version
https://github.com/SAMods/SAChatBar/commits/master/
Title: Re: SA Chat
Post by: Realinfo on September 01, 2012, 10:31:32 PM
any way to stop users to send website links............... to avoid spamming.............
Title: Re: SA Chat
Post by: SA™ on September 01, 2012, 10:40:24 PM
yes in sachat/index.php

Code: [Select]
$data = preg_replace("#((http|https|ftp)://(\S*?\.\S*?))(\s|\;|\)|\]|\[|\{|\}|,|\"|'|:|\<|$|\.\s)#ie", "'<a href=\"$1\" target=\"_blank\">$3</a>$4'", $data);
replace with
Code: [Select]
$data = preg_replace("#((http|https|ftp)://(\S*?\.\S*?))(\s|\;|\)|\]|\[|\{|\}|,|\"|'|:|\<|$|\.\s)#ie", "'Links are bot allowed here'", $data);
it in the file twice do both
Title: Re: SA Chat
Post by: Realinfo on September 02, 2012, 12:55:44 AM
1. Many send link with "www" instead of (http|https|ftp).............

2. I don't want Chat bar 100% or any PX............ I want it can be as long as many buttons or minimized chat users in it............. I mean not of fix width.............

Title: Re: SA Chat
Post by: beanflying on September 02, 2012, 01:02:13 AM
it does trigger it just you have to scroll upto see it  ill see if i can fix that

Got a fix for it :)

!@#$ it not working in Chrome !!!! Works fine in IE and FF.

In template.php

Code: [Select]
'.($modSettings['2sichat_ico_adthis'] ? '<a class="addthis_button" style="position:fixed; !important" addthis:ui_cobrand="xyz Forum" href="http://www.addthis.com/bookmark.php?v=250&amp;pubid=xa-503f263237ff99da">
I have been playing a little with the ui commands from here to tweak add this for my own forum but you might be able to pull the forum name into there using the cobrand one? Lots of others too if you want to look http://support.addthis.com/customer/portal/articles/381263-addthis-client-api#configuration-ui
Title: Re: SA Chat
Post by: SA™ on September 02, 2012, 01:24:30 AM
it does trigger it just you have to scroll upto see it  ill see if i can fix that

Got a fix for it :)

!@#$ it not working in Chrome !!!! Works fine in IE and FF.

In template.php

Code: [Select]
'.($modSettings['2sichat_ico_adthis'] ? '<a class="addthis_button" style="position:fixed; !important" addthis:ui_cobrand="xyz Forum" href="http://www.addthis.com/bookmark.php?v=250&amp;pubid=xa-503f263237ff99da">
I have been playing a little with the ui commands from here to tweak add this for my own forum but you might be able to pull the forum name into there using the cobrand one? Lots of others too if you want to look http://support.addthis.com/customer/portal/articles/381263-addthis-client-api#configuration-ui

lol was just gonna say it not working in chrome
Title: Re: SA Chat
Post by: beanflying on September 02, 2012, 01:29:08 AM
Bring back Netscape I say  ;D 2 out of 3 is a start I suppose (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.bestcafes.com.au%2Fforum%2FSmileys%2FLightB%2FWitsend.gif&hash=95008095b16c09d5f4308681ae5c0e39)

Minor permissions thing too. The Bar can't be made show to Guests currently but it was visible in the earlier version.
Title: Re: SA Chat
Post by: SA™ on September 02, 2012, 01:46:43 AM
it can and it wasnt shoing on your site before eaither have you changed permission for guest to show bar

permissions Disable Bar untick
Title: Re: SA Chat
Post by: SA™ on September 02, 2012, 01:59:02 AM
Quote
1. Many send link with "www" instead of (http|https|ftp).............

that will detect any link with our with out www even with or with out  (http|https|ftp). it regex it searches for a pattern dont have to contain  (http|https|ftp).

Quote
2. I don't want Chat bar 100% or any PX............ I want it can be as long as many buttons or minimized chat users in it............. I mean not of fix width.............

i dont think it wil work like that the thing it need a max width set in the min chat area so if theres is many it will fit them in i couldent get max width to work myself this is why i made the default_new theme it can hold a few more min chats than the default theme and looks a lot better in my opinion
Title: Re: SA Chat
Post by: Realinfo on September 02, 2012, 04:31:19 AM
1. can't I have 200px width of Chat bar only, and for minimized users it will grow upward (instead of Chat Bar I needed Chat Tower)...........
200px width Chat bar was working fine for me, but now as u added minimized users, so there's problem............

2. Users can still able to send website link like this www.realinfo.tv (may when they try to send http://realinfo.tv then it got failed)

3. Can we also censor some words ( so one user can't send those words to other users)
Title: Re: SA Chat
Post by: SA™ on September 02, 2012, 03:20:34 PM
Quote
1. can't I have 200px width of Chat bar only, and for minimized users it will grow upward (instead of Chat Bar I needed Chat Tower)...........
200px width Chat bar was working fine for me, but now as u added minimized users, so there's problem...........

it will probaly be better just to make a new theme your self then or remove the minamised chat feature

Quote
2. Users can still able to send website link like this www.realinfo.tv (may when they try to send http://realinfo.tv then it got failed)

oh iim sry i assumed it woulda worked ill look into this later

Quote
3. Can we also censor some words ( so one user can't send those words to other users)

ill see cos i would probaly need to write my own function to do this as it seems includng smf files causes loads of errors in server error logs [create a bbc gadget and your see what i mean it dont work] shouldent be too hard to write a censer function tho
Title: Re: SA Chat
Post by: Realinfo on September 02, 2012, 08:52:32 PM
1. How we can remove minimized options

2. Can we have Transparent Bar ( so only written things appear and not bar)

3. Can one day you also add option of Voice chat and video chat

4. Instead of who's Online I just want to make it "online"
Title: Re: SA Chat
Post by: SA™ on September 03, 2012, 12:35:53 AM
Quote
2. Users can still able to send website link like this www.realinfo.tv (may when they try to send http://realinfo.tv then it got failed)

try in sachat/index.php

Code: [Select]
$data = preg_replace("#((http|https|ftp)://(\S*?\.\S*?))(\s|\;|\)|\]|\[|\{|\}|,|\"|'|:|\<|$|\.\s)#ie", "'<a href=\"$1\" target=\"_blank\">$3</a>$4'", $data);
replace with
Code: [Select]
$data = preg_replace("#(((http|https|ftp)://?|[\w\d]+[.])[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|/)))#ie", "'Link aint allowed'", $data);
it in the file twice do both

Title: Re: SA Chat
Post by: beanflying on September 03, 2012, 04:39:27 AM
Failed on finding  fix for the Chrome position:fixed quirk too. Only way around it I suspect is onhover have the page scroll up to meet it but that's not a wonderful look either? Or some sort of javascript scroll offset and a little maths (way beyond my skills) and force the sucker down to meet the position on the page without the 'fixed' ?

Apart from that working well  8)
Title: Re: SA Chat
Post by: Realinfo on September 03, 2012, 06:58:46 AM
Quote
2. Users can still able to send website link like this www.realinfo.tv (may when they try to send http://realinfo.tv then it got failed)

try in sachat/index.php

Code: [Select]
$data = preg_replace("#((http|https|ftp)://(\S*?\.\S*?))(\s|\;|\)|\]|\[|\{|\}|,|\"|'|:|\<|$|\.\s)#ie", "'<a href=\"$1\" target=\"_blank\">$3</a>$4'", $data);
replace with
Code: [Select]
$data = preg_replace("#(((http|https|ftp)://?|[\w\d]+[.])[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|/)))#ie", "'Link aint allowed'", $data);
it in the file twice do both




Yes............ Now It's ok.............. also guide me about

1. How we can remove minimized options

2. Can we have Transparent Bar ( so only written things appear and not bar)

3. Can one day you also add option of Voice chat and video chat

4. Instead of who's Online I just want to make it "online"
Title: Re: SA Chat
Post by: pevanis on September 03, 2012, 11:34:10 AM
Hi,

at first thanks for chat :-)

I have a problem with that window, it suck and i can't get rid of it :-( can You hep ??
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg15.imageshack.us%2Fimg15%2F8647%2Fsachat.png&hash=0b20045ba5372cc279fc74ed221772a0)

Have a nice day
Title: Re: SA Chat
Post by: SA™ on September 03, 2012, 02:20:17 PM
1. How we can remove minimized options

2. Can we have Transparent Bar ( so only written things appear and not bar)

3. Can one day you also add option of Voice chat and video chat

4. Instead of who's Online I just want to make it "online"

to remve the minimized sachat/themes/yourtheme/template.php

find and remove
Code: [Select]
<a href="javascript:void(0)" onclick="javascript:minchat(\''.$buddy_settings['id_member'].'\',\''.$buddy_settings['real_name'].'\'); return false;">
&nbsp;<img name="rollover'.$buddy_settings['id_member'].'" src="'.$themeurl.'/images/minimize.png" border="0" alt="-" />
</a>

and

Code: [Select]
$data .='&nbsp;&nbsp;<span id="minchats"></span>';
to change the whos online to online it sachat/themes/yourtheme/languages/
$txt['whos_on'] = 'Who&#39;s Online';

Hi,

at first thanks for chat :-)

I have a problem with that window, it suck and i can't get rid of it :-( can You hep ??
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg15.imageshack.us%2Fimg15%2F8647%2Fsachat.png&hash=0b20045ba5372cc279fc74ed221772a0)

Have a nice day

try clearing you brouser cookie and cache
Title: Re: SA Chat
Post by: pevanis on September 03, 2012, 02:58:32 PM



Hi,

at first thanks for chat :-)

I have a problem with that window, it suck and i can't get rid of it :-( can You hep ??
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg15.imageshack.us%2Fimg15%2F8647%2Fsachat.png&hash=0b20045ba5372cc279fc74ed221772a0)

Have a nice day

try clearing you brouser cookie and cache
[/quote]
:-( it works :-) thans Stupid me :-(
Title: Re: SA Chat
Post by: Realinfo on September 03, 2012, 09:06:28 PM
As I removed two things from template.php (as u told)

See name goes upward..............
Title: Re: SA Chat
Post by: SA™ on September 03, 2012, 09:33:52 PM
yeah i fogot that one in sachat/themes/yourtheme/style.css

Code: [Select]
#top_cont_avatar{
position: relative;
bottom: 45px;
right: 5px;
width: 180px;
height: 40px;
}

ajust down
bottom: 45px;
Title: Re: SA Chat
Post by: Tien on September 05, 2012, 02:28:47 AM
I have this SA Chat installed in my forum running on 2.0.2. The scrollbar is not working when chat has been activated. A friend of mine asked me to advise my forum users whose using IE9 to go to "Tools" and clicked on the "Compatibility View" and the scroll bar started working again with the SA Chat on. Hope this little information helps.  ;D
Title: Re: SA Chat
Post by: SA™ on September 05, 2012, 02:43:09 AM
dam ie again huh? im not able to replicate this issue myself ive tryed with ie9 compate and without compat the only thing i did notice is befor the last update it did not work in ie9 with compat mode this was fixed in the last realse


can i have a link to your site to see it hapening? pm if you wanted
Title: Re: SA Chat
Post by: Realinfo on September 05, 2012, 06:25:41 AM
I have this SA Chat installed in my forum running on 2.0.2. The scrollbar is not working when chat has been activated. A friend of mine asked me to advise my forum users whose using IE9 to go to "Tools" and clicked on the "Compatibility View" and the scroll bar started working again with the SA Chat on. Hope this little information helps.  ;D

Yes....... This works on my site also............. But we need to guide all users for it.............. my site is www.realinfo.tv but Guests and Newbie can't see Chatbar..................
Title: Re: SA Chat
Post by: Realinfo on September 05, 2012, 06:27:10 AM
2. Can we have Transparent Bar ( so only written things appear and not bar)

3. Can one day you also add option of Voice chat and video chat
Title: Re: SA Chat
Post by: SA™ on September 05, 2012, 06:51:51 AM
2 yes what theme are you using?

3 maybe one day not sure how to go about this righ tnow so dont expect it anytime soon
Title: Re: SA Chat
Post by: SA™ on September 05, 2012, 06:54:49 AM
try this image i made it tranparent

upload the attached image to sachat/themes/yourtheme/images

Title: Re: SA Chat
Post by: Realinfo on September 05, 2012, 12:35:27 PM
wow........... Seem now all things are ok.............. Censor Words, Transparent Bar, Members can disable bar, no spamming,............ really wanna say thanks to you for such a awesome MOD............
Title: Re: SA Chat
Post by: Realinfo on September 07, 2012, 11:16:47 PM
I want to change position of Mute1,2.............. Want it more closer Right............ where it's in .css
Title: Re: SA Chat
Post by: SA™ on September 09, 2012, 11:41:01 AM
it is not in the css it is in the template.php

Code: [Select]
'.(empty($modSettings['2sichat_dis_list']) ? ' &nbsp;<a href="javascript:void(0)" onclick="javascript:chatSnd();">
<img id="chat_Snd" src="'.(!empty($_COOKIE["chatSnd"]) ? $themeurl.'/images/mute2.png':$themeurl.'/images/mute1.png').'" />
</a>':'').'
Title: Re: SA Chat
Post by: Banthe on September 12, 2012, 09:16:10 PM
I've installed the latest release RC 1, and all is working great except the Who's Online won't update it always shows (0).
I've checked Update Live setting but still no joy!

What could be the problem?

Fantastic mod by-the-way :)
Title: Re: SA Chat
Post by: SA™ on September 13, 2012, 03:18:59 PM
it should update by itself or when somone send a im to you it works perfect on my local machine

have you tryed the dev build here
https://github.com/SAMods/SAChatBar/downloads
Title: Re: SA Chat
Post by: Banthe on September 13, 2012, 04:26:49 PM
it should update by itself or when somone send a im to you it works perfect on my local machine

have you tryed the dev build here
https://github.com/SAMods/SAChatBar/downloads

Thanks, will give it a try now :)
Title: Re: SA Chat
Post by: freddosensei on September 13, 2012, 11:20:34 PM
I just installed this on my forum and we love it so far. looking forward to going through this thread and find more out about it.
Thank you so much.
Title: Re: SA Chat
Post by: beanflying on September 14, 2012, 04:09:57 AM
Not sure if your still in a programming mood ;)

Extra functionality - PM icon on the bar to flash or alternate colour on there being a new PM. It would save me and some others a mod (Currently using PM Informer).
Title: Re: SA Chat
Post by: eneru on September 21, 2012, 10:04:30 AM
Hi,

at first thanks for chat :-)

I have a problem with that window, it suck and i can't get rid of it :-( can You hep ??
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg15.imageshack.us%2Fimg15%2F8647%2Fsachat.png&hash=0b20045ba5372cc279fc74ed221772a0)

Have a nice day



Same problem here, plus the window is not moving anywhere, and the chat obviously doesn't work.
I'm on smf 2.0.2, I tried deleting all cookies, cleaning cache everywhere, with safari, chrome, mozilla, and going back to default core theme but with no results.

BTW Who's online and the networks links do work right.

Please, I need an help!
Title: Re: SA Chat
Post by: pevanis on September 25, 2012, 03:13:35 PM
Hello :-)  again thanks for Your wonderfull job, really nice chat  :)

Hi,

at first thanks for chat :-)

I have a problem with that window, it suck and i can't get rid of it :-( can You hep ??
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg15.imageshack.us%2Fimg15%2F8647%2Fsachat.png&hash=0b20045ba5372cc279fc74ed221772a0)

Have a nice day



Same problem here, plus the window is not moving anywhere, and the chat obviously doesn't work.
I'm on smf 2.0.2, I tried deleting all cookies, cleaning cache everywhere, with safari, chrome, mozilla, and going back to default core theme but with no results.

BTW Who's online and the networks links do work right.

Please, I need an help!

-  try clearing you brouser cookie and cache it helped for me.
Title: Re: SA Chat
Post by: eneru on September 26, 2012, 06:10:31 AM
Already done, but nothing changes!
Still the same problems as before.
Title: Re: SA Chat
Post by: Realinfo on September 26, 2012, 11:14:11 AM
Can we have "messenger" of this SA Chat.............. In Window and Android............. Like of Facebook Messenger ............ https://play.google.com/store/apps/details?id=com.facebook.orca&feature=search_result
Title: Re: SA Chat
Post by: pevanis on October 04, 2012, 02:00:40 PM


-  try clearing forum cache on Your server in SMF maintance    'This function will empty out the file cache should you need it to be cleared.'

Same problem here, plus the window is not moving anywhere, and the chat obviously doesn't work.
I'm on smf 2.0.2, I tried deleting all cookies, cleaning cache everywhere, with safari, chrome, mozilla, and going back to default core theme but with no results.

BTW Who's online and the networks links do work right.

Please, I need an help!
[/quote]
Title: Re: SA Chat
Post by: beanflying on October 06, 2012, 05:10:36 AM
I am on 2.0.2 and working fine. Running RC1 Rev59 if that helps.

A couple of the slightly earlier revisions of this update being uploaded earlier were giving me live update or users not showing issues?
Title: Re: SA Chat
Post by: SA™ on October 06, 2012, 11:29:44 AM
Quote
A couple of the slightly earlier revisions of this update being uploaded earlier were giving me live update or users not showing issues?

this is an issue still? have you tryed rc2?
https://github.com/SAMods/SAChatBar/downloads
Title: Re: SA Chat
Post by: beanflying on October 07, 2012, 12:53:40 AM
I had been happy with RC1 but I will drop RC2 on and have a look too.

** Installed and working fine :)
Title: Re: SA Chat
Post by: eneru on October 22, 2012, 01:33:52 PM
-  try clearing forum cache on Your server in SMF maintance    'This function will empty out the file cache should you need it to be cleared.'

I've done it but still no luck.

Maybe I uninstall and reinstall it again, even if it went thru with no problems at first.
Title: Re: SA Chat
Post by: blunted on October 29, 2012, 08:36:48 PM
I really love this mod but have an issue, it for some breaks ssl in both firefox and opera.

ie and chrome it does not.

any possible solution?

I'd hate to have to give up the mod as its great, but it breaks my sites ssl :(
Title: Re: SA Chat
Post by: SA™ on October 31, 2012, 12:57:38 PM
Yes in aware of this but I have no pc right now only my phone
Title: Re: SA Chat
Post by: freddosensei on November 05, 2012, 07:38:39 PM
Hi there,
I added this amazing function to my forum a few months ago but had to disable it.

Basically, I am based in Japan and all of my users are school teachers here. For some of them, when chat was enabled it locked them out of the forum. The error messages are all in Japanese but there always seemed to be some sort of connection error. They were all able to use the forum before chat was enabled.

The computers they use vary from nice new ones to really old ones running windows 2000. The network firewalls all vary and because of this, I have no idea how up-to-date their browsers, java, flash etc are. The only consistent thing is a connection error.

Do you have any ideas how to fix this?
Title: Re: SA Chat
Post by: available on November 06, 2012, 03:52:10 AM
thank for sharing
Title: Re: SA Chat
Post by: freddosensei on November 06, 2012, 08:02:28 PM
an update on my situation.

For some users, when chat is enabled they can access my forum with no issues and the chat bar is present. However, if I start a chat with them, nothing appears. Would this be a Java issue on their computer? Or a flash issue?
Title: Re: SA Chat
Post by: SA™ on November 07, 2012, 10:29:23 AM
this mod dont use java ot flash  maybe the users who have trouble need to clear there brouser cache ?
Title: Re: SA Chat
Post by: sterling1 on November 19, 2012, 09:47:23 PM
Hello,

We just transferred over to a new server and have found the chat bar not working anymore. We had never had any issues with it before the move and I must say our members really love it! I have tried to install the latest version and still have nothing showing up. Any ideas?
Title: Re: SA Chat
Post by: electricwildflower on November 27, 2012, 12:02:52 PM
This mod rocks i just installed it in my forum i am creating but got a few questions.

I am unsure where but could you tell me the correct file which i can edit the colors as blue doesn't really fit with my website :P

Is it possible to add custom buttons that take you to places such as a button to go to profile ?

Thanks again for this rocking mod :)
Title: Re: SA Chat
Post by: electricwildflower on November 27, 2012, 01:20:13 PM
It's cool i figured it out i just needed to edit sachat/themes/default/style.css and Regarding links was as easy as go to forums and admin then click SA Chat and find links button :)

Only problem was adding custom icons which i figured out in the end they needed to be 20x20 and the url to them was as easy as adding the custom icons in themes/default/images and then pointing to them.

Thanks for this very cool mod i know once my forums are up and running i will get alot of happy people :)
Title: Re: SA Chat
Post by: SA™ on November 27, 2012, 01:25:09 PM
Sachat/themes/yourtheme is were the themes are you create a copy of the defult theme in sachat admin and modify ot to your needs

Yea U can add custom links in sa chat admin aswell



Cool glad U sorted it
Title: Re: SA Chat
Post by: electricwildflower on November 28, 2012, 09:55:00 AM
I have another Question.

Would it be possible to swap the buttons and the who is online around IE buttons on left who is online on right ?
Title: Re: SA Chat
Post by: winsoft on November 28, 2012, 04:10:39 PM
i will give it a try, thanks.
Title: Re: SA Chat
Post by: ScottMescudi on November 29, 2012, 08:01:59 AM
Hey SA I have a question for you. I have been using chat bar for awhile now and I recently switched hosting and moved my SMF forum with chat bar over. Now SA chat bar still appears as installed and is in the admin panel, but the bar itself will not show up on the site. I have tried uninstalling and reinstalling with different versions as well. I also tried to CHMOD everytime.

Could there be a problem with maybe another mod pacakage I have installed that won't allow chat bar to function?

Title: Re: SA Chat
Post by: SA™ on December 01, 2012, 09:11:42 AM
did yopu try reinstalling ? can i have a link to t your site?
Title: Re: SA Chat
Post by: valtergomes on December 05, 2012, 07:18:17 AM
Hey SA,

first of all, Grats for such great mod!
But.. I'm having some issues.

I've installed the version RC2 from the github, and I can see the bar, I can see who's online, but when I click to chat with someone.. It just doesn't open the window and closes the "Who's Online" window..

Do you know what's causing this?

Cheers!
Title: Re: SA Chat
Post by: adisz on December 10, 2012, 08:42:56 PM
Hello,
I've got a problem with this mod.
It installed correctly, but there is nothing happening.
I've made a test forum instalation - problem is the same.

CHMOD is changed (755), but bar is not displayed.

As you can see:
Code: [Select]
http://airweia.home.pl/test/ - no chat bar

but
Code: [Select]
http://airweia.home.pl/test/sachat/index.php gives:
Code: [Select]
{"STATUS":"ACTIVE"}
and on e.g.
Code: [Select]
http://airweia.home.pl/test/sachat/index.php?action=body&theme=defaultgives a lot of (I suppose - working) code.

What may be wrong?
Sorry for my bad english.
Thanks a lot for a help!
Title: Re: SA Chat
Post by: electricwildflower on January 23, 2013, 06:35:48 AM
Got a couple of Questions for you and some ideas.

Will there be any new features in the future ?
Will this be officially updated to support 2.0.3 as in it shows on the mod page compatible with 2.0.3 ?

Note!!! it works like a dream on my current 2.0.3 installation i updated my test forum from 2.0.2 to 2.0.3 and sa chat bar carried on working although not tested installing it straight to 2.0.3

Few ideas that would be cool but there just ideas so see what you think.

how about a drop down menu or it might be a drop up menu of the forums categories such as you open the menu pick general category and it will take you to that part of the forum. Although not sure if it would be easy to implement due to every different SMF forum has different categories.

this would be cool for me and my members and can be easy to navigate :)

Who's online username clickable - not sure if it's already implemented or i carn't use it but how about having the who's online usernames clickable such as i could click a username and it would take me to there profile ?

Popup settings button - how about a settings button when click it opens up a box like the chat box does and you can edit your settings such as you could mute, change language permanently and anything else ?

I know you can do it in admin panel on the forum but this would be cool for a few settings you just want to edit quickly ?



Title: Re: SA Chat
Post by: SA™ on January 26, 2013, 03:11:04 PM
Quote
Will there be any new features in the future ?
maybe a few things

Quote
Will this be officially updated to support 2.0.3 as in it shows on the mod page compatible with 2.0.3 ?
this mod will work on 2.0.3 already but i can update the mod page :)

Quote
Who's online username clickable - not sure if it's already implemented or i carn't use it but how about having the who's online usernames clickable such as i could click a username and it would take me to there profile ?

that is already used to open the chat window? or am i misunderstanding?
Title: Re: SA Chat
Post by: electricwildflower on February 05, 2013, 11:43:49 AM
I think i might of confused my self on the last question.

when you click a username it opens up a chatbox but what about an option to view there profile when the chatbox is open as the little image besides the persons username does nothing.
Title: Re: SA Chat
Post by: SA™ on February 05, 2013, 01:44:08 PM
oh i see what you mean now you could modify the template to do this your self quit easy
Title: Re: SA Chat
Post by: electricwildflower on February 12, 2013, 01:46:34 PM
i will try that thanks.

Also a quick note i updated to smf 2.0.4 and it still works like a dream :)
Title: Re: SA Chat
Post by: Panoulis64 on February 16, 2013, 07:11:37 AM
Hi, SA ™
I installed the chat, but I have some strange  issues, though I have uninstalled and reinstalled several times.
The problem is that sometimes halts and does not display the list of friends (it is empty), or  can see the mine members and not i as a manager. If I do enter a member's profile, from the same computer, most often display the friends list.

Also, if the user has slow internet line, it sees him as a member and says to make entry.

However this tool I like and think are the best for the forum.
Thank you for your time
Title: Re: SA Chat
Post by: SA™ on February 17, 2013, 11:57:50 AM
what brouser you having issue with halts?

Quote
Also, if the user has slow internet line, it sees him as a member and says to make entry.

lol not much i can about your users having slow internet thats down to your users i have no controll over your users connection
Title: Re: SA Chat
Post by: SA™ on February 17, 2013, 12:08:22 PM
added rc2 version compatible with 2.0.4

minor code refactor in index.php
some code cleanup
moved functions to own file
updated images for new theme
new theme tweeks
thems can now use there own js files
added suport for word censoring
possible issue on some servers fixed [maybe?]
Title: Re: SA Chat
Post by: sunilimon on February 17, 2013, 12:51:37 PM
Could you change the description of the mod here http://custom.simplemachines.org/mods/index.php?mod=2534? the links doesn't work. You could include the change log IMHO :D
Title: Re: SA Chat
Post by: SA™ on February 17, 2013, 01:12:18 PM
the links are dead cos i do not have a site at the moment

Quote
You could include the change log IMHO

i do i just keep forgetting to update it thanks for reminding me :D
Title: Re: SA Chat
Post by: NightzKung on February 18, 2013, 09:27:48 AM
Hello SA. Thankkk for mod ขอบคุณมากมายจร้าาา
Title: Re: SA Chat
Post by: Panoulis64 on February 22, 2013, 10:30:26 AM
Dear SA,  I am sorry that I'm late to answer you.
I attach a picture to see the problem I see two explorer.
I've posted the new version rc2, but did not change anything!
To inform you that Recently, the server had trouble with hackers thus triggered the mod security.
So when the management I press CHMOD Files,  I get the message...
Quote
Method Not Implemented

GET to /index.php not supported.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Thank you for your time

Title: Re: SA Chat
Post by: SA™ on February 22, 2013, 10:41:36 AM
can you create me a test account on your site pls?

what version of firefox is that?
tested on
latested firefox
no issue found

i also see you have enotify installed have you tryed removing that see if it makes a difference?

try downloading this
https://github.com/SAMods/SAChatBar
then goto
site.com/sachat/sachattest.php

if it works there then it gotta be a issue with another mod
Title: Re: SA Chat
Post by: Panoulis64 on February 22, 2013, 12:02:32 PM
I have the 19.0  firefox, just installed it, but I do not see any change.

uninstalled it sachat rc2 & enotify, and installed what you said (SA Chat RC3 Rev61 ) from https://github.com/SAMods/SAChatBar, now not appear in either the explorer, firefox or chrome.

I did the test at http://www.triglianoi.gr/sachat/sachattest.php I received an error message in both explorer
Quote
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@triglianoi.gr and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I do not know if I understood correctly doing, because my angklika is not so good, I write from machine translation.

Title: Re: SA Chat
Post by: SA™ on February 22, 2013, 01:16:29 PM
sachatadmin/CHMOD

click the button
Title: Re: SA Chat
Post by: Panoulis64 on February 22, 2013, 01:58:47 PM

So when the management I press sachatadmin/CHMOD,  I get the message...
Quote
Method Not Implemented

GET to /index.php not supported.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Thank you for your time
Title: Re: SA Chat
Post by: SA™ on February 22, 2013, 02:13:24 PM
im sry i forgot that ealyer im tired

do you have mod_security enabled?
Title: Re: SA Chat
Post by: Panoulis64 on February 23, 2013, 07:19:33 AM
yes my hosting server.
Title: Re: SA Chat
Post by: SA™ on February 23, 2013, 10:40:38 AM
there is your issue ask you host to disable it
Title: Re: SA Chat
Post by: puw on February 26, 2013, 11:25:44 AM
Hi, am looking at SMF as a real possibility for a Radio Station forum. The one thing I need to have for it, I'm now beginning to think I am using the wrong terminology. I'm not sure of the difference now between a chatbox mod and a shoutbox mod.

What I want is for forum members to be able to have a public chat (to begin with) space, always on/showing, live/real time. So which one do I need, a chatbox or a shoutbox? The one I want, whichever term I should be using/looking for, is not a widget, not pushed into a column on the side with flags of users and not with the ability for guests to choose a nick and spam it etc, but is the main feature of the specific webpage/forum page (eg www.mysite/chat) - that all (and only) members can enter (through their logging in to the forum). At this moment in time, it can be a 'box' that shows on every forum page if needs be, or that (preferably) can be made to only show on one page via a forum link. It would be nice also if it could have a "locked" but running copy that shows outside of the forum (on a std webpage) to hopefully encourage people to join the forum and community.

Can someone help tell me and clarify which one I should be looking at please - chat or shout box? I hope my requirements are clear as I've spent two days going round in circles that I'm a bit dizzy now from lol.

Thank you.
Title: Re: SA Chat
Post by: SA™ on February 26, 2013, 12:40:01 PM
this isnt not neither of them this is basicly like facebook chat tho it does not have chat room at the moment user can chat to each other tho but it souds like you want a shoutbox maybe? or flash chat is nice google it
Title: Re: SA Chat
Post by: puw on February 26, 2013, 01:36:35 PM
Thx SA, was beginning to think it was a shoutbox and not a chatbox. Thx for clearing this up.
Title: Re: SA Chat
Post by: johnpaul2k2 on February 27, 2013, 04:38:41 AM
can i connect/integrate facebook, twitter and other social sites in One?
Title: Re: SA Chat
Post by: SA™ on February 27, 2013, 01:34:40 PM
what?
Title: Re: SA Chat
Post by: johnpaul2k2 on February 27, 2013, 01:48:33 PM
kinda....

use this mod to chat with friends on facebook, twitter and co
Title: Re: SA Chat
Post by: SA™ on February 27, 2013, 02:44:00 PM
i dont get what you mean?
Title: Re: SA Chat
Post by: pevanis on February 27, 2013, 04:21:07 PM
SA  :)

Thank Youuuuuuu  Sa chat is runnig smootly on  SMF 2.0.4 | SMF © 2011, Simple Machines  :)
Some of My members ask me how to block unwanted people is it possible some day ?
Title: Re: SA Chat
Post by: SA™ on February 27, 2013, 05:00:57 PM
in there profile look and layout show only buddies on chat bar is the only way for now maybe i can implement a ignor feature somtime
Title: Re: 2-SI Chat
Post by: johnpaul2k2 on February 28, 2013, 03:06:51 AM
The problem is custom themes, The chat usually only installs to the default theme's index.template.php. During the install you can select to install to additional themes but this does not always work.

Here is the manual way to install the chat on custom themes.

Open index.template.php in the theme you want 2-SI Chat to work in.

Find
Code: [Select]
</head>
Add Before
Code: [Select]
<script type="text/javascript" src="[b]http://www.your-site.com/path_to_forum[/b]/2sichat/index.php?action=head"></script>
Find
Code: [Select]
<body>
Add After
Code: [Select]
<script type="text/javascript" src="[b]http://www.your-site.com/path_to_forum[/b]/2sichat/index.php?action=body"></script>
Be sure to replace the path in the codes from http://www.your-site.com/path_to_forum to your site and path to your forum.

in order not to make any silly mistake, can someone give me an example with this

let's my site is topnichez.com,  how will i write it
Title: Re: SA Chat
Post by: SA™ on February 28, 2013, 01:43:11 PM
you dont need to add that anymore it all done by hooks
Title: Re: SA Chat
Post by: SA™ on February 28, 2013, 02:47:12 PM
SA  :)

Thank Youuuuuuu  Sa chat is runnig smootly on  SMF 2.0.4 | SMF © 2011, Simple Machines  :)
Some of My members ask me how to block unwanted people is it possible some day ?


i just took a look at the code there is support for pm block list built into smf but i havent tested this much i think it will only work if user dont have show buddys only enabled  need to fix that
Title: Re: SA Chat
Post by: johnpaul2k2 on February 28, 2013, 05:00:55 PM
The problem is custom themes, The chat usually only installs to the default theme's index.template.php. During the install you can select to install to additional themes but this does not always work.

Here is the manual way to install the chat on custom themes.

Open index.template.php in the theme you want 2-SI Chat to work in.

Find
Code: [Select]
</head>
Add Before
Code: [Select]
<script type="text/javascript" src="[b]http://www.your-site.com/path_to_forum[/b]/2sichat/index.php?action=head"></script>
Find
Code: [Select]
<body>
Add After
Code: [Select]
<script type="text/javascript" src="[b]http://www.your-site.com/path_to_forum[/b]/2sichat/index.php?action=body"></script>
Be sure to replace the path in the codes from http://www.your-site.com/path_to_forum to your site and path to your forum.

in order not to make any silly mistake, can someone give me an example with this

let's my site is topnichez.com,  how will i write it

i added the code but it didn't work on my custom theme
Title: Re: SA Chat
Post by: SA™ on February 28, 2013, 09:48:59 PM
you dont need to add that anymore it all done by hooks

do i relay need to keep repeating myself here?

if it dont show on your theme but does on other then its a theme issue not the mod
does it even show on the default theme?
Title: Re: SA Chat
Post by: johnpaul2k2 on March 04, 2013, 12:12:58 PM
you dont need to add that anymore it all done by hooks

do i relay need to keep repeating myself here?

if it dont show on your theme but does on other then its a theme issue not the mod
does it even show on the default theme?
nope, didn't show on default theme
Title: Re: SA Chat
Post by: SA™ on March 04, 2013, 01:12:00 PM
admin/sachat/chmod

click the link
Title: Re: SA Chat
Post by: johnpaul2k2 on March 04, 2013, 01:26:45 PM
thanks alot

working now. i was thinking fi there is a way i can be chatting with my friends on facebook from this SA Chat
Title: Re: SA Chat
Post by: SA™ on March 04, 2013, 01:30:45 PM
nope this is not and never will be possible
Title: Re: SA Chat
Post by: lc62003 on March 07, 2013, 10:37:00 PM
Would it be possible to mod the code to only show friends if they are online?  Not sure my explanation is very good. 


If a user has Show Only Buddies in chat bar enabled only the friends who are online are shown. 

If Show only Buddies in chat bar is not enabled, online users and online friends are shown. 

In either case only members who are online are shown, never people who are not online.  Did I confuse me yet?   :D 
Title: Re: SA Chat
Post by: SA™ on March 08, 2013, 09:24:16 AM
if your asking for it to show offline users then no never gonna happen it would just hog more resources
Title: Re: SA Chat
Post by: lc62003 on March 08, 2013, 10:29:32 AM
if your asking for it to show offline users then no never gonna happen it would just hog more resources


That's exactly what I don't want it to do.  Online only, including online friends only.   ;)  In other words show friends if they're online.  And if enabled show other online users.  Currently it shows the entire friends list even if they're offline.  Resource hogging is precisely what I don't want it to do.  Not to mention this huge long list to scroll through.  :D
Title: Re: SA Chat
Post by: SA™ on March 08, 2013, 12:09:38 PM
so if you have show only buddies enabled it shows offline and onlline not tested buddys much but i know it dontdo it if show buddies is disbled
confirmed

ill post an update on git hub in a little bit
Title: Re: SA Chat
Post by: SA™ on March 08, 2013, 12:20:32 PM
should be fixed
https://github.com/SAMods/SAChatBar/archive/master.zip
Title: Re: SA Chat
Post by: lc62003 on March 08, 2013, 02:09:05 PM
I found a bug?  Cool!!   :D  The fix works perfectly.  Thanks!!   8)
Title: Re: SA Chat
Post by: SA™ on March 08, 2013, 02:11:20 PM
Quote
I found a bug?
indeed you did  :)
Title: Re: SA Chat
Post by: lc62003 on March 08, 2013, 04:41:44 PM
I have a question.  In the Admin CP there is a control to Disable SA Chat.  That one is self- explanatory.  Then there is Disable Bar, which is labeled "Disable chat bar leaving features".  What is the difference between the two?  What features remain?  I tried the Disable Bar and the best I could tell Chat was completely disabled as well.  Thanks!
Title: Re: SA Chat
Post by: SA™ on March 08, 2013, 05:52:12 PM
not sure it was there when i took the mod over
Title: Re: SA Chat
Post by: nend on March 09, 2013, 12:31:37 AM
I haven't messed with the code for a while but that feature was to access widgets and the chat without the bar present. This is another option if you want to manually insert the links into your forum instead of using the bar.

Code: [Select]
<a href="javascript:void(0)" onclick="javascript:chatTo('5')">UserName</a>
This would open a chat box to a user with id 5, making chat possible without the bar but leaving the features behind.

You would probably have to be a developer to really miss around with this since there is no other mods that support this at this time.
Title: Re: SA Chat
Post by: lc62003 on March 09, 2013, 09:39:48 AM
Interesting.  That would make it easy enough to throw a chat link in a user's profile while not having to load the bar every page.  HHhhmm.... 8)  Thanks nend!
Title: Re: SA Chat
Post by: S Mac on March 12, 2013, 12:34:05 PM
It's a brilliant mod but it seems to be slowing down my forum when I refresh the page. So I want to disable the chat bar and only have it open at certain times. Is there a way to show what hours I'll be available to chat? I've seen it on other websites where it says something like: "Chat isn't available at the moment, check back at ...."
Is this possible?
Thanks
Title: Re: SA Chat
Post by: Tikkuy on April 04, 2013, 12:11:19 PM
Hey you guys! I was wondering if you could help me out. Everything's working perfectly so far apart from my smilies. Basically they're showing up as a blank red box, which when clicked on shows this url: http://www.pophatesfags.net/forum/http%3Cimg%20src=

Then after that is this in text format: /www.pophatesfags.net/forum/Smileys/Invision/-morning-.gif' />

It seems like the HTML is getting confused, but it only seems to be working on certain smilies. Any idea why this could be happening?
Title: Re: SA Chat
Post by: Panoulis64 on April 04, 2013, 02:22:32 PM
I encounter a crazy problem. Everything works correctly, members see their friends, but I can not say that as a manager I see them.
Unfortunately me display a zero, whiteboard, though many members are in the forum .....
Any idea???
Title: Re: SA Chat
Post by: SA™ on April 05, 2013, 03:14:39 PM
check your profile under look and layout there is a few options for the chat bar
Title: Re: SA Chat
Post by: Panoulis64 on April 06, 2013, 02:47:28 PM
I'll be grateful SA if you write the path to find the point you mention.
Unfortunately in my profile I do not see an option
Title: Re: SA Chat
Post by: SA™ on April 06, 2013, 04:04:10 PM
www.site.com/index.php?action=profile;area=theme

right at the bottom
this is only in the recent versions what version are you using?
Title: Re: SA Chat
Post by: Panoulis64 on April 07, 2013, 10:38:53 AM
SA Chat    RC2 Rev60  I have this version.

But I do not see any setting related.

To understand better push Attached photo.
We see in the photo, that:
Left blank looks, this is my problem (I'm an administrator there)
While on the right as a member, there are a few friends.
Title: Re: SA Chat
Post by: SA™ on April 07, 2013, 12:46:58 PM
try this one
https://github.com/SAMods/SAChatBar/archive/master.zip
Title: Re: SA Chat
Post by: Panoulis64 on April 07, 2013, 01:52:00 PM
Dude I've tired, but upped the master and did not see a difference.

I think I remove all files completely to clean the base and back to the upload from the beginning.
But this by tomorrow, to have time.

If you have another idea ....
Title: Re: SA Chat
Post by: littlenicki on April 23, 2013, 08:47:37 PM
Does somebody stil have the SMF 1.1 Version of this mod?
Title: Re: SA Chat
Post by: SA™ on April 23, 2013, 09:11:16 PM
nope i never had a 1.1x version there never will be
Title: Re: SA Chat
Post by: littlenicki on April 23, 2013, 10:04:02 PM
I mean the previous mod which SA chatbar has been built around
Title: Re: SA Chat
Post by: SA™ on April 24, 2013, 09:21:44 AM
sa chat was not built around another mod i took over the 2sichat mod and renamed it to sa chat

but even then there was never a offical 1.1x version realsed nend ported the first versions of the chat bar to smf 1.1 for his site but he never realsed it
Title: Re: SA Chat
Post by: littlenicki on April 26, 2013, 11:56:53 PM
Oh! I see! Then 2sichat  is what I am looking for! Does anybody happen to have a version of it please?
Title: Re: SA Chat
Post by: SA™ on April 27, 2013, 09:20:33 AM
sure it is on the mods download page called sachat :)
Title: Re: SA Chat
Post by: Tikkuy on April 29, 2013, 10:47:32 AM
Hey you guys! I was wondering if you could help me out. Everything's working perfectly so far apart from my smilies. Basically they're showing up as a blank red box, which when clicked on shows this url: http://www.pophatesfags.net/forum/http%3Cimg%20src=

Then after that is this in text format: /www.pophatesfags.net/forum/Smileys/Invision/-morning-.gif' />

It seems like the HTML is getting confused, but it only seems to be working on certain smilies. Any idea why this could be happening?

Sorry to repost this, but it's still happening and I was wondering if anyone had had a chance to take a look at it? I'm sorry for nagging but a lot of my users are complaining about it!

I've found that it also happens with URL's. Instead of getting "https://www.google.com.au/" I'm getting "/www.google.com.au/' target='_blank'>https/www.google.com.au/". I'd love some help, as other than this the chat is working perfectly!
Title: Re: SA Chat
Post by: SA™ on April 29, 2013, 01:23:32 PM
that happens when using urls in the chat ?
Title: Re: SA Chat
Post by: Tikkuy on May 02, 2013, 08:45:39 AM
that happens when using urls in the chat ?

Yes. It seems that my links aren't working properly, although I haven't seen anyone else in this topic with that problem. However, SA chat was the first mod I installed so I don't think it should be clashing with anything else (I could be wrong about this though).
Title: Re: SA Chat
Post by: SA™ on May 03, 2013, 03:05:46 PM
kk thanks for the report ill try to take a look this weekend  :)
Title: Re: SA Chat
Post by: Tikkuy on May 04, 2013, 10:40:17 AM
kk thanks for the report ill try to take a look this weekend  :)

Thanks a lot for your help! :)
Title: Re: SA Chat
Post by: Sparrow. on May 05, 2013, 12:44:55 PM
Hey,

I have installed the mod and I'm able to use it, however there's some errors. When I go to the administration center and I click on Gadgets I get this error:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FJCZgany.png&hash=850e98ae8666949be542bde2b443eade)

When I click on links I get this error:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FEx8l22S.png&hash=0fb1396a6d9f7ec86854886ccc85c8b6)

When I click on theme I get this error:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2Fv5YGZ4t.png&hash=4ab595c0e82a77504dffd9dcb8662dfd)

And when I click on Chmod I get this error:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FhAQqDXn.png&hash=b8e9976331dd8dd351160bdea29926a2)

What have I done wrong? And what can I do to fix this?
Title: Re: SA Chat
Post by: SA™ on May 07, 2013, 01:39:04 PM
what version are you using?
Title: Re: SA Chat
Post by: Sparrow. on May 08, 2013, 03:47:50 AM
I'm using the latest SMF, 2.0.4 and the latest SA Chat version available. I also tried it on the default theme and the same happens.
Title: Re: SA Chat
Post by: SA™ on May 08, 2013, 01:15:45 PM
im pretty sure i fixed this in the dev version

https://github.com/SAMods/SAChatBar/archive/master.zip

try that one and let me know

this was the problem
https://github.com/SAMods/SAChatBar/commit/8525e7cdf5b5bd3b88b36e75b5a698fcbe14b3a9
Title: Re: SA Chat
Post by: Sparrow. on May 08, 2013, 05:40:42 PM
Thanks, it's working now  :D
Seems like I was not using the lastest version of SA Chat after all, I had RC2. I downloaded from that link you posted now. You should update it here:
http://custom.simplemachines.org/mods/index.php?mod=2534
That's where I downloaded from :p
Title: Re: SA Chat
Post by: SA™ on May 08, 2013, 06:38:36 PM
RC2 is the latest version the one on git hub is a dev version
Title: Re: SA Chat
Post by: Sparrow. on May 08, 2013, 07:42:55 PM
RC2 is the latest version the one on git hub is a dev version
Oh I see, well the dev version seem to be working pretty good so far.  :)
Title: Re: SA Chat
Post by: skydachi2013 on May 09, 2013, 07:33:32 PM
Hey SA, just wanted to chime in like many to thank you for developing such a great mod. I've been using the RC2 and the Dev version without any major problems and loving it.

As for minor problems though, there's one. My forum uses smf4mobile and smf4mobile-mod to do the redirect. However, as far as I have been able to implement, there's no way to disable SAChat on certain theme, and thus, it loads over the mobile theme, and it gets stuck loading forever, probably because they're both fighting over jquery. Is there any way SAChat could be set to disable itself on certain themes we can define? Or hardcode such an exception for smf4mobile?

Otherwise I'm in love, it's just right now I keep having to choose in between mobile access and decent chat, and with how many of my users lack regular PC access I had to go for mobile for the time being.
Title: Re: SA Chat
Post by: Sparrow. on May 11, 2013, 12:37:35 PM
Ok, I'm having a different problem now. After installing it successfully on my test SMF localhost, I tried installing it on my forum FTP and it didn't went too good :/

The SMF package manager did not install all the files and some files were missing, so I copied the files that were missing from my localhost SMF on my pc and put them in their place on the FTP and it worked. The problem now is that the chat is not updating unless I minimize it and open it again. For example if there is users online and they talk to me using the chat, I don't get any notification (no sound) and the chat window doesn't appear with their message. Also if I talk to them, what I said doesn't appear in my chat window and their  chat window. For them to see that message they have to minimize the chat window and open it again and I have to do the same, that's the only way to update the chat. Do you understand my problem?

I don't know what could be the problem. Do I need to check some settings on my DB in phpmyadmin? I've set the file permissions to 755. What is the file that handles this action? Maybe I could try to replace it with the one on my localhost SMF where the mod was working fine.
Title: Re: SA Chat
Post by: SA™ on May 13, 2013, 08:34:06 AM
try admin/sa chat /chmod

should fix that issue
Title: Re: SA Chat
Post by: Sparrow. on May 13, 2013, 02:11:08 PM
try admin/sa chat /chmod

should fix that issue
Still didn't work  :-\
I wonder if any files need to be edited? I had to install all the files manually, I just copied and pasted the files to their correct locations.
Title: Re: SA Chat
Post by: skydachi2013 on May 14, 2013, 11:09:11 AM
Did you try checking via ftp to double check on the file permissions? If you had to install manually, it might indicate there was a conflict somewhere with how your forum install is setup. Retrace your steps on the install very carefully, especially with the additional files that SA Chat install in it's own folder on the root on the forum directory.

This actually got me pretty badly with one or two mods early on, so it's always worth going over.

SA, is there any possibility/chance of some kind of theme-sensitive auto-disable. I'm trying to hack one in there myself, but only having "progress" in the sense that it's disabled cause-its-broken kind of progress.

edit: gonna try a manual install this time, adding the SAchat theme code manually and only to the custom theme that I have running as the forum default. Maybe this might work...
Title: Re: SA Chat
Post by: SA™ on May 14, 2013, 12:46:14 PM
and did you run the install.php?

can you check your server error logs pls not forum error logs

Quote
SA, is there any possibility/chance of some kind of theme-sensitive auto-disable. I'm trying to hack one in there myself, but only having "progress" in the sense that it's disabled cause-its-broken kind of progress.

yo mean disable the bar on certain themes?  done this last night not commited the changes to git hub yet tho
Title: Re: SA Chat
Post by: skydachi2013 on May 14, 2013, 12:58:32 PM
and did you run the install.php?

can you check your server error logs pls not forum error logs

Quote
SA, is there any possibility/chance of some kind of theme-sensitive auto-disable. I'm trying to hack one in there myself, but only having "progress" in the sense that it's disabled cause-its-broken kind of progress.

yo mean disable the bar on certain themes?  done this last night not commited the changes to git hub yet tho

Your title "SMF Hero" has never been more accurate. I will be beta-testing the hell out of this when you make the commit. Thanks!
Title: Re: SA Chat
Post by: SA™ on May 14, 2013, 01:02:12 PM
user title?

thanks i problay wont commit it just yet have a few things/issues to sort first still need to fix the lagging query
Title: Re: SA Chat
Post by: Sparrow. on May 14, 2013, 02:08:55 PM
Thank you all for helping, it's working now, I don't know what was the problem. I just re-installed it again for the 3rd time manually, and it started to work ;D

EDIT: I've found the source of some of these user bugs and was able to reproduce it.

Hey SA,

first of all, Grats for such great mod!
But.. I'm having some issues.

I've installed the version RC2 from the github, and I can see the bar, I can see who's online, but when I click to chat with someone.. It just doesn't open the window and closes the "Who's Online" window..

Do you know what's causing this?

Cheers!

an update on my situation.

For some users, when chat is enabled they can access my forum with no issues and the chat bar is present. However, if I start a chat with them, nothing appears. Would this be a Java issue on their computer? Or a flash issue?
Seems like it won't open the chat window of any users who are using weird characters on their name or weird accents. For example if my name was "Chíd" the window would not open because of the character " í ". Just tought you'd want to know so you can fix it :p
Title: Re: SA Chat
Post by: SA™ on May 15, 2013, 06:53:37 AM
thanks Sparrow ill look into this one
Title: Re: SA Chat
Post by: Padre gremista on May 15, 2013, 05:56:49 PM
Good evening everyone.
I am using SA Chat and am having some problems in relation to the chat. Some members can use it normally, but some members can not even open the window to post the message. What can be happening?
Title: Re: SA Chat
Post by: SA™ on May 15, 2013, 06:42:58 PM
Seems like it won't open the chat window of any users who are using weird characters on their name or weird accents. For example if my name was "Chíd" the window would not open because of the character " í ". Just tought you'd want to know so you can fix it :p
Title: Re: SA Chat
Post by: skydachi2013 on May 19, 2013, 12:37:33 AM
If you need and beta testing or help feel free to post before making a commit. I'm sorta stalking your git repository now.
Title: Re: SA Chat
Post by: SA™ on May 19, 2013, 03:12:09 PM
lol thanks im just about ready kinda to commit my changes there is  litle issue holding me back tho

Seems like it won't open the chat window of any users who are using weird characters on their name or weird accents. For example if my name was "Chíd" the window would not open because of the character " í ". Just tought you'd want to know so you can fix it :p

this one has beaten me so far nothing seems to work thats whats realy holding me back never been to good with that stuff
Title: Re: SA Chat
Post by: SA™ on May 21, 2013, 06:44:24 PM
https://github.com/SAMods/SAChatBar  8)

Title: Re: SA Chat
Post by: SA™ on May 26, 2013, 03:55:55 PM
=====SA Chat RC3 Rev64 Realsed=====
used proper php opening tag
show default themes but dont allow deletion
added test cht file for testing chat and preveiwing themes [acessed via site.com/sachat/sachattest.php]
fixed load checking issues
removed old default theme from package
enabled update online by default
admin ui changes
added optopn to reset member themes
copy js when copying theme
added options to disable bar on certain themes
improved genMemList() function
improved genMemcount() now uses genMemList('count')
fixed profile chat bar settings
function initOptions() only gets whats needed
fixed issue with utf8 special charactors
improved page loading time
moved $user_settings = loadUserSettings($member_id); from template buddy_list to genMemList()
added way to refresh bar manualy
removed init options functiionn no longer needed
fixed incorrect avatars showing
Title: Re: SA Chat
Post by: sunilimon on May 29, 2013, 06:28:04 PM
Sorry, but install packet doesn't work, smf says that is not well done or corrupt. Thanks!
Title: Re: SA Chat
Post by: SA™ on May 29, 2013, 06:51:16 PM
fixed
Title: Re: SA Chat
Post by: sunilimon on May 30, 2013, 05:47:32 AM
Install works great now! but when I chmod files the forum doesn't work properly. Too many time charging and resource limit problems. Could you check it?
Title: Re: SA Chat
Post by: SA™ on May 30, 2013, 11:58:00 AM
i will try and see
Title: Re: SA Chat
Post by: SA™ on May 31, 2013, 10:26:07 PM
Install works great now! but when I chmod files the forum doesn't work properly. Too many time charging and resource limit problems. Could you check it?
try this one

https://github.com/SAMods/SAChatBar
Title: Re: SA Chat
Post by: sunilimon on June 01, 2013, 09:41:46 AM
Sorry, again I can't install the package. Thanks for your support! :D
Title: Re: SA Chat
Post by: SA™ on June 01, 2013, 12:56:53 PM
in the futer download the package if it from git hub open it and extracked the filesthen re zip the files inside the folder attached is a working dev package
Title: Re: SA Chat
Post by: sunilimon on June 02, 2013, 06:28:05 AM
Yes! works great now! How I can disable the time of loading and queries? Nice redesign! It could be interesting in near updates that chats could be near the bar, like Facebook, sometimes it's difficult read the forum when some writes you. Thank you very much for your support!
Title: Re: SA Chat
Post by: SA™ on June 02, 2013, 02:49:08 PM
sachat/index.php

$debug_load = true;

change the true to false
Title: Re: SA Chat
Post by: pevanis on June 03, 2013, 03:17:04 PM
 :(
Hi,
I had  SAChat RC1 at SMF 2.4 works perfect
Today i had try update to Bar-master _- doesn't work at all - CHMOD /Method Not Implemented GET to /index.php not supported.
                     Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
-----------------------------------------------------------------------------------------------------
second try  SAChatBarRC3 - CHMOD /Method Not Implemented GET to /index.php not supported.
                     Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
-----------------------------------------------------------------------------
than SAChatBar-rc2 - - CHMOD /Method Not Implemented GET to /index.php not supported.
                     Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
------------------------------------------------------------------------------------------------
than try to back on RC! same thing :-(

 What can i do ????  :(

Thanks
Title: Re: SA Chat
Post by: pevanis on June 03, 2013, 03:18:34 PM
At the moment I'll be very happy with working old version :-(
Title: Re: SA Chat
Post by: SA™ on June 03, 2013, 04:05:12 PM
sounds like your host enabled mod_security you can try and disable it with .htaccess if your host allowes it if not just ask them if they can disable it
not sure why it would affect that tho any errors in forum error logs?
Title: Re: SA Chat
Post by: sunilimon on June 04, 2013, 05:44:37 AM
It works properly now, but we have  sometimes problems of overload. Also you may change the website (sa-mods.info) to another one, for example the github repository. Thank you very much for this great mod, is the best chat experience for SMF
Title: Re: SA Chat
Post by: pevanis on June 04, 2013, 08:12:16 AM
sounds like your host enabled mod_security you can try and disable it with .htaccess if your host allowes it if not just ask them if they can disable it
not sure why it would affect that tho any errors in forum error logs?

Thanks for answer :-)
Now it's working but
There's  Error Message :
INFO

   Undefined offset: 3870

   File: /home/bdsmhrva/public_html/sachat/functions.php
Line: 607
Title: Re: SA Chat
Post by: pevanis on June 04, 2013, 08:21:20 AM
sounds like your host enabled mod_security you can try and disable it with .htaccess if your host allowes it if not just ask them if they can disable it
not sure why it would affect that tho any errors in forum error logs?

Thanks for answer :-)
Now it's working but
There's  Error Message :
INFO

   Undefined offset: 3870

   File: /home/bdsmhrva/public_html/sachat/functions.php
Line: 607
NFO

   Undefined offset: 5758

   File: /home/bdsmhrva/public_html/sachat/functions.php
Line: 607

   
INFO

   Undefined offset: 3870

   File: /home/bdsmhrva/public_html/sachat/functions.php
Line: 607

and that just that Undefined offset: 3870 and Undefined offset: 5758 and always is in:

File: /home/bdsmhrva/public_html/sachat/functions.php   Line: 607
Title: Re: SA Chat
Post by: SA™ on June 04, 2013, 10:13:49 AM
yup this is fixed https://github.com/SAMods/SAChatBar/commit/54b491e26e6ad528d8812968a382c89a650bdda2

it is caused by ajax when it refreshes and people go off line

Title: Re: SA Chat
Post by: pevanis on June 04, 2013, 11:22:15 AM
Thank You 1000 times  :D
It's working without error now :-)
I noticed that dark skin isn't working with this version but i presume that's incompatible now ?
Title: Re: SA Chat
Post by: SA™ on June 04, 2013, 12:06:40 PM
indeed it would need updating but it would be easyer to copy the default theme and base yours on that
Title: Re: SA Chat
Post by: pevanis on June 04, 2013, 01:15:15 PM
Thank You :-)
Title: Re: SA Chat
Post by: skydachi2013 on June 04, 2013, 09:14:11 PM
Chiming in to say the latest version with the ability to exclude certain themes, and something in the code changed for me that made the load time instantaneous again. Thank you for all your hard work on this, it's amazing!

Bug:
Chat windows on Refresh: If you have multiple windows open, and refresh, they load ontop/into of each other. If you collapse that chat, refresh, the previous one will appear where it was, and so forth until they all show up again.
Title: Re: SA Chat
Post by: sunilimon on June 05, 2013, 10:37:46 AM
This is why I say that a chatbar like Facebook (with contacts on a group and chat windows fixed on the bar) could solve the problem :D
Title: Re: SA Chat
Post by: skydachi2013 on June 05, 2013, 10:56:21 AM
This is why I say that a chatbar like Facebook (with contacts on a group and chat windows fixed on the bar) could solve the problem :D

Sort of a different issue but I see what you're saying. You're saying remove the free-floating window placement and bind their positions to the bottom bar instead. Honestly not a bad choice in my opinion (works for Google and Facebook), and might simplify the code a lot by no longer having to track window positions or those UI elements in the db. I'd definitely appreciate it as a new feature if theirs enough interest in implementing it. Also a "minimum width" for the clickable name element at the bottom would be nice.
Title: Re: SA Chat
Post by: realJedi on June 05, 2013, 11:36:49 AM
This is for formal German.

Code: [Select]
$txt['home'] = 'Startseite';
$txt['msgs'] = 'Nachrichten';
$txt['myspace'] = 'MySpace';
$txt['twitter'] = 'Tweeten';
$txt['facebook'] = 'Facebook';
$txt['whos_on'] = 'Benutzer online';
$txt['guest_msg'] = 'Willkommen. Bitte <a class="white" href="'.$boardurl.'/index.php?action=login">einloggen</a> oder <a class="white" href="'.$boardurl.'/index.php?action=register">registrieren.</a>';
$txt['load_warning'] = 'Der Chat ist aufgrund einer hohen Serverlast im Moment nicht verf&uuml;gbar.';

Code: [Select]
$txt['2sichat_mn_heart'] = 'Server-Verbindung aktualisieren';
$txt['2sichat_mn_heart_sub'] = 'In ms<br />Beispiel: 30000 = 30 Sekunden<br />Hinweis: Ein zu niedriger Wert kann Probleme mit der Datenbankverbindung verursachen.<hr />';
$txt['2sichat_cw_h_enable'] = 'Chatfenster Server-Verbindung';
$txt['2sichat_cw_h_e_sub'] = 'Seperate Verbindung f&uuml;r jedes Chatfenster';
$txt['2sichat_cw_heart'] = 'Chatfenster-Verbindung aktualisieren';
$txt['2sichat_cw_heart_sub'] = 'In ms<br />Beispiel: 15000 = 15 Secunden<br />Hinweis: Ein zu niedriger Wert kann Probleme mit der Datenbankverbindung verursachen.<hr />';
$txt['2sichat_purge'] = 'Gelesene Nachrichten l&ouml;schen';
$txt['2sichat_purge_sub'] = 'Gelesene Machrichten nach wievielen Tagen l&ouml;schen?<hr />';
$txt['2sichat_purge_all'] = 'Alle Nachrichten bereinigen';
$txt['2sichat_purge_a_sub'] = '<span style="color:red">Achtung! Diese Aktion l&ouml;scht alle Chat-Nachrichten.<br />Dies setzt auch den automatischen Z&auml;hler zur&uuml;ck.</span><hr />';
$txt['2sichat_gad_trans'] = 'Seiten&uuml;bersetzung aktivieren';
$txt['2sichat_gad_lang'] = 'Sprach-Code';
$txt['2sichat_gad_lang_sub'] = 'Der Seiten&uuml;bersetzer ben&ouml;tigt einen Sprach-Code.<br />Dies sollte die Standardsprache Ihrer Webseite sein.<hr />';
$txt['2sichat_ico_home'] = 'Startseiten-Icon anzeigen';
$txt['2sichat_ico_pm'] = 'PM-Icon anzeigen';
$txt['2sichat_ico_myspace'] = 'Myspace-Icon anzeigen';
$txt['2sichat_ico_twit'] = 'Twitter-Icon anzeigen';
$txt['2sichat_ico_fb'] = 'Facebook-Icon anzeigen<hr />';
$txt['2sichat'] = 'SA Chat';
$txt['twosichatConfig'] = 'Einstellungen';
$txt['twosichatGadget'] = 'Gadgets';
$txt['2sichat_admin'] = 'SA Chat Administration';
$txt['2sichat_config'] = 'SA Chat Konfiguration';
$txt['2sichat_config_des'] = 'Hier k&ouml;nnen die Haupteinstellungen f&uuml;r SA Chat vorgenommen werden';
$txt['2sichat_gadgets'] = 'SA Chat Gadgets';
$txt['2sichat_gadgets_des'] = 'Eigene Gadgets hinzuf&uuml;gen';
$txt['2sichat_gad_add'] = 'Gadget hinzuf&uuml;gen';
$txt['2sichat_title'] = 'Titel';
$txt['2sichat_url'] = 'URL/Gadget Code';
$txt['2sichat_width'] = 'Breite';
$txt['2sichat_height'] = 'H&ouml;he';
$txt['2sichat_vis'] = 'Sichtbarkeit';
$txt['2sichat_vis0'] = 'Versteckt';
$txt['2sichat_vis1'] = 'Mitglieder';
$txt['2sichat_vis2'] = 'Gast';
$txt['2sichat_vis3'] = 'Alle';
$txt['2sichat_ord'] = 'Sortierung';
$txt['2sichat_preview'] = 'Vorschau';
$txt['2sichat_edit'] = 'Bearbeiten';
$txt['2sichat_delete'] = 'L&ouml;schen';
$txt['2sichat_link'] = 'Link';
$txt['2sichat_list_type'] = 'Alle online Benutzer anzeigen';
$txt['2sichat_list_t_sub'] = 'Zeigt jeden online Benutzer an, statt lediglich die Freunde.<hr />';
$txt['2sichat_dis_list'] = 'Chatliste deaktivieren';
$txt['2sichat_dis_l_sub'] = 'Entfernt die <i>Benutzer online</i>-Liste.<hr />';
$txt['2sichat_disable'] = 'SA Chat deaktivieren';
$txt['2sichat_disable_sub'] = 'Deaktiviert SA Chat und alle Erweiterungen.<hr />';
$txt['2sichat_dis_bar'] = 'Chat-Leiste deaktivieren';
$txt['2sichat_dis_b_sub'] = 'Chat-Leiste deaktivieren, Erweiterungen aktiviert lassen.<hr />';
$txt['2sichat_load_chk'] = 'Auslastungspr&uuml;fung aktivieren';
$txt['2sichat_max_load'] = 'H&ouml;chste Ladelast';
$txt['2sichat_max_l_sub'] = 'Durchschnittliche Ladelast des Servers';
$txt['2sichat_load_dis_list'] = 'Bei hoher Auslastung Chat-Liste deaktivieren';
$txt['2sichat_load_dis_chat'] = 'Bei hoher Auslastung SA Chat deaktivieren';
$txt['2sichat_load_dis_bar'] = 'Bei hoher Auslastung Chat-Leiste deaktivieren';
$txt['2sichat_live_online'] = 'Online-Liste live aktualisieren';
$txt['2sichat_simple_bbc'] = 'Einfaches BBC aktivieren<hr />';
$txt['2sichat_permissions'] = 'Gruppenfreigaben aktivieren';
$txt['2sichat_permissions_sub'] = 'Hiermit k&ouml;nnen die Gruppenfreigaben in SMF verwaltet werden.<br />Hinweis: Die Einstellungen auf dieser Seite &uuml,berschreiben die Freigabeeinstellungen.<hr />';
Title: Re: SA Chat
Post by: SA™ on June 05, 2013, 01:00:11 PM
This is why I say that a chatbar like Facebook (with contacts on a group and chat windows fixed on the bar) could solve the problem :D

Sort of a different issue but I see what you're saying. You're saying remove the free-floating window placement and bind their positions to the bottom bar instead. Honestly not a bad choice in my opinion (works for Google and Facebook), and might simplify the code a lot by no longer having to track window positions or those UI elements in the db. I'd definitely appreciate it as a new feature if theirs enough interest in implementing it. Also a "minimum width" for the clickable name element at the bottom would be nice.

it will only be theme changes todo what you wanted  ill see wanted to move the chat windows anyway

Quote
This is for formal German.


thanks for the translation
Title: Re: SA Chat
Post by: neonsyrup on June 06, 2013, 04:34:52 AM
Anyone know why pages don't load correctly with this mod installed? Like, it loads funny compared to normal.
Title: Re: SA Chat
Post by: SA™ on June 06, 2013, 09:38:36 AM
try this one attachedd to this post
http://www.simplemachines.org/community/index.php?topic=391961.msg3555797#msg3555797
or
https://github.com/SAMods/SAChatBar
Title: Re: SA Chat
Post by: Kindred on June 06, 2013, 03:58:01 PM
hmmm.... installed rev65 in place of rev60 (although rev60 seemed to work correctly....)

now I can't find the chat bar...
(IE9)
I can see a blue bar across the bottom that is a pizel in height... but can't get it to do anything
Title: Re: SA Chat
Post by: neonsyrup on June 06, 2013, 04:08:26 PM
try this one attachedd to this post
http://www.simplemachines.org/community/index.php?topic=391961.msg3555797#msg3555797
or
https://github.com/SAMods/SAChatBar

Naw, none of those worked. Is there maybe an older version that will work?
Title: Re: SA Chat
Post by: Kindred on June 06, 2013, 04:17:06 PM
define "loads funny"
That is not really a useful description
Title: Re: SA Chat
Post by: SA™ on June 06, 2013, 05:08:22 PM
hmmm.... installed rev65 in place of rev60 (although rev60 seemed to work correctly....)

now I can't find the chat bar...
(IE9)
I can see a blue bar across the bottom that is a pizel in height... but can't get it to do anything

did you run the fix bar thing in sachat admin?
Title: Re: SA Chat
Post by: Kindred on June 06, 2013, 05:21:20 PM
good call.   that fixed it (and I missed it... 'DOH!)
Title: Re: SA Chat
Post by: neonsyrup on June 06, 2013, 05:25:41 PM
It's hard to explain, it's like have the screen is white for a few seconds and the text at the bottom of the page is displayed on it but bigger, then it goes normal and lags a little bit. Goes completely normal when SA isnt installed with normal instant page loads.
Title: Re: SA Chat
Post by: Skaty on June 06, 2013, 07:15:19 PM
tried it in vanilla smf but can't see the bar, it is activated.
Title: Re: SA Chat
Post by: Kindred on June 06, 2013, 08:12:49 PM
did you run the fix bar thing in sachat admin?
Title: Re: SA Chat
Post by: Skaty on June 06, 2013, 08:33:23 PM
did you run the fix bar thing in sachat admin?

same mistake :) fixed indeed.
Title: Re: SA Chat
Post by: SA™ on June 07, 2013, 02:05:30 AM
It's hard to explain, it's like have the screen is white for a few seconds and the text at the bottom of the page is displayed on it but bigger, then it goes normal and lags a little bit. Goes completely normal when SA isnt installed with normal instant page loads.

gotta link to your site with it installed?
Title: Re: SA Chat
Post by: neonsyrup on June 07, 2013, 04:12:43 AM
Yeah, http://www.outsiderscorner.com and I tested it with firefox and chrome, not sure about IE. It should be easy to see what I'm talking about, but it could possibly be my internet speed or computer?
Title: Re: SA Chat
Post by: SA™ on June 07, 2013, 01:20:37 PM
seems to be loaadin sweet for me
maybe as you say internet connection
Title: Re: SA Chat
Post by: neonsyrup on June 07, 2013, 04:55:06 PM
Thank you for looking into it. Good and fast support
Title: Re: SA Chat
Post by: Kaise123 on July 25, 2013, 02:38:01 PM
I'm having some trouble with this and SMF4Mobile. Whenever SA chat is enabled, Mobile users cannot view the forum at all and only the chat bar loads. I've tried disabling it for the theme, But it doesn't disable, I've checked it with multiple themes. Is this feature currently broken/can anyone link me to a version where it works? I'm running RC4 Rev65. Thanks
Title: Re: SA Chat
Post by: Kindred on July 25, 2013, 02:44:14 PM
I am betting that there is some conlficiton interaction between the smf4mobile functions and the chatbar functions....  Since smf4mobile is a paid theme/mod and none of the rets of us even have a copy available to test it, I think you'd be best to take it up with them
Title: Re: SA Chat
Post by: SA™ on July 25, 2013, 05:00:17 PM
I am betting that there is some conlficiton interaction between the smf4mobile functions and the chatbar functions....  Since smf4mobile is a paid theme/mod and none of the rets of us even have a copy available to test it, I think you'd be best to take it up with them

maybe but people enter the themes wrong sometime 

I'm having some trouble with this and SMF4Mobile. Whenever SA chat is enabled, Mobile users cannot view the forum at all and only the chat bar loads. I've tried disabling it for the theme, But it doesn't disable, I've checked it with multiple themes. Is this feature currently broken/can anyone link me to a version where it works? I'm running RC4 Rev65. Thanks

you followinmg the instructions in admin to add disabled themes?
if so dont use theme(id) just use id
Title: Re: SA Chat
Post by: Kaise123 on July 26, 2013, 04:26:13 AM
Thanks for the fast response!

I just put 'SMF4Mobile' in the disabled themes box, And I checked through the theme's configuration/information files to make sure it didn't have any other internal reference. By Theme ID, Do you mean the number that the theme is when you change it manually ("/index.php?theme=1")?

EDIT: I put a '4' in the box and it worked perfectly! Thank you very much. It might be a good idea to put that on the admin page/here on the OP as

"Disable bar on certain themes

Separate each theme with a "|"
Example:
theme1|theme2|theme3"

Doesn't really explain that you need to put the ID/What the ID is.

Thanks again
Title: Re: SA Chat
Post by: SA™ on July 26, 2013, 10:16:36 AM
no it doesnt your correct i will chnge that wording
Title: Re: SA Chat
Post by: Kaise123 on July 26, 2013, 02:34:33 PM
no it doesnt your correct i will chnge that wording

Awesome, I'm sure that'll help alot of people. Thanks again :D
Title: Re: SA Chat
Post by: Game.ruler on August 08, 2013, 03:21:55 AM
i installed SA chatbar (downloaded from git hub) but now my site showing "404 not found"...
how to disable it???
Title: Re: SA Chat
Post by: SA™ on August 08, 2013, 04:41:23 AM
download the package again to your desctop extracked it and grab the remove_hooks.php and upload it to your site same place as your ssi.php and point you brouser to site.com/remove_hooks.php
Title: Re: SA Chat
Post by: electricwildflower on August 08, 2013, 06:23:15 AM
Got abit of a problem and need your support.

I am running a older version of sachat RC1 Rev59 i completely forgot i had it installed for ages and come to check for updates which i noticed SAChatBarRC3.zip so i un installed the mod on my test forum and uploaded the RC3 version and installed everything it all went fine but the problem is nothing shows.

Not a single thing shows anywhere only the SAchat settings in admin shows. The bar doesn't show on profile, forum, admin my custom php files on my website, nothing it's like it's not installed even though it clearly is in admin.

I have the below in all my custom php files but still nothing.

Code: [Select]
<script type="text/javascript" src="http://keepitrealkeepitgoth.com/test/forum/sachat/index.php?action=head">
<script type="text/javascript" src="http://keepitrealkeepitgoth.com/test/forum/sachat/index.php?action=body">

Checked all the settings just to make sure anything is disabled and everything looks ok. Have i gone wrong somewhere or is there a bug or something i am running smf 2.0.4

Thanks ahead for the support :)
Title: Re: SA Chat
Post by: SA™ on August 08, 2013, 10:20:49 AM
did you run the fix bar thing in sachat admin?
Title: Re: SA Chat
Post by: electricwildflower on August 08, 2013, 11:03:42 AM
Excuse me if i am stupid but i see no option in sachat admin to do it i just see the disable sa chat, disable bar, permissions, enable facebook etc but no where to run fix bar or anything of the sort.

It's partially fixed it's self my custom php files show the bar fine but the forums and everywhere else show nothing
Title: Re: SA Chat
Post by: SA™ on August 09, 2013, 09:58:31 AM
did you even look past the first admin page

eg admin/sa chat/maintenance fix bar thing is on that page at the bottom


edit
sry i havent upload that version yet with maintenance use this one here
http://samods.github.io/SAChatBar/

that one seem to not lag ure site as much sry for the confusion
Title: Re: SA Chat
Post by: electricwildflower on August 09, 2013, 01:11:04 PM
Thanks for the reply.

Had problems trying to upload the zip version complained it was empty even though i extracted it to make sure it wasn't but the tar.gz uploaded fine and installed. These are the files on the link you gave me to check out.

I still had the same problem i checked out the following

Ran fix bar
Ran clear cache,
Ran purg all messages
Ran Optimise Database tables
made sure permissions where set right for members, guests etc.
checked out error logs and nothing pointing to sachat

Nothing seemed to fix it but oddly enough i decided to back up my main website and installed the chatbar but it never showed and after i ran fix bar it showed up and now runs fine on the main website. I decided to delete my test website as it mirrors my main and just copy the main and run the repair settings.php and everything is ok now.

not sure what the problem was as i was also having problems getting into admin which would always tell me i was logged out and needed to sign back in to get to admin.

Anyway all works now Cheers :)
Title: Re: SA Chat
Post by: Kindred on August 09, 2013, 01:13:38 PM
the issue with zip versions from github is known...

github puts the zip versions two layers deep, which means, whent he package manager goes to extract it, all it finds is another layer of directories, no XML install file
Title: Re: SA Chat
Post by: SA™ on August 10, 2013, 07:48:15 AM
Thanks for the reply.

Had problems trying to upload the zip version complained it was empty even though i extracted it to make sure it wasn't but the tar.gz uploaded fine and installed. These are the files on the link you gave me to check out.

I still had the same problem i checked out the following

Ran fix bar
Ran clear cache,
Ran purg all messages
Ran Optimise Database tables
made sure permissions where set right for members, guests etc.
checked out error logs and nothing pointing to sachat

Nothing seemed to fix it but oddly enough i decided to back up my main website and installed the chatbar but it never showed and after i ran fix bar it showed up and now runs fine on the main website. I decided to delete my test website as it mirrors my main and just copy the main and run the repair settings.php and everything is ok now.

not sure what the problem was as i was also having problems getting into admin which would always tell me i was logged out and needed to sign back in to get to admin.

Anyway all works now Cheers :)

glad u got it working
just so you know there is a chat test page here
http://site.com/forum/sachat/sachattest.php chances are if it works there and no were else it a conflict with somthing
Title: Re: SA Chat
Post by: electricwildflower on August 10, 2013, 11:03:17 AM
Seems the link you sent me is down ;)
Title: Re: SA Chat
Post by: SA™ on August 10, 2013, 11:23:05 AM
well yes you have to replace site.com with your site :P
Title: Re: SA Chat
Post by: electricwildflower on August 10, 2013, 01:40:21 PM
Oh haha sorry :P
Title: Re: SA Chat
Post by: electricwildflower on August 19, 2013, 12:12:40 PM
Have a question if you can help me unless i have missed the questions already being asked.

Anyone know how i can attach the chatbox to the sachat bar as it performs horribly when it's on it's own. It would be much better and look better if it was attached.

I am unsure on what code i have to edit ?

Cheers
Title: Re: SA Chat
Post by: SA™ on August 19, 2013, 01:40:07 PM
What? Didn't get that
Title: Re: SA Chat
Post by: electricwildflower on August 19, 2013, 02:28:47 PM
Sorry i might of worded that wrong.

When i chat to someone the chat box i use to chat is not attached to the actual bar which is what i am looking to do. So when someone wants to chat it will open up but stay attached the the actual bar if you get me :P
Title: Re: SA Chat
Post by: SA™ on August 20, 2013, 07:19:38 AM
your have to mod the theme a bit i cant rwaly say how as ive still not got the hand of the theme sytsem in this mod i didnt code that part
Title: Re: SA Chat
Post by: electricwildflower on August 20, 2013, 10:37:03 AM
Ah ok i will look into the theme and see how i can mod if Cheers :)
Title: Re: SA Chat
Post by: enen92 on September 03, 2013, 01:57:48 PM
Hey all,

Is it possible to append the conversation windows to the bar without opening them aside? Like in facebook chat or "Who's online" option?

Thanks
Title: Re: SA Chat
Post by: SA™ on September 03, 2013, 02:19:33 PM
your have to mod the theme a bit i cant realy say how as ive still not got the hand of the theme system in this mod i didn't code that part


i am trying different things with smf 2.1 themeing isnt realy my thing  :D
Title: Re: SA Chat
Post by: Cat McFarlane on September 13, 2013, 04:32:09 AM
Hiya, I've installed it without errors, on SMF 2.5.0, using Fresh Looks, but I can't see it anywhere.
Thanks, Cat
Title: Re: SA Chat
Post by: SA™ on September 13, 2013, 10:06:38 AM
in maintenace in sa chat admin ran the fix bar thing
Title: Re: SA Chat
Post by: Cat McFarlane on September 13, 2013, 05:38:44 PM
in maintenace in sa chat admin ran the fix bar thing

Thanks SA  :) Sorry, but I must be missing something. I installed it fine, were no error messages. Using Fresh Looks. Have used CHMOD, but still not seeing it. Was there code to put into SimplePortal boxes, something extra I've not done? I must admit to not knowing what this means or what code to use ... "The integration codes can be put into any html code. One in the head and one in the body. The install script however installs the JavaScript codes by default in the default theme, but you can add these codes into whatever template you like SMF or not".
Title: Re: SA Chat
Post by: SA™ on September 14, 2013, 10:44:36 AM
sry try this one here
http://samods.github.io/SAChatBar/
Title: Re: SA Chat
Post by: Cat McFarlane on September 14, 2013, 12:50:45 PM
sry try this one here
http://samods.github.io/SAChatBar/

Thanks for new upload link/package.  :) I couldn't upload it to forum.
Title: Re: SA Chat
Post by: SA™ on September 15, 2013, 11:04:20 AM
the issue with zip versions from github is known...

github puts the zip versions two layers deep, which means, whent he package manager goes to extract it, all it finds is another layer of directories, no XML install file

try the tar.gz one
Title: Re: 2-SI Chat
Post by: azkia on September 27, 2013, 08:24:21 PM
The problem is custom themes, The chat usually only installs to the default theme's index.template.php. During the install you can select to install to additional themes but this does not always work.

Here is the manual way to install the chat on custom themes.

Open index.template.php in the theme you want 2-SI Chat to work in.

Find
Code: [Select]
</head>
Add Before
Code: [Select]
<script type="text/javascript" src="http://www.your-site.com/path_to_forum/2sichat/index.php?action=head"></script>
Find
Code: [Select]
<body>
Add After
Code: [Select]
<script type="text/javascript" src="http://www.your-site.com/path_to_forum/2sichat/index.php?action=body"></script>
Be sure to replace the path in the codes from http://www.your-site.com/path_to_forum to your site and path to your forum.


HI nend, i have a problem , i installed SA Chat in my SMF forum 2.0.5  no error messages. but the applications is not work, i used custom theme from Dark Mark,  So, if i try your codes above can work in my forum? sorry i still newbie

Title: Re: SA Chat
Post by: nend on September 28, 2013, 01:22:59 AM
The problem is custom themes, The chat usually only installs to the default theme's index.template.php. During the install you can select to install to additional themes but this does not always work.

Here is the manual way to install the chat on custom themes.

Open index.template.php in the theme you want 2-SI Chat to work in.

Find
Code: [Select]
</head>
Add Before
Code: [Select]
<script type="text/javascript" src="http://www.your-site.com/path_to_forum/2sichat/index.php?action=head"></script>
Find
Code: [Select]
<body>
Add After
Code: [Select]
<script type="text/javascript" src="http://www.your-site.com/path_to_forum/2sichat/index.php?action=body"></script>
Be sure to replace the path in the codes from http://www.your-site.com/path_to_forum to your site and path to your forum.


HI nend, i have a problem , i installed SA Chat in my SMF forum 2.0.5  no error messages. but the applications is not work, i used custom theme from Dark Mark,  So, if i try your codes above can work in my forum? sorry i still newbie



That post is three years old. Since then SA has taken over the chat development a few years ago. I believe the chat uses hooks instead of template edits now days so that post is not relevant. There should be a fix chat option in there somewhere, sorry can't be of much help I haven't touch the chat in years.
Title: Re: SA Chat
Post by: Kindred on September 28, 2013, 02:02:35 AM
in maintenace in sa chat admin run the fix bar thing
Title: Re: SA Chat
Post by: krittin98 on September 28, 2013, 11:46:32 AM
I am using the RC3 version and SMF 2.0.4
My forum users are unable to chat with each other
In Fact, when they click on Who's Online and then on the name of the user they want to chat with the chat box does not appear at all
Please help
Title: Re: SA Chat
Post by: krittin98 on September 29, 2013, 03:18:23 PM
someone please help me
Title: Re: SA Chat
Post by: electricwildflower on September 30, 2013, 04:01:17 PM
I have abit of a problem if you can help me.

When i see who's online and i click on there name it opens up a small chat box but it seems to interfere with the navigation bar on my website and also the forums check out the photo below to see what i mean.

Is there anyway to solve this or anything.

Cheers
Title: Re: SA Chat
Post by: Exsharaen on October 09, 2013, 10:36:42 PM
Hi SA,

I just discovered this problem when suddenly my Web host told me I was out of disk quota. Since I never had any upload activities for months, I checked the whole folders in my host, and I discovered that SA Chat had generated a file named error_log which was huge (64 MB). And it grew without notice until my Web host said I was out of disk quota. IMO this behavior--letting errors undetected--is not a healthy one (I don't know why you choose to log errors to a file instead of database, but you must have your reasons to do so).

So, my suggestion, could you add an Error/Log section in the SA Chat admin panel, so we can immediately notice when there's something wrong with SA Chat? An option to purge the error log (as SMF has) will also be nice.

By the way, I installed the latest version (RC3 Rev63) from SMF and still got these errors (in fact, warnings) every seconds, so my error_log file is growing again. I must uninstall SA chat for now (disabling it didn't work, the error_log was still growing) lest I'll run out of quota again. Can you help determine what's wrong with my settings?

Code: [Select]
[10-Oct-2013 09:15:51 Asia/Jakarta] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/timezonedb.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/timezonedb.so: cannot open shared object file: No such file or directory in Unknown on line 0
[10-Oct-2013 09:15:51 Asia/Jakarta] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/mailparse.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/mailparse.so: cannot open shared object file: No such file or directory in Unknown on line 0

They always come in pair and are generated every few seconds (I think every heart beat or every page load).

Thank you,
Title: Re: SA Chat
Post by: SA™ on October 10, 2013, 10:13:03 AM
the version on here has no error log  built in the errpr file is php's error loggin

the one here does has error loggin built in the sachat admin panel that is kinda like smf's error logs in admin
https://github.com/SAMods


as for the actual errors there not actualy from the chat mod as far as i can see what php version are you uisng ?
Title: Re: SA Chat
Post by: Kindred on October 10, 2013, 10:15:38 AM
the error.log file is created by the server when php itself encounters an error.

Those seem to be timezone setting reports...  check with your host.

I have been running SA Chat for months now with no error.log being created
Title: Re: SA Chat
Post by: SA™ on October 10, 2013, 10:17:31 AM
yeah i just did a sarch in here for those errors seems it maybe php.ini issue? id ask you host about them
Title: Re: SA Chat
Post by: Exsharaen on October 11, 2013, 04:42:04 PM
Hmmm that's weird, since I have not encountered error_log anywhere else. My server uses PHP 5.4.19, I'll try to contact them then and will update you as soon as possible.
 
Thanks,

EDIT:
Incidentally I found another error_log at the base of my forum installation (/forum). Still investigating with my Web host.
Title: Re: SA Chat
Post by: SA™ on October 21, 2013, 01:43:37 PM
new version realesed
this is mainly some code cleanup but there was also a few fixes and additions
full changes
https://github.com/SAMods/SAChatBar/commits/master
Title: Re: SA Chat
Post by: smitch6 on October 25, 2013, 05:21:42 PM
hi since updating to rc 2.0.6 the chat has 7 queries

it is saying it's loaded in 0.04 but with 7 queries

any ideas pls
Title: Re: SA Chat
Post by: SA™ on October 25, 2013, 06:30:56 PM
dont know why i get/got 6

now i got it to 4

with these changes
https://github.com/SAMods/SAChatBar/commit/26a018eb4a840d9a8fa326358a18072a74fbc8c8

just updated the package here with them changes
Title: Re: SA Chat
Post by: Panoulis64 on October 30, 2013, 09:49:06 AM
Good evening SA, in Error Logs
I have message "INFO Undefined variable: cpu File: /home/triglian/public_html/sachat/functions.php Line: 751"
what can be and how it corrected??
Title: Re: SA Chat
Post by: SA™ on October 30, 2013, 10:27:19 AM
do you have load checkinh enabled ?
Title: Re: SA Chat
Post by: Panoulis64 on October 30, 2013, 12:41:40 PM
Yes, I closed now
Title: Re: SA Chat
Post by: Panoulis64 on November 06, 2013, 05:37:14 AM
Good evening SA
One problem I have with the language in the window that opens, while everywhere as shown in the photo are all OK, (utf 8) the member's name in the window that opens is not displayed correctly (utf 8).
Please see and appended photo.
Title: Re: SA Chat
Post by: SA™ on November 06, 2013, 12:33:37 PM
thats cos of a fix i added for non utf8 dam it never tested with utf8 :(

sachat/functions.php

replace
$temp['real_name'] = utf8_encode($temp['real_name']);
with
$temp['real_name'] = $temp['real_name'];

not sure how one would fix it for both
Title: Re: SA Chat
Post by: STRRAYNGE on November 19, 2013, 01:53:20 PM
Loving the chat, users love it too. Just one question, im getting an issue with each message I send or user sends, showing up twice? I apologize if this has been covered already, but couldnt find it. Thanks in advance!
Title: Re: SA Chat
Post by: SA™ on November 19, 2013, 02:03:21 PM
hmm not come across this error yet
have you tyyed this one here
https://github.com/SAMods/SAChatBar
Title: Re: SA Chat
Post by: STRRAYNGE on November 19, 2013, 02:05:13 PM
Im just using the one in the mod section?
Title: Re: SA Chat
Post by: SA™ on November 19, 2013, 02:06:30 PM
try the one on github and see if the issue is still there?
Title: Re: SA Chat
Post by: STRRAYNGE on November 19, 2013, 02:07:57 PM
try the one on github and see if the issue is still there?
Thanks! I downloaded it. Do I just need to use the package manager and install it? And do I need to uninstall the other one first?
Title: Re: SA Chat
Post by: SA™ on November 19, 2013, 02:13:04 PM
yeah uninstall the other one then install the new one

but
Quote
github puts the zip versions two layers deep, which means, whent he package manager goes to extract it, all it finds is another layer of directories, no XML install file

so if that happens just extraced it yo your desktop and rezip it properly
Title: Re: SA Chat
Post by: STRRAYNGE on November 19, 2013, 02:14:38 PM
yeah uninstall the other one then install the new one

but
Quote
github puts the zip versions two layers deep, which means, whent he package manager goes to extract it, all it finds is another layer of directories, no XML install file

so if that happens just extraced it yo your desktop and rezip it properly
ok, thanks. ill give it a shot. sort of new to this, so I might be back for help. Ill report back in a few. Thank you again!
Title: Re: SA Chat
Post by: STRRAYNGE on November 19, 2013, 04:02:36 PM
Unfortunately it is still doing it. It shows up twice if I send someone a message and when they send one back, but if I minimize the chat window, and re-open it, it just show the single reply?
Title: Re: SA Chat
Post by: SA™ on November 20, 2013, 02:44:33 PM
hmm what brouser do you use im not getting it in chrome not tested the others yet
Title: Re: SA Chat
Post by: STRRAYNGE on November 20, 2013, 03:01:48 PM
hmm what brouser do you use im not getting it in chrome not tested the others yet
Ive mainly been using FF. I can try it on Chrome this afternoon when I get home. I dont have chrome here on my work computer. Its not that big of a deal, it just posts twice, but goes away if I minimize the chat block and open it back up. I didnt even notice it until a couple members told me.
Title: Re: SA Chat
Post by: sunilimon on November 20, 2013, 04:30:13 PM
Hi there!

Sorry SA but my smf_2sichat_error table is going bigger every day. Could you help me?

There are some errors that has this table:

Undefined index: additional_groups
Undefined index: id_group
Undefined index: id_post_group
Undefined index: avatar

Also, is there any way to deactivate the errorlog function? yesterday I pruned my table because had about 120MB

Thank you very much!
Title: Re: SA Chat
Post by: electricwildflower on November 22, 2013, 07:07:15 PM
Need abit of support i am building a new theme on my test forum so have a fresh install of SA chat and modified it to fit my theme but the problem is now part of it doesn’t look right. The little button that you click which opens the menu works fine but then the menu seems to be off from the bar and it looks different.

I have included a photo below so you can see what i mean and also a link

http://www.keepitrealkeepitgoth.com/test/forum/index.php

Any ideas where i am going wrong or what i need to edit ?
Title: Re: SA Chat
Post by: SA™ on November 25, 2013, 02:33:12 PM
Hi there!

Sorry SA but my smf_2sichat_error table is going bigger every day. Could you help me?

There are some errors that has this table:

Undefined index: additional_groups
Undefined index: id_group
Undefined index: id_post_group
Undefined index: avatar

Also, is there any way to deactivate the errorlog function? yesterday I pruned my table because had about 120MB

Thank you very much!

thanks for the report ill try and fix that up soon for now
find and remove from sachat/index.php
Code: [Select]
// Register a error handler
require_once(dirname(__FILE__) . '/error_handler.php');
set_error_handler('errorHandler');
register_shutdown_function('shutdownHandler');

Need abit of support i am building a new theme on my test forum so have a fresh install of SA chat and modified it to fit my theme but the problem is now part of it doesn’t look right. The little button that you click which opens the menu works fine but then the menu seems to be off from the bar and it looks different.

I have included a photo below so you can see what i mean and also a link

http://www.keepitrealkeepitgoth.com/test/forum/index.php

Any ideas where i am going wrong or what i need to edit ?
im not too good with the theme side of things myself but i would edit the chat css all the #extra in the style.css controls that part hope that helps
Title: Re: SA Chat
Post by: sunilimon on November 25, 2013, 03:44:31 PM
thanks for the report ill try and fix that up soon for now
find and remove from sachat/index.php
Code: [Select]
// Register a error handler
require_once(dirname(__FILE__) . '/error_handler.php');
set_error_handler('errorHandler');
register_shutdown_function('shutdownHandler');

Thank you very much!
Title: Re: SA Chat
Post by: SA™ on November 25, 2013, 04:02:34 PM
thanks for the report ill try and fix that up soon for now
find and remove from sachat/index.php
Code: [Select]
// Register a error handler
require_once(dirname(__FILE__) . '/error_handler.php');
set_error_handler('errorHandler');
register_shutdown_function('shutdownHandler');

Thank you very much!

fixed here
https://github.com/SAMods/SAChatBar
Title: Re: SA Chat
Post by: sunilimon on December 02, 2013, 01:02:53 PM
Hi Sa!

I've a future request: banned members musn't use chat. I have banned members who can talk with other members.

Thank you very much! :D
Title: Re: SA Chat
Post by: SA™ on December 02, 2013, 04:06:19 PM
oh thanks for the report  8)
Title: Re: SA Chat
Post by: SA™ on December 02, 2013, 05:46:22 PM
maybe fixed here
https://github.com/SAMods/SAChatBar

only tested shortly
Title: Re: SA Chat
Post by: sunilimon on December 03, 2013, 12:58:14 PM
Yes it works! :D

Could chat windows be fixed at bottom like facebook interface?

Thank you very much for your support
Title: Re: SA Chat
Post by: garycanfix on December 05, 2013, 02:12:34 PM
hi sa , I have got a problem with the install, first i am using smf 2.06 i go to admin/packages and upload sachat.zip not a problem until i then go to browse packages to install it and i get just a blank screen, when i delete sachat.zip of my surver  my browse packages works ok, any ides as how i can solve the problem. just add i have uploaded unzipped in to /public_html/Packages/sachat and when i go browse packages it dos not show up.
many many thank if you reply.
ps: I have bin trying for 2 weeks now to install this and now i have roots growing from my computer chair.
Title: Re: SA Chat
Post by: Kindred on December 05, 2013, 02:24:11 PM
http://wiki.simplemachines.org/smf/What_the_white_screen_of_death_means_when_accessing_admin_or_package_installs
Title: Re: SA Chat
Post by: electricwildflower on December 12, 2013, 06:01:06 PM
I have a new problem i need help with. when i am signed in at the bottom of the page i am greeted with a huge space, a blue button and some text which says "original text Contribute a better translation."

I have been told it's a translation mod problem but as i don't have any translation mods on my site only thing it points to is SA Chat so i was wondering if you could help me figure it out if it's a Sa chat bar mod problem i have included a screen shot and link below,

This only happens when i am signed into the site which is when people can only see SA Chat bar

http://www.keepitrealkeepitgoth.com/index.php

Cheers

Title: Re: SA Chat
Post by: SA™ on December 12, 2013, 07:09:42 PM
try disabling the trnaslate plugin in sa chat admin
Title: Re: SA Chat
Post by: SA™ on December 12, 2013, 07:13:32 PM
confirmed google musta updated there translate thing or somthing just disable that part in sa chat admin till i can fix it admin/sachat/Enable Page Translator
Title: Re: SA Chat
Post by: electricwildflower on December 16, 2013, 06:20:13 PM
Sorry for the late reply it fixed the problem cheers :)
Title: Re: SA Chat
Post by: SA™ on December 28, 2013, 07:17:09 PM
=====SA Chat RC6 Relased=====
https://github.com/SAMods/SAChatBar/commits/master
fixed cacheing issue when no gadgets or links added
added redirect after deleting errors from logs
fixed Undefined index: additional_groups
fixed Undefined index: id_group
fixed Undefined index: id_post_group
fixed Undefined index: avatar
banned members no longer see the bar
fixed chrome bug Resource interpreted as Script but transferred with MIME type text/html:
added caching to smilys
majar update to cookies and the way they were handeled now uses jquery cookie plugin
now uses jquery draggable plugin less code yay :P
removed veiwport offset plugin not needed with draggable

bugs just dicoverd in beta 6
Enable chat window heartbeat
seems to stop sending new chats after tje 3rd message not sure yet as to why just dont enable that option for now

mute is broken
has the same effect as above again im not sure whats going on there

also im not sure how long these bugs have been in there as ive personly never even touched them in testing they can be in the last versions aswell havent tested yet
Title: Re: SA Chat
Post by: sunilimon on December 29, 2013, 04:25:36 AM
Sorry but I didn't understand, mute still broken?

Thank you very much! I really like this mod :D
Title: Re: SA Chat
Post by: SA™ on December 29, 2013, 03:58:56 PM
it means when you push the speacker icon in the bar it mutes the chat sounds but also breaks chat after a few messages
Title: Re: SA Chat
Post by: SA™ on December 30, 2013, 01:14:14 PM
Quote
bugs just dicoverd in beta 6
Enable chat window heartbeat
seems to stop sending new chats after tje 3rd message not sure yet as to why just dont enable that option for now

mute is broken
has the same effect as above again im not sure whats going on there

seem i was wrong about that one seem to happen regardless of those

it is a jquery issue in the last version i added if i revert back to jquer 1.8x it all works from what i can see

msgArray in update message function gets lost in space after a few messages
Title: Re: SA Chat
Post by: HusaBob on December 30, 2013, 03:45:30 PM
is there a way to move the chat bar down about 1/8 inch? I installed additional links below the standard copyright ones and currently the chat bar sits on top of them.

Thanks.
Title: Re: SA Chat
Post by: Kindred on December 30, 2013, 03:56:03 PM
The chat bar appears across the very bottom of the browser window....   it can't actually be moved down any further at all
Title: Re: SA Chat
Post by: SA™ on December 30, 2013, 06:09:17 PM
=====SA Chat RC6-1 Rev78=====
now uses jquery-play-sound plugin
removed more older/legacy code from theme js files
chat windows are now a little bigger
long messages now wrap instead of makeing long scroll
fixed issue with chat messages not returned after so many messages
Title: Re: SA Chat
Post by: HusaBob on December 31, 2013, 11:23:58 AM
Thanks for all of the work you put into this chat mod. Very nice.

I just installed the latest version, and it beeps twice when I send a message. Before it only made one sound.
Title: Re: SA Chat
Post by: SA™ on December 31, 2013, 03:07:50 PM
maybe a conflict with the way cookies were handeld before try deleting brouser cookie
Title: Re: SA Chat
Post by: HusaBob on December 31, 2013, 03:57:27 PM
The chat bar appears across the very bottom of the browser window....   it can't actually be moved down any further at all

Thanks, but do you know of a way to, say, add a few blank lines under the last copyright statements there? If I could do that, it would help.

In the screenshot, if you look closely you can see the two text hyperlinks hidden by the chat bar. They are directly under the line that holds "XHTML RSS WAP2"
Title: Re: SA Chat
Post by: SA™ on December 31, 2013, 04:09:56 PM
you got choice here eaither enable admin >Features and Options>layout>Display time taken to create every page

tho you may no want that to show but this is one way to make it show a friend does this on there site

or you can edit the index.template.php and just put line breaks <br /> under those links probaly not the best ways but there all i know hope that helps
Title: Re: SA Chat
Post by: HusaBob on December 31, 2013, 04:54:51 PM
Thanks again SA! I enabled that Display time taken thing....LOL nice fix! Happy new year.
Title: Re: SA Chat
Post by: SA™ on January 01, 2014, 03:23:59 AM
=====SA Chat RC6-2 Rev80=====
removed all jQuery.noConflict() calls now uses custom var
finished admin snoop mode allowed admins to see all regardless of user settings, buddys and ignore list
removed unused function from sachathook.php
finished option to disable error logs
finished custom cookie name prefix this can help with conflicts with older versions were cookies was handeld different
more improves to the chat box styling
more imporves to minimised chats now only bleeps once when new messsage but show a new image all the time untill that message is read
added draggable handle can only be dragged by this handel
dragged windows now fade

hope people like this one as its been asked for so many times :P
chat windows now open like facebook and are fixed to the bar they can also restructer themself if a chatbox is closed /minimised have only tryed with 3 chat windows but should be ok but might be buggy with many chat windows moving chat windows is buggy and will be removed in the next version but gadgets will still be able move

have a great 2014 and happy new
Title: Re: SA Chat
Post by: watchhorse on January 01, 2014, 08:08:28 AM
have a great 2014 and happy new

The same for you

1 question: takes the chat much performance from the server on a large forum?
Title: Re: SA Chat
Post by: SA™ on January 01, 2014, 05:54:49 PM
cant realy ansser that one as never realy tested on larger forum but it should be ok  8)


just updated again added the defult_old theme just incase people dont want windows fixed to the bar
Title: Re: SA Chat
Post by: Dramber on January 01, 2014, 06:25:02 PM
Love the update bud. Ran great for a few then I started getting 8: Undefined index: errors for error_2si  2sichIintain and  2sichatloadbal in  /public_html/Sources/SAChatHooks.php


Any ideas?
Title: Re: SA Chat
Post by: SA™ on January 01, 2014, 06:57:14 PM
sound like it did not insall properly there new txt strings pls reupload the files within the package to the correct place or uninstall and try to reinstall
Title: Re: SA Chat
Post by: Dramber on January 01, 2014, 07:05:29 PM
Yes, that was the first thing I tried. Still getting the errors and the menu options in the admin area are missing for Throttling and maintenance and error logs. Very strange. I can get you screen shots if you want. What ever you need to squish this bug. Me and my users love this mod.
Title: Re: SA Chat
Post by: Dramber on January 01, 2014, 07:12:26 PM
Yeah, I'm an idiot. Forgot to add the language files to the custom theme folder.

Sorry for the false alarm. Thanks for responding. :)
Title: Re: SA Chat
Post by: SA™ on January 01, 2014, 07:17:22 PM
lol np
Title: Re: SA Chat
Post by: HusaBob on January 01, 2014, 08:03:20 PM
Hi SA! Installed the update. Thanks. Note, however, that now I get a statement in the chat bar in red type referring to "Bar loaded in"....

I'm using the latest Safari browser.

Title: Re: SA Chat
Post by: HusaBob on January 01, 2014, 08:32:36 PM
Also, where are the "handles" you referenced to move the chat windows?
Title: Re: SA Chat
Post by: SA™ on January 02, 2014, 12:50:31 AM
Also, where are the "handles" you referenced to move the chat windows?
you cant wit the new layout move chat boxes there fixed to the bar like facebook if you want to move to the windows use the defalt old theme

Hi SA! Installed the update. Thanks. Note, however, that now I get a statement in the chat bar in red type referring to "Bar loaded in"....

I'm using the latest Safari browser.



sachat index.php
$debug_load = true; change to false
Title: Re: SA Chat
Post by: sunilimon on January 02, 2014, 05:41:02 AM
Amazing, just I ever wanted! chat looks clear and more professional (it has been ever professional :P ) Thank you very much SA™! speed is incremented also, I've a forum with 1000 members and it works fine. I will report future bugs for helping you!

Thanks again and have a Happy 2014!!

Edit: when I open some chat windows, close some of those chat windows and change to another page, it still appearing even if I've closed on the previous page, It looks some cookie problem. Could you check that? Thank you very much!

Edit2: when I reset the theme to everyone, some cracks and shows: Fatal error: Call to undefined function SAChat_InsertOptions() in /home/public_html/Sources/sachatAdmin.php on line 390
Title: Re: SA Chat
Post by: SA™ on January 02, 2014, 03:00:08 PM
Quote
Edit: when I open some chat windows, close some of those chat windows and change to another page, it still appearing even if I've closed on the previous page, It looks some cookie problem. Could you check that? Thank you very much!

yeah there is some bugs most are fixed for next version

Quote
Edit2: when I reset the theme to everyone, some cracks and shows: Fatal error: Call to undefined function SAChat_InsertOptions() in /home/public_html/Sources/sachatAdmin.php on line 390
add this to your sachatadmin.php

Code: [Select]
function SAChat_InsertOptions($chatmem, $chatvar, $chatval) {
    global $smcFunc;

    $smcFunc['db_insert']('ignore', '{db_prefix}themes', array('id_member' => 'int', 'id_theme' => 'int', 'variable' => 'string', 'value' => 'string',), array($chatmem, 1, $chatvar, $chatval,), array('id_member', 'id_theme')
    );
}
Title: Re: SA Chat
Post by: SA™ on January 02, 2014, 08:56:46 PM
new version added
new default theme shoud be a lot easyer to mod now as i have gone thru all the classes and redone each one same with templates
everything also now has it own style class it needed that badly as the old style was a rolyle pain to edit imo
also included the fixes for above
Title: Re: SA Chat
Post by: Dramber on January 03, 2014, 12:17:26 AM
Looks like the admin mode/snoop toggle doesn't work in the old floating theme. Works great in the new one. :)
Title: Re: SA Chat
Post by: HusaBob on January 03, 2014, 12:30:03 AM
Now the "Who's Online" disappeared from the left side!
Title: Re: SA Chat
Post by: SA™ on January 03, 2014, 01:23:14 AM
Looks like the admin mode/snoop toggle doesn't work in the old floating theme. Works great in the new one. :)

it is not in the older theme it too much f a pain to mess with that one

Now the "Who's Online" disappeared from the left side!

empty your brouser cache or/and ctrl and f5
Title: Re: SA Chat
Post by: shinchao on January 03, 2014, 02:03:19 AM
thank for share !
Title: Re: SA Chat
Post by: HusaBob on January 03, 2014, 02:41:13 AM
Looks like the admin mode/snoop toggle doesn't work in the old floating theme. Works great in the new one. :)

it is not in the older theme it too much f a pain to mess with that one

Now the "Who's Online" disappeared from the left side!

empty your brouser cache or/and ctrl and f5

I emptied my cache and the Who's Online appeared, however it displayed that 124 members were online! *the total amount of members we have on the board!*. In reality, I was the only one online.

Any ideas? I disabled SA chat from the board until it is fixed. Thanks.
Title: Re: SA Chat
Post by: SA™ on January 03, 2014, 02:59:41 AM
only admins see that i rmoved the session check during testing it showing cos you have snoop/admin enabled

sachat /functions.php

if($member_id != $new_loaded_ids[$i]){

replace with
if($member_id != $new_loaded_ids[$i] && $user_profile[$new_loaded_ids[$i]]['session']){


edit fixed in package also disabled load time thing
Title: Re: SA Chat
Post by: HusaBob on January 03, 2014, 11:11:14 AM
My gosh, you're good! Thanks. Installed it and it is fixed perfectly.

You should be proud of what you're capable of!
Title: Re: SA Chat
Post by: sunilimon on January 03, 2014, 12:25:21 PM
This man is amazing! thanks for new modifications :D
Title: Re: SA Chat
Post by: SA™ on January 05, 2014, 07:53:56 PM
now this makes me happy  :D never had a mod in the top ten
Title: Re: SA Chat
Post by: sunilimon on January 08, 2014, 12:12:16 PM
Congratulations! I agree, this mod must be at top ten!
Title: Re: SA Chat
Post by: sunilimon on January 10, 2014, 09:53:35 AM
Suggestion: could appear a little box with color green/red when an user is connected/disconnected at chat window near the name? I is useful when you need to know if an user is connected when you will talk to him by chat. Also I would translate send button like other properties :D. If you like I can translate the languaje file to helping you :D
Title: Re: SA Chat
Post by: crustybum on January 10, 2014, 11:41:10 AM
Great mod, but still slows everything down on a large forum  :-\
Title: Re: SA Chat
Post by: Kindred on January 10, 2014, 01:34:00 PM
well, of course it does....   the more people that hit a service, the more resources it uses....
Title: Re: SA Chat
Post by: SA™ on January 10, 2014, 01:59:30 PM
Suggestion: could appear a little box with color green/red when an user is connected/disconnected at chat window near the name? I is useful when you need to know if an user is connected when you will talk to him by chat. Also I would translate send button like other properties :D. If you like I can translate the languaje file to helping you :D

sure this is in the next version actualy is there just not added to the new template yet also next version displays Sent at after x minutes of inactivity from the last message kinda like the way fb does things

there is a few hardcoded strings in therei need to sort for the next version

Great mod, but still slows everything down on a large forum  :-\

y yes it will do as kindred said
the next version has a  auto back off polling policy (heart beat slows when chat activity is low) this might help somewhat

also i shouls say there is a bug in last version wich means the heatbeat beats twice each time  this is fixed in next version changed to setTimeout instead of setinterval << is a big pitta
setTimeout seem a lot more stable at least in testing
Title: Re: SA Chat
Post by: SA™ on January 11, 2014, 05:09:13 PM
=====SA Chat 0.1 Relesed=====
added auto back off polling policy(heart beat slows when chat activity is low)
displays x says when window is not in focus
displays Sent at after x minutes of inactivity from the last message
added typing listener displayes x is typing in chat(not fully impleamented as of yet it is WIP)
added new page in admin for chat settings
removed hard coded txt strings
show buddy online/offline in chat (updates automaticly never used to)
added option to set max heart beat aswell as min heartbeat
added option to set heatbeat timeout
removed setInterval in favar of setTimeout (this fixes issue where the rather erratic behavior it presents when being forced to miss a beat or two)
chat windows now take into accout brouser width and on resize  and stops anymore opening and shows left and right arrows to cycle thru chat boxes simular to facebook
fixed issue with sound and firefox asking for a plugin now uses jquery play() function
fixed issues with ie compat mode (bar was not showing complained about a stray , comma)

if your upgrading from last version after install it is recomended to purge all old messages in sachat/maintenance/ Purge all messages
Title: Re: SA Chat
Post by: sunilimon on January 12, 2014, 07:01:59 AM
Hi! thanks for new version, it works great! I attach the spanish_es_utf8 translation, I hope you serve! :D
Title: Re: SA Chat
Post by: sunilimon on January 12, 2014, 07:08:50 AM
Also I have a ¿bug? when I reload the page, two arrows are shown at the bottom of the page:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimageshack.com%2Fa%2Fimg560%2F3461%2Fpomh.png&hash=d433fc00735ca258f8c73f1ce33fc5c5)

Also chat still opens if I don't close the chat window at the page where I opened. For example, I start to chat at portal page, I change to the forum list page and close the chat window where I'm talking, I return to portal page and chat still opened, but if I close the chat window at portal page, when I go to another page it works.
Title: Re: SA Chat
Post by: SA™ on January 12, 2014, 03:03:22 PM
Quote
Also I have a ¿bug? when I reload the page, two arrows are shown at the bottom of the page:

hmm they should only show if all chat windows excide browser width there for cycling thru open chat windows

Quote
Also chat still opens if I don't close the chat window at the page where I opened. For example, I start to chat at portal page, I change to the forum list page and close the chat window where I'm talking, I return to portal page and chat still opened, but if I close the chat window at portal page, when I go to another page it works.

ill look into this one later
Title: Re: SA Chat
Post by: SA™ on January 13, 2014, 02:30:21 PM
so i spent most of today thinking how i can imporove the minimised chats the current way is fugly :P

this is what i come up with they are fixed to the bar actuly is the chat window with messages and form hidden doing it this way saves looping thru minimised chat boxes with each() cos now i can just use

Code: [Select]
if($sachat.cookie(\''.$modSettings['2sichat_cookie_name'].'_min\'+id)){
    $sachat(\'#cmsg\'+id).hide();
    $sachat(\'#bddy\'+id).hide();
}

inside the chatto function saves a lot of extra code this way
Title: Re: SA Chat
Post by: sunilimon on January 13, 2014, 02:56:09 PM
The problem could be in bigger forums, I usually speak with several members at the same time and this solution may create a conflict. I think you can do more FB appearance, without minimize. Actually you can't minimize the chat window at FB, only close and when you reopen you can see the chat history. I think this is more efficient and it can earn more system resources.
Title: Re: SA Chat
Post by: Kindred on January 13, 2014, 03:05:07 PM
The problem could be in bigger forums, I usually speak with several members at the same time and this solution may create a conflict. I think you can do more FB appearance, without minimize. Actually you can't minimize the chat window at FB, only close and when you reopen you can see the chat history. I think this is more efficient and it can earn more system resources.

you would be completely incorrect.
Doing it that was is definitely LESS "efficient" and would likely use MORE system resources.... because the window would ALWAYS be "open" on every page and would need to query the database for history with every single page load.
Title: Re: SA Chat
Post by: SA™ on January 13, 2014, 03:18:31 PM
kindred has a point there  maybe i can add another option to allow windows to be minimised i personly like the new way
the chat boxes can get in the way somtimes
 the main reason to not use each() to loop thru the minimised chat boxes is cos each() can actualy make things slower

resorce issue shouldent be that bad now as the heart beat does slow when there is no chat activity or when chat boxes are minimised thats what this is in the last version
added auto back off polling policy

the idea there is if no new items are found after say 10 heart beats it slows down to the max heart beat set in admin then when chat activlty starts it speads up again to the min heart beat

Title: Re: SA Chat
Post by: Arantor on January 13, 2014, 03:36:53 PM
What you could always do, for the whole multi tab thing is to store it in localStorage, for browsers which support localStorage. You store the last time retrieved in localStorage as well as the last part of the chat history, and then each of the tabs queries *that*. Gets a bit messy in terms of preventing race conditions because you need to have whichever tab is doing a query to the server also flag it in localStorage that it's doing it (to prevent two tabs doing it at the same time) but it's certainly possible.
Title: Re: SA Chat
Post by: sunilimon on January 13, 2014, 04:33:45 PM
The problem could be in bigger forums, I usually speak with several members at the same time and this solution may create a conflict. I think you can do more FB appearance, without minimize. Actually you can't minimize the chat window at FB, only close and when you reopen you can see the chat history. I think this is more efficient and it can earn more system resources.

you would be completely incorrect.
Doing it that was is definitely LESS "efficient" and would likely use MORE system resources.... because the window would ALWAYS be "open" on every page and would need to query the database for history with every single page load.

I refer for windows minimized, not for system efficient, sorry for my english  :-[
Title: Re: SA Chat
Post by: SA™ on January 13, 2014, 07:31:38 PM
What you could always do, for the whole multi tab thing is to store it in localStorage, for browsers which support localStorage. You store the last time retrieved in localStorage as well as the last part of the chat history, and then each of the tabs queries *that*. Gets a bit messy in terms of preventing race conditions because you need to have whichever tab is doing a query to the server also flag it in localStorage that it's doing it (to prevent two tabs doing it at the same time) but it's certainly possible.

when you say localStorage do you mean this
http://diveintohtml5.info/storage.html
http://www.w3schools.com/html/html5_webstorage.asp

seems doable indeed thanks
Title: Re: SA Chat
Post by: Arantor on January 13, 2014, 07:47:03 PM
Yup, that's exactly what I mean. Something that can be accessed equally from all tabs without having to go to the server.
Title: Re: SA Chat
Post by: SA™ on January 13, 2014, 08:05:55 PM
what bother me is older browsers should i just leave them in the past??  i can do this and remove all cookie traces aswell
Title: Re: SA Chat
Post by: Arantor on January 13, 2014, 08:14:14 PM
Well, that's a good question. I don't know what you should do for the best, but it is a viable solution for modern browsers.
Title: Re: SA Chat
Post by: rosewillrnx on January 26, 2014, 09:01:14 PM
Hello, With the newest update I have an issue. The chat bar shows all users logged in even if they are hidden. Is there a fix or setting I have missed to restrict this?

Thanks,


Rose
Title: Re: SA Chat
Post by: SA™ on January 27, 2014, 04:22:07 AM
your using the 0.1 version? it shouldent be doing that in 0.1
Title: Re: SA Chat
Post by: Arantor on January 28, 2014, 01:22:09 PM
Moved to the Chat/Shoutboxes category on the mod site.
Title: Re: SA Chat
Post by: SA™ on January 28, 2014, 01:31:33 PM
thanks are these new catagorys ?
Title: Re: SA Chat
Post by: Arantor on January 28, 2014, 01:32:51 PM
Yup, the Chat/Shoutbox category was only added yesterday.
Title: Re: SA Chat
Post by: crustybum on January 29, 2014, 10:55:16 AM
Strange, i installed it and it worked earlier..now ive come back on and its disappeared and not showing??? its still there in admin.
Title: Re: SA Chat
Post by: crustybum on January 29, 2014, 11:16:35 AM
Working perfect in I.E. but not in Firefox????
Title: Re: SA Chat
Post by: SA™ on January 29, 2014, 02:18:31 PM
What's it not doing in ff the only issue I found in ff is the bar looks different colour
Title: Re: SA Chat
Post by: Shkic on February 01, 2014, 08:55:34 AM
I just want to thank you SA™ for this great MOD. Also I think that localStorage idea will help for forums with a huge traffic :)

Good luck in development!

Cheers from Lithuania.
Title: Re: SA Chat
Post by: Jeffrey King on February 01, 2014, 10:06:47 AM
I want to thank SA for this mod.
Title: Re: SA Chat
Post by: Zaiken64 on February 01, 2014, 06:13:04 PM
I can't get it to work with smf4mobile themes. If I enable the mobile mod it blanks the screen and the only way to make it work is to disable the chat bar. Even excluding the themes specifically from the sa admin panel doesn't fix it.
Title: Re: SA Chat
Post by: SA™ on February 03, 2014, 07:04:32 AM
thanks for the report ill look into this when i have some time 8)
Title: Re: SA Chat
Post by: Dylert on February 04, 2014, 01:52:14 PM
When chatting new messages comes on top in the chatbox. Is it possible to get them on the bottom. That's more familiar to most users.
Title: Re: SA Chat
Post by: Nicky_uk on February 08, 2014, 05:26:26 AM
Just installed the mod, but no bar is showing up? Is there something I need to do? Installed on 2.07

Many thanks

Just to add, I tried running 'fix bar' and got the following error msg:

Method Not Implemented

GET to /index.php not supported.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Title: Re: SA Chat
Post by: Nicky_uk on February 08, 2014, 05:48:18 AM
Ignor the above, i just changed the file permissions and it seems to have fixed the problem.
Title: Re: SA Chat
Post by: nend on February 10, 2014, 12:57:20 PM
I tried local and cookie storage for chat data but ran into problems. Problem with cookies is that two instances can't share data simultaneously. Local storage on the other hand was new at the time and not all browsers supported it. Cookies at that time only stored window location I believe.

Also on older versions, possibly current one too, I know it used a cache system. A heartbeat doesn't necessarily mean a DB query. It just means a file inclusion from the cache which should determine if a DB query is necessary.

The only problem with large forums is the cache was set up to cache conversation say like file(user1-user2.php), which would just have a timestamp in it I believe. Oh the problem, too many files may be created. The whole inode limit thing.

Another caching method might be the server cache.

SA looks like you been doing a great job. I sort of felt like I dumped a burden on you with the chat, looking today you have brought it a long way. Congrats on the top ten.
Title: Re: SA Chat
Post by: KungFuJoe on February 10, 2014, 05:25:27 PM
Love this mod and I have it working on a test site.

I have a couple questions.

What does the permission "Allow to choose who to talk to" control?

Also, it appears that anyone can IM anyone and it's not limited to just buddies.  I know you can control your own settings to only show your buddies in the Who's Online list, but it still doesn't prevent anyone from IM'ing you if they choose to, even if they're not your buddy.

Is this intended?
Title: Re: SA Chat
Post by: KungFuJoe on February 10, 2014, 06:40:14 PM
Also noticed that even if a user hides their online status, they still show up in the Who's Online window.
Title: Re: SA Chat
Post by: SA™ on February 11, 2014, 10:53:46 AM
SA looks like you been doing a great job. I sort of felt like I dumped a burden on you with the chat, looking today you have brought it a long way. Congrats on the top ten.
thanks nend it was kinda at first a burden cos i didnt know js or jquery to well many late nights sorted that :P


Quote
I tried local and cookie storage for chat data but ran into problems. Problem with cookies is that two instances can't share data simultaneously. Local storage on the other hand was new at the time and not all browsers supported it. Cookies at that time only stored window location I believe.

the way the cookies where done before was the reason for ghost chat boxes and gadgets for instance you could not have two forums on same host using the chat mod
used to just cause havoc 

Quote
Also on older versions, possibly current one too, I know it used a cache system. A heartbeat doesn't necessarily mean a DB query. It just means a file inclusion from the cache which should determine if a DB query is necessary.

i dont actualy think this works any more tbh not payed that much attention to that it still there and enabled tho i do know that after a few messages it would choke till i chaged the update message function not sure if that would be related tho

Quote
What does the permission "Allow to choose who to talk to" control?

that allowes members to change the show only buddys option in profiles/look and layout

Quote
Also, it appears that anyone can IM anyone and it's not limited to just buddies.  I know you can control your own settings to only show your buddies in the Who's Online list, but it still doesn't prevent anyone from IM'ing you if they choose to, even if they're not your buddy.

yup it is a chat mod after all
but still this ties into abouve members can choose what way they want



Quote
Also noticed that even if a user hides their online status, they still show up in the Who's Online window.
yup this no support for that yet
Title: Re: SA Chat
Post by: KungFuJoe on February 11, 2014, 01:25:51 PM
SA,

Thanks for the answers!

Apologies if this has already been answered...but is there anyway to set new messages to start from the bottom?

Also, the part about "Seeing others as they type" and it not being fully implemented.  Is it something that we can try...what's the risk of checking it?
Title: Re: SA Chat
Post by: SA™ on February 12, 2014, 05:12:40 AM
Quote
Apologies if this has already been answered...but is there anyway to set new messages to start from the bottom?

curently no but this will chage when i can figar out scrolling issue hopfully next version

Quote
Also, the part about "Seeing others as they type" and it not being fully implemented.  Is it something that we can try...what's the risk of checking it?
main risk with this is server overload the way it is currently done enableing it will not make any differenc as it is commented out in the code
the next version this is done slitly different but there will always be resource issues with that wouldent recommend it on a shared host

i have been kinda busy these last few weeks so havent had much time to test new version much yet but it is gonna come
Title: Re: SA Chat
Post by: KungFuJoe on February 12, 2014, 10:31:12 AM
Quote
Apologies if this has already been answered...but is there anyway to set new messages to start from the bottom?

curently no but this will chage when i can figar out scrolling issue hopfully next version

Quote
Also, the part about "Seeing others as they type" and it not being fully implemented.  Is it something that we can try...what's the risk of checking it?
main risk with this is server overload the way it is currently done enableing it will not make any differenc as it is commented out in the code
the next version this is done slitly different but there will always be resource issues with that wouldent recommend it on a shared host

i have been kinda busy these last few weeks so havent had much time to test new version much yet but it is gonna come

Thanks!
Title: Re: SA Chat
Post by: KungFuJoe on February 12, 2014, 01:58:33 PM
Apparently, running this mod has been causing high CPU usage on my shared hosting.  Just got an alert on cpanel about restricting my account.  I run a small site...only about 60 members, but there is a fair amount of activity as most of them post throughout the day.

Can someone give some instructions/recommendations on how the heartbeat settings are used and if there's anyway to make the chat bar less resource intensive?

Also, on the load checking...what exactly is it checking on the backend?  It looks like you set a number as a max threshold before it disables the bar...but what is the number in reference to?
Title: Re: SA Chat
Post by: SA™ on February 14, 2014, 04:23:06 PM
Quote
Also, on the load checking...what exactly is it checking on the backend?  It looks like you set a number as a max threshold before it disables the bar...but what is the number in reference to?

it checks the cpu usage using the passthru(); php function if it is greater than the value you set in admin it will disable the bar and what not

Quote
Can someone give some instructions/recommendations on how the heartbeat settings are used and if there's anyway to make the chat bar less resource intensive?

there is a min  and max heartbeat setting the min heart beat is the normal beat now after say 10 heat beats with out no chat activty it will slow down the beat to the max beat setting

making the chat less resource intensive is something im working/looking into been trying different things html5 mostly and local storage but im actualy thinking of starting again to try using xml cos ithink this would be better than jquery exspecily after seeing a certain post on fb from a dev
Title: Re: SA Chat
Post by: Arantor on February 14, 2014, 04:50:06 PM
Well, for checking server load, SMF already does this when load balancing is enabled in the admin panel and IIRC it is $modSettings['load_avg'] where this is stored which you can use for comparison purposes.

As far as using local storage/HTML5/jQuery/XML... can I just stop you there?

They're all inter-related technologies that each have their place and so on. They all work together, not disparately.

XML is a transport mechanism, a way of putting data into a container that can be read. It is over a decade old, with plenty of supporting libraries on both the client and server side. As far as using it for communication, it's a toss-up between JSON and XML as the container for serving data back and forth, nothing more than that... and realistically I'd actually suggest XML. JSON is more compact, sure, but its support in PHP is... interesting. Firstly, json_encode and json_decode are UTF-8 only, while SMF does not necessarily operate in UTF-8 only (XML is character-set agnostic, like HTML), and there are issues with handling numbers in JSON if you're using different locale settings, e.g. various of the European countries that use , (comma) as the decimal point indicator instead of . (period).

Ultimately whatever you're doing, XML or JSON will be part of your solution.

localStorage is useful for local storage - but that's all you can do with it. You don't store things it that you're not sending back and forth (so it's no good for session data for example), but it might be useful for client side preferences in chat where you can just load them client side and process them client side. I'm not sure what benefit you would get from it for what you do, though. The only benefit I can really see is that you might archive part of the chat history to localStorage.

jQuery... hmm. jQuery in itself isn't entirely terrible. Thing is, most people seem to view it as a magic bullet to solve any problem, and quite often you don't need it. If it's already loaded, great, use it. If you're not targeting older browsers, you probably don't need it. It's only really IE below 9 that you actually find yourself needing it to any great degree, as most other code can be handled with native equivalents or shorter functions. For example, SMF has code to handle AJAX GET and POST requests and jQuery won't be needed for those things.

More information: http://youmightnotneedjquery.com/
Title: Re: SA Chat
Post by: Big Gee on February 15, 2014, 08:44:44 AM
I currently run SMF v 2.0.7 at http://gardenerschat-shed.net/forum (http://gardenerschat-shed.net/forum)

I want to install the SA Chat mod to work in my Bright Forest Theme v2.3.

As it installs by default into SMF's default theme, can anyone give me guidance on what I need to do to make it run in the theme I use?

Many thanks,

G.

Title: Re: SA Chat
Post by: SA™ on February 15, 2014, 03:01:31 PM
It will instal to any theme as it uses hooks instead of tewmplate edits
Title: Re: SA Chat
Post by: Big Gee on February 15, 2014, 09:30:13 PM
Thank you for that. It has now been installed successfully.

Is there a manual for it's use that can be placed in the 'Help' section of the site so that members can have guidance on it's use?

I've had a few queries from members who need a bit of help to understand it's features & how to use it.

Again, many thanks,

Kind regards,

G.
Title: Re: SA Chat
Post by: Kindred on February 15, 2014, 09:34:16 PM
Since the help section links to the standard smf wiki here....  Probably not.
Title: Re: SA Chat
Post by: [OG]Anirudh on February 16, 2014, 04:13:32 AM
It is not showing the bar :-/
Title: Re: SA Chat
Post by: SA™ on February 17, 2014, 02:01:40 PM
Check the maintenace page in sachat admin at the bottom there is a fix bar option
Title: Re: SA Chat
Post by: mrhanman on February 21, 2014, 09:53:20 PM
I'm getting a warning over and over again in the error log about a deprecated PHP function.  I don't know enough about PHP to fix it myself, and I was hoping someone else already had.  Here is the error:

Code: [Select]
WARN

preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead

File: /smf/sachat/functions.php
Line: 610

Thanks!
Title: Re: SA Chat
Post by: Kindred on February 21, 2014, 10:02:27 PM
You are running php 5.5...   The function was deprecated....   That was why led to the 2.0.7 release of  smf itself...
Title: Re: SA Chat
Post by: mrhanman on February 21, 2014, 10:55:18 PM
Thanks for the reply.

I understand what caused the error, I was just asking if anyone had fixed it yet.  I'm making the assumption that is isn't as simple as switching one function for another.
Title: Re: SA Chat
Post by: SA™ on February 22, 2014, 02:08:58 AM
ill take look this weekend
Title: Re: SA Chat
Post by: SA™ on February 22, 2014, 06:30:36 PM
=====SA Chat 0.1.1 Realsed=====
fixed issue cycling thru chatboxes open chatboxes
friends box now resizes with browser height
buddy box now resizes with browser height
fixed issue in safari (chat boxes wernt organsing properly)
links posted in chat are now clickable
minamised chatboxes are now fixed to bar like the chat windows(can be disabled in admin)
fixed php5.5 deprectiated warning
added spanish_es-utf8 translation (thanks sunilimon)
Title: Re: SA Chat
Post by: pevanis on February 23, 2014, 06:20:34 AM
Thank You again for this nice mod.
Till now it's working fine. I use Your mod for 2 years.
Just now instaled  SAChatBar-0.1.1 on SMF 2.0.7 and there's no bar ?
After click on Fix bar i have this :

Method Not Implemented
GET to /index.php not supported.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Can You figure it out what's happening ?
Kind Regards

------------------------------------------------------------------------------------------------------
- I set all permissions for all files under sachat folder to 755.
- When I click on  FIX BAR i have again same  error :

Method Not Implemented
GET to /index.php not supported.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

- Error log say -  File: /home/**/public_html/sachat/functions.php
Line: 390

SMF version is 2.0.7
Firefox 27.0.1
same on IE10
--------------------------------------------------------------------
And now I can't see bar anymore   :( do nothing, change nothing, simply it's gone
- When I click on  FIX BAR i have again same  error :

Method Not Implemented
GET to /index.php not supported.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

- Error log say -  File: /home/**/public_html/sachat/functions.php
Line: 390
-File: /home/**/public_html/sachat/functions.php
Line: 576
Title: Re: SA Chat
Post by: SA™ on February 23, 2014, 03:26:37 PM
hmm make sure you compleatly uninstall the old version manualy check just incase also after install your need to maybe clear your brousers cache otherwise you want see the css chsnges

also these

Quote
- Error log say -  File: /home/**/public_html/sachat/functions.php
Line: 390
-File: /home/**/public_html/sachat/functions.php
Line: 576

should show the error at the moment that means nothing to me can u post the full errors pls
Title: Re: SA Chat
Post by: pevanis on February 24, 2014, 02:00:16 AM

should show the error at the moment that means nothing to me can u post the full errors pls

This is full errors copy & paste without forum name
 FIX BAR   error :

Method Not Implemented
GET to /index.php not supported.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

- Error log SA chat says -  File: /home/**/public_html/sachat/functions.php
Line: 390
-File: /home/**/public_html/sachat/functions.php
Line: 576

At the moment i have text:  Admin mode: Off  Yesterday it was  Admin mode: Off ????
I don't know what it means ?
Title: Re: SA Chat
Post by: dj_king on February 25, 2014, 04:34:13 AM

Hello good. Forgive my language, use google translator. Did I say you can please do, so that messages warning of the chat, the last received comes down, not up? thank you very much
Title: Re: SA Chat
Post by: sunilimon on February 25, 2014, 12:30:59 PM
added spanish_es-utf8 translation (thanks sunilimon)

Thanks to you for your effort! :D
Title: Re: SA Chat
Post by: SA™ on February 25, 2014, 03:19:26 PM

Hello good. Forgive my language, use google translator. Did I say you can please do, so that messages warning of the chat, the last received comes down, not up? thank you very much

This was supposed to be in this version but I messed up abd did not connit them changes it will be in next version
Title: Re: SA Chat
Post by: dj_king on February 26, 2014, 07:09:56 AM

Hello good. Forgive my language, use google translator. Did I say you can please do, so that messages warning of the chat, the last received comes down, not up? thank you very much

This was supposed to be in this version but I messed up abd did not connit them changes it will be in next version

Thank You
Title: Re: SA Chat
Post by: dj_king on February 26, 2014, 10:44:22 AM
What is the reason that sometimes walking away and one user of the session, I always left the chat open even closing it? The only solution I've found is clearing the cache of my browser ...
Title: Re: SA Chat
Post by: SA™ on February 26, 2014, 03:15:46 PM
i didnt understand that?
Title: Re: SA Chat
Post by: dj_king on February 27, 2014, 02:40:32 AM
i didnt understand that?

Sorry for my language, I use google translator. Haber as writing to translate it "right."

When you talk to a user who closes the chat session, the chat window with you talking still open although the closures, and for several minutes ....
You know what I mean? thanks
Title: Re: SA Chat
Post by: sunilimon on February 27, 2014, 04:43:34 AM
Yes I reported that some weeks ago, SA is working on this bug :D
Title: Re: SA Chat
Post by: dj_king on February 27, 2014, 06:56:26 AM
Yes I reported that some weeks ago, SA is working on this bug :D


We look forward the solution in the new version.
Title: Re: SA Chat
Post by: SA™ on February 27, 2014, 03:00:27 PM
i didnt understand that?

Sorry for my language, I use google translator. Haber as writing to translate it "right."

When you talk to a user who closes the chat session, the chat window with you talking still open although the closures, and for several minutes ....
You know what I mean? thanks

sorry i still dont fully understand this
Title: Re: SA Chat
Post by: rower on February 27, 2014, 03:03:31 PM
Can this MOD and Ajax Chat both work on the same forum?
Title: Re: SA Chat
Post by: SA™ on February 27, 2014, 03:05:58 PM
yes it should be fine  8)
Title: Re: SA Chat
Post by: ryangassxx on February 28, 2014, 12:01:41 AM
I've got it installed, after running into some problems that ended up being solved by the "fix bar" link.. So now my issue is that the actual public chat box that comes up through the menu loads with noting but a parse error and no functionality. Member to member messaging works fine. But the chat box displays

"Parse-error: syntax error, unexpected "/" in XXmydirectoriesXX/functions.php(184) :eval()'d code on line 1"

This is the part of the mod that I really would like to have work..

I run 2.0.7 and a modified Inferno theme at bearshq.com

Thanks in advance!

:edit   I'm also getting the following in my SA chat error log

INFO

   Undefined index: cban

   File: /home/bearsone/public_html/sachat/functions.php
Line: 576
Title: Re: SA Chat
Post by: SA™ on February 28, 2014, 09:47:11 AM
this mod does not have a public chat box at the moment only private chat
Title: Re: SA Chat
Post by: ryangassxx on February 28, 2014, 12:14:47 PM
Oh ok. So when I click into the menu button on the far right, there's a link there that says "chat", when I click that I get a box that opens containing that error. Is this intentional with the chat feature pending in a later release or is this some sort of anomaly?
Title: Re: SA Chat
Post by: SA™ on February 28, 2014, 12:31:11 PM
nope no chat link there by default have you added a gadget?


edit i do rember playing around with a pub chat with this a long time ago didnt work oput to good :P i wonder if there is remants of that maybe but i still dont see any chat link there tho
Title: Re: SA Chat
Post by: ryangassxx on March 01, 2014, 01:09:49 AM
No I think I may have done it early on when I was trying to get it to work not knowing what I was doing.. I deleted the gadget and it's gone now.. ::) 

So as far as a public chat goes, you've already explored it and you don't think it'll be a component in the future? That's sort of a bummer because I was really hoping to have that functionality. It's still a very good mod for what it is though. Thank god for people like you who develop these things. Your SA stuff is probably some of the more premium mods for the SMF platform. I use the facebook integration too.
Title: Re: SA Chat
Post by: SA™ on March 01, 2014, 10:42:23 AM
No public chat will be in the mod at some point just not sure weather to have gruop chat like fb or just a public. Room

For now you can use flash chat in a gadget wich works pretty. Good inside a gadget
Title: Re: SA Chat
Post by: SA™ on March 01, 2014, 03:19:01 PM
actualy had a look a the gadget code today seems there is actualy a bug with php gadgets
Title: Re: SA Chat
Post by: MDupreejr on March 01, 2014, 09:59:29 PM
this is a great mod.

A bug though...
1) If i close a chat, when they message me again the chat doesn't automatically reopen.

And a feature request:
- If there's no Social options, remove that section from the menu. Same with links. Make that whole menu smaller for those who have no content within it except for settings...


<edit>

Another small problem, there's a line at the top of my screen in firefox after installing this mod (see attached photo).
Title: Re: SA Chat
Post by: SA™ on March 02, 2014, 02:10:12 PM
Quote
A bug though...
1) If i close a chat, when they message me again the chat doesn't automatically reopen.

oh i wonder if this is what te others where saying a few post back

Quote
And a feature request:
- If there's no Social options, remove that section from the menu. Same with links. Make that whole menu smaller for those who have no content within it except for settings...

well it does hide the links and gadgets if none it just dont make the box smaller cos i was trying to keep it same as the other side ill look into this

Quote
Another small problem, there's a line at the top of my screen in firefox after installing this mod (see attached photo).

hmm the chat box copys from a simple html template that gets appended when the bar is shown just hidden till needed i think thats wherwe that line comes from ill take a look
Title: Re: SA Chat
Post by: SA™ on March 02, 2014, 02:47:09 PM
Quote
A bug though...
1) If i close a chat, when they message me again the chat doesn't automatically reopen.

ok a quick fix for this

sachat/themes/default/js/body.js.php

Code: [Select]
if (!document.getElementById(\'cmsg\'+this) && this != null) {
    chatTo(this);
    loadsnd(\'new_msg\');
}

replace with

Code: [Select]
if (!document.getElementById(\'cmsg\'+this) && this != null) {
    chatTo(this);
    loadsnd(\'new_msg\');
}
if (this != null) {//why?
    chatTo(this);
   loadsnd(\'new_msg\');
}

this isnt the best fix fr tis issue but it workd for till i can look into it more
Title: Re: SA Chat
Post by: Game.ruler on March 04, 2014, 01:54:53 AM
@SA, can you tell me how to set "show only buddies in who's online" by default for all users?

And 1 more thing, i tried this mod few months before, but it was making everything unsable/hang. Probably it was because there were many users at that time. But i really want to use this. This is the best smf chat mod so far.
Please tell me how to mitigate this server hang/unusable thing after installing.
Thanks in advance.
Title: Re: SA Chat
Post by: TonyMendoza on March 04, 2014, 10:13:19 PM
The chat bar doesn't recognize that the forum account is logged in.
It says: "Welcome, Guest. Please login or register."

What should I do?
Title: Re: SA Chat
Post by: SA™ on March 06, 2014, 04:07:08 PM
Quote
@SA, can you tell me how to set "show only buddies in who's online" by default for all users?

pretty easy todo this as it already does this during install take alook in db.php inside the package from line 24


Quote
And 1 more thing, i tried this mod few months before, but it was making everything unsable/hang. Probably it was because there were many users at that time. But i really want to use this. This is the best smf chat mod so far.
Please tell me how to mitigate this server hang/unusable thing after installing.
Thanks in advance.

well im not persnly experianceing major lag like you say but im havent tested on a busy forum so there will some lag


Quote
The chat bar doesn't recognize that the forum account is logged in.
It says: "Welcome, Guest. Please login or register."

What should I do?
try loggin out and back in?
Title: Re: SA Chat
Post by: TonyMendoza on March 07, 2014, 03:34:13 AM
Quote
The chat bar doesn't recognize that the forum account is logged in.
It says: "Welcome, Guest. Please login or register."

What should I do?
try loggin out and back in?
[/quote]

Did that numerous times.  ;)
The chat bar would not sync with the forum's login.
Disabling SA chat for a day solved the problem. Things are back into order.
Thanks!
Title: Re: SA Chat
Post by: SA™ on March 07, 2014, 03:27:49 PM
hmmm very strange behaviour there ill see if i can replicate this isssue
Title: Re: SA Chat
Post by: RichsBallPythons on March 10, 2014, 12:19:54 AM
Just Installed this on my forum 2.0.4 and all installed no hitches,

But need more info or better description on what Heartbeats are for.
Also in the Online List, Admin Mode on or off, whats its function!


Also the Error Log for Sa Chat has 300+ pages of this error, My guess has to do each time it refreshes. Where do i correct this Time zone error

strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those meth

The Errors are on Line 984 and 353

 Line 984   $_SESSION['DBcon_stamp'] = strtotime(date("Ymdhis"));
 Line 33    'purge' => date("Ymd", strtotime('-' . $modSettings['2sichat_purge'] . ' days', strtotime(date("Ymd")))),

Title: Re: SA Chat
Post by: SA™ on March 10, 2014, 03:03:39 PM
Quote
Just Installed this on my forum 2.0.4 and all installed no hitches,
update your forum

Quote
what Heartbeats are for.
refreashes the chat

Quote
Also in the Online List, Admin Mode on or off, whats its function!

admin can see all regardless of settings

Quote
strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those meth

sounds like the timezone in a config line in your php.ini is incorrect speak t our host
Title: Re: SA Chat
Post by: RichsBallPythons on March 11, 2014, 12:12:51 AM
Thanks for Info, Contacted host and they pointed me into direction.

I did the Time Zone via my .htaccess file with
php_value date.timezone "America/New_York"

And all errors stopped instantly
Title: Re: SA Chat
Post by: RichsBallPythons on March 11, 2014, 02:02:05 AM
I recently getting this error

INFO-Undefined index: cban

Line: 576

   if (isset($_SESSION['cban']) || empty($modSettings['banLastUpdated']) || ($_SESSION['cban']['last_checked'] < $modSettings['banLastUpdated']) || $_SESSION['cban']['id_member'] != $user_info['id_member'] || $_SESSION['cban']['ip'] != $user_info['member_ip'] || $_SESSION['cban']['ip2'] != $user_info['member_ip2'] || (isset($user_info['email_address'], $_SESSION['cban']['email']) && $_SESSION['cban']['email'] != $user_info['email_address']))


This error just popped up tonight not sure why.
Title: Re: SA Chat
Post by: SA™ on March 11, 2014, 04:27:18 AM
I'm aware of this error. Will be fixed in next version
Title: Re: SA Chat
Post by: 2greedy on March 17, 2014, 02:53:43 AM
just installed on 2.0.7 and seems to be working fine ;)
Title: Re: SA Chat
Post by: 2greedy on March 17, 2014, 03:05:45 AM
how do the gadgets work, and where do we get them?
Title: Re: SA Chat
Post by: SA™ on March 17, 2014, 03:01:18 PM
gadgets work kinda like portal blocks except there not blocks  :P

you can use php/html in them or even google gadgets work or code some yourself
Title: Re: SA Chat
Post by: 2greedy on March 22, 2014, 11:44:58 PM
could someone pls tell me why i get this error in the error log ?

FATAL syntax error, unexpected 'style' (T_STRING) File: /home/qccx10ho/public_html/sachat/functions.php(184) : eval()'d code
Line: 1
Title: Re: SA Chat
Post by: SA™ on March 23, 2014, 03:00:07 AM
not seen this error before have youy added any gadgets?
Title: Re: SA Chat
Post by: 2greedy on March 24, 2014, 02:03:42 AM
I did try adding 1 but removed it?
Title: Re: SA Chat
Post by: SA™ on March 24, 2014, 04:04:38 AM
could be from that then?
Title: Re: SA Chat
Post by: 2greedy on March 24, 2014, 07:40:55 AM
could be from that then?

oh ok so no biggy ;)
Title: Re: SA Chat
Post by: WCFA on April 01, 2014, 02:36:33 PM
Installed just fine, all settings are there, although the chat does not show.
I am running 2.07 base theme.

It says its not disabled, is there and activate or button that you use to see it ?

Thanks

PS, no errors logs look good no install issues.
But Don't see the chat ??
Title: Re: SA Chat
Post by: SA™ on April 01, 2014, 03:09:55 PM
run the fix bar thing in sachat admin/maintenance
Title: Re: SA Chat
Post by: WCFA on April 01, 2014, 03:58:20 PM
Interesting there is no SACHAT in maintenance ?

Uuder SACHATs maint : Got it, fixed it.

Thank You  :)
Title: Re: SA Chat
Post by: Cmely on April 05, 2014, 03:20:13 PM
i didnt understand that?

Sorry for my language, I use google translator. Haber as writing to translate it "right."

When you talk to a user who closes the chat session, the chat window with you talking still open although the closures, and for several minutes ....
You know what I mean? thanks

sorry i still dont fully understand this

I think I can explain, as I have the same problem :) : when I close a chat window, it keep re-opening constantly...which is, you'll admit pretty annoying  :o :o :o
I close it, refresh the page...and pop ! here again !

I don't know how to reproduce the problem, but I get it regularly. Maybe this happen when your interlocutor logout from the forum without closing the chat...I'll check this hypothesis...but if this can be fixed, it would be sooooo cool, as it is a great mod !
Title: Re: SA Chat
Post by: SA™ on April 05, 2014, 04:16:54 PM
Quote
I don't know how to reproduce the problem

just had a look but i cant replicate this issue what brouwser?

was going to relase a new version soon with some bug fixes but i will wait for more info on this
Title: Re: SA Chat
Post by: Cmely on April 06, 2014, 02:25:24 PM
Quote
I don't know how to reproduce the problem
just had a look but i cant replicate this issue what brouwser?
Firefox.
As soon as I can I'll test the "logout" hypothesis.
Title: Re: SA Chat
Post by: Cmely on April 08, 2014, 07:15:25 AM
I did some tests and couldn't reproduce this behavior. I asked a friend to logout without closing the chat windows but everything went fine. I guess the "logout" hypothesis is not validated. If I have other ideas I'll make other tests.

Just a question : what the admin mode is for ?
Title: Re: SA Chat
Post by: Cmely on April 08, 2014, 07:16:47 AM
Another question : I've made a custom theme for SA Chat. Where and how can I upload it for others users ?
Title: Re: SA Chat
Post by: Shkic on April 09, 2014, 06:08:18 AM
Another question : I've made a custom theme for SA Chat. Where and how can I upload it for others users ?

Change it instead default theme.

was going to relase a new version soon with some bug fixes but i will wait for more info on this

Cool! :)

Title: Re: SA Chat
Post by: SA™ on April 09, 2014, 05:31:45 PM

Just a question : what the admin mode is for ?

admins can see all regarless off user settings

Quote
Another question : I've made a custom theme for SA Chat. Where and how can I upload it for others users ?

in sachat admin there is a themes section to upload themes
Title: Re: SA Chat
Post by: k0der on April 10, 2014, 11:05:57 AM
too much bug on this mod also they doesn't work properly sometime.~

Title: Re: SA Chat
Post by: SA™ on April 10, 2014, 12:40:19 PM
well thats helpfull why not tell what bug you say there are instead of telling there is bugs ?
Title: Re: SA Chat
Post by: Kindred on April 10, 2014, 04:44:58 PM
The mod seems to work perfectly fine for me....
Title: Re: SA Chat
Post by: Cmely on April 12, 2014, 11:08:28 AM
in sachat admin there is a themes section to upload themes

No, I meant here.

Don't you have a download section were Sa Chat users could add themes they have created to the benefit of the community ?
Title: Re: SA Chat
Post by: SA™ on April 12, 2014, 11:43:51 AM
at the moment i dont well there was but no one used it if people want to share there themes you can send them to me and i an add them to the first post if more themes are created ill see about a site for themes

i like what you  done with the sachat theme it look nice :)

DenotsNiaga<< is me on your site
Title: Re: SA Chat
Post by: Cmely on April 14, 2014, 09:46:01 AM
i like what you  done with the sachat theme it look nice :)

DenotsNiaga<< is me on your site

Oh, cool ! Welcome here and thank you for registering  :D
I'll send you my theme tonight.
Title: Re: SA Chat
Post by: Cmely on April 14, 2014, 02:35:32 PM
I just got again the "chat window not closing" bug...and it was with you... :o ;D

As you were on my site I sent you a message...but you logged out before getting it I guess. And now I can't get the chat window to close.

SMF shows member who where online during the last 15 min. I have the feeling that in some case it keeps showing you online during 15 min even if you just logged out. Maybe this behavior is what can cause the bug I'm talking about... ?
Title: Re: SA Chat
Post by: SA™ on April 14, 2014, 02:51:21 PM
yeah was there but left to play some xbox :D

right click on the x that you use to close the chat window and inspect element what number is in there is it my id on your site or 0 ?

if it is 0 i think i may know what is causing this issue and so do you youve hit the nail on the head there :P
Title: Re: SA Chat
Post by: Cmely on April 14, 2014, 03:09:59 PM
yeah was there but left to play some xbox :D

right click on the x that you use to close the chat window and inspect element what number is in there is it my id on your site or 0 ?

if it is 0 i think i may know what is causing this issue and so do you youve hit the nail on the head there :P

I get that : onclick="javascript:xchat('145')
145 is your id on the site.
Title: Re: SA Chat
Post by: SA™ on April 14, 2014, 08:34:10 PM
ok been testing various situaction with this now im still not able to replicate it on my dev copy it eaither fixed or just a intimitent bug still ill keep an eye on this one
Title: Re: SA Chat
Post by: SA™ on April 14, 2014, 10:04:17 PM
SA Chat 0.1.2 Relesed

chats are now displayed from bottom to top like facebook
fixed issue with chat boxes not reapering
fixed issue resetting members themes just didnt work
fixed issue with new_msg() and updatemsg() miss fireing if chat was hidden or minimised
fixed issue with php gadgets
social text no longer shows if none enabled
user is typing function now works a little better but this can still cause server load issues use at own risk
Title: Re: SA Chat
Post by: Cmely on April 15, 2014, 01:47:26 PM
Sorry for the stupid question but : do we have to uninstall first the previous version and then install the new one or can we directly install the new one on top of the old one ?
Title: Re: SA Chat
Post by: SA™ on April 15, 2014, 01:55:50 PM
Back up your theme uninstall previous one install the new one then you need to update your theme just copy the head and body js to your theme/js
Title: Re: SA Chat
Post by: Cmely on April 15, 2014, 03:23:37 PM
Back up your theme uninstall previous one install the new one then you need to update your theme just copy the head and body js to your theme/js

Thanks :)
Title: Re: SA Chat
Post by: Shkic on April 16, 2014, 03:58:08 PM
Now I'm thinking is really refresh button is necessary? What if everyone on the forum will start pushing refresh button? Does it will cause huge server load?

Bug found: In Opera browser there's no sound.

Another question: why in online list doesn't show buddies anymore if they're off-line? I remember in old versions in online list you can see your buddies and send to them message even when they're not on the forum.

EDIT:

One more error found: Undefined index:

cban

File: C:\xampp\htdocs\forum\sachat\functions.php
Line: 579

Code: [Select]
if (isset($_SESSION['cban']) || empty($modSettings['banLastUpdated']) || ($_SESSION['cban']['last_checked'] < $modSettings['banLastUpdated']) || $_SESSION['cban']['id_member'] != $user_info['id_member'] || $_SESSION['cban']['ip'] != $user_info['member_ip'] || $_SESSION['cban']['ip2'] != $user_info['member_ip2'] || (isset($user_info['email_address'], $_SESSION['cban']['email']) && $_SESSION['cban']['email'] != $user_info['email_address']))
Title: Re: SA Chat
Post by: Realinfo on April 16, 2014, 10:20:29 PM
No option to install or uninstall in package manager
2.0.7 Default theme
So previous version of SA Chat is working ok

But I want to uninstall and install the new one
Title: Re: SA Chat
Post by: nick111 on April 17, 2014, 07:26:54 AM
Quote
Installed just fine, all settings are there, although the chat does not show.
I am running 2.07 base theme.

It says its not disabled, is there and activate or button that you use to see it ?

Thanks

PS, no errors logs look good no install issues.
But Don't see the chat ??
same problem here
also tried Sa Chat>Maintenance>Fix Bar and got

Method Not Implemented

GET to /index.php not supported.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Any help?
Title: Re: SA Chat
Post by: Shkic on April 18, 2014, 04:35:28 AM
Another bugs found in newest version:

If someone write you first time when show chat window and shows the message. But later when chat window is open or minimized automatically not showing new messages. If chat window is open heard only sound about new message, but no new message is displayed. You need manualy refresh all forum, only then you can see message. This happening in Opera and Chrome. In IE works everything fine.
Title: Re: SA Chat
Post by: SA™ on April 18, 2014, 04:19:23 PM
Another bugs found in newest version:

If someone write you first time when show chat window and shows the message. But later when chat window is open or minimized automatically not showing new messages. If chat window is open heard only sound about new message, but no new message is displayed. You need manualy refresh all forum, only then you can see message. This happening in Opera and Chrome. In IE works everything fine.

hmm another bug i cant replicate doesnt mean its not a bug tho i do see a few issues with the heartbeat one of wich has had me stumped for a while now wich does realte to messages not appering if you send them too quick
Title: Re: SA Chat
Post by: Realinfo on April 20, 2014, 07:35:06 AM
Please give me

RC2 Rev60
Title: Re: SA Chat
Post by: SA™ on April 20, 2014, 01:13:43 PM
Why would you want an older version?
Title: Re: SA Chat
Post by: Realinfo on April 21, 2014, 06:43:13 AM
I have that version chat, and now I want to uninstall it, so to install new version,

Without that pack I can't uninstall
Title: Re: SA Chat
Post by: SA™ on April 21, 2014, 01:49:03 PM
Just grab the latest version from mod site and take the remove hooks.php upload it to your forum same place as the ssi.php and run it in your browser that will remove the hooks then just delete the sachat directory
Title: Re: SA Chat
Post by: Realinfo on April 21, 2014, 10:19:35 PM
When I tried with Remove hooks php, just blank page come and  I also deleted Sa chat directory but in Admin, there is still sa chat options like

    Config
    Gadgets
    Links
    Load Checking
    Theme
    CHMOD


Means to say remove hooks not working

any need to change chmod of some files for it?
Title: Re: SA Chat
Post by: SA™ on April 23, 2014, 01:19:16 PM
yup it suppsed to come up blank i didnt made it output nothing since it is usaly runs within smf

the remove hooks should of reomved the admin part

can you look in your database in settings table
for these hook

('integrate_pre_include', '$boarddir/Sources/SAChatHooks.php');
('integrate_load_permissions', 'SAChat_load_permissions', '$boarddir/Sources/SAChatHooks.php');
('integrate_admin_areas', 'SAChat_admin_areas', '$boarddir/Sources/SAChatHooks.php');
('integrate_load_theme', 'SAChat_loadTheme', '$boarddir/Sources/SAChatHooks.php');

if yu find them remove them

be carfull here and take a back up befor messing wit the database pls
Title: Re: SA Chat
Post by: SA™ on April 23, 2014, 01:30:56 PM
Quote
Installed just fine, all settings are there, although the chat does not show.
I am running 2.07 base theme.

It says its not disabled, is there and activate or button that you use to see it ?

Thanks

PS, no errors logs look good no install issues.
But Don't see the chat ??
same problem here
also tried Sa Chat>Maintenance>Fix Bar and got

Method Not Implemented

GET to /index.php not supported.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Any help?

this is usaly a issue with mod secrurity ask your host to disable it
Title: Re: SA Chat
Post by: SA™ on April 25, 2014, 12:54:32 PM
for those interested i have added a new buid to http://samods.github.io/SAChatBar/ there

contains a few small fixes and another theme like default except it uses xml http request in stead of jquery does not have a the bells and whisstles like the the other default theme yet but i am hoping this one will perfom a little better theme is attached this post
Title: Re: SA Chat
Post by: vujicicdragan on May 05, 2014, 07:51:00 AM
how to install (SAChatBar-0.1.2) on free host online please hlp me :D
Title: Re: SA Chat
Post by: Kindred on May 05, 2014, 06:52:42 PM
1- do not double post
2- WAIT. this is not a real time support site
3- depends on your host...   some hosts do not allow you to install any mods at all.
4- if you can install mods, read the FAQ/Wiki on how to install mods
Title: Re: SA Chat
Post by: w5hro on May 10, 2014, 05:33:37 PM
Hello,

In the error log I keep getting the below. What is that and how to correct it?

FATAL

PHP Startup: Unable to load dynamic library '/htscanner.so' - /htscanner.so: cannot open shared object file: No such file or directory

File: Unknown
Line: 0
Title: Re: SA Chat
Post by: SA™ on May 11, 2014, 03:12:27 PM
this is not caused by this mod

typically this warning is due to a line of code in the php.ini file

if you have acesse to your php.ini files you can fix it your self google is your friend there
if not ask your host to fix it

Title: Re: SA Chat
Post by: w5hro on May 13, 2014, 10:42:37 AM
Thanks, I had already found articles on the web before you replied. The problem is I don't have any php.ini file. I searched through all the directories via my Cpanel so I've asked the hosting company.

One quick question though. How does this chat mod effect resource usage on a shared server? I know with a phpBB3 board with minichat installed most hosting companies will shut you down because it just kills the CPU. It won't fly on a shared server.

The last chat package I used was ComentChat which was a lot different and if you paid the $9 a month for the cometservice you didn't have any issues with the hosting company, but what about this SA Chat mod? Will I have a problem with CPU usage? If so is there anyway SA Chat could be modified to support a paid service like the cometservice on an external server somewhere?

Title: Re: SA Chat
Post by: SA™ on May 13, 2014, 03:35:15 PM
Quote
One quick question though. How does this chat mod effect resource usage on a shared server? I know with a phpBB3 board with minichat installed most hosting companies will shut you down because it just kills the CPU. It won't fly on a shared server.

if your on a shared server i cant say there will not be any issues however i know atleast 3 people who all use it on shared host with no issues although these are not very active forums

Quote
The last chat package I used was ComentChat which was a lot different and if you paid the $9 a month for the cometservice you didn't have any issues with the hosting company, but what about this SA Chat mod? Will I have a problem with CPU usage? If so is there anyway SA Chat could be modified to support a paid service like the cometservice on an external server somewhere?

at the moment there is no plans for that althought i have been working on improving certain aspects of this mod one main ones is ditching the need for jquery i have most of the code now using pure js and xmlhttprequest instead of ajax i see a dramatic improvement just doing this thougth this version is not realsed yet it is avalible on my github link in sig there is some bugs with it and most likly will not work on older brousers
Title: Re: SA Chat
Post by: Ninja ZX-10RR on May 20, 2014, 05:30:42 AM
Thanks for the awesome mod i really love it, one little detail... I have the "™" in my name on the forum but when i chat to someone it shows up the thing i attached... Maybe some ISO to UTF conversion problems? It happened to me only with ™ only until now but maybe it can happen with some other special characters..?
Sorry for bothering you with this little error, thanks in advance for the reply and thanks again for the mod anyway, users really love it!
Title: Re: SA Chat
Post by: SA™ on May 20, 2014, 01:26:23 PM
I'm am aware of this bug :)
Title: Re: SA Chat
Post by: Ninja ZX-10RR on May 20, 2014, 02:28:53 PM
Good :)
Thanks for your reply but... Are you going to fix it? Any clues of what it could be? Maybe it's related to the thing i told you? ETA for the fix if you have time and willingness to do that for hopeless users not knowing how to? XD
Title: Re: SA Chat
Post by: SA™ on May 20, 2014, 02:55:32 PM
Yes sorry I will take a look tomorrow after work
Title: Re: SA Chat
Post by: Ninja ZX-10RR on May 20, 2014, 04:44:52 PM
Copy that, thank you, we all appreciate your time and effort for this mod. My users appreciate it even more ;) let us know when you will be done, i don't know either update it or if it's really simple just let us know the code that must be edited... Anyway thanks again for your time, good work for tomorrow in both senses if you will be able to take a look :)
Title: Re: SA Chat
Post by: welshdog on May 23, 2014, 09:45:12 PM
Sorry if this covers old ground but I couldn't find some of the stuff suggested as a fix.

Site: Australian Opinion (http://australianopinion.com.au)

Detail: Using SMF-Default Theme under v 2.0.7 with Tiny Portal and security mods.

Installed, but chat bar didn't show up.

Loaded site in FileZilla:

Checked all permissions... 755 all the way.
Reloaded just in case... still nothing

Realised I was looking in /public_html/forum/sachat

... and had nothing labelled 2sichat or similar for me to check!

The Error log shows:

INFO   |   Undefined index: cban   |   File: /xxx/sachat/functions.php Line: 579

What do I do??
Title: Re: SA Chat
Post by: SA™ on May 24, 2014, 04:24:14 PM
In sachat admin maintenance there is. A option called fix bar use it
Title: Re: SA Chat
Post by: Ninja ZX-10RR on May 25, 2014, 08:02:28 AM
Thanks for the awesome mod i really love it, one little detail... I have the "™" in my name on the forum but when i chat to someone it shows up the thing i attached... Maybe some ISO to UTF conversion problems? It happened to me only with ™ only until now but maybe it can happen with some other special characters..?
Sorry for bothering you with this little error, thanks in advance for the reply and thanks again for the mod anyway, users really love it!
I'm am aware of this bug :)
Yes sorry I will take a look tomorrow after work

Sorry for bothering you man, any updates on this?
Thanks in advance anyway :)
Title: Re: SA Chat
Post by: ExSpirit on May 25, 2014, 11:58:04 AM
This looks like nice mod, but I have a few questions about a few functions:

1. What does "Admin Mode" do? I can't see any difference if I have it off or on.

2. Is there any way to include censored words from SMF?

3. When user has someone on Block list and other user tries to send a message, it's not sent, so he knows that he is in Block. Is there any way that he seas it as it was sent but the first user just doesn't get the message, so that blocked user can't know that he is being blocked?

4. What happens if someone has lots of opened chats or lots of people message him and there's no space on the bottom screen for them? How are they placed? On my screen I think I could have 6, but what if 10 people message me?

5. I will add button to each profile to start chat, so I am wondering what function should I call from my href to open chat (or maybe even check first if user has chat bar enabled)?

6. I would like to add button to disable chat bar (and after user disables it button to enable it is shown), so that's it's seen on board index. Is there any link which I can use or function to do that? I don't want to send users to their profile settings and do it there...

7. Is it possible to add timestamp to messages, so that users know when message was sent?

8. Is there any place to get more themes?
Title: Re: SA Chat
Post by: Ninja ZX-10RR on May 25, 2014, 12:16:07 PM
This looks like nice mod, but I have a few questions about a few functions:

1. What does "Admin Mode" do? I can't see any difference if I have it off or on.

2. Is there any way to include censored words from SMF?

3. When user has someone on Block list and other user tries to send a message, it's not sent, so he knows that he is in Block. Is there any way that he seas it as it was sent but the first user just doesn't get the message, so that blocked user can't know that he is being blocked?

4. What happens if someone has lots of opened chats or lots of people message him and there's no space on the bottom screen for them? How are they placed? On my screen I think I could have 6, but what if 10 people message me?

5. I will add button to each profile to start chat, so I am wondering what function should I call from my href to open chat (or maybe even check first if user has chat bar enabled)?

6. I would like to add button to disable chat bar (and after user disables it button to enable it is shown), so that's it's seen on board index. Is there any link which I can use or function to do that? I don't want to send users to their profile settings and do it there...

7. Is it possible to add timestamp to messages, so that users know when message was sent?

8. Is there any place to get more themes?
I can answer a few of those...
2) No you will have to add them again in the chat config bar

3) What for? He is blocked anyway... It's like Facebook or similar...

4) Just close the older ones or when you are waiting for a reply because it will pop up again when you receive a message ;) if you have to chat with a lot of people anyway i suggest you a shoutbox...

6) It's only in the profile settings i don't think it can be done easily but i guess you should wait the author for a confirmation about it...

7) As far as i remember there is lol just when you are chatting in realtime there isn't

8) I think you should just edit your css for that... But maybe the author has some more info on it
Title: Re: SA Chat
Post by: SA™ on May 25, 2014, 02:34:38 PM
Quote
4. What happens if someone has lots of opened chats or lots of people message him and there's no space on the bottom screen for them? How are they placed? On my screen I think I could have 6, but what if 10 people message me?

the chat has overflow built in meaning if the width of the chat boxes is more than the berouser width it will hide the ones that overflow and it will show two green arrows to the left to cycle thrue the open chat boxes

Quote
1. What does "Admin Mode" do? I can't see any difference if I have it off or on
admin see all regarless of there chat settings

Quote
7. Is it possible to add timestamp to messages, so that users know when message was sent?
it shws a a time stamp on last messgae if there has been no activity after 3 mins can be changed in admin

Quote
5. I will add button to each profile to start chat, so I am wondering what function should I call from my href to open chat (or maybe even check first if user has chat bar enabled)?
you can use
 <a  href="javascript:void(0)" onclick="javascript:chatTo(\memberid\');return false;">

Thanks for the awesome mod i really love it, one little detail... I have the "™" in my name on the forum but when i chat to someone it shows up the thing i attached... Maybe some ISO to UTF conversion problems? It happened to me only with ™ only until now but maybe it can happen with some other special characters..?
Sorry for bothering you with this little error, thanks in advance for the reply and thanks again for the mod anyway, users really love it!
I'm am aware of this bug :)
Yes sorry I will take a look tomorrow after work

Sorry for bothering you man, any updates on this?
Thanks in advance anyway :)

yes looking now sry for the delay
Title: Re: SA Chat
Post by: SA™ on May 25, 2014, 03:28:58 PM
Thanks for the awesome mod i really love it, one little detail... I have the "™" in my name on the forum but when i chat to someone it shows up the thing i attached... Maybe some ISO to UTF conversion problems? It happened to me only with ™ only until now but maybe it can happen with some other special characters..?
Sorry for bothering you with this little error, thanks in advance for the reply and thanks again for the mod anyway, users really love it!
I'm am aware of this bug :)
Yes sorry I will take a look tomorrow after work

Sorry for bothering you man, any updates on this?
Thanks in advance anyway :)

actualy there seems to be a bigger issue here it seems when your buddy has special chars in there name they cant send messages it just breaks a few things :( it gonna take a little longer to fix this one it has me stumped for now i hate these things they always get me never been too gd with special chars leave it with me for now ill get it :)
Title: Re: SA Chat
Post by: Ninja ZX-10RR on May 25, 2014, 06:35:12 PM
It actually lets me send messages and receiving them normally, the problem is only the username being shown badly... At least this applies to me. Thanks anyway for your time again. Let me know, *let us know :)
Title: Re: SA Chat
Post by: welshdog on May 25, 2014, 08:12:32 PM
In sachat admin maintenance there is. A option called fix bar use it

Sort of working now thanks. Just one or two small things.

Firstly I keep seeing javascript void (0) messages... why? :)

Secondly... this is a feature request... is it possible to get a group chat organised, i.e. multiple recipients?

Lastly... also maybe a feature request... is it possible to enlarge the chat box... esp with those with multiple recipients.. :D

Otherwise, seems to be working fine thanks.
Title: Re: SA Chat
Post by: ExSpirit on May 26, 2014, 06:17:45 AM
Great, thx for answers.

Two more things:

1) How can I check (in code in my display.template) if member has chat disabled? Because if member has chat disabled and I message him it displays in message box "undefined" (I would rather not show chat button for that member ot at least write that user has disabled chat instead of just "undefined" reply).

2) I noticed two errors on Error logs (I haven't modified anything yet):

Undefined index: cban (File: /usr/home/public_html/sachat/functions.php Line: 579)
Undefined variable: buddies (File: /usr/home/public_html/sachat/themes/default/js/body.js.php Line: 53)
Title: Re: SA Chat
Post by: SA™ on June 01, 2014, 04:10:23 PM
It actually lets me send messages and receiving them normally, the problem is only the username being shown badly... At least this applies to me. Thanks anyway for your time again. Let me know, *let us know :)

just updated this on github should fix this issue
http://samods.github.io/SAChatBar/
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 01, 2014, 05:04:26 PM
Thanks for your reply :)

Sorry to say this but I got this when I downloaded it and tried to re-upload it.
Code: [Select]
Package upload failed due to the following error:
"Although the package was downloaded to the server it appears to be empty. Please check the Packages directory, and the "temp" sub-directory are both writable. If you continue to experience this problem you should try extracting the package on your PC and uploading the extracted files into a subdirectory in your Packages directory and try again. For example, if the package was called shout.tar.gz you should:
1) Download the package to your local PC and extract it into files.
2) Using an FTP client create a new directory in your "Packages" folder, in this example you may call it "shout".
3) Upload all the files from the extracted package to this directory.
4) Go back to the package manager browse page and the package will be automatically found by SMF."

Trying to manually upload it into packages folder changed nothing as the package is not being detected by SMF package manager. I'm gonna re-install the previous one, update again if you fix it :) additionally the size of the previous one is 100kb less than this... Idk what that could mean but I just know that it doesn't work to me at all.
Title: Re: SA Chat
Post by: SA™ on June 01, 2014, 05:09:37 PM
yeah download the package from there to your desktop extract it and rezip github puts the files two layers deep wich means smf can not read the package

Quote
additionally the size of the previous one is 100kb less than this... Idk what that could mean but I just know that it doesn't work to me at all.
this one has a beta theme in same as the default but removes most jquery dependacy [this has bugs right now it is wip it included just for testing purposes]
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 01, 2014, 05:27:15 PM
LOL didn't know that XD (how could I knew it?)

Well good job it works for now and error log is clear :) I'll let you know but meantime thank you very much for the fix, for the time and effort. I will post again anyway to confirm whether it really works or not in the next days ;)
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 04, 2014, 05:32:27 PM
*very bad news here*

After installing the new version but also trying the older one when I try to enable the load checking, doesn't matter if experimental caching is on or off it's the same. I use default theme running on smf 2.0.7
It spams *a lot* of those, I had 60 errors in a few seconds only D:
Title: Re: SA Chat
Post by: SA™ on June 04, 2014, 06:02:30 PM
your host has passthru() function disabled so it won't work anyway just don't use load checking  noted I need to add checks for this
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 04, 2014, 06:12:41 PM
As always thanks for your reply. :)
A few more questions then:
Title: Re: SA Chat
Post by: SA™ on June 05, 2014, 08:41:23 AM
i doubt the will enable it for you
well it depends realy most people do with out the load checking
i mean i need t ad checks for that passthru funtion
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 05, 2014, 02:46:38 PM
Thanks for your reply as always :)

But does it mean you will be releasing an update for that? Also you are forced to use that passthru function to enable load checking? I would really like to use it but like you said I don't know if they will enable it for me...
Title: Re: SA Chat
Post by: SA™ on June 05, 2014, 02:59:55 PM
yes there will be an update for it
when i cant say right now but there will be one  ;D

Quote
Also you are forced to use that passthru function to enable load checking?
no im not forced to use that function all the load checking was there when i took the mod over from nend i just realy never touched that part much but there is other ways to acheive this and maybe the next update will have

Quote
I would really like to use it but like you said I don't know if they will enable it for me...
if it is disabled for secrity concerns then no just wait ill get to it :)
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 05, 2014, 05:39:59 PM
Dude thanks again. I appreciated your time and effort so much that I decided to take a look at the files and I:

As attached :)

Thank you for your kindness in the first place. Awesome mod, awesome support then you get a translation and a review :)
Title: Re: SA Chat
Post by: SA™ on June 05, 2014, 05:47:47 PM
thanks i have added them to the package on github ;)
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 05, 2014, 05:54:38 PM
You're welcome it was a pleasure, let me know about the updates when you have some spare time of course :D have a nice day ;)
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 05, 2014, 06:26:12 PM
Update: I feel quite ashamed for saying this but it doesn't load up the italian translation. At first I thought it was something wrong with UTF-8 maybe not loading non-utf things and stuff like that but it seems to just ignore the translation even after reinstalling the whole mod and clearing any cache D: I might not be really a pro-coder but I am pretty sure I didn't do anything wrong in the translation... Instead the English tweaks are working perfectly (the other file is just an edited copy of this one...). Any ideas? I'm really sorry to post this but I have been wondering for like 15 mins and found nothing wrong... Sorry to bother you like this, I hope to get this thing sorted out asap.
Title: Re: SA Chat
Post by: SA™ on June 05, 2014, 06:38:22 PM
Is your forum language set to Italian ?
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 05, 2014, 07:59:05 PM
I tried both setting it from the profile and also the master setting but nothing D: Idk D:
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 08, 2014, 03:54:27 PM
Any updates?  :'(
Title: Re: SA Chat
Post by: SA™ on June 09, 2014, 12:38:34 PM
on the Italian language issue ?
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 09, 2014, 01:33:06 PM
Yup T.T I'm very disappointed about that for 2 reasons
Title: Re: SA Chat
Post by: SA™ on June 09, 2014, 01:43:05 PM
When I have the time I'll look into it right now maybe. All week I'm busy
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 09, 2014, 01:45:22 PM
Let me know. Thanks anyway  :'(
Title: Re: SA Chat
Post by: sunilimon on June 13, 2014, 01:03:32 PM
Request: Members should appear disconnected if they are using tapatalk. Is there any way to control this function? Some users say to me that receives chat messages, but they are connected by tapatalk and don't realise about chat messages.

Thank you very much!
Title: Re: SA Chat
Post by: Kindred on June 13, 2014, 02:12:11 PM
that requires this mod to do something custom for a different mod...

(of course, I can't understand why anyone would EVER use tapatalk anyway)
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 16, 2014, 01:50:28 AM
Bump for the old bug regarding the translation not being loaded/wrong idk and reporting another one.
Chat messes things up if opened in more than one tab, if a user opens it in more than one tab he will be able to receive messages in only one of those tabs totally randomly. Let me explain better. Let's say user A has 3 tabs of the forum opened with the chat and user B only one. User A texts user B in tab 1 and user B replies, user A receives the answer in tab 2 or 3 without being able to see the message he has already sent to B through tab 1 in the first place. Refreshing doesn't fix it. Clearing the cache doesn't fix it and neither reinstalling it.
Requesting help for both of these problems when you have time mate  :'(
Title: Re: SA Chat
Post by: Semetery on June 16, 2014, 03:32:28 AM
Absolutely LOVE the mod, unfortunately it like many other of my favorite mods breaks my tabbed categories. It's surely a jQuery issue I'm guessing as disabling this fixes it right back up. I downloaded a zip shared by the author on June 1st, but it too broke it.

Is there anything I can do to make them work in unison?
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 16, 2014, 04:07:16 AM
Absolutely LOVE the mod, unfortunately it like many other of my favorite mods breaks my tabbed categories. It's surely a jQuery issue I'm guessing as disabling this fixes it right back up. I downloaded a zip shared by the author on June 1st, but it too broke it.

Is there anything I can do to make them work in unison?
Dude apart from the fact that you didn't mention your theme or modification that is being incompatible I don't think it can be done as if javascripts are interfering with each other you can't do very much about it. I had to uninstall my custom theme to install the shoutbox for instance.
Title: Re: SA Chat
Post by: Kindred on June 16, 2014, 08:01:42 AM
if they are conflicting on jquery, then you need to edit ALL mods that use jquery so that it is loaded only once.

A few things to keep in mind
1- it is not the job of mod authors to be sure their mod(s) work with other mod(s). We enforce only that mods MUST install cleanly and work on a CELAN copy of SMF. :)
2- mods may have been designed to use different versions of jQuery...
3- some mods may use one of the other javascript repositories like mootools, which may conflict with jQuery.
Title: Re: SA Chat
Post by: SA™ on June 16, 2014, 02:48:53 PM
Bump for the old bug regarding the translation not being loaded/wrong idk and reporting another one.
Chat messes things up if opened in more than one tab, if a user opens it in more than one tab he will be able to receive messages in only one of those tabs totally randomly. Let me explain better. Let's say user A has 3 tabs of the forum opened with the chat and user B only one. User A texts user B in tab 1 and user B replies, user A receives the answer in tab 2 or 3 without being able to see the message he has already sent to B through tab 1 in the first place. Refreshing doesn't fix it. Clearing the cache doesn't fix it and neither reinstalling it.
Requesting help for both of these problems when you have time mate  :'(

ive known about this issue for some time though i do not know a way around that issue. i got some time off work next week ill try again then
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 16, 2014, 03:03:42 PM
Thanks for your constant time and effort then :) I hope you find a solution to both of those problems ;)
Title: Re: SA Chat
Post by: SA™ on June 16, 2014, 03:10:19 PM
is your forum utf8? could explain why the language works for me :P try attached?
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 16, 2014, 03:20:21 PM
is your forum utf8? could explain why the language works for me :P try attached?
OMFG *Flavio hides his head in the ground like an ostrich*
Title: Re: SA Chat
Post by: SA™ on June 16, 2014, 03:21:25 PM
works now then?
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 16, 2014, 03:27:40 PM
Yes................................................................ I had completely forgotten to rename it to utf as it was actually written for utf... I never ever felt such a dumbass before  :-X
Title: Re: SA Chat
Post by: SA™ on June 22, 2014, 10:34:46 AM
i have pushed an update to my github that changes the load checking i cant realy test it as i only have windws to test in :( and the function i used is not in windows servers
https://github.com/SAMods/SAChatBar

may not even work guess work :D
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 22, 2014, 11:21:38 AM
Cool! I don't have the opportunity to reinstall it at the moment but I will do that later or in the next days. I'll let you know ;) thank you again as always :D
Title: Re: SA Chat
Post by: RSI on June 24, 2014, 12:56:10 PM
Hello,

I've installed the latest version and I get the two errors below in the error log.

INFO    Undefined variable: cpu    File: /home/admin/public_html/sachat/functions.php
            Line: 1004

FATAL     PHP Startup: Unable to load dynamic library '/htscanner.so' - /htscanner.so: cannot open shared object file: No such file or directory
              File: Unknown  Line: 0

So, how can I get rid of these errors? Everything seems to be working properly so I'm not sure why I'm even getting them.

The FATAL one will not go away with or without a php.ini file in the root. The hosting company gave me that file and commenting out those lines does not do anything.

Is there some way I can modify the SA Chat files so it will stop running those two checks/tests?



Title: Re: SA Chat
Post by: SA™ on June 24, 2014, 01:00:49 PM
are you using the one from this site or from my github?
Title: Re: SA Chat
Post by: RSI on June 24, 2014, 01:08:10 PM
are you using the one from this site or from my github?

The one from this site...

P.S. If I disable load checking the first INFO error goes away.
Title: Re: SA Chat
Post by: SA™ on June 24, 2014, 01:13:01 PM
the fatal error is not this mod but you php.ini file

Quote
Typically this warning is due to a line of code in the php.ini file. You can simply comment that line of code out and it should not affect anything

Quote
Undefined variable: cpu
just dont use load checking as it dont realy work right
Title: Re: SA Chat
Post by: RSI on June 24, 2014, 01:27:28 PM
the fatal error is not this mod but you php.ini file

Typically this warning is due to a line of code in the php.ini file. You can simply comment that line of code out and it should not affect anything

My site didn't even have or use a php.ini file, but the hosting company copied one in my root and commenting out those lines does absolutely nothing.

Is there a way I and can just modify the sa chat file(s) to stop it from running that instead?
Title: Re: SA Chat
Post by: SA™ on June 24, 2014, 03:20:27 PM
speak to you host i can not fix this
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 24, 2014, 05:18:26 PM
Just tested it and it works at least it shows me the current server load and also no errors in the error log :D

Thanks to this test I found a bad issue with another mod I had installed so thank you twice :D I should thank you twice and now the translation works perfectly (*feels cool  8) *)

As regards the chat not showing messages in tabs I can't understand the way it does that :/ but it still doesn't work. If you can find a way to fix it let me know I will try it for you ;)
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 27, 2014, 06:38:40 PM
Here we go again I guess you can call me a pro-glitcher... Two bugs found:

The other one is still the one related to tabs receiving messages randomly lol
Title: Re: SA Chat
Post by: SA™ on June 28, 2014, 12:15:44 PM
thanks for the reports Flavio93Zena ill check soon
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 28, 2014, 12:21:46 PM
Thank you :D

I will be testing for you ;) when you update link me the mod from github :)

Thanks again for your time, patience and effort.
Title: Re: SA Chat
Post by: SA™ on June 29, 2014, 01:08:13 AM
When I login with an account that has a permission profile identical to an administrator one it does not show "admin mode" window in chat. (Never used it as an admin until now so that's why I discovered it so late...)

you have to enble groupe permissions for this to work did you enable that?

Quote
Kinda bad one. When you logout with an opened chat and login with another account that chat window remains opened without showing the recipient (so an empty chat...). Disabling the bar from the profile didn't fix the problem, neither disabling it from the admin and not even uninstalling it and reinstalling it!!! I had to delete my cookies so that I had to re-login everywhere
added user id prefix to cookies should fix this

new build is here
https://github.com/SAMods/SAChatBar
https://github.com/SAMods/SAChatBar/commit/ab7f4fe7f16e52ac7c0b0a9eb4ef6be53102f431

also please note you did not have to delete all your cookies you could of went to sachat admin and changed the cookie prefix

Quote
The other one is still the one related to tabs receiving messages randomly lol
this is a tricky one  :P
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 29, 2014, 01:44:57 AM
When I login with an account that has a permission profile identical to an administrator one it does not show "admin mode" window in chat. (Never used it as an admin until now so that's why I discovered it so late...)

you have to enble groupe permissions for this to work did you enable that?
If I check this
Quote
Enable group permissions
Enable group permissions that you can modify in the permission manager in SMF.
Note: The settings here will override permission settings.
the chatbar totally disappears.

Quote
Kinda bad one. When you logout with an opened chat and login with another account that chat window remains opened without showing the recipient (so an empty chat...). Disabling the bar from the profile didn't fix the problem, neither disabling it from the admin and not even uninstalling it and reinstalling it!!! I had to delete my cookies so that I had to re-login everywhere
added user id prefix to cookies should fix this

new build is here
https://github.com/SAMods/SAChatBar
https://github.com/SAMods/SAChatBar/commit/ab7f4fe7f16e52ac7c0b0a9eb4ef6be53102f431

also please note you did not have to delete all your cookies you could of went to sachat admin and changed the cookie prefix [/quote]
Awesome I will try all the details later, I will update you on this.

Quote
The other one is still the one related to tabs receiving messages randomly lol
this is a tricky one  :P
[/quote]
Yeah LOL steal some facebook's code :P

But above anything else thank you again once more. You have been extremely fast! Sorry if I can't always try it immediately but I will do that for sure ;)
Title: Re: SA Chat
Post by: SA™ on June 29, 2014, 01:48:56 AM
Quote
the chatbar totally disappears.
Indeed you need to setup the actual permissions in admin/permissions. That setting just enables support for permissions in sachat
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 29, 2014, 08:20:39 AM
The problem is that I have already checked every box... With administrator membergroup it does show up while with my membergroup having the same permissions (full permissions) it doesn't. :(
I will try the bug fix within an hour.
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 29, 2014, 09:10:59 AM
Big up for the cookie fix as it works correctly! Thank you :D you can update the package when you have time ;)

As regards the other problem, as attached. As you can see my permissions are full but admin mode doesn't show up. It does show up only with Administrator default group.
Title: Re: SA Chat
Post by: winnergirl on June 29, 2014, 01:23:54 PM
I apologize for intruding, but I am so frustrated. I have been searching for hours to an answer to a simple SMF question, but without any luck. I joined this forum hoping to find someone who could answers my question, but I can not find the option to post a new thread, is this because I just signed up? Again, I apologize, and thanks for your patience.
Title: Re: SA Chat
Post by: SA™ on June 29, 2014, 01:42:21 PM
Big up for the cookie fix as it works correctly! Thank you :D you can update the package when you have time ;)

As regards the other problem, as attached. As you can see my permissions are full but admin mode doesn't show up. It does show up only with Administrator default group.

yeah my bad im sry the user has to be in the admin groupe to see that button looing at the way it handels
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 29, 2014, 02:35:24 PM
Can't you change it and create a permission setting for it? As lots of admins don't really use the "Administrator" membergroup and they prefer to create another one with the same permissions... (so just like me...)

I apologize for intruding, but I am so frustrated. I have been searching for hours to an answer to a simple SMF question, but without any luck. I joined this forum hoping to find someone who could answers my question, but I can not find the option to post a new thread, is this because I just signed up? Again, I apologize, and thanks for your patience.
This is not the place to find an answer to your question. You posted once before this message and without even waiting for a reply in that other topic you claim to be frustrated and so on?
1-If you had like ONE MINUTE to install the mod you would have seen that it adds columns, obviously. Otherwise it would have been very stupid as a mod if the admin has to do everything manually.
2-This topic treats a totally different kind of thing.
3-A very simple search in the mods section would have redirected here: http://custom.simplemachines.org/mods/index.php?action=search;basic_search=ads , some of them are not related to ads as the keyword is very simple but many of them are. Take your pic and ask for support where indicated, thank you.
4-This is the support board for SMF 2.0.x --> http://www.simplemachines.org/community/index.php?board=147.0
Title: Re: SA Chat
Post by: SA™ on June 29, 2014, 03:49:54 PM
Quote
Can't you change it and create a permission setting for it? As lots of admins don't really use the "Administrator" membergroup and they prefer to create another one with the same permissions... (so just like me...)

i dont realy know why i never done the permission thing before tbh :P
https://github.com/SAMods/SAChatBar
https://github.com/SAMods/SAChatBar/commit/7c4a25a6536cc6f092733e9e979eddc942a0bebf
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 29, 2014, 04:45:49 PM
Thank you for your reply :)
Too bad. It doesn't work to me. Here are the details:


Code: [Select]
$txt['permissionname_2sichat_bar_adminmode'] = 'Autorizzato ad utilizzare la modalit&agrave admin';
Title: Re: SA Chat
Post by: SA™ on June 29, 2014, 04:52:58 PM
Quote
The first edit (Sources/SAChatHooks.php) is supposed to be at line 116, not at 122 ;)

it could be placed there but i added it to the end of other chat permissions

Quote
The Italian translation for that string is

thanks i updated on git hub with that

Quote
Despite the error log is clear it doesn't seem to work for me. I had set up the permission and activated it but nothing changed unfortunately... I tried to delete the cache, logout and log back in but still nothing :( the admin mode doesn't show up.

hmmm it is showing for me as regular a user you sure you have enabled group permissions in sachat admin?
Title: Re: SA Chat
Post by: Ninja ZX-10RR on June 29, 2014, 04:57:01 PM
Quote
The first edit (Sources/SAChatHooks.php) is supposed to be at line 116, not at 122 ;)

it could be placed there but i added it to the end of other chat permissions
Lol then np :)

Quote
The Italian translation for that string is
thanks i updated on git hub with that
No problem :D


Quote
Despite the error log is clear it doesn't seem to work for me. I had set up the permission and activated it but nothing changed unfortunately... I tried to delete the cache, logout and log back in but still nothing :( the admin mode doesn't show up.
hmmm it is showing for me as regular a user you sure you have enabled group permissions in sachat admin?
I'll try again and post a screenshot if it fails :)
Title: Re: SA Chat
Post by: anothen on July 10, 2014, 08:36:49 PM
Greetings,
I am trying to uninstall SA Chat for troubleshooting and I get an error (first image sachaterror001.png)

I plan to do a backup before I run the uninstall, I just want to check with support before I do.

The original error I am troubleshooting for is in the second image.  It seems to be a common error that I am trying to isolate.
Title: Re: SA Chat
Post by: SA™ on July 10, 2014, 09:22:34 PM
Yup you can uninstall it and just remove that edit manualy. As for the error your getting what version of sachat you have installed?.
Title: Re: SA Chat
Post by: anothen on July 10, 2014, 09:31:21 PM
SA Chat   0.1.2 Rev102

Do you suppose that the "...  '2sichat.english' language file.  ..." has something to do with the SA Chat?
Title: Re: SA Chat
Post by: SA™ on July 10, 2014, 09:33:56 PM
well yes cos 2sichat was the mods name before i took over the mod and that files is the language file for this mod

can you veryfi the files is there in Themes\default\languages?
Title: Re: SA Chat
Post by: anothen on July 10, 2014, 09:46:26 PM
well yes cos 2sichat was the mods name before i took over the mod and that files is the language file for this mod

can you veryfi the files is there in Themes\default\languages?

Yes, there are 42 files in the Themes/default/languages  I do not know how to verify them.
I would need to take two screenshots to show them all.

Is is safe to go ahead and uninstall the mod?  I don't know what you mean by manually removing an edit.
Please forgive my lack of experience with SMF and Mods.
Title: Re: SA Chat
Post by: SA™ on July 11, 2014, 05:01:07 AM
Quote
Yes, there are 42 files in the Themes/default/languages  I do not know how to verify them.
I would need to take two screenshots to show them all.

well you should see 2sichat.english.php if it is there just look for that name
Title: Re: SA Chat
Post by: anothen on July 11, 2014, 02:24:46 PM
Great, uninstallation successful.  I'll delete this one and download the updated version.

Thank you for your assistance.
Title: Re: SA Chat
Post by: ExSpirit on July 14, 2014, 07:35:32 AM
I have just noticed that if I am not logged-in, I am receiving two same errors in my firebug:
 
Code: [Select]
SyntaxError: missing ; before statement
{"STATUS":"NO ACCESS"}

How can I fix that?

I found in index.php this code:

Code: [Select]
if (!empty($modSettings['2sichat_permissions']) && empty($permission['2sichat_access']) && empty($permission['is_admin']) && empty($permission['is_mod'])) {
    $context['JSON']['STATUS'] = 'NO ACCESS'; // Sorry but you don't have access
    doOutput();
}

If I remove doOutput() error is gone, but bar is shown below (with text please login or register), but I don't want that bar to be seen by members.


------------
EDIT: I have not (temporary) solved this by adding:

Code: [Select]
if ($member_id == 0) {
    die();
}

in index.php
Title: Re: SA Chat
Post by: Ninja ZX-10RR on July 14, 2014, 12:06:50 PM
Sorry dude I have been in hospital and nearly died last week. I will reply as soon as I possibly can but please forgive me if I won't be very fast this time... I will be posting a topic in chit chat about this.
Title: Re: SA Chat
Post by: SA™ on July 14, 2014, 02:53:03 PM
I have just noticed that if I am not logged-in, I am receiving two same errors in my firebug:
 
Code: [Select]
SyntaxError: missing ; before statement
{"STATUS":"NO ACCESS"}

How can I fix that?

I found in index.php this code:

Code: [Select]
if (!empty($modSettings['2sichat_permissions']) && empty($permission['2sichat_access']) && empty($permission['is_admin']) && empty($permission['is_mod'])) {
    $context['JSON']['STATUS'] = 'NO ACCESS'; // Sorry but you don't have access
    doOutput();
}

If I remove doOutput() error is gone, but bar is shown below (with text please login or register), but I don't want that bar to be seen by members.


------------
EDIT: I have not (temporary) solved this by adding:

Code: [Select]
if ($member_id == 0) {
    die();
}

in index.php

this isnt a show stopper but ill look into this when i have time
Title: Re: SA Chat
Post by: -Captain Ghost- on July 15, 2014, 11:10:23 PM
Hello,
First of all thanks for this great mod No problem with this but i want to ask that if it can be used for guest also.

Thanks  ;D
Title: Re: SA Chat
Post by: SA™ on July 16, 2014, 02:07:25 AM
Hello,
First of all thanks for this great mod No problem with this but i want to ask that if it can be used for guest also.

Thanks  ;D

nope
Title: Re: SA Chat
Post by: Ninja ZX-10RR on July 16, 2014, 08:07:25 AM
I will be back in a day or 2 to test any update mate, sorry for the long absence time (http://www.simplemachines.org/community/index.php?topic=525177.0)
Title: Re: SA Chat
Post by: ExSpirit on July 18, 2014, 06:45:40 AM
I have another problem and I'm not sure if there's something I have done or is there a bug in code:

When I open some chat in forum index and then move to another page (for example on /search/) the chat box of my friend is no longer opened. And when I go back to index it's opened. It's the same if I go to some topic and open chat there, wherever I go chat is not opened, but if I go back to that topic, chat is opened. And that's very confusing, so I am wondering how to fix this (I'm not sure but looks like cookie/session is remembering if chat is opened or not regarding page/folder/URL which I have opened)?
Title: Re: SA Chat
Post by: Ninja ZX-10RR on July 18, 2014, 01:09:48 PM
I don't know if this is happening with the latest let's say "beta" version but it wasn't happening to me so first I would suggest to check your version maybe? ;) ah and I will try the latest version this evening, like I said 2 days ago :)
Title: Re: SA Chat
Post by: ExSpirit on July 18, 2014, 01:11:37 PM
I am using version 0.1.2 Rev102 .
Title: Re: SA Chat
Post by: Ninja ZX-10RR on July 18, 2014, 01:20:20 PM
This is not happening to me so it must be a problem caused by something else... Have you tried to make it work on the default theme?
Was the installation all successful or not?
*dinner time I'll reply later ;) *
Title: Re: SA Chat
Post by: SA™ on July 18, 2014, 02:40:25 PM
I have another problem and I'm not sure if there's something I have done or is there a bug in code:

When I open some chat in forum index and then move to another page (for example on /search/) the chat box of my friend is no longer opened. And when I go back to index it's opened. It's the same if I go to some topic and open chat there, wherever I go chat is not opened, but if I go back to that topic, chat is opened. And that's very confusing, so I am wondering how to fix this (I'm not sure but looks like cookie/session is remembering if chat is opened or not regarding page/folder/URL which I have opened)?

can you try the version here
http://samods.github.io/SAChatBar/

theres a few fixes there i have not updated here yet as there is still issue with php 5.5
Title: Re: SA Chat
Post by: ExSpirit on July 19, 2014, 04:32:53 AM
It's the same with this version. I have checked the cookies which are added and I think the problem is with "Path" parameter, because it's set to various pages (like /search/, /, /profile/,...) - there should always be "the same path"?

I think I fixed this problem by adding options.path = '/'; in head.js.php (before "return (document.cookie..."). Chats are now opened and closed like they should be on all pages. :)
Title: Re: SA Chat
Post by: ExSpirit on July 19, 2014, 05:03:19 AM
OK, 1 problem down and I find another big problem.

If I write to someone multiple messages really fast, he only gets the last one. And if he refreshes the page he sees all of them, but people won't refresh pages after every message they'll get.

Can someone try if it's the same on his forum. Do it like this:

Open chat and do this really fast - type 1, press enter, type 2, press enter, type 3, press enter, type 4, press enter, type 5, press enter,... And check what other person got - in my case only last thing I typed, so in this case 5. And if he refreshes page he gets all messages... Even refresh button on chat bar doesn't help...
Title: Re: SA Chat
Post by: SA™ on July 19, 2014, 05:36:50 AM
It's the same with this version. I have checked the cookies which are added and I think the problem is with "Path" parameter, because it's set to various pages (like /search/, /, /profile/,...) - there should always be "the same path"?

I think I fixed this problem by adding options.path = '/'; in head.js.php (before "return (document.cookie..."). Chats are now opened and closed like they should be on all pages. :)

nice find thanks

OK, 1 problem down and I find another big problem.

If I write to someone multiple messages really fast, he only gets the last one. And if he refreshes the page he sees all of them, but people won't refresh pages after every message they'll get.

Can someone try if it's the same on his forum. Do it like this:

Open chat and do this really fast - type 1, press enter, type 2, press enter, type 3, press enter, type 4, press enter, type 5, press enter,... And check what other person got - in my case only last thing I typed, so in this case 5. And if he refreshes page he gets all messages... Even refresh button on chat bar doesn't help...

this is a known bug will try to fix this
Title: Re: SA Chat
Post by: Ninja ZX-10RR on July 19, 2014, 09:16:23 AM
Sorry for the delay, I totally forgot to install it this night and I was busy with the wiki xD http://www.simplemachines.org/community/index.php?topic=525363.0
By the way I can't see any real changes in the last version IMHO... The admin mode problem not working is still there :( additionally sometimes friends are detected only from one side (a guy can detect another one being online but the opposite doesn't work :O )
Title: Re: SA Chat
Post by: SA™ on July 19, 2014, 01:34:08 PM
Quote
The admin mode problem not working is still there
it probaly still there cos the admin mode does work for me only tested a bit with a test user

Quote
additionally sometimes friends are detected only from one side (a guy can detect another one being online but the opposite doesn't work :O )
another known bug  but for me it seem intemittent i did patch this once but it just broke things so i undid the patch till i find a good soulution

by the way make sure you  guys are using the default theme and not the old default one that one will be remeoved soon you can use default xml for testing but it does not have everything yet this will be the new default theme as im ditching the need for jquery im about 80% there in convering it to pure js and prototype js

Title: Re: SA Chat
Post by: Ninja ZX-10RR on July 19, 2014, 03:32:15 PM
Thanks for your reply...

Quote
The admin mode problem not working is still there
it probaly still there cos the admin mode does work for me only tested a bit with a test user
As attached. Cache was cleared yesterday and I tested it until the last message... :(

Quote
additionally sometimes friends are detected only from one side (a guy can detect another one being online but the opposite doesn't work :O )
another known bug  but for me it seem intemittent i did patch this once but it just broke things so i undid the patch till i find a good soulution
Roger... :(

by the way make sure you  guys are using the default theme and not the old default one that one will be remeoved soon you can use default xml for testing but it does not have everything yet this will be the new default theme as im ditching the need for jquery im about 80% there in convering it to pure js and prototype js
I'm using the default one not the old_default so it should work right?
Title: Re: SA Chat
Post by: ExSpirit on July 20, 2014, 04:46:21 AM
this is a known bug will try to fix this
OK, great. Can you predict, when you'll be able to solve this bug? It's really annoying and chat is useless if messages are not delivered, so I hope it will be solved soon.
Title: Re: SA Chat
Post by: Ninja ZX-10RR on July 20, 2014, 07:41:46 AM
this is a known bug will try to fix this
OK, great. Can you predict, when you'll be able to solve this bug? It's really annoying and chat is useless if messages are not delivered, so I hope it will be solved soon.
Just leave him some time ;)
Title: Re: SA Chat
Post by: B3aker on July 20, 2014, 11:52:11 AM
I can't get it to work with smf4mobile themes. If I enable the mobile mod it blanks the screen and the only way to make it work is to disable the chat bar. Even excluding the themes specifically from the sa admin panel doesn't fix it.

I am running into this same problem. I use SMF4Mobile as the default mobile theme and it always blanks it out and only thing that pops up is the chat bar trying to load. I tried to disable it on that theme in the SA Chat settings but it still pops up. Other than that, I love this mod and it's exactly what I want in a chat feature for my online gaming forum :) Any chance though that this will be fixed in a later update?
Title: Re: SA Chat
Post by: Ninja ZX-10RR on July 20, 2014, 12:16:11 PM
I already warn you mate that I will not be able to test this for you as my forum is not meant to be browsed by the cellphone so this time you are on your own :( (SA™)
Title: Re: SA Chat
Post by: SA™ on July 20, 2014, 04:11:35 PM
I can't get it to work with smf4mobile themes. If I enable the mobile mod it blanks the screen and the only way to make it work is to disable the chat bar. Even excluding the themes specifically from the sa admin panel doesn't fix it.


I am running into this same problem. I use SMF4Mobile as the default mobile theme and it always blanks it out and only thing that pops up is the chat bar trying to load. I tried to disable it on that theme in the SA Chat settings but it still pops up. Other than that, I love this mod and it's exactly what I want in a chat feature for my online gaming forum :) Any chance though that this will be fixed in a later update?
The mod will most Lilly not work on Mobil phones it was never coded to how are you excluding the theme in sachat admin just need to put theme I'd on its own in the box
Title: Re: SA Chat
Post by: JoeBrodsky on July 20, 2014, 06:39:14 PM
This mod works great! However I ran into only one problem.  For some reason the home button on my website doesn't get sent to the back like the other buttons. 

See the picture below
Title: Re: SA Chat
Post by: Ninja ZX-10RR on July 20, 2014, 07:01:37 PM
Any chance to try if with the default theme it works? :)
Title: Re: SA Chat
Post by: JoeBrodsky on July 21, 2014, 02:34:17 AM
Any chance to try if with the default theme it works? :)

I don't think so
Title: Re: SA Chat
Post by: Ninja ZX-10RR on July 21, 2014, 07:41:56 AM
"think" is not very much different from "it might work but I haven't tried it"
Title: Re: SA Chat
Post by: jafonseca on July 25, 2014, 04:14:23 AM
Error log

Quote
Undefined index: cban

File: /home/hdclasic/public_html/sachat/functions.php
Line: 579

It repeats, too may times the same error..

PD: How to install a room for a group of persons
Title: Re: SA Chat
Post by: B3aker on July 26, 2014, 11:09:47 AM
I can't get it to work with smf4mobile themes. If I enable the mobile mod it blanks the screen and the only way to make it work is to disable the chat bar. Even excluding the themes specifically from the sa admin panel doesn't fix it.


I am running into this same problem. I use SMF4Mobile as the default mobile theme and it always blanks it out and only thing that pops up is the chat bar trying to load. I tried to disable it on that theme in the SA Chat settings but it still pops up. Other than that, I love this mod and it's exactly what I want in a chat feature for my online gaming forum :) Any chance though that this will be fixed in a later update?
The mod will most Lilly not work on Mobil phones it was never coded to how are you excluding the theme in sachat admin just need to put theme I'd on its own in the box

I understand that and to be honest, don't want it to load on any mobile theme for my forum. I only want it on the default theme.

When I go to install it from the package manager, I don't select the check box to it to install on SMF4Mobile. I select it only to install on my default theme. But it installs anyway on my SMF4Mobile theme. When I test it on my phone it only goes to a white screen and it tries to load SA Chat (again, I didn't select it to install on this theme). When I go into the admin settings, I go down to "Disable bar on certain themes" and write in SMF4Mobile. Then when I test it again on my phone, still a blank page with the chat bar attempting to load.
Title: Re: SA Chat
Post by: SA™ on July 26, 2014, 09:05:11 PM
Quote
"Disable bar on certain themes" and write in SMF4Mobile. Then when I test it again on my phone, still a blank page with the chat bar attempting to load.

This mod uses hooks so it shows on all themes to disable the bar on a certain themes just use the theme id example "2" without the quotes.
Title: Re: SA Chat
Post by: SA™ on July 26, 2014, 09:09:21 PM
Error log

Quote
Undefined index: cban

File: /home/hdclasic/public_html/sachat/functions.php
Line: 579

It repeats, too may times the same error..

PD: How to install a room for a group of persons

What version of the mod are you using?.
For group chat you can use flashchat $5 or it used to be but you can use that in a gadget others may also work only tryd flash chat.
Title: Re: SA Chat
Post by: jafonseca on July 28, 2014, 03:05:53 PM
Error log

Quote
Undefined index: cban

File: /home/hdclasic/public_html/sachat/functions.php
Line: 579

It repeats, too may times the same error..

PD: How to install a room for a group of persons

What version of the mod are you using?.
For group chat you can use flashchat $5 or it used to be but you can use that in a gadget others may also work only tryd flash chat.

SMF 2.0.8 , thanks
Title: Re: SA Chat
Post by: SA™ on July 28, 2014, 07:23:33 PM
Mod version not smf version
Title: Re: SA Chat
Post by: jafonseca on July 29, 2014, 03:54:51 AM
SA Chat   0.1.2 Rev102

sorry
Title: Re: SA Chat
Post by: ExSpirit on July 30, 2014, 07:21:14 AM
If I write to someone multiple messages really fast, he only gets the last one. And if he refreshes the page he sees all of them, but people won't refresh pages after every message they'll get.
this is a known bug will try to fix this

SA™, have you managed to fix this bug?
Title: Re: SA Chat
Post by: Isa.F on July 31, 2014, 03:49:54 AM
I installed this mod on my forum, without any errors.

But nothing happens, I cant see any chat , nothing.

I am using smf 2.0.8.  www.pedacinhos-de-nos.net

My host said that the mod is not bloqued by the mod-security.

I have played  with de permissions of groups in the admin panel, but still can't see anything different...

I am using another theme, but I tested the mod in default and switch the language to english, but still can't see de chat ...

Can anyone help me to activate the chat?


Thank you! Sorry for my english...

 I tried to use de option "fix bar" in the menu, but still I can´t see the chat bar , nothing...

 Also, I check the file permissions, they are set to 755




EDIT: After uninstall and install again, and disable da option "Enable group permissions" finally I can see de chat bar...

Thanks anyway
Title: Re: SA Chat
Post by: ExSpirit on August 02, 2014, 12:54:41 AM
Today I received notice from my system administrator that server is very loaded because of this mod. Only I am using new forum in development and this script made around 300.000 calls to 404 page. Here is the part of log file:

Quote
...
XX.XX.XX.XX - - [01/Aug/2014:10:18:11 +0200] "GET /sachat/index.php?action=heart&_=1406879113686 HTTP/1.1" 404 905 "http://myforumdomain/moderate/?area=index" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0"
XX.XX.XX.XX - - [01/Aug/2014:10:18:16 +0200] "GET /sachat/index.php?action=heart&_=1406873565205 HTTP/1.1" 404 905 "http://myforumdomain/groups/?sa=requests" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0"
XX.XX.XX.XX - - [01/Aug/2014:10:18:24 +0200] "GET /sachat/index.php?action=heart&_=1406873529324 HTTP/1.1" 404 905 "http://myforumdomain/profile/?area=account;u=2;save" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0"
XX.XX.XX.XX - - [01/Aug/2014:10:18:27 +0200] "GET /sachat/index.php?action=heart&_=1406879113687 HTTP/1.1" 404 905 "http://myforumdomain/moderate/?area=index" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0"
XX.XX.XX.XX - - [01/Aug/2014:10:18:28 +0200] "GET /sachat/index.php?action=heart&_=1406873296009 HTTP/1.1" 404 905 "http://myforumdomain/calendar" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
...

The problem is, that those pages exists and work, but I don't know why those calls are getting 404 and load the server - with just me, what will happen when 100,1000 people at once will stay on forum, it will crash in a second.
Title: Re: SA Chat
Post by: Ninja ZX-10RR on August 02, 2014, 08:20:09 AM
Are you using the last version of it? Because I had a similar problem due to my host having the passthru function enabled... But this was fixed after my report. (and with some effort by SA™)
Title: Re: SA Chat
Post by: konstantinos2424 on August 02, 2014, 09:01:44 AM
Hello everyone, I installed this mod..everything working well except from some things. First of all, the online box doesn't show all my buddies (who are online) that i added after I installed the chat. Second I don't think that that is a problem but is that when i go to another page the chatbox many times goes to the start of the conversation and when the conversation is long, well, the scrolling is a bit annoying! Thank you a lot :)
Title: Re: SA Chat
Post by: ExSpirit on August 02, 2014, 09:25:10 AM
Are you using the last version of it? Because I had a similar problem due to my host having the passthru function enabled... But this was fixed after my report. (and with some effort by SA™)
No, I'm using a bit older version. I am waiting for the fix of "multi-message not delivered". So your problem was fixed because of newer version or change on the server?
Title: Re: SA Chat
Post by: Ninja ZX-10RR on August 02, 2014, 09:41:06 AM
Are you using the last version of it? Because I had a similar problem due to my host having the passthru function enabled... But this was fixed after my report. (and with some effort by SA™)
No, I'm using a bit older version. I am waiting for the fix of "multi-message not delivered". So your problem was fixed because of newer version or change on the server?
http://www.simplemachines.org/community/index.php?topic=391961.msg3704438#msg3704438 and the following messages clearly explain that it was fixed.

Hello everyone, I installed this mod..everything working well except from some things. First of all, the online box doesn't show all my buddies (who are online) that i added after I installed the chat. Second I don't think that that is a problem but is that when i go to another page the chatbox many times goes to the start of the conversation and when the conversation is long, well, the scrolling is a bit annoying! Thank you a lot :)
Sometimes they both happen I don't know why... Trying refreshing the page might help at a times.
Title: Re: SA Chat
Post by: SA™ on August 02, 2014, 02:45:22 PM
Today I received notice from my system administrator that server is very loaded because of this mod. Only I am using new forum in development and this script made around 300.000 calls to 404 page. Here is the part of log file:

Quote
...
XX.XX.XX.XX - - [01/Aug/2014:10:18:11 +0200] "GET /sachat/index.php?action=heart&_=1406879113686 HTTP/1.1" 404 905 "http://myforumdomain/moderate/?area=index" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0"
XX.XX.XX.XX - - [01/Aug/2014:10:18:16 +0200] "GET /sachat/index.php?action=heart&_=1406873565205 HTTP/1.1" 404 905 "http://myforumdomain/groups/?sa=requests" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0"
XX.XX.XX.XX - - [01/Aug/2014:10:18:24 +0200] "GET /sachat/index.php?action=heart&_=1406873529324 HTTP/1.1" 404 905 "http://myforumdomain/profile/?area=account;u=2;save" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0"
XX.XX.XX.XX - - [01/Aug/2014:10:18:27 +0200] "GET /sachat/index.php?action=heart&_=1406879113687 HTTP/1.1" 404 905 "http://myforumdomain/moderate/?area=index" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0"
XX.XX.XX.XX - - [01/Aug/2014:10:18:28 +0200] "GET /sachat/index.php?action=heart&_=1406873296009 HTTP/1.1" 404 905 "http://myforumdomain/calendar" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
...

The problem is, that those pages exists and work, but I don't know why those calls are getting 404 and load the server - with just me, what will happen when 100,1000 people at once will stay on forum, it will crash in a second.

this maybe be fixed on github

If I write to someone multiple messages really fast, he only gets the last one. And if he refreshes the page he sees all of them, but people won't refresh pages after every message they'll get.
this is a known bug will try to fix this

SA™, have you managed to fix this bug?

no havent had too much time
Title: Re: SA Chat
Post by: Isa.F on August 03, 2014, 06:56:30 AM
Hello! I'm having a new problem with this mod.

It's not synchronized with the forum loggin! The members are logged in the forum, but the chat bar still says:

" Welcome, Guest. Please login or register."

how can I solve this?

Thank you!
Title: Re: SA Chat
Post by: Ninja ZX-10RR on August 03, 2014, 08:05:18 AM
Hello! I'm having a new problem with this mod.

It's not synchronized with the forum loggin! The members are logged in the forum, but the chat bar still says:

" Welcome, Guest. Please login or register."

how can I solve this?

Thank you!
This is not very much useful unless you provide as many details as possible, such as SMF version (opened your siggy and you are on smf 2.0.8, even if it would have been better anyway to tell us in the first place ;) ), MOD version (updating to GitHub version is highly recommended), if you have a custom theme (I see you have a DzinerStudio one) I suggest you to try using the default one (http://pedacinhos-de-nos.net/index.php?action=theme;sa=pick;u=1;theme=1;) and try again just to exclude that possibility. Moreover, if you have other mods installed they may cause some conflict with this one.
Also.. Error log? Errors? Did you try to clear the cache and maybe reinstall it? Installation errors? Did you make any custom edits to the code or was the installation completely successful? Who is your host? If you are running SMF on a GoDaddy server it's highly recommended either to move to another host or bug them until they disable mod_security on your server.
Title: Re: SA Chat
Post by: Isa.F on August 03, 2014, 09:46:28 AM
This is not very much useful unless you provide as many details as possible, such as SMF version (opened your siggy and you are on smf 2.0.8, even if it would have been better anyway to tell us in the first place ;) ), MOD version (updating to GitHub version is highly recommended), if you have a custom theme (I see you have a DzinerStudio one) I suggest you to try using the default one (http://pedacinhos-de-nos.net/index.php?action=theme;sa=pick;u=1;theme=1;) and try again just to exclude that possibility. Moreover, if you have other mods installed they may cause some conflict with this one.
Also.. Error log? Errors? Did you try to clear the cache and maybe reinstall it? Installation errors? Did you make any custom edits to the code or was the installation completely successful? Who is your host? If you are running SMF on a GoDaddy server it's highly recommended either to move to another host or bug them until they disable mod_security on your server.

Sorry, I tried some things but i forgot to mention.

Yes, I'm using smf 2.0.8 and the mod is version SAChatBar-0.1.2.zip (I think is the more recent...)

I tried in the default theme, but have the same problem: members online, but in the chat they are still "Guests"...


I tried uninstall and re-install: same problem

I never had errors in the mod installation, so i didn't need to make any edits. The installation was successful...

I tried clean the cache in the SAChat Maintenance and in the general Forum Maintenance: same problem

I tried the option "Fix Bar": same problem

I ask to my host if the mod has been bloqued by the mod security, they answered that it wasn't...



And yes, I have another mods, but the thing is that in the first time that I use the mod, it worked fine, and I was "online" in the forum and in the Chat... But the next day, I started to have this problem...


About the errors... In the general admin Maintenance, there are no errors, but in the especific SA Chat, the Error Log is:


"INFO

 Undefined index: cban

 File: /home/pedacinh/public_html/sachat/functions.php
Line: 579
"




PS: Sorry for my english...


Thanks ;)





EDIT: I also tried to uninstall this version SAChatBar-0.1.2.zip, from here  http://custom.simplemachines.org/mods/index.php?mod=2534http://custom.simplemachines.org/mods/index.php?mod=2534 and install  SAMods-SAChatBar-4417ee3 from here http://samods.github.io/SAChatBar/ , but I have the same problem


However, I found out that with Chrome I don't have this problem, the problem is only with IE... Maybe  this could be a clue...


Anyone can help me...?

Thanks!  ;)
Title: Re: SA Chat
Post by: SA™ on August 03, 2014, 07:58:43 PM
can i have a link to your sites with a test account pls?

also if you can check the SERVER error logs for any errors yes i said server error logs not forums error logs
Title: Re: SA Chat
Post by: Isa.F on August 03, 2014, 08:10:23 PM
www.pedacinhos-de-nos.net

Thank you  :)





EDIT


In the SaChat Error Logs I got this:

"INFO

 Undefined index: cban

 File: /home/pedacinh/public_html/sachat/functions.php
Line: 579

 
INFO

 Undefined index: global_character_set

 File: /home/pedacinh/public_html/sachat/functions.php
Line: 721
 
"

Over and over again...



I will try to see the server error, not sure if I really know were I can find that, though.....
Title: Re: SA Chat
Post by: SA™ on August 03, 2014, 08:17:11 PM
Quote
with a test account pls?
Title: Re: SA Chat
Post by: Isa.F on August 03, 2014, 08:23:46 PM
Quote
with a test account pls?

Sorry, i didn't understand that.. It's the first time that someone ask me that...

Let's see, I have to make one account and give you the name and password so you can test the site. Can you confirm this?
Title: Re: SA Chat
Post by: SA™ on August 03, 2014, 08:29:27 PM
yes that is correct pm me if you want  8)

Quote
also if you can check the SERVER error logs for any errors yes i said server error logs not forums error logs
Title: Re: SA Chat
Post by: Isa.F on August 03, 2014, 08:37:56 PM
Ok!  :) Sent!  :)


Thanks...  :)



EDIT: I will also PM you the server errors .
Title: Re: SA Chat
Post by: SA™ on August 03, 2014, 08:43:03 PM
Quote
EDIT


In the SaChat Error Logs I got this:

"INFO

 Undefined index: cban

 File: /home/pedacinh/public_html/sachat/functions.php
Line: 579

 
INFO

 Undefined index: global_character_set

 File: /home/pedacinh/public_html/sachat/functions.php
Line: 721

they should be fixed here
https://github.com/SAMods/SAChatBar
just pushed a update
Title: Re: SA Chat
Post by: SA™ on August 03, 2014, 08:51:13 PM
can you link me with that shoutbox so i can test somthing it may be that
Title: Re: SA Chat
Post by: Isa.F on August 03, 2014, 09:00:22 PM
The shoutbox is: http://custom.simplemachines.org/mods/index.php?mod=1295


I have already uninstall the version  SAChatBar-0.1.2.zip  and install SAChatBar-master




EDIT: I installed both mods in the same day, so it's possible that the error is related to that... however  I would like to have a shoutbox too... Is there a shoutbox more compatible to the SAchat?
Title: Re: SA Chat
Post by: Ninja ZX-10RR on August 03, 2014, 09:20:01 PM
LOL I can witness that they can work together as they are both installed and running on my forum with no errors except the one about admin mode not being shown that I had already pointed out and the usual random-tab-message-delivery thingy xD
Title: Re: SA Chat
Post by: SA™ on August 03, 2014, 09:22:20 PM
well i can not replicate this issue at all works for me on my test site using chrome ff ie opera and safri

there has to be a conflict with somthing on your site
Title: Re: SA Chat
Post by: Ninja ZX-10RR on August 03, 2014, 09:28:44 PM
If you say so...  :'( :-X I can't test it on a clean install so... But anyway it *IS* compatible with the aforementioned shoutbox :)
Title: Re: SA Chat
Post by: SA™ on August 03, 2014, 09:30:25 PM
yes it does play nice wit the shoutbox  :)
Title: Re: SA Chat
Post by: Isa.F on August 03, 2014, 09:35:50 PM
yes it does play nice wit the shoutbox  :)

well, it's a good news...


But still i can't found the source of the problem...

Just PM you the list of mods...
Title: Re: SA Chat
Post by: SA™ on August 03, 2014, 09:37:38 PM
and replyed
Title: Re: SA Chat
Post by: Isa.F on August 03, 2014, 09:46:31 PM
Thanks for all the help!  :)

I will try uninstall some mods to see if I can find what is causing the error...


But there is one thing that I can't understand: Why the mod is working well in chrome and firefox?  ???
Title: Re: SA Chat
Post by: SA™ on August 03, 2014, 09:47:28 PM
ie and other brousers are more picky :P
Title: Re: SA Chat
Post by: Isa.F on August 03, 2014, 10:25:13 PM
ie and other brousers are more picky :P

LOL Ok....  :laugh:




I have a good news!!!  :D   I finally solved the problem!!!  :laugh:

I was so concentrated in  uninstall and re-install  the SAChat mod, over and over again, that it never occurred to me uninstall and re-install again the shoutbox mod that was installed in the same day!

I did that now, I uninstall the shoutbox and re-install it, and now I don´t have any problems!!  :D And I still have both mods!! :D

Well, is working for now,  let's see if it keeps like that  ;)


Thank you again for the help!




Can I ask you another thing?  O:)


How can I change the color of the bar?   ???


Thanks again!  :)
Title: Re: SA Chat
Post by: SA™ on August 03, 2014, 10:27:31 PM
you can change the css for the sachat theme
Title: Re: SA Chat
Post by: Ninja ZX-10RR on August 03, 2014, 11:59:37 PM
If she wants to change the color of the bar she doesn't have to change the css, she has to edit the cbar.png icon that is in {forum folder}/sachat/themes/default/images ;) it is a 1*32 pixels image repeated until the end of the screen. :)
Title: Re: SA Chat
Post by: SA™ on August 04, 2014, 01:57:46 PM
Yes correct but you would still need to mod the CSS if you go dark
Title: Re: SA Chat
Post by: Isa.F on August 07, 2014, 10:41:26 PM
Hello! I'm having a new problem with this mod.

It's not synchronized with the forum loggin! The members are logged in the forum, but the chat bar still says:

" Welcome, Guest. Please login or register."

how can I solve this?

Thank you!


Hi again!!

I'm having the same problem over and over again...

Every time that I make some change in the package area, I get the same problem... I'm online in the forum but offline in the chat... Every time that this happens I have to uninstall all the mods because even when I uninstall only the new mod, still I cant synchronize the chat with the forum, and only when I uninstall all the mods and install again, then the chat Is ok again...

But this cant continuous to happen because in 3 days I've already install and uninstall all the mods 5 times...

I have inclusive re-install all the forum fresh, and then install the mods one by one and all  is ok, but when I install another mod and the chat then turn off...

And yes, I tried to uninstall the new mod  and had the same problem but this time I tired to uninstall and reinstall all the mods every time that I make some change in the forum...

I discovered that this problem ONLY appends in IE, because in chrome and firefox everything is always fine and always without problems!

So, something in the mod must be causing this bug in IE! 


I like this mod so much! I want to keep it, but if this keeping happening, I will have to give up... I cant always keeping install and uninstall everything, not when the problem is only in IE, that makes me believe that there must be a bug in the mod...


Sorry for this text, but I am really frustrated because I really want to make this work on IE...



Note:
I am using SMF 2.0.8
MOD from here https://github.com/SAMods/SAChatBar
I tried to clean the cache, in the forum, in the SAChat menu, and even in the IE, don't work, still offline
I never got errors never, not in the error logs of SAChatbar, not in the forum errors, not even in installation
I tried the option "Fix Bar", the bar appears, but I'm steel offline, and online in forum
I uninstall and reinstall many times and always without any error...  but still offline... 




Need a little help...  :-[

 Thank you!  ;)
Title: Re: SA Chat
Post by: Ninja ZX-10RR on August 07, 2014, 10:49:29 PM
Ever wondered that the problem is IE itself being a crappy browser (not only IMO, this is said everywhere including this topic) as all the other ones actually work with it? (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.katzy.dsl.pipex.com%2FSmileys%2Fowl.gif&hash=39b1b3615131cc90018507510e80e56b)
Title: Re: SA Chat
Post by: Isa.F on August 07, 2014, 10:53:16 PM
Ever wondered that the problem is IE itself being a crappy browser (not only IMO, this is said everywhere including this topic) as all the other ones actually work with it? (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.katzy.dsl.pipex.com%2FSmileys%2Fowl.gif&hash=39b1b3615131cc90018507510e80e56b)

Yes, maybe the problem is that IE is a crappy browser, but still there are many members off my forum that use IE, so, the forum must be able to function in IE too... 
Title: Re: SA Chat
Post by: Ninja ZX-10RR on August 07, 2014, 11:04:27 PM
You might want to link them these:
http://weknowmemes.com/wp-content/uploads/2012/07/testing-webpages-on-different-browsers.jpg (exactly your case :) )
http://global3.memecdn.com/ie_o_950486.jpg bit hilarious but still on topic as regards browsers operating with SMF and internet in general :P
http://www.developermemes.com/wp-content/uploads/2013/03/tumblr_maz1zoBF7X1ra9a3to1_500.jpg true story!!!
Title: Re: SA Chat
Post by: Kindred on August 08, 2014, 06:46:34 AM
Isa.F....


what version of IE is failing for you?   because it seems to work just fine on my system in ie11.
Title: Re: SA Chat
Post by: Ninja ZX-10RR on August 08, 2014, 08:40:26 AM
I can't test it on mine as my IE doesn't even show google. Nice.

Being serious they can try to update their browsers, because if Kindred said that it works on ie 11 it should work on your forum too...

*wonders how a guy with ie 9 or similar can even browse the internet or use a forum properly..*
Title: Re: SA Chat
Post by: nend on August 08, 2014, 10:45:18 AM
Doesn't make any sense.

Either

1. IE is caching the chat, if that was the case the chat wouldn't display at all since the header information would be displayed and body information never loaded.

2. Cookie problems. Which actually makes the most sense.
  A. If you own the domain try setting cookies to global.
  B. Possible "Do Not Track" junk. When I had the chat it was not equipped to deal with it. I have been out of the loop for a while so a possible browser, mod or SMF software change dealing with cookies could be the problem.

If your users are running with "Do Not Track" on in their browser I am sure they run into problems on other sites as well.

Problem is more than likely cookie related, don't have time to investigate. More than likely a mod, when you uninstall it it allows the cookie to go through then all is working great til the cookie is purged or expires.
Title: Re: SA Chat
Post by: SA™ on August 08, 2014, 11:29:05 AM
in ie it works for me on my test site
there is a conflict witht the mods on that site  i see in ie it looks like the cookie dont get set but it does just dont show in dev console weird
Title: Re: SA Chat
Post by: nend on August 08, 2014, 12:47:50 PM
in ie it works for me on my test site
there is a conflict witht the mods on that site  i see in ie it looks like the cookie dont get set but it does just dont show in dev console weird

That is what I noticed. Not by a computer but using Chrome for Android I notice there is no cookie for the site which may mean the site is using sessions only. Some mod the op installed modified/broke the cookie system for SMF.

It has been a while, but I believe SMF can run off from sessions only if needed, but the chat can't. Since the chat uses SMF's cookie for validation, the absence of the cookie would make the chat think the user isn't logged in.
Title: Re: SA Chat
Post by: Isa.F on August 08, 2014, 01:30:27 PM
You might want to link them these:
http://weknowmemes.com/wp-content/uploads/2012/07/testing-webpages-on-different-browsers.jpg (exactly your case :) )
http://global3.memecdn.com/ie_o_950486.jpg bit hilarious but still on topic as regards browsers operating with SMF and internet in general :P
http://www.developermemes.com/wp-content/uploads/2013/03/tumblr_maz1zoBF7X1ra9a3to1_500.jpg true story!!!

Thank you for making me laugh and break for moments my frustration!  :D


 
Well, I have to tell you that today the chat is working perfectly !

Yesterday I tried everything like clean cookies of IE, clean de IE temporary files , clean cookies from the site, everything that I coud do, I have done... And nothing worked!



But then, I turned off my computer, and in the moment that I turn it on, there it was the chat working perfectly!!  :D

Im very happy that the chat is working again, but still I cant understand why the chat simply turn off when I even logout from the site!

In all times that I had this bug in the chat, I was always logged in the site and logged in de chat, and always the bug appears when I make some change in another mod... I can't understand what makes this bug show up and what makes the bug disappear turning off the computer...  ???


Title: Re: SA Chat
Post by: nend on August 08, 2014, 05:03:46 PM
You might want to link them these:
http://weknowmemes.com/wp-content/uploads/2012/07/testing-webpages-on-different-browsers.jpg (exactly your case :) )
http://global3.memecdn.com/ie_o_950486.jpg bit hilarious but still on topic as regards browsers operating with SMF and internet in general :P
http://www.developermemes.com/wp-content/uploads/2013/03/tumblr_maz1zoBF7X1ra9a3to1_500.jpg true story!!!

Thank you for making me laugh and break for moments my frustration!  :D


 
Well, I have to tell you that today the chat is working perfectly !

Yesterday I tried everything like clean cookies of IE, clean de IE temporary files , clean cookies from the site, everything that I coud do, I have done... And nothing worked!



But then, I turned off my computer, and in the moment that I turn it on, there it was the chat working perfectly!!  :D

Im very happy that the chat is working again, but still I cant understand why the chat simply turn off when I even logout from the site!

In all times that I had this bug in the chat, I was always logged in the site and logged in de chat, and always the bug appears when I make some change in another mod... I can't understand what makes this bug show up and what makes the bug disappear turning off the computer...  ???




The chat uses SMF's cookie based login system and user database. There is no synchronization between the two because they use the same system.

SMF has another system though which the chat doesn't take advantage of. It is the session based system used for browsers that do not support cookies. This system is being used mainly on your site which is awkward. Reasoning though something is breaking the cookie system, either it be a server setting or mod.

Your sites login system is halfway broken. This is not a bug in the chat system.
Title: Re: SA Chat
Post by: SA™ on August 08, 2014, 06:23:46 PM
in ie it works for me on my test site
there is a conflict witht the mods on that site  i see in ie it looks like the cookie dont get set but it does just dont show in dev console weird

That is what I noticed. Not by a computer but using Chrome for Android I notice there is no cookie for the site which may mean the site is using sessions only. Some mod the op installed modified/broke the cookie system for SMF.

It has been a while, but I believe SMF can run off from sessions only if needed, but the chat can't. Since the chat uses SMF's cookie for validation, the absence of the cookie would make the chat think the user isn't logged in.

Yeah that would make sense I also forgot this setting
Title: Re: SA Chat
Post by: ExSpirit on August 09, 2014, 05:30:07 AM
SA™, when do you think this mod will be stable and ready for "final release" which will be published on SMF Mod Site?
Title: Re: SA Chat
Post by: Isa.F on August 09, 2014, 05:43:14 AM
The chat uses SMF's cookie based login system and user database. There is no synchronization between the two because they use the same system.

SMF has another system though which the chat doesn't take advantage of. It is the session based system used for browsers that do not support cookies. This system is being used mainly on your site which is awkward. Reasoning though something is breaking the cookie system, either it be a server setting or mod.

Your sites login system is halfway broken. This is not a bug in the chat system.

Hi nend! Thak's for your quick and clear reply! ;)


But tell me something: what can I do to know what is failing in the login system?

Thank's! :)



EDIT: I already changed de chat bar color! :) I did as Ninja said ;)

If she wants to change the color of the bar she doesn't have to change the css, she has to edit the cbar.png icon that is in {forum folder}/sachat/themes/default/images ;) it is a 1*32 pixels image repeated until the end of the screen. :)

Thank's ;)
Title: Re: SA Chat
Post by: Ninja ZX-10RR on August 09, 2014, 08:09:59 AM
Thank you for making me laugh and break for moments my frustration!  :D
You're welcome ;) I have like 90 mods installed so I pretty much know how you were feeling :P

If she wants to change the color of the bar she doesn't have to change the css, she has to edit the cbar.png icon that is in {forum folder}/sachat/themes/default/images ;) it is a 1*32 pixels image repeated until the end of the screen. :)
Thank's ;)
You're welcome again :D (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.katzy.dsl.pipex.com%2FSmileys%2Fc014.gif&hash=1e330d7b7db27b4b126c6ae9bddfb88b)

As regards the login system... Have you tried renaming the cookies? Maybe? I'm not a real expert about cookies, I have more ideas but I'd rather shut up than providing possibly wrong answers.
Title: Re: SA Chat
Post by: nend on August 09, 2014, 11:11:24 AM
The chat uses SMF's cookie based login system and user database. There is no synchronization between the two because they use the same system.

SMF has another system though which the chat doesn't take advantage of. It is the session based system used for browsers that do not support cookies. This system is being used mainly on your site which is awkward. Reasoning though something is breaking the cookie system, either it be a server setting or mod.

Your sites login system is halfway broken. This is not a bug in the chat system.

Hi nend! Thak's for your quick and clear reply! ;)


But tell me something: what can I do to know what is failing in the login system?

Thank's! :)



EDIT: I already changed de chat bar color! :) I did as Ninja said ;)

If she wants to change the color of the bar she doesn't have to change the css, she has to edit the cbar.png icon that is in {forum folder}/sachat/themes/default/images ;) it is a 1*32 pixels image repeated until the end of the screen. :)

Thank's ;)

A list of mods used on the site may help track it down to a mod if the problem is mod related.

You may also want to contact your host and see if they have been having any server issues.

If you have any errors in your SMF or server error log about headers, please post them as they can be related to this issue.
Title: Re: SA Chat
Post by: SA™ on August 09, 2014, 04:12:51 PM
Quote
If you have any errors in your SMF or server error log about headers, please post them as they can be related to this issue.

this mod does not log into smf error logs never has so i built my own error logging system sachat admin/ error logs.
though it does not seem to log all errors the other error will be found in server error logs as you said
Title: Re: SA Chat
Post by: SA™ on August 09, 2014, 04:19:10 PM
SA™, when do you think this mod will be stable and ready for "final release" which will be published on SMF Mod Site?

im working hard to fix all these issue i only have sundays realy to code these days working 2 jobs right now
i will not give a date for next realse here just yet i have some holiday coming up in a few weeks hopfully i can work on this more then
Title: Re: SA Chat
Post by: Ninja ZX-10RR on August 09, 2014, 04:28:17 PM
SA™, when do you think this mod will be stable and ready for "final release" which will be published on SMF Mod Site?

im working hard to fix all these issue i only have sundays realy to code these days working 2 jobs right now
i will not give a date for next realse here just yet i have some holiday coming up in a few weeks hopfully i can work on this more then
Don't rush, we will wait, in the meantime it's already awesome and functional :D It's better to take your time rather than getting a white screen while testing ;)
Title: Re: SA Chat
Post by: ExSpirit on August 11, 2014, 04:15:08 AM
im working hard to fix all these issue i only have sundays realy to code these days working 2 jobs right now
i will not give a date for next realse here just yet i have some holiday coming up in a few weeks hopfully i can work on this more then
Oh OK, I hope you'll be able to complete it soon.

Don't rush, we will wait, in the meantime it's already awesome and functional :D It's better to take your time rather than getting a white screen while testing ;)
True, but it's good to have something stable and finished and then slowly do improvements. Having bad mod published is not OK, it's better if it's marked as beta then, so that people don't use it on live sites.
Title: Re: SA Chat
Post by: Isa.F on August 11, 2014, 05:26:48 AM
A list of mods used on the site may help track it down to a mod if the problem is mod related.

I will PM you the list of mods...  :)

You may also want to contact your host and see if they have been having any server issues.

My host said that there were no erros...

If you have any errors in your SMF or server error log about headers, please post them as they can be related to this issue.

Do you mean this?:

Code: [Select]
[Fri Aug 08 01:19:41.336008 2014] [:error] [pid 16187] [client XXXXXXXXXXXX] SoftException in Application.cpp:256: File "/home/pedacinh/public_html/sachat/index.php" is writeable by group, referer: http://pedacinhos-de-nos.net/index.php?action=admin;area=sachat;sa=maintain;c4c47d7a=b14201068c12e90f4ead292c35a6f470
[Fri Aug 08 01:19:41.335879 2014] [:error] [pid 17184] [client XXXXXXXXXXXX] SoftException in Application.cpp:256: File "/home/pedacinh/public_html/sachat/index.php" is writeable by group, referer: http://pedacinhos-de-nos.net/index.php?action=admin;area=sachat;sa=maintain;c4c47d7a=b14201068c12e90f4ead292c35a6f470
[Fri Aug 08 01:19:37.400182 2014] [:error] [pid 16187] [client XXXXXXXXXXXX] SoftException in Application.cpp:256: File "/home/pedacinh/public_html/sachat/index.php" is writeable by group, referer: http://pedacinhos-de-nos.net/index.php?action=admin;area=sachat;c4c47d7a=b14201068c12e90f4ead292c35a6f470
[Fri Aug 08 01:19:37.399813 2014] [:error] [pid 17184] [client XXXXXXXXXXXX] SoftException in Application.cpp:256: File "/home/pedacinh/public_html/sachat/index.php" is writeable by group, referer: http://pedacinhos-de-nos.net/index.php?action=admin;area=sachat;c4c47d7a=b14201068c12e90f4ead292c35a6f470

All the server errors are related to SA Chat...
Title: Re: SA Chat
Post by: Ninja ZX-10RR on August 11, 2014, 08:33:53 AM
Don't rush, we will wait, in the meantime it's already awesome and functional :D It's better to take your time rather than getting a white screen while testing ;)
True, but it's good to have something stable and finished and then slowly do improvements. Having bad mod published is not OK, it's better if it's marked as beta then, so that people don't use it on live sites.
This is not really clear.
If you meant that this mod is "bad" like you said, I will kindly ask you to show some respect to the mod author as this is one of the hardest mod to be created on the mod site. If that was a general sentence just ignore my previous one.

By the way you can easily see the progresses that this mod has made since people started reporting bugs (as everybody should do instead of silently complaining *not referred to you*), especially in the last pages of this thread you can see how many updates have been pushed by myself, including the Italian translation of the mod. Report stuff and wait, SA™ will work on them and I trust him 100% on that as he proved many times he does care about it. :)



A list of mods used on the site may help track it down to a mod if the problem is mod related.
I will PM you the list of mods...  :)
Next time just post it ;) use PMs only if you want to tell something to someone in particular, if you PM your mods list only the one who received it will be able to help you. Check this out as well: http://www.simplemachines.org/community/index.php?topic=482951.0 (despite in my case I said to feel free so.. ;) )

My host said that there were no erros...

If you have any errors in your SMF or server error log about headers, please post them as they can be related to this issue.

Do you mean this?:
I think so... Hmmm... Have you tried changing your folder permissions? Try to set it to 777 for a while and see if the problem goes away (it's just for testing purposes) :)
Title: Re: SA Chat
Post by: ExSpirit on August 11, 2014, 10:16:23 AM
This is not really clear.
If you meant that this mod is "bad" like you said, I will kindly ask you to show some respect to the mod author as this is one of the hardest mod to be created on the mod site. If that was a general sentence just ignore my previous one.

By the way you can easily see the progresses that this mod has made since people started reporting bugs (as everybody should do instead of silently complaining *not referred to you*), especially in the last pages of this thread you can see how many updates have been pushed by myself, including the Italian translation of the mod. Report stuff and wait, SA™ will work on them and I trust him 100% on that as he proved many times he does care about it. :)
I meant "bad" because it is not finished and can cause more damage as use on someones live site. It takes to many server resources (404 calls), and some chat are not delivered,... With only those two bugs the mod doesn't do what it should do. I have wrote about those bugs here.
Title: Re: SA Chat
Post by: Ninja ZX-10RR on August 11, 2014, 11:01:54 AM
No it doesn't. Otherwise the mod wouldn't have been approved at all. But of course you know better than the team itself... *shrugs*
I have installed it and it's running on my forum with no issues except the aforementioned bugs, that are not "bad" bugs anyway. Ah, the chats are delivered, it's probably your heartbeat setting set too high.
Title: Re: SA Chat
Post by: ExSpirit on August 11, 2014, 11:27:16 AM
Ninja ZX-10RR, I am not saying this to make this mod look bad or show disrespect to authors or anything like that. I am saying that so that this mod can be improved. Don't think that if you think it runs OK that it really is OK - and even before you test the reported bug... Maybe something has already been fixed in new version, but that version is not yet on official mod site (I don't know why), so I can't comment on those versions. But the one on SMF mod site has problems with 404 calls at every heartbeat and that crashed my VPS (well make it very slow over some period of time and I got a warning from server administrators), and second problem which I mentioned is not delivering all messages - you can try it yourself write something and sent on chat and then write something again really fast (less than heartbeat) and the other user won't get previous message... Only last one. I can make heartbeat 1 second or maybe less and this would be partly solved but then server would be overloaded with heartbeats...
Title: Re: SA Chat
Post by: Ninja ZX-10RR on August 11, 2014, 11:40:10 AM
As you are not listening I will not be commenting any further about the issues with you.
Anyway the message gets delivered after the next heartbeat. If you are experiencing troubles that means that you either have an overselling host or a conflict with another mod.
Title: Re: SA Chat
Post by: Kindred on August 11, 2014, 12:54:07 PM
ExSpirit,
Just to reiterate...

The mod installs just fine
the mod works just fine.
there are no 404 errors on my installation
this mod has not broken anything on the sites that I have it installed on.

**ANY** chat is going to use more server resources than a standard forum, because of the nature of "chat"

If any of the above is different for you, then there is some issue with your particular forum/site - probably due to a conflict with another mod as already noted.
Title: Re: SA Chat
Post by: nend on August 11, 2014, 01:15:13 PM
@ExSpirit
The 404s are more than likely caused by a server overload or incorrect server settings.

These are the list of mods sent via PM.
Code: [Select]

1. SA Chat 0.1.2 Rev102 
2. More Spiders 1.2 
3. SMFPacks Shoutbox 1.0.5   
4. Project Snow 1.2 1.2   
5. View Only Boards 1.2c   
6. Tabbed smileys 0.3.99b   
7. Hide Images from Guests 2.0 
8. WYSIWYG Quick Reply 2.3   
9. Google Analytics Code 1.4 
10. Users Online Today 2.1   
11. Welcome Topic Mod 2.2   
12. MetaTags Modification 2.0.2   
13. Aeva Media 1.4w
14. IP-Address Tracer 1.0   
15. Default Avatar 2.3 
16. Aeva ~ Auto-Embed Video & Audio 7.2 
17. Curve mobile mod 1.1.1 
18. reCAPTCHA for SMF 0.9.9   
19. Ad Managment 3.2   
20. Active Members In Topic 1.8 
21. Related Topics 1.401   
22. Email Inactive Users 1.1   
23. Member Color Link 3.1   
24. PM to New Members

@others

I still don't believe it is related to the chat mod. Possible manual edit or mod edit that caused this problem.

I am thinking, theory though...
1. Malformed headers being rejected by browser
2. Something is outputting before SMF is able to take control of the OB, possible host or code changes to SMF by mod or manual edit.
Title: Re: SA Chat
Post by: ExSpirit on August 11, 2014, 02:42:50 PM
I don't know why are you now so offensive about this, because those two problems ware confirmed by SA™ and he wrote that some day he will fix them? If you have "empty forum" and think things work just because you don't see them...Well you might be very wrong guys...

It's the same with this version. I have checked the cookies which are added and I think the problem is with "Path" parameter, because it's set to various pages (like /search/, /, /profile/,...) - there should always be "the same path"?

I think I fixed this problem by adding options.path = '/'; in head.js.php (before "return (document.cookie..."). Chats are now opened and closed like they should be on all pages. :)

nice find thanks

OK, 1 problem down and I find another big problem.

If I write to someone multiple messages really fast, he only gets the last one. And if he refreshes the page he sees all of them, but people won't refresh pages after every message they'll get.

Can someone try if it's the same on his forum. Do it like this:

Open chat and do this really fast - type 1, press enter, type 2, press enter, type 3, press enter, type 4, press enter, type 5, press enter,... And check what other person got - in my case only last thing I typed, so in this case 5. And if he refreshes page he gets all messages... Even refresh button on chat bar doesn't help...

this is a known bug will try to fix this

Today I received notice from my system administrator that server is very loaded because of this mod. Only I am using new forum in development and this script made around 300.000 calls to 404 page. Here is the part of log file:

Quote
...
XX.XX.XX.XX - - [01/Aug/2014:10:18:11 +0200] "GET /sachat/index.php?action=heart&_=1406879113686 HTTP/1.1" 404 905 "http://myforumdomain/moderate/?area=index" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0"
XX.XX.XX.XX - - [01/Aug/2014:10:18:16 +0200] "GET /sachat/index.php?action=heart&_=1406873565205 HTTP/1.1" 404 905 "http://myforumdomain/groups/?sa=requests" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0"
XX.XX.XX.XX - - [01/Aug/2014:10:18:24 +0200] "GET /sachat/index.php?action=heart&_=1406873529324 HTTP/1.1" 404 905 "http://myforumdomain/profile/?area=account;u=2;save" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0"
XX.XX.XX.XX - - [01/Aug/2014:10:18:27 +0200] "GET /sachat/index.php?action=heart&_=1406879113687 HTTP/1.1" 404 905 "http://myforumdomain/moderate/?area=index" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0"
XX.XX.XX.XX - - [01/Aug/2014:10:18:28 +0200] "GET /sachat/index.php?action=heart&_=1406873296009 HTTP/1.1" 404 905 "http://myforumdomain/calendar" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
...

The problem is, that those pages exists and work, but I don't know why those calls are getting 404 and load the server - with just me, what will happen when 100,1000 people at once will stay on forum, it will crash in a second.

this maybe be fixed on github
Title: Re: SA Chat
Post by: Kindred on August 11, 2014, 10:36:52 PM
How am I being offensive?

yes, there are minor things that need to be tweaked. However, your statement that this mod breaks the forum is excessive and untrue.
Title: Re: SA Chat
Post by: ExSpirit on August 12, 2014, 10:24:03 AM
When I tested this on my own (so only 1 user) I received in a few weeks 275.410 404 error calls from this mod (like I already wrote here). Imagine what would it be with 100, 1000,... members using it. And you think this is healthy for a server?
Title: Re: SA Chat
Post by: Arantor on August 12, 2014, 10:29:51 AM
Of course it's not healthy for a server. However other people are not getting the same symptoms with the mod, suggesting that it is some confluence of the mod and your specific configuration.
Title: Re: SA Chat
Post by: nend on August 12, 2014, 10:34:12 AM
@ExSpirit
The 404s are more than likely caused by a server overload or incorrect server settings.

Server... Host, vps, environment, resources, misconfiguration... Server.

You already figured the problem out, you said the mod overloaded the VPS. Simple page exist, overloaded server equals 404s. Simple the environment isn't suitable, chat is causing a DOS.

I believe it is in the disclaimer.

Think of it like NOS on a 4 banger. Not really made for speed but we are pushing it to do something that is more better suited for a different setup. Truth having a separate chat server is the most reliable. This is basically a poor mans way of delivering a chat interface. It may overload most server, but allot cheaper if it works than paying the extra cash for a dedicated chat server.
Title: Re: SA Chat
Post by: Forum.KaylieLove on August 18, 2014, 03:53:39 PM
I installed the Chat and it works great.  But it seems a tad hidden at the bottom.  (My thoughts and told by users)  I am using Simple Portal and wanted to create a block and put the chat inside it.  Is this possible?  Is it possible to move the location of the chat bar?  I am a bit new to this, so abe nice... He he, any help and suggestions would be awesome.  Thanks!

Lots of Love,
  ~Kaylie Love
Title: Re: SA Chat
Post by: Ninja ZX-10RR on August 19, 2014, 04:07:46 PM
I installed the Chat and it works great.  But it seems a tad hidden at the bottom.  (My thoughts and told by users)  I am using Simple Portal and wanted to create a block and put the chat inside it.  Is this possible?  Is it possible to move the location of the chat bar?  I am a bit new to this, so abe nice... He he, any help and suggestions would be awesome.  Thanks!

Lots of Love,
  ~Kaylie Love
Hi and welcome to SMF!
What you are asking is extremely hard I think and it might need a major overhaul of the mod's code, maybe the mod author would apply for it but it's really hard to move the stuff to make them work with SimplePortal and some custom themes (if you have any).
Title: Re: SA Chat
Post by: Forum.KaylieLove on August 25, 2014, 06:55:11 PM
I installed the Chat and it works great.  But it seems a tad hidden at the bottom.  (My thoughts and told by users)  I am using Simple Portal and wanted to create a block and put the chat inside it.  Is this possible?  Is it possible to move the location of the chat bar?  I am a bit new to this, so abe nice... He he, any help and suggestions would be awesome.  Thanks!

Lots of Love,
  ~Kaylie Love
Hi and welcome to SMF!
What you are asking is extremely hard I think and it might need a major overhaul of the mod's code, maybe the mod author would apply for it but it's really hard to move the stuff to make them work with SimplePortal and some custom themes (if you have any).

Thanks for the info.  I will live with it at the bottom of the forum.



I have read through these topics and can't figure out the coding to fix 2 issues with SA Chat:

     1.  Chat keeps appearing on multiple pages, even when user is offline and we haven't chatted for days.  And conversation that starts when I am browsing one page doesn't carry over to the chat box with the same user when I am on another page. 

     2.  How can I change the order of the messages?  (i.e.  newest message appears first.  Instead of having to scroll down each time)
Title: Re: SA Chat
Post by: Ninja ZX-10RR on August 25, 2014, 07:37:30 PM
I installed the Chat and it works great.  But it seems a tad hidden at the bottom.  (My thoughts and told by users)  I am using Simple Portal and wanted to create a block and put the chat inside it.  Is this possible?  Is it possible to move the location of the chat bar?  I am a bit new to this, so abe nice... He he, any help and suggestions would be awesome.  Thanks!

Lots of Love,
  ~Kaylie Love
Hi and welcome to SMF!
What you are asking is extremely hard I think and it might need a major overhaul of the mod's code, maybe the mod author would apply for it but it's really hard to move the stuff to make them work with SimplePortal and some custom themes (if you have any).

Thanks for the info.  I will live with it at the bottom of the forum.
You're welcome :)

I have read through these topics and can't figure out the coding to fix 2 issues with SA Chat:

     1.  Chat keeps appearing on multiple pages, even when user is offline and we haven't chatted for days.  And conversation that starts when I am browsing one page doesn't carry over to the chat box with the same user when I am on another page. 
This makes me think that you didn't actually read everything since this has been reported multiple times by many users (including my own self)

     2.  How can I change the order of the messages?  (i.e.  newest message appears first.  Instead of having to scroll down each time)
Hm, don't know if it's possible. I'll leave you on SA™ on this one ;)
Title: Re: SA Chat
Post by: Forum.KaylieLove on August 25, 2014, 08:17:56 PM
Ninja ZX-10RR... I apologize if I have missed that section.  I read through the pages again and I think I found something you are referring to.   Are you referring to this:

It's the same with this version. I have checked the cookies which are added and I think the problem is with "Path" parameter, because it's set to various pages (like /search/, /, /profile/,...) - there should always be "the same path"?

I think I fixed this problem by adding options.path = '/'; in head.js.php (before "return (document.cookie..."). Chats are now opened and closed like they should be on all pages. :)

If so, where can I find the head.js.php file?  (he he, I truly am trying)

Lots of Love,
  ~Kaylie Love
Title: Re: SA Chat
Post by: Ninja ZX-10RR on August 25, 2014, 09:17:45 PM
Ninja ZX-10RR... I apologize if I have missed that section.  I read through the pages again and I think I found something you are referring to.   Are you referring to this:

It's the same with this version. I have checked the cookies which are added and I think the problem is with "Path" parameter, because it's set to various pages (like /search/, /, /profile/,...) - there should always be "the same path"?

I think I fixed this problem by adding options.path = '/'; in head.js.php (before "return (document.cookie..."). Chats are now opened and closed like they should be on all pages. :)

If so, where can I find the head.js.php file?  (he he, I truly am trying)

Lots of Love,
  ~Kaylie Love
Sorry for the late reply my router decided to black out for an hour making me swear quite a lot...
You can follow that procedure by editing that file {your forum root folder}/sachat/themes/{theme you are using, hopefully default}/js/head.js or either download and replace your file with this one that is the same file edited that way already :)
*attached*
Title: Re: SA Chat
Post by: SA™ on August 31, 2014, 07:31:16 PM
new version 0.1.3 realsed
fixes something for the fast typers now all messages should be shown instead of just last one
https://github.com/SAMods/SAChatBar/blob/master/Changlog.txt
Title: Re: SA Chat
Post by: Ninja ZX-10RR on August 31, 2014, 08:01:57 PM
I have been the 2nd to download it lol and... Thanks for the update... Wow *-* works like a charm and even better than before! Good job mate!
Title: Re: SA Chat
Post by: ExSpirit on September 01, 2014, 03:46:00 AM
fixes something for the fast typers now all messages should be shown instead of just last one
This still doesn't work. If I type fast 1, 2, 3, 4, 5. The other person only gets 1, 2, 3, 5. So some text is still missing. Now I tried sending 1, 2, 3, 4, 5, 6, 7, 8, 9 and the other person only got 1, 2, 3, 5, 6, 8, 9. So two messages are missing.
Title: Re: SA Chat
Post by: Ninja ZX-10RR on September 01, 2014, 07:41:19 AM
I tried exactly the same thing and it worked here.
Title: Re: SA Chat
Post by: SA™ on September 01, 2014, 01:36:56 PM
fixes something for the fast typers now all messages should be shown instead of just last one
This still doesn't work. If I type fast 1, 2, 3, 4, 5. The other person only gets 1, 2, 3, 5. So some text is still missing. Now I tried sending 1, 2, 3, 4, 5, 6, 7, 8, 9 and the other person only got 1, 2, 3, 5, 6, 8, 9. So two messages are missing.

dam i suk :P
funny thing i had this update ready for about a week cos i was testing it and never even notice this till after i realse it
Title: Re: SA Chat
Post by: konstantinos2424 on September 01, 2014, 02:05:33 PM
Hello, I installed the newest version and now I cannot receive any message from anyone...This happens with every profile. Thanks!
Title: Re: SA Chat
Post by: Ninja ZX-10RR on September 01, 2014, 09:31:17 PM
Hello, I installed the newest version and now I cannot receive any message from anyone...This happens with every profile. Thanks!
You should provide more details in order to get assistance... SMF version for example (upgrade to 2.0.8 if you are running an older one). Errors in the error log? Was the install completely successful? Did you uninstall the older version before installing the newer one... Right? :)
Looking at the license file I can attach it without having troubles so in the meantime you can install the older one that I attach for you.
Title: Re: SA Chat
Post by: Kimmie on September 01, 2014, 11:40:24 PM
I installed this but I don't see anything. How do we use it? Where is it at? There are no images on the mod page so I don't even know where this is at on the site.


Thanks
Title: Re: SA Chat
Post by: SA™ on September 01, 2014, 11:50:26 PM
there is images here
http://custom.simplemachines.org/mods/index.php?mod=2534

also if i dont show after install goto sachat admin maintenence and run the fix bar option
Title: Re: SA Chat
Post by: Kimmie on September 01, 2014, 11:52:35 PM
Thanks, but I meant mods on how to use it. That 1st image is way to small to see, but I assume it is the chat bar. How do I get that chat bar to even show up?
Title: Re: SA Chat
Post by: Ninja ZX-10RR on September 02, 2014, 12:31:56 AM
There is a whole dedicated menu in the admin section... That's... Strange that you didn't see it...  Admin --> SA Chat and then you have a boatload of settings there :)
Title: Re: SA Chat
Post by: ExSpirit on September 02, 2014, 02:08:49 AM
fixes something for the fast typers now all messages should be shown instead of just last one
This still doesn't work. If I type fast 1, 2, 3, 4, 5. The other person only gets 1, 2, 3, 5. So some text is still missing. Now I tried sending 1, 2, 3, 4, 5, 6, 7, 8, 9 and the other person only got 1, 2, 3, 5, 6, 8, 9. So two messages are missing.

dam i suk :P
funny thing i had this update ready for about a week cos i was testing it and never even notice this till after i realse it
Oh, so you already have the fix for this but forgot to add it to latest version? Can you write what part of code to change or maybe attach the file which is responsible for this problem here? If you will update the file on mod page, please just write which file(s) are changed, so that I can just replace those files not all of them. Thx.
Title: Re: SA Chat
Post by: Ninja ZX-10RR on September 02, 2014, 06:33:45 AM
It takes like 30 seconds to reinstall it... Is it because of some custom edits?
Title: Re: SA Chat
Post by: ExSpirit on September 02, 2014, 12:03:02 PM
Yep, if I make full reinstall I always have to make the same changes again (in some files - which are maybe not even changed).
Title: Re: SA Chat
Post by: SA™ on September 02, 2014, 01:27:45 PM
fixes something for the fast typers now all messages should be shown instead of just last one
This still doesn