1
Shufflebug
shoutbox error in popup
  • 2003/10/31 15:46

  • Shufflebug

  • Just popping in

  • Posts: 40

  • Since: 2002/6/19


Hello everybody,

when I open the shoutbox popup window, at the top of the page I see a bunch of java script code and beneath this I see the posted messages.

Anyone knows how to get rid of this code displayed ?

regards
Shufflebug

2
Anonymous
Re: shoutbox error in popup
  • 2003/10/31 16:30

  • Anonymous

  • Posts: 0

  • Since: 0


Just a guess:

Javascript is included via include(XOOPS_ROOT_PATH."/include/xoopsjs.php");

Add following lines before the include-line

Quote:
echo "<script language='JavaScript'>\r\n";
echo "<!--\n";


and after the include:

Quote:
echo "//-->\r\n";
echo "</script>\r\n";

3
Shufflebug
Re: shoutbox error in popup
  • 2003/11/3 8:33

  • Shufflebug

  • Just popping in

  • Posts: 40

  • Since: 2002/6/19


HiDiHo frankblack,

I'll try this as soon as possible.

4
CiberEspia
Re: shoutbox error in popup

somebody can explain better like solving this problem or if somebody has all the free package of errors