subzero the chat is the automatic refresh, I Occor help put an option that allows individual to turn off the automatic refresh (I thought it might be something that is similar to the disable the popup for example, the same way but applying it so that we can disable the automatic refresh of the room) , this the code part for automatic refresh
f ($action=="")
{
echo "<head>";
echo "<title>$rname</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
$unreadpopup=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_popups WHERE unread='1' AND touid='".$uid."'"));
if ($unreadpopup[0]<1)
{
echo "<meta http-equiv=\"refresh\" content=\"30; url=chat.php?time=";
echo "".date("dmHis")."";
echo "&sid=$sid&rid=$rid&rpw=$rpw\">";
}
echo "</head>";
echo "<body>";
echo "<bgsound src=\"$sound\" loop=\"infinite\"/>";
$mmsg = htmlspecialchars(getsetmood(getuid_sid($sid)));
addonline($uid,"Chatta in $rname ($mmsg)","chat.php?rid=$rid&rpw=$rpw");
//echo "<p>";
echo popup($sid);
echo "<b>1 </b><a name=\"top\" id=\"top\" accesskey=\"1\" href=\"chat.php?action=say&sid=$sid&rid=$rid&rpw=$rpw\">Scrivi</a><br/>";
echo "<b>2 </b><a accesskey=\"2\" href=\"#opt\">vai giu</a><br/>";
echo "<b>* </b><a accesskey=\"*\" href=\"chat.php?time=";
echo "".date("dmHis")."";
echo "&sid=$sid&rid=$rid&rpw=$rpw\">Aggiorna</a><br/>";
How can you change to ensure that a user can click on an individual basis to eliminate the automatic refresh?