News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SA Chat

Started by Diego Andrés, July 21, 2010, 10:36:59 PM

Previous topic - Next topic

josx2

Hey SA..this is a really great mod!  Thx for putting it together!

question for ya:  back in May 2014, you made this post about adding a button to each profile to start a chat:  http://www.simplemachines.org/community/index.php?topic=391961.msg3700084;topicseen#msg3700084

could you elaborate on doing that a little more for me?  I went into profile.template.php & added that line of href code you specified.  But when I click on the link when viewing a memeber's profile, nothing happens. 

I'd like to do 2 things:
1) enable intiating a chat by clicking a button in a members's profile pane that shows alongside their posts (display.template.php)
2) enable intiating a chat while viewing their profile info (profile.template.php)

Thx in advance!

josx2

figured it out ;)

for display.template.php, the line of code to use is:
echo '<a  href="javascript:void(0)" onclick="javascript:chatTo(',$message['member']['id'],');return false;">chat</a>';
when placing a chat link in the profile pane for posts

gonna toy w/ profile.template.php, but i'm sure it'll be the same

Kindred

Well, it won't be exactly the same, since message does not exist as a defined variable in profile....
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

josx2

correct.  The line of code I used in the profile summary for a user is:
echo '<li><a  href="javascript:void(0)" onclick="javascript:chatTo(',$context['member']['id'],');return false;"><img src="' . $settings['images_url'] . '/im_off.gif" alt="Start Chat" title="Start Chat">Start Chat</a></l>';
I've got it placed right next to the "send Email" icon in the profile

So for next, nothign to do w/ this, but i've got  repeating error logs in the SA Chat log
INFO   Undefined index: permissions       File: /home3/jimophot/public_html/dev/sachat/Sources/Subs.php   Line: 63
WARN   array_diff(): Argument #1 is not an array   File: /home3/jimophot/public_html/dev/sachat/Sources/Subs.php   Line: 63

Every time the forum loads a page, SA Chat generates this pair of error messages a total of 3 times  (6 errors every time the page loads - 3 INFO & 3 WARN).

Any ideas?

josx2

okies....so the # of pairs of error logs being generated apparently varies.  I had 6 error logs originally (I had cleared the logs prior to my last post).  When I logged into the forum as my test account and then refreshed the sachat error log under my admin account, the logs jumped from 6 logs to 4 pages @ 10 pairs/page.

There was only 3 page loads performed after i saw the 6 error logs
1. the page load done to refresh & show the 6 error logs
2. Clicking the "home" link in the window in which I was logged in as my test user
3. The page load to refresh the error logs yet again.

~20 pairs of logs (~40 in total) generated by those 3 page loads

josx2

ehh....i'm gonna disregard the above logs.  I checked the box for "enable group permissions" on my development server...but when I implemented it on my actual server, I left that option unchecked as I really dont have a need for group permissions.  No error logs being generated on my actual server

Doggy

Some help?
Quote from: Doggy on March 22, 2015, 05:54:13 AM
Hey, I hope I posted this where it should be, I just instaled SA Chat Mod for 2.0.9 the current version I am using, but after i installed it I can't..find the chat no actions bar or nothing, is there anything I should do? I am trying this for over an hour.
Thank you

josx2

Go under the maintenance section for sa chat in your admin panel and click 'fix bar'

Doggy


KTN

I got following error in the error log too. I installed the SAchatbar 0.1.5 to SMF2.0.9.


INFO

   Undefined index: permissions

   File: /home/xxxxxxxx/public_html/sachat/functions.php
Line: 1014

   
WARN

   in_array() expects parameter 2 to be array, null given

   File: /home/xxxxxxxx/public_html/sachat/functions.php
Line: 1014

SA™

do you have group permission enabled?
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

KTN

no I don't have group permission enable. I did permission thing from member group permission. But I took off the mod because my cpu usage was showing red ( almost 100%) on cpanel and my site loading was slow down too.

moyack

Hi:

First of all, I want to say it's a great mod for SMF forums, it looks nice and integrated to the forum style. One question, is there a way to check all the message posted in the chat?, this to have control of abusssive use of this tool.

BTW, What does the admin button? I press it and it only change a led image to red/green.

420Connect.co.uk

Hey SA,

I had this MOD installed a while back but ended up using another one in it's place as I had a few issues with it but I'm taking another look at this and was pleasantly surprised to see you are continuing to develop this! :D

The newest "style" seems a lot better in my opinion - it's a lot cleaner looking and modern although I would get rid of the move-over effects for the links/text personally..

I understand the group/global chat features aren't quite fully coded yet but I'm finding when testing the latest version, even the member to member chat's aren't functioning correctly..

I'm struggling to have the person's chat window appear at all (when I click their name, nothing happens and on the one occasion it opened, my text never displayed although I could hear the sound to signal I had sent something)

Also I noticed if you don't allow for members to have a buddy/ignore list, the link still appears in the chat options popup..
- My 'Fb_style' chat theme also seems to reset itself back to default
- & when using the fb style - should the main chat tabs also turn blue (or just the heading of the popped-out windows)?

I'd really like to convert to using one of these style of chats but I'll stick with what I am using until the latest release is more stable..

I really look forward to using this mod and have some other ideas that could possibly be implemented over time?:

- Paid version with no copyright? (possibly extra features too?)
- "grab" facebook/gmail chat contacts like some other similar chat's do..?
- possibly video/audio chat as part of potential paid version?
www.420Connect.co.uk ~ A Social Network For The #CannabisCommunity ~ Come say "High" ;)

SA™

QuoteI understand the group/global chat features aren't quite fully coded yet but I'm finding when testing the latest version, even the member to member chat's aren't functioning correctly..
QuoteI'm struggling to have the person's chat window appear at all (when I click their name, nothing happens and on the one occasion it opened, my text never displayed although I could hear the sound to signal I had sent something)

the problems arise from the group chat itself this will be removed in the next version but instead will be a seprate package/adon to this further down the line

Quote
Also I noticed if you don't allow for members to have a buddy/ignore list, the link still appears in the chat options popup..

there is no check :D did not even think of that

Quote- My 'Fb_style' chat theme also seems to reset itself back to default
i know this and know why will be fixed in the next version

Quote- & when using the fb style - should the main chat tabs also turn blue (or just the heading of the popped-out windows)?
should be just the heading
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

420Connect.co.uk

* 420connect.info excitedly awaits the newest version!  :D

Thanks for the quick reply and clearing up some things I thought might just be something I had done! ..really look forward to what the future holds for this mod!  ;)
www.420Connect.co.uk ~ A Social Network For The #CannabisCommunity ~ Come say "High" ;)

420Connect.co.uk

Quotethe problems arise from the group chat itself this will be removed in the next version but instead will be a seprate package/adon to this further down the line

Regarding addons for this mod, another suggestion that would be sweeeeet !

If you were able to put together a plugin of some sort ..that would "take over" your current personal messages with the conversations you are having..

Something similar to how Facebook's chat/PM system works.. - I've no idea how hard that would be to put together but imagine it would be quite challenging..

The idea is there anyway!  O:)



www.420Connect.co.uk ~ A Social Network For The #CannabisCommunity ~ Come say "High" ;)

Kindred

That would be much more than an add-on, since the PM system is used throughout the SMF code...  that would have to almost be a separate (and fairly major) mod in and of itself
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

debiwebi

Quote from: 420connect.info on April 21, 2015, 05:26:01 AM
Hey SA,

I had this MOD installed a while back but ended up using another one in it's place as I had a few issues with it but I'm taking another look at this and was pleasantly surprised to see you are continuing to develop this! :D

. . .

I'd really like to convert to using one of these style of chats but I'll stick with what I am using until the latest release is more stable..


I've been considering trying out this mod, but reading these messages makes me think twice. 420connect, can you tell me what (working) mod you've been using?

My smf is 2.0.9 and I hardly have any mods installed, so may just try SA Chat anyway and see what happens.
Some mornings it just isn't worth
chewing through the leather straps.
~Emo

Unlimited Own Posts Editing Time

SA™

the next version will be more stable cos I'm removing the mess i called group chat this instead will be a separate package or i may write a script that can used in gadgets not sure yet
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Advertisement: