Note: This plugin is still in alpha stage, and most likely has quite a few bugs in it .. you have been warned! ;)
** Updated chat version - very alpha release for those interested in helping bug test **
** First release using MySQL via ELGG objects - should solve the SQLite issue **
Welcome to my first attempt at a plugin!
The bottom_bar plugin adds a fixed bar at the bottom of the browser with an auto updating notification and friends list.
The notification button will show red when there are new notices to be seen. When the button is clicked, the notice is cleared ready for the next update. The friends list auto updates with a list of online friends.
As of v0.2, basic chat has been added to the system, including persistant windows between page loads, chat history, sound notifications and smiley and url translation. There are now some settings for both admin and user to enable/disable chat and a few other bits.
I have tested this with Internet Explorer 7, Google Chrome 2.0 and Firefox 3.0 & 3.5, and as far as I can tell it works ok. If anyone can test against other browsers/OS I would appreciated it. Also, please let me know if you come across another plugin that this conflicts with.
Known Bugs:
Some screenshots ...
(yes I know the notification area is showing the same as the main page .. it was kind of the point to show the notifications were in sync ;) )
All constructive comments welcomed.
Like this code? Consider a donation ;)
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.
Right guys - this should now work either with SQLite, or with MySQL via ELGG Objects (i.e. no direct interface yet). If you do not have the SQLite extensions installed on your server, it should default to using ELGG. If you do have SQLite, then it will default to that to begin with, but this can be changed in the admin options.
As this is the first release using the new method, please be aware it is likely to be quite buggy. I have tested it as far as I can, but as always my testing systems are a little limited! :)
Enjoy!
do you store conversatins in cookie? just found it out
@alfalive - yes and no. The contents of the div are stored in a cookie to allow it to persist between page changes. As soon as you log out or close the page it should delete the cookie, and it checks to ensure they are deleted when you hit the login page (just incase of a browser crash).
Nice - I like it! Thank-You!
its a great tools...
I translated a bit to the Spanish side (bottom bar), but the admin tools still do not traslated. if you want i can send the file (spanish) , is translated only what users see.
@Nestor - If you could translate the admin side and send the complete file over, that would be fantastic.
I like it and it looks great but it really slowed down my page load times.
yes that is a real issue, I can activate this fantastic plugin in my site only if it is not affecting my page load time.
@The Mad Professor can u please take a look into that?
@TimberGhost & Jayadeep - Thank you for your comments, however please remember that this is still an alpha version of the plugin - I have not profiled, compressed or streamlined the code yet, as there is little point when I am ripping apart and changing chunks of code depending on the bugs found. If and when this appears to be more stable, then I will start looking at compressing it all.
At the moment, my main focus is finding out if the new version of the chat using MySql via ELGG objects is working in a stable manner. I would appreciate it if people could let me know either way if it is working for them please
@Mad Prof: you can compress it to run faster this way more people will install it to the live site. as i knw from last version that there are some simple bugs that would not matter even if it is installed in live website.
@sam1 - As I said in the previous post, I know I can compress the code, but at the moment I am still developing and bug hunting, and compressed code makes that difficult. As soon as I move this to beta, I will release it with compressed code.
Hey, great plug in - can't wait to see how it develops.
I'm having the problem of messages being tempremental - sometimes they go missing, they always take a while to come through... but I assume that's because of the unsompressed code? Not a criticism, just getting to the bottom of it!
I find if you send a message, then are waiting for it to deliver, then send another, it gets confused and sends one of the messages either twice or not at all.
@Sean - can you confirm if you are using SQLite or ELGG objects please?
FYI, I run Elgg on an intranet. I am having fewer problems when refresh rate is 15seconds, and it's really slowing my site at 1second.
Thanks for that - that helps a lot
Sure - I started on SQL Lite, and got these problems. Tested it on ELGG Objects and it really slowed down and the problems got worse, so I switched it back.
i'm running it on ELGG and SQL and it seems to working really well - can i just say that i think this plugin is one of the best on here!
chat works well... i have this plugin positioned at the very top of my admin tools page.... dont know if that matters
Mmm, I tried at the top and the bottom of the list, doesn't make any difference to me.
@Mad Prof I'm running Elgg 1.5 if that's any help? I'm going to wait till v1.7 comes out before I upgrade as it'll mean some design time :)
I have the 98% translated. I do not understand only two words that I lack. :S
how i can send the file?
Message sent ;)
Hey guys,
the chat-plugin doesnt work on my vserver.
If I try it local, everything works fine.But after I have uploaded it on my server, and i try to chat with someone, it fails.
I click the friend on the box, the window open, i write something, but the friend dont get that.
Have anybody an idea, what the problem could be?
thnx
Just wanna say Its great & keep working on it
@zeni - does it work using ELGG objects rather than SQLite?
@shayan - Thank you ... watch this space ;)
I love this plug in! I think the built in radio concept is neat but I can't get it to work.
Keep up the great work!
www.hellfireangels.com