1
           
            
                
     
    
    Hello
I use Shoutbox Module seems dead from Pretty longtime , anyway , in the Module u can limit the time between Messages , user must wait a specific time before post again .. I need to edit the code below to Exclude a Group of users from this limitation by the Group ID .. 
 // Check if time limit 
     $date = time()-10;  // limited to 10s 
   $sql = "SELECT name FROM ".$xoopsDB->prefix("post")." WHERE ip = '".$_SERVER['REMOTE_ADDR']."' AND date > ".$date; 
   $result = $xoopsDB->query($sql); 
   list($sval) = $xoopsDB->fetchRow($result); 
   if ( $sval!="" ) { 
   redirect_header($Page . "/index.php" , 3,_MD_POST_LIMIT_TIME); 
   } 
       $name = $myts->makeTboxData4Save($_POST["name"]); 
     $comment = $myts->makeTboxData4Save($_POST["comment"]); 
    $ip = $_SERVER['REMOTE_ADDR'];