Who Is Great Php Coder?

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

    Who Is Great Php Coder?

    hehe can any1 tel me how do i use chatsystem via post? i mean i am ADMIN if i want using chatsystem then theres a option.. like this

    SAY
    [ test ]
    CHATSYSTEM
    [ test ]


    chatsytem:test


    only admin can do can use that

    #2
    use search or go to topic http://www.2wap.org/forums/How-To-Add-This...tphp-t4349.html

    or put in addtochat

    $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
    }[/b]

    Comment


      #3
      use search or go to topic http://www.2wap.org/forums/How-To-Add-This...tphp-t4349.html

      or put in addtochat[/b]

      that person made no reference to lavalair script :|

      Comment


        #4
        that person made no reference to lavalair script :|[/b]
        Very true but its 99% hes using a lavalair script

        Comment


          #5
          use search or go to topic http://www.2wap.org/forums/How-To-Add-This...tphp-t4349.html

          or put in addtochat[/b]
          aw honey is not working can u inbox your exact code? Pls

          Comment


            #6
            that person made no reference to lavalair script :|[/b]
            actually he did lol... look at topic description hehe
            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


              #7
              LoL topic closed

              Comment

              Working...
              X