chat system: new room

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

    chat system: new room

    Hi friends, I would like to add to my chat lavalair a function when a user creates a new room gets to all other users present in other rooms an automatic message that warns you that this user has created a new room for example so (Chat System:» *ehi! $ user has created a new room) thanks to who can help me

    #2
    i'd like to see your site,
    so post link to the site please
    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
      I don't think i can post links here, I wouldn't have problems, it is a chat lavalair that here know the codes, thanks to whoever wants to help me

      Comment


        #4
        metulj
        Super Moderator


        Super Moderator that means admin of this forum if he says ok its ok to do so...

        you also can add your link in your signature

        As it not class hacking/adult content/addifaites/easy money scams/spam in big text that takes half of the page.....
        Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
        Visit: WapMasterz Coming Back Soon!
        _______
        SCRIPTS FOR SALE BY SUBZERO
        Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
        FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
        _______
        Info & Tips
        php.net
        w3schools.com

        Comment


          #5
          well then this is my link Dreamland
          Last edited by LadyEnigma; 18.07.11, 11:09.

          Comment


            #6
            Originally posted by LadyEnigma View Post
            well then this is my link Dreamland
            i've meant the real site
            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
              metulj What other sites do you want? I'm also in peperonity, the same nick, anyone can help me please?

              Comment


                #8
                nice idea, any idea or suggestion?

                Comment


                  #9
                  Originally posted by LadyEnigma View Post
                  Hi friends, I would like to add to my chat lavalair a function when a user creates a new room gets to all other users present in other rooms an automatic message that warns you that this user has created a new room for example so (Chat System:» *ehi! $ user has created a new room) thanks to who can help me
                  why not just use the autopm function to send an inbox

                  Comment


                    #10
                    but the problem is where you should put this function?
                    PHP Code:
                    function autopm($msg$who)

                    {
                        
                    mysql_query("INSERT INTO ibwf_private SET text='".$msg."', byuid='1', touid='".$who."', unread='1', static='0', timesent='".time()."'");
                        


                    Comment


                      #11
                      Originally posted by Leviathan73 View Post
                      but the problem is where you should put this function?
                      PHP Code:
                      function autopm($msg$who)

                      {
                          
                      mysql_query("INSERT INTO ibwf_private SET text='".$msg."', byuid='1', touid='".$who."', unread='1', static='0', timesent='".time()."'");
                          


                      wherever they create the room in the coding

                      Comment


                        #12
                        The chat system is not working.. put this code in chat.php
                        PHP Code:
                        function autopm($msg$who)
                        {
                         
                        mysql_query("INSERT INTO ibwf_private SET text='".$msg."', byuid='1', touid='".$who."', unread='1', static='0', timesent='".time()."'");
                        echo 
                        addchatmsg($chat[0],$text,1,"*$chnick, create new room private!*");    

                        not the message

                        Comment

                        Working...
                        X