| Re: Xoops Chat Errors... |
| by Cavan on 2005/6/6 5:19:00 RE stuie200's latest submission of the Xoopschat module: le="color: #000000"><?php [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> </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> </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)?
|
| Re: Xoops Chat Errors.. |
| by Holly1 on 2005/5/13 1:17:19 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. |
| Re: Xoops Chat Errors.. |
| by Anonymous on 2005/5/13 1:15:15 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. |
| Re: Xoops Chat Errors.. |
| by Holly1 on 2005/5/13 1:04:14 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']); |
| Re: Xoops Chat Errors.. |
| by Anonymous on 2005/5/13 0:27:57 Believe me! xoops.js is definitely in public_html/Forums/include/<-thefolder|thefile->xoops.js
|