Shoutbox 4.0 beta

Here it is, the next version of shoutbox! It is however still in beta and should only be used if you know what you are doing. If not, please continue using version 3.2!

Version 4.0 Beta

  • Fixed: Fixed XHTML so Tidy loves it (Thx to Wizanda [wizanda.co.uk] & Masterprut [fueldump.de])
  • Fixed: Javascript optimized so it isn’t a mess anymore.
  • Added: You can now choose the storage method: file or database. Database is still experimental!
  • Added: It’s now possible to edit/remove shouts [database only]
  • Added: You can now select the height and width of the popup. Popup stays resizeable!
  • Added: The remove button now asks or you are sure you want to remove all posts.
  • Todo: CAPTCHA integration for guest users
  • Todo: Make storage file moveable
  • Todo: Fix known problem with popup for users that use crappy browser (aka IE)
  • Todo: Fix unknown bugs :-)

Download: Shoutbox 4.0 beta

WARNING: Read the readme for known limitations!

21 Responses to “Shoutbox 4.0 beta”

  1. pektus says:

    hi jan304..

    i hope you could include this fix to the addShout function.. i hope you could also replace the textbox with a text area which can be controlled in the configuration of the module. btw, to access ^M character, it is ctrl-v + ctrl-m in unix.

    function addShout($username, $shouttext, $myid)
    {
    $ip = getenv(“REMOTE_ADDR”);
    $shouts = fopen($this->csvfile,”a”);
    $username = str_replace(“|”,”",$username);
    $shouttext = str_replace(“|”,”",$shouttext);
    $shouttext = preg_replace(‘/^M\n/’,’ ‘,$shouttext);
    $username = trim($username);
    $shouttext = trim($shouttext);
    $ip = trim($ip);
    fwrite($shouts,$username.”|”.$shouttext.”|”.time().”|”.$ip.”|”.$myid.”\n”);
    fclose($shouts);

    $this->trimShouts();
    }

  2. pektus says:

    also, it would be helpful if you can have the shoutbox to run the xoops language sanitizer.. :)

  3. irmtfan says:

    Hello jan
    nice blog!
    i think its must be test in a high traffic website. i can manage to do it
    good luck

  4. Jan304 says:

    @irmtfan:
    Thx ,looking forward to results! It seems my spam filter didn’t like your message, I however managed to resque it ;-)

  5. irmtfan says:

    Hello,
    finally i install it in my live site.
    it has a problem with utf-8 in IE .( in FF it works fine)
    you can not see chat box in my site http://www.jadoogaran.org unless i set a special access.
    if you want to test it just leave me an email about.

  6. irmtfan says:

    Hello again
    my prev. comment is not correct.
    it works fine in IE and FF.
    just another issue:

    there is no in templates so i cant use custom css.
    I think its better if you modify templates so it use some theme smarty.

  7. irmtfan says:

    $xoops_module_header

  8. Epik says:

    I dont know how to install this im runnin Invsion Power Boards.

  9. pektus says:

    hello.. any updates on this project??

  10. Jan304 says:

    @Pektus: I’m sorry to let you know I haven’t been able to get some time free to continue developing shoutbox… At the moment I’m studying for my exams and maybe after that… Really sorry…

  11. DannyM says:

    Hello,

    nice module.

    It looks like I cannot click on the smileys to put them in the textbox for a shout. I tried it with FF 2.0.0.3 and IE 6.0 and IE 7.0.5730.11. Bug or can I solve this problem? Further the popup does not popup when I click on popup in the block.

    thks for your answer.

  12. Zardonkan says:

    thank you, I will prove it

  13. Alberto says:

    Thank you for the best chat module in xoops!
    But the module installed in my site (xoops 2.0.16, mysql 5.x, php5) doesn’t work if I use mysql db as storage. And I need because problems with language code if I use text file, utf-8: the accents, àòùè etc., are not readable

  14. victor says:

    I have a problem with IE 6 not showing the text box in the pop up. I downloaded your latest version, how do I fix this?

  15. edward says:

    I just finished installing it, my site visitors loved it. You can check it on this website Bacolod City Guide – http://www.gobacolod.com

    Hope you’ll be able to finish the final version.

    Thanks you for your effort.

  16. Patang says:

    Keep up the good work!
    Shoutbox is the best.

  17. Joel Johansson says:

    Great module! I’m trying to remove the red star indicating anonymous posts, but i just can’t find it in the code. I would be most grateful for your help! I just need to know the file and row where to erase it.

  18. Jan304 says:

    @Joel:
    What you are looking for is located in template/shoutbox_shoutframe.html. Look at this part:
    <{if $shout.uid neq “guest”}>
    <b><a href=’<{$xoops_url} rel=”nofollow”>/userinfo.php?uid=<{$shout.uid}>’ target=’_top’><{$shout.uname}></a>:</b>
    <{$shout.message}>
    <{else}>
    <b>< {$shout.uname}><font color=’#990000′>*</font>:</b>

    <{$shout.message}>
    <{/if}>

    Hope this helps.

  19. Joel Johansson says:

    @Jan304:

    It’s great to see someone so helpful.

    I’ve changed that thousands of times, and when you answered i realized it was a file problem. shoutbox_shoutframe.html seemed to be cached in my themes template_c directory, even though my xoops is set to always check for template modifications.

    Thanks for helping!

  20. Zsl says:

    i have a problem,
    i can only send one shout, after that the Submitbutton seems to be deactivated and i can not send a second message, unless i did not refresh the whole website ..

    du u know what i did wrong ?

    thanks for your great support and good work !

    Greetings from Germany

  21. Samo says:

    Dead Project

Leave a Reply