Chat System

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Chat System

    Anybody can help me to solve this??I want this appear everytime user enter the rum.

    Chat System :
    John enter the room
    browser mozilla 4.0

    i have seach about this topic but not found..Give me the link if this topic already exist..And help me to solve this if this is the first topic that discuss about this.thanks friend.

    #2
    theres no need to create 4 exact same topics you know?!
    It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
    ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
    ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
    キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

    Comment


      #3
      As i said.Plz give me the link if the topic already exist.Thanks.

      Comment


        #4
        No.

        Comment


          #5
          i hve dat code :D

          Comment


            #6
            shakir if you have the code then why don't you share that with us if you dont mind !! :P

            Comment


              #7
              Code:
              $res = mysql_query("INSERT INTO ibwf_chonline SET lton='".time()."', uid='".$uid."', rid='".$rid."'");
                if($res)
                {
                    $msg = getnick_uid($uid)."enter the room";  mysql_query("INSERT INTO ibwf_chat SET timesent='".time()."', userid='0', text='".$msg."'");
              }
              else
              {
              //just update the chonline list
              }
              dont remember if time sent is the  correct field name anyways after doing that ....in the chat room when fetching the items from ibwf_chat 
              eg $sql = mysql_query("SELECT userid,timesent,text FROM ibwf_chat");
              while($item = mysql_fetch_array($sql)) 
              {
              if($item[0]=='0')
              {
              $item[0]="chat_system";
              echo $item[0].$item[1].$item[2];
              }
              else
              {
              //print the items
              }
              this code already posted by mckeny juz use search button

              Comment


                #8
                check it ritu :P

                Comment


                  #9
                  this code already posted by mckeny juz use search button[/b]
                  update chat online list?But mckeny said to update at add to chat in core.php?

                  Comment


                    #10
                    update chat online list?But mckeny said to update at add to chat in core.php?[/b]
                    my chat script's alpha version demo

                    http://bdfun.co.cc/romi

                    beta version's screenshot
                    Attached Files

                    Comment


                      #11
                      try to update

                      Comment


                        #12
                        try to update[/b]
                        update what?

                        Comment


                          #13
                          my chat script's alpha version demo

                          http://bdfun.co.cc/romi

                          beta version's screenshot[/b]
                          nice chat place rukiya..But i want that code for lavair.

                          Comment


                            #14
                            nice chat place rukiya..But i want that code for lavair.[/b]
                            I know that,I may post the code for lavalair another time
                            but here is the demo link http://bdfun.co.cc/wap

                            Comment


                              #15
                              There is an error on core.php at line 1181 when i enter the room.

                              Comment

                              Working...
                              X