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!
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();
}
also, it would be helpful if you can have the shoutbox to run the xoops language sanitizer..
Hello jan
nice blog!
i think its must be test in a high traffic website. i can manage to do it
good luck
@irmtfan:
Thx ,looking forward to results! It seems my spam filter didn’t like your message, I however managed to resque it
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.
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.
$xoops_module_header
I dont know how to install this im runnin Invsion Power Boards.
hello.. any updates on this project??
@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…
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.
thank you, I will prove it
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
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?
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.
Keep up the good work!
Shoutbox is the best.
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.
@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.
@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!
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
Dead Project