Use the PhpFreeChat in your Elgg installation. Note: v1.2.2 comes with a bunch of new features. This version fixes container handling. To view the full changelog please visit the project homepage.
Please note: There seems to be an issue in the current version: when you open the chat without saving the chat settings at least one time it won't work. I'll fix it sometime
View Felix Stahlberg'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.
@felix
I don't think it's related to the page handler rewrite rules of apache because even if I try something like this, it doesn't work: $room = "test123"; $params['channels'] = array { $room };
What I'm trying to say is that for some reason even if I use an internal variable array for the $params['channel'] array it doesn't work. Could you possibly check this?
well the reason you guess is not possible. Did you use
array { $room }
orarray($room)
? You have to use round brackets likearray($room)
to set an array in php ;)Otherwise you could try a different name for the variable..
If all the stuff doesn't help you have to wait until the next release..
The curly braces is a typo, for some reason it isn't working.
What I'm doing is:
$groupRoom = get_input('room');
$params['channels'] = array ($groupRoom);
if I echo $groupRoom to the page then I get the room string specified in the URL.
Any thoughts?
does anyone know how to increase the height of the textbox where users type in messages? I have looked everywhere but cannot find it.
try out different themes, they vary in the height of the textbox.. if you want to have more control you need firebug+some css skills to write your own theme
hi, why i m getting this error message: please help me........
phpFreeChat cannot be initialized, please correct these errors:
forgot to mention i m using elgg 1.5 thanks
abstract from INSTALL file:
- Your webserver requires read and write permission to the mod/chat/pfc/data folder.
However the webserver has to have the permission to enter the directories, so the directories need the x flag.
I suggest that you change the owner of the data folder recursivly to www-data (or however youre webserver user is called) and set the permissions to 700
chown -R www-data /home/ssss/teee/defde.com/mod/chat/pfc/data
chmod -R 700 /home/ssss/teee/defde.com/mod/chat/pfc/data
greetings
Thanks Felix for the udpate but i have already set the data folder to chmod 777 but still doesn't work. i am with shared hosting so i think they will not allowed me to change the owner of the data folder. if any solutions would be great. thanks a lot.
Hi, now i m not getting any error.....so all the errors are fixed but the when i click the "Chat" it says:
Chat loading ...
Please wait
but it's not starting..... plz help.
thanks
Is there anyway to set the chat plugin so that it has a link from the Tools drop down menu rather than on the top bar itself?
Reason I ask is that if you add anything to the top bar it overwrites part of the chat link... even any message numbers added to the mail icon disruptes it as well.
@jededitor
On my installation, I cannot reproduce that...
Its down to a plugin I have that allows me to add a dropdown menu for external pages... The plugin is a higher priority for me than the chat unfortunately. Moving the chat link to the tools DD seems to be the best solution.
Any ideas how to set the language of chat with the user's language?
I suppose it must be something like this in index.php?:
Hello, I have trouble with IE8.
The user list is not on the right, there's a trouble with css because if I ask IE using "old mode" it work's fine !
An idea ?
Christophe
is there a screenshot of how this looks with elgg?
Come on Felix - we need a version with the option to put the 'chat' link in the 'Tools' drop down menu rather than in the top bar itself...
anybody using this with elgg 1.5? as the install file says using it with elgg 1.5 could create problems??
yes please somebody give us details on 1.5 and let us know how it is working.
I sure would appreciate a .zip file instead of a tarball. Yea, sure, I could download a tarball unzipper for windows (My server is linux, but I test everything on my windows computer first), but it is a pain. Plus, while windows does not come with a tarball unzipper, linux does come with a .zip unzipper, so it is just logical to go with the more used format.
I'm using it with 1.5 and it works okay... Create a default room first!
Winzip is trash software that contains nothing but trashy code and spyware tho.
Izarc unzips everything.
I like the idea
一個人得來