11
Holly1
Re: Xoops Chat Errors..
  • 2005/5/13 0:23

  • Holly1

  • Not too shy to talk

  • Posts: 129

  • Since: 2005/5/4 1


So This is NOT asking for the INCLUDE folder itself?

ublic_html/Forums/include/xoopsjs.php)

IF not can you give me the direct path so I can see if its there... The xoops.js

12
Anonymous
Re: Xoops Chat Errors..
  • 2005/5/13 0:27

  • Anonymous

  • Posts: 0

  • Since:


Believe me! xoops.js is definitely in public_html/Forums/include/<-thefolder|thefile->xoops.js

13
Holly1
Re: Xoops Chat Errors..
  • 2005/5/13 1:04

  • Holly1

  • Not too shy to talk

  • Posts: 129

  • Since: 2005/5/4 1


new error...

foreach ($thecolornames as $c) {
echo "<option";
if ($currentcolor == $c) {
echo " selected";
}
echo " style='color: ".$thecolorarr[$countcolor].";'>";
echo $c;
echo "</option>";

$countcolor++;
}

seems to be broken, as long as you choose a color it's fine, and if you choose a color it errors out at

if (isset($op)) {
if (!$HTTP_POST_VARS['msg'] == "") {
$message = $HTTP_POST_VARS['msg'];

if ($HTTP_POST_VARS['msg_underlined'] == "on") {
$message = "<u>".$message."</u>";
}

if ($HTTP_POST_VARS['msg_italic'] == "on") {
$message = "<i>".$message."</i>";
}

if ($HTTP_POST_VARS['msg_bold'] == "on") {
$message = "<b>".$message."</b>";
}


if you check all three boxes and post, the error goes away until you try to post again in the chat window.


and in forums these seem to be broken
//$forumpost->setNosmiley($HTTP_POST_VARS['nosmiley']);
//$forumpost->setIcon($HTTP_POST_VARS['icon']);

14
Anonymous
Re: Xoops Chat Errors..
  • 2005/5/13 1:15

  • Anonymous

  • Posts: 0

  • Since:


HHHHHHHHHHEEEEEEEEELLLLLLPPPPPPPP! LOL

I recently read a post saying xoopschat is a great module. This guy was a masochist I guess.

Give me some time and I will fix the bugs. Or try the other chat scripts in the module repository.

15
Holly1
Re: Xoops Chat Errors..
  • 2005/5/13 1:17

  • Holly1

  • Not too shy to talk

  • Posts: 129

  • Since: 2005/5/4 1


the chat errors aren't fatal so are more of a nuisence than anything else, so take your time..

i tried the other chats and didnt' like them.

16
Cavan
Re: Xoops Chat Errors...
  • 2005/6/6 5:19

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


RE stuie200's latest submission of the Xoopschat module:

[color=339966]//echo "<html><head><title></title></head><body><table width=100[/color][color=CC0000][b]%>[/b][/color][color=339966]<tr><td width=75%>";[/color]
echo "<table width=100%><tr><td width=75%>";
echo 
"<div align='center'>
    <iframe width='100%' name='ChatFrame' src='chat.php?pchat=false&room="
.$theroom."' frameborder='0' framespacing='0' border='0' marginwidth='0' marginheight='0' height='".$xoopsModuleConfig["chatframe"]."'></iframe></div>";
echo 
"</td><td with=25% rowspan="3" class="odd" valign="top">";
getChatRooms($theroom);
echo 
"<p>&nbsp;</p><div align="center"><p><strong>".$uname."</strong></p>";
if (
$useravatar){
    echo 
"<img src='".XOOPS_URL."/uploads/".$useravatar."' border=0 alt='"._MA_XCHAT_CONNECTEDAVATAR."'>";
}
echo 
"<p>&nbsp;</p><a href='endsession.php' target='_parent'>"._MA_XCHAT_LEAVECHAT."</a>"._MA_XCHAT_PLZLEAVE."</div></td></tr>";

echo 
"<tr><td><div align='center'>
    <iframe width='100%' name='MsgFrame' src='bottom.php?pchat=false&room="
.$theroom."' frameborder='0' framespacing='0' border='0' marginwidth='0' marginheight='0' height='".$xoopsModuleConfig["msgframe"]."' scrolling="no"></iframe></div>";
echo 
"</td></tr>";
echo 
"<tr><td>
    <div align='center'><iframe width='100%' name='StatsFrame' src='stats.php' frameborder='0' framespacing='0' border='0' marginwidth='0' marginheight='0' height="
.$xoopsModuleConfig["statframe"].">hallo</div>";
echo 
"</td></tr>";

//echo "</table></body></html>";
echo "</table>";

include(
XOOPS_ROOT_PATH."/footer.php");
?>


The above lines (51-74) are from xoopschat/index.php file. As you can see, line 51 is commented out which forces the "%>" after "width=100" to apparently act as "?>". This in turn eliminates the footer.php from displaying as it should. HOW do I fix this mess? It's the same way in the xoopschat/bottom.php file as well...

ALSO, how do I fix the message scrolling problem in the box where the messages are displayed (see pic below)?
Resized Image

Login

Who's Online

171 user(s) are online (130 user(s) are browsing Support Forums)


Members: 0


Guests: 171


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits