Chat/shoutbox text disapear

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Chat/shoutbox text disapear

    Plz guys how can i make my shoutbox/chat text to disappear at a certain minute, eg 10min Thanx

    #2
    put in core.php
    PHP Code:

      $timeout 
    10*60// 10*60*60 = 10 hours  - 10*60 = 10 min 
      
    $exec mysql_query("DELETE FROM ibwf_chonline WHERE lton<'".(time()-$timeout)."'");
      
    $exec mysql_query("DELETE FROM lib3rtymrc_shouts WHERE shtime<'".(time()-$timeout)."'"); 
    <?php unlink('World/Europe/Romania.country'); ?>

    Comment


      #3
      Tanx guy but am using uloki script... Nt lavaire

      Comment


        #4
        you got the codes you need above all you need to do is adjust the table name and field names for uloki

        Comment


          #5
          Sometimes I wonder. Smh
          Perfection comes at a cost



          I accept liberty!

          Comment


            #6
            Tanx man, d0ne

            Comment

            Working...
            X