Elgg Bottom Bar v0.10 alpha

Release Notes

-= version 0.10 alpha =-

released 10th May 2010

-- Changes --

* Added function to disable sounds at global level

-- Bug Fixes --

* None

-- Known Issues --

* Still a bug with the cookie size .. work in progress


Release notes:

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 **

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.

All constructive comments welcomed.

  • I have done this. Just add the following function tomod\bottom_bar\views\default\page_elements\functions.php (or your own design Module, then copy ""bottom_bar.php" too)

        function bb_toggle(id){   
            if(bb_chat_windows_open.indexOf(id) == -1){
                showBBChatDiv("chatbox_" + id , true);
                var splice;
                for (var box = 0; box < bb_chat_windows_open.length; box++) {           
                    if (bb_chat_windows_open[box] == id) {
                        splice = box;


    And use this function in the line:

     .html("<span style='color: white; cursor: pointer;' onClick='javascript:bb_toggle(\""+chatboxtitle+"\");'><img src='<?php echo $CONFIG->wwwroot; ?>mod/bottom_bar/graphics/icons/icon_chat.gif' width=10> " + chatwithname + "</span>")      .appendTo($("#bb_bar"));

  • Hi!

    Thank you for this great Plugin!

    I have a question: can I change the Headline "bottom_bar" in the User Settings to "Chat"?

    I can't find it in the Language File. See screenshot:


    Where can I change this?

    Thanks for your help!

  • I'm finding that when I open the notifications stream panel on the right of the bar, I am seeing the following behaviour:

    1. 'mine' tab is open by default and is displaying 'all' instead of 'mine'.

    2. when I click 'all' tab, 'all' are displayed correctly.

    3. when I then click the 'mine' tab again I am shown the feed for another user.. not mine!


    any idea why this is?

    thanks a lot

  • Hi, i found a problem with your plugins..

    Your plugin cause a character counter on the wire not work.

    How can i solve this???

  • another issue:

    originally the sounds were working - when updates were made to the site and chat notifications were registered sounds were heard from the browser... 

    now they are not, even though the options are all set to enable them..

    anyone know why this might be? - browser = chromium on ubuntu linux


  • update: the sound is working ok in firefox..

  • it is working fast and fine in 1.7.4 too but cookies create a problem if we chat for a long time. The chat session ends up with error bad url or bad cookies size. it is a known bug in this plugin but after 171 days it is still exists ! 

    But along with these bugs it is still my favorite chat plugin because it well styled and working fast as compared to all other chat plugins here.

  • @ghumanz - strange you have found that this plugin is fast .. I have just disabled it and found my whole site is accelerated hugely.. I'm still testing the site so its only me using it..

    I looked in the server logs and found 150mb of error notifications from this plugin!!!!

    and that's with no users on the site besides me.

    I haven't investigated exactly what is causing the issues as i'm debugging another plugin at present... i'd be interested to know if your error log is full also?


  • @ tunist Yes it has some bugs but i  always clear those errors_logs  time to time. Then which chat you are using now. Because I test all but every one has some issues.



  • @ghumanz -

    I have elggchat installed presently  -


    I haven't tested it thoroughly at all.. so far though it seems more fluid and lighter.

  • @ tunish It show a little bit delay when we send a message and check it to send some big messages then it show you some css issue.

  • In our php-error_log is the following waring:

    [Fri Nov 19 10:14:31 2010] [warn] [client XXX.XXX.XXX.XXX] mod_fcgid: stderr: PHP WARNING: 2010-11-19 09:14:31 (UTC): "Invalid argument supplied for foreach()" in file mod/bottom_bar/chat.php (line 67), referer: http://localhost/

    so just add "if(!empty($messages))" in line 67 (before the foreach) to avoid this problem. But I think this could not be the finally solution.

  • Can you add some 3D emoticons like facebook's with animation?

  • is there a way in which I can change the notification into friends and mine?? I don't like to have all in it.



    Hola saludos tengo un problema en la versión 1.7.3 ,  1.7.4 y 1.7.5 me sale la barra en la parte superior... dejo la imagen espero que me ayuden ya que es el pluin indispensable para implementar una red social en mi universidad...


  • @julio

    You must change the settings of the plugin to suite your site. After changing it, goto yoursite.com/upgrade.php

    This issue will be solved.

  • i tried to use this plugin for myself.But have a problem. When i'm seeing a video on notification and have a news is posted on the wire .notification will refesh .And video is refreshed .

    any suggestions for me.

  • everything is perfect except that tools administration page is not opening

  • i have a problem with this plugin.

    i want to show notifications Friends not Mine.

    any suggestions for me.

  • any suggestions for me.i just see activity not show different plugin. plugin like or video plugin.


  • Hola saludos tengo un problema en la versión 1.7.6 me sale la barra en la parte superior... lo mismo le pasa a Julio Alfredo

  • Greetings Hi I have a problem in version 1.7.6 I get the bar at the top ... so does JulioAlfredo. how I can repair

  • The plugin is working fine but when i go to administrator> tool administration

    i only get a basic html page and in place of bottom bar it shows the following error

    Parse error: syntax error, unexpected $end in C:\xampp\htdocs\sites\elgg\mod\bottom_bar\views\default\settings\bottom_bar\edit.php on line 172


    what to do ??

  • i am using elgg 1.7.6

  • Good stuff, but doesn t work under 176 and slows down the page a lot. hope you can figure it out for beta version

The Mad Professor

Nutter .. Brit .. that's about it! ;)


  • Category: Uncategorized
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-11-17
  • Downloads: 17092
  • Recommendations: 16