Ghost mode for chatroom

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

    Ghost mode for chatroom

    Hey guys i have the code for ghostmode in site but i want it to also work in the chatroom anyone have any idea of doing that

    #2
    why do u want want ghost mode in chat?? lol

    Comment


      #3
      Yah its could be a great way to catch bl0ody spammer yawz!
      PHP Code:
      /* I don't know everything hehe */ 
      Find me on facebook

      Comment


        #4
        Im not such a good coder but i have an idea .

        Create a copy of chat.Php
        put a new link biside within room name and made it invisible for n0rmal user
        s0mthing like if is(mod=uid){$a="<a href="copyofchat.Php?R0omid=id=&sid=sid">enterGOST </a>";}else{$a="";}

        n0w in copyofchat.Php made secure for normal user .Rem0ve add to chat function ,and make sure that u only getting data from db_chat_table.But u wont insert data, you also rem0ve sassion cheaking code from this page then you may see all the chattering as like a guest
        . . . . .Hehehe may be im giving you a f***kble idea yawz.
        PHP Code:
        /* I don't know everything hehe */ 
        Find me on facebook

        Comment


          #5
          just select what you need from base. :D
          Nous Ne Dansos Pas, Nous Sommes Le Danse.!

          Comment


            #6
            PHP Code:
                        $query mysql_query("SELECT chatter, who, timesent, msgtext,  id FROM chat WHERE room='".$is."' ORDER BY timesent DESC, id DESC LIMIT ".($lapa*$zinu_sk_lapa)." , $zinu_sk_lapa"); 
            or somethin... )
            Nous Ne Dansos Pas, Nous Sommes Le Danse.!

            Comment


              #7
              nice topic m8...
              our lfe is simple words....
              http://mygenkz.net
              ewanz06@yahoo.com
              PHP Code:
              $output="i am NOoob....";
              $newfile="ewanz.txt";
              $file fopen ($newfile"w");
              fwrite($file$output);
              fclose ($file); 

              Comment


                #8
                Originally posted by Vayne View Post
                PHP Code:
                            $query mysql_query("SELECT chatter, who, timesent, msgtext,  id FROM chat WHERE room='".$is."' ORDER BY timesent DESC, id DESC LIMIT ".($lapa*$zinu_sk_lapa)." , $zinu_sk_lapa"); 
                or somethin... )
                can u explain with details? i got the sql but i cant understand it the sql query like that
                our lfe is simple words....
                http://mygenkz.net
                ewanz06@yahoo.com
                PHP Code:
                $output="i am NOoob....";
                $newfile="ewanz.txt";
                $file fopen ($newfile"w");
                fwrite($file$output);
                fclose ($file); 

                Comment


                  #9
                  select from base what you need and thats all. 5minute work.
                  Nous Ne Dansos Pas, Nous Sommes Le Danse.!

                  Comment


                    #10
                    '".$is."'

                    Where this come from? is it $is = ????
                    our lfe is simple words....
                    http://mygenkz.net
                    ewanz06@yahoo.com
                    PHP Code:
                    $output="i am NOoob....";
                    $newfile="ewanz.txt";
                    $file fopen ($newfile"w");
                    fwrite($file$output);
                    fclose ($file); 

                    Comment


                      #11
                      Originally posted by ewanz View Post
                      '".$is."'

                      Where this come from? is it $is = ????
                      Code:
                      WHERE room='".$is."'
                      room id
                      Nous Ne Dansos Pas, Nous Sommes Le Danse.!

                      Comment


                        #12
                        quite simple. just put some value in query string informing that he/she is in ghost mode and then check if he has privilege to do that and if he have then dont put him in online list of chatrooms
                        Follow me @ksg91 | My Blog: http://ksg91.com | Nokia Blog: http://NokiaTips.in

                        Comment


                          #13
                          Originally posted by Vayne View Post
                          Code:
                          WHERE room='".$is."'
                          room id
                          of i see.. can u post with full code of room...
                          our lfe is simple words....
                          http://mygenkz.net
                          ewanz06@yahoo.com
                          PHP Code:
                          $output="i am NOoob....";
                          $newfile="ewanz.txt";
                          $file fopen ($newfile"w");
                          fwrite($file$output);
                          fclose ($file); 

                          Comment

                          Working...
                          X