View Juho Jaakkola's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
@OvWell
Well no, I wouldn't modify the chat plugin to use Jabber since that would pretty much require a complete rewrite.
Instead it would be better to start from a scratch and just adopt the look and feel of the chat plugin. I suppose it's mostly the user interface that you're after?
Also there would be no point in saving the chat messages also to Elgg database besides the Jabber server. So that means it wouldn't be possible to for example use the Elgg likes plugin on an individual chat message since likes need to have an entity that they they refer to in Elgg database.
It might be better to use some existing Elgg XMPP chat plugin as starting point and then just modify it the way you like.
Here's one example: http://community.elgg.org/plugins/512659/0.4/xmpp-chat
@Juho
Thanks. Basically I was looking for a good instant messaging service.
I was searching and found out that jabber is one of the best instant
messeging service (correct me if I am wrong),
and as I understood, your chat uses apache right?
We are just searching for a real-time chat that best handle a
big amount of members.
Thanks for your help.
@OvWell Yes, my chat is based on Elgg core functionalities that run on Apache.
I wanted my plugin to integrate with Elgg to be able to use the features of other plugins and the core. The cost is that communication with the server is a clumsy and it increases server load quite a bit.
A dedicated chat server/system is pretty much a necessity for a real-time chat that has to scale for a site with a large amount of users. So for your use case I would recommend some separate chat system like Jabber instead.
I have installed this plugin but I don't know how to add members to the chat. The new chat form shows a text field to add or delete members but when I enter a name and press the form button I get the message: No members selected! There are two members online but I can't see any member in ul class="elgg-user-picker-list".
Does a list of matching users open when you start writing a name?
Hi jj
How to change chat with friends list only not all members...
What do you mean? Are you trying to make the "Only friends" setting the default behavior?
yes....@jj
i want make only friends...
how to change?
I'm affraid the userpicker element doesn't support forcing the selection only to friends. You could try creating your input field by copying the logic from userpicker to your own plugin and then modifying how it works.
To do this, investigate how the files views/default/input/userpicker.php and js/lib/ui.userpicker.js work.
As i click on start a chat it shows a 403.html error
I don't think that error is caused by the chat plugin. Is everything else working fine?
I dont know exactly but whenevr i install any chat ..and i click on the header icon it shows 403.html error
I feel somewhere my website doesnot has access to external urls ..as when i click on start a chat again it shows the same error.. pls suggest from where to set it correct
I tested this in 1.9.3. Doesn't give the usual deprecated messages but when I try to start a new chat
the system always complains: "No members selected!"
Seems like a very useful plugin. Hope it will be developed further at some point.
This might be a stupid question, but did you actually select any users when you attempted to start a new chat?
I guess so. I start writing a name into the add/remove friends field. Then member names, starting with the letters I've already typed, pop up (though they float confusingly) and I click on them. Then they are listed below and I can delete them by pressing some circle on the right.
Ok, thanks for confirming it. Yes, seems like this is a bug then. I haven't yet gotten around to upgrade the plugin for 1.9.
I wrote the bug down so I won't forget it: https://github.com/juho-jaakkola/elgg-chat/issues/1