Chat History Msg

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

    Chat History Msg

    I wont add this function to my wapdesire version.

    I wont view 20 msg at page...
    and link 4 view the prev msg and next...

    I wont reset msg to all rooms at 24.00 automatic...


    any1 have idea to coded this ???
    ;)
    if like my post click:

    http://coding-talk.com/images/totall...ost_thanks.gif

    #2
    :rolleyes: just extend the amount of time messages from chatrooms get deleted from the database

    Comment


      #3
      amy history msg to rooms is userful for view the msg at all times ;)
      if like my post click:

      http://coding-talk.com/images/totall...ost_thanks.gif

      Comment


        #4
        :rolleyes: just extend the amount of time messages from chatrooms get deleted from the database[/b]
        =good idea

        just extend the amount of time messages from chatrooms


        "or you can convert the shoutbox to a chatbox.. thats it.. "

        an idea from space

        space dynamite my friend from other forum lol
        Services

        Are you looking to take your wap or wapsite to a higher level? Do you want to stand out and rise above your competitors?

        Below is a list of services I offer:

        Wap Design and Customized Coding -The first way to stand out in a crowd is to have a brilliant and unique design for your wap or wapsite.

        Rates

        General consulting – My current hourly rate is $100 / hour.
        Custom Wapsite Community - My current rate is $500 / Wap Community Development.

        Comment


          #5
          I edit at core page the amount of time messages from chatrooms ???
          if like my post click:

          http://coding-talk.com/images/totall...ost_thanks.gif

          Comment


            #6
            Code:
            ///////////////////////////////////////Add to chat
            
            function addtochat($uid, $rid)
            {
              $timeto = 350;
              $timenw = time();
              $timeout = $timenw - $timeto;
              $exec = mysql_query("DELETE FROM lib3rtymrc_chonline WHERE lton<&#39;".$timeout."&#39;");
              $res = mysql_query("INSERT INTO lib3rtymrc_chonline SET lton=&#39;".time()."&#39;, uid=&#39;".$uid."&#39;, rid=&#39;".$rid."&#39;");
              if(!$res)
              {
                mysql_query("UPDATE lib3rtymrc_chonline SET lton=&#39;".time()."&#39;, rid=&#39;".$rid."&#39; WHERE uid=&#39;".$uid."&#39;");
              }
            }
            how i do to remain 24 h the chat message in chatbox ..
            Hate romains that take codes from here and tell to all that they had made that

            Comment


              #7
              but I edit this??

              Code:
              function addtochat($uid, $rid)
              {
                $timeto = 120;
                $timenw = time();
                $timeout = $timenw - $timeto;
                $exec = mysql_query("DELETE FROM ibwf_chonline WHERE lton<&#39;".$timeout."&#39;");
                $res = mysql_query("INSERT INTO ibwf_chonline SET lton=&#39;".time()."&#39;, uid=&#39;".$uid."&#39;, rid=&#39;".$rid."&#39;");
                if(!$res)
                {
                  mysql_query("UPDATE ibwf_chonline SET lton=&#39;".time()."&#39;, rid=&#39;".$rid."&#39; WHERE uid=&#39;".$uid."&#39;");
                }
              }

              and how I setting time delete at 24.00 ????

              if like my post click:

              http://coding-talk.com/images/totall...ost_thanks.gif

              Comment


                #8
                you want to keep the messages in the database at all times yet you are asking how to delete them at midnight everyday pfft... you make no sense

                Comment


                  #9
                  plz help me
                  Hate romains that take codes from here and tell to all that they had made that

                  Comment


                    #10
                    <div class='quotetop'>QUOTE (ionutxp @ Sep 15 2008, 04:39 PM) <{POST_SNAPBACK}></div>
                    plz help me[/b]
                    i&#39;m gonna try this..but i&#39;m not sure if messages in chat will remain 24 h..
                    <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>function addtochat($uid, $rid)
                    {
                    $timeto = 86400;
                    $timenw = time();
                    $timeout = $timenw - $timeto;
                    $exec = mysql_query("DELETE FROM ibwf_chonline WHERE lton<&#39;".$timeout."&#39;");
                    $res = mysql_query("INSERT INTO ibwf_chonline SET lton=&#39;".time()."&#39;, uid=&#39;".$uid."&#39;, rid=&#39;".$rid."&#39;");
                    if(!$res)
                    {
                    mysql_query("UPDATE ibwf_chonline SET lton=&#39;".time()."&#39;, rid=&#39;".$rid."&#39; WHERE uid=&#39;".$uid."&#39;");
                    }
                    }</div>
                    sigpicthe italian/international COMMUNITY of friendship
                    http://people2000.netne.net
                    WAP/WEB
                    peoplemailbox@katamail.com

                    Comment


                      #11
                      <div class='quotetop'>QUOTE (honkytonkman @ Nov 12 2008, 05:16 PM) <{POST_SNAPBACK}></div>
                      i&#39;m gonna try this..but i&#39;m not sure if messages in chat will remain 24 h..
                      <div class='codetop'>CODE
                      <div class='codemain' style='height:200px;white-space:pre;overflow:auto'>function addtochat($uid, $rid)
                      {
                      $timeto = 86400;
                      $timenw = time();
                      $timeout = $timenw - $timeto;
                      $exec = mysql_query("DELETE FROM ibwf_chonline WHERE lton<&#39;".$timeout."&#39;");
                      $res = mysql_query("INSERT INTO ibwf_chonline SET lton=&#39;".time()."&#39;, uid=&#39;".$uid."&#39;, rid=&#39;".$rid."&#39;");
                      if(!$res)
                      {
                      mysql_query("UPDATE ibwf_chonline SET lton=&#39;".time()."&#39;, rid=&#39;".$rid."&#39; WHERE uid=&#39;".$uid."&#39;");
                      }
                      }</div>[/b][/quote]

                      yess... ..like i supposed..it don&#39;t save messages..
                      as nver said..sorry..
                      sigpicthe italian/international COMMUNITY of friendship
                      http://people2000.netne.net
                      WAP/WEB
                      peoplemailbox@katamail.com

                      Comment


                        #12
                        <div class='quotetop'>QUOTE (honkytonkman @ Nov 12 2008, 09:49 AM) <{POST_SNAPBACK}></div>
                        yess... ..like i supposed..it don&#39;t save messages..
                        as nver said..sorry.. [/b]
                        compare chat.php and core.php see the deletion time for the chat msg??? you see... at the core delete the chat msg in how many seconds? same as in the chat.php hehhehehehe just extend the time of deletion...


                        sorry for bad english i&#39;m more expressive in Filipino tagalog ehehehehehe
                        Services

                        Are you looking to take your wap or wapsite to a higher level? Do you want to stand out and rise above your competitors?

                        Below is a list of services I offer:

                        Wap Design and Customized Coding -The first way to stand out in a crowd is to have a brilliant and unique design for your wap or wapsite.

                        Rates

                        General consulting – My current hourly rate is $100 / hour.
                        Custom Wapsite Community - My current rate is $500 / Wap Community Development.

                        Comment


                          #13
                          <div class='quotetop'>QUOTE (inet @ Nov 23 2008, 08:28 AM) <{POST_SNAPBACK}></div>
                          compare chat.php and core.php see the deletion time for the chat msg??? you see... at the core delete the chat msg in how many seconds? same as in the chat.php hehhehehehe just extend the time of deletion...


                          sorry for bad english i&#39;m more expressive in Filipino tagalog ehehehehehe[/b]
                          true..now it works..and messages are saved for time i want..
                          sigpicthe italian/international COMMUNITY of friendship
                          http://people2000.netne.net
                          WAP/WEB
                          peoplemailbox@katamail.com

                          Comment


                            #14
                            someone help me with enters user chatroom code my not and nvere work
                            Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!

                            <span style="color:#9ACD32"><span style="font-size:36pt;line-height:100%">BEST MOBILE ADVERTISER</span></span>

                            Comment

                            Working...
                            X