Emotions In Chat Lavalair

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

    Emotions In Chat Lavalair

    I added emotions in the panel, in the forum all ok, but in chat he gives error of Spamming what to make?

    #2
    edit these lines in chat.php this is kinda my fault before script got hacked and what not i was messing about with adding spam filter in chatrooms

    Code:
       {
                                         //////////swear words//////////
                             $tosay = str_replace("****","*this word rhymes with duck*",$tosay);
                             $tosay = str_replace("****","*dont swear*",$tosay);
                             $tosay = str_replace("dick","*ooo! you dirty person*",$tosay);
                             $tosay = str_replace("pussy","*angel flaps*",$tosay);
                             $tosay = str_replace("cock","*giggle stick*",$tosay);
             $tosay = str_replace("bastard","*i was born without no daddy*",$tosay);
             $tosay = str_replace("slut","*s+m freak*",$tosay);
                                                     
                                         //////////normal words//////////
                            
             $tosay = str_replace("can i be admin","*im a big ass kisser*",$tosay);
             $tosay = str_replace("can i be a mod","*im sniffing staffs ass*",$tosay);
                             
                             
                             
                                        //////////users names//////////
            $tosay = str_replace("Ginger","*the evil IT slayer*",$tosay);
            $tosay = str_replace("neon","*the ramen fairy*",$tosay);
            $tosay = str_replace("kaas","*the cheese boy*",$tosay);
            $tosay = str_replace("kahla","*lyrical lizard*",$tosay);                                  
            $tosay = str_replace("yoda","*the supreme ruler*",$tosay);
            $tosay = str_replace("itachi","*the anime king*",$tosay);    
            $tosay = str_replace("sharon","*the goddess of evil*",$tosay);    
            $tosay = str_replace("beanie","*bunny queen*",$tosay);
            $tosay = str_replace("dragunov","*the charmed one*",$tosay);
    all this code wont be the same as yours but it will be similar to this but should have some lines with summat like .co.uk/.net/.com etc etc
    if that soesnt work edit the smilies image code for example -lol- to (lofl) or something like that and that should work

    Comment


      #3
      is that the spam words blocker bro good work
      http://img235.imageshack.us/my.php?i...sc00464af9.jpg



      http://matthewdowd.bebo.com

      Comment


        #4
        i had the same problem but it was cuz of my stupidity.....

        smilies worked evrywhr but in chat.... why?? cuz when i code them i put http:// mydomain.com /smilies /smile.gif instead of just smilies/smile.gif
        sigpiceeeeerrr....

        Comment


          #5
          I like this ones :lol:

          Code:
                   $tosay = str_replace("****","*this word rhymes with duck*",$tosay);
                   $tosay = str_replace("****","*dont swear*",$tosay);
                   $tosay = str_replace("dick","*ooo! you dirty person*",$tosay);
                   $tosay = str_replace("pussy","*angel flaps*",$tosay);
                   $tosay = str_replace("cock","*giggle stick*",$tosay);
                   $tosay = str_replace("bastard","*i was born without no daddy*",$tosay);
                   $tosay = str_replace("slut","*s+m freak*",$tosay);
                                                           
                                               //////////normal words//////////
                                  
                   $tosay = str_replace("can i be admin","*im a big ass kisser*",$tosay);
                   $tosay = str_replace("can i be a mod","*im sniffing staffs ass*",$tosay);
          Advertise your mobile site for FREE with AdTwirl

          Comment


            #6
            wheere do i put this code
            http://img235.imageshack.us/my.php?i...sc00464af9.jpg



            http://matthewdowd.bebo.com

            Comment


              #7
              urgh.. you muppet! they are already in the script look at CHAT.PHP!!! read the thread properly before pressing add reply

              Comment


                #8
                hmmmm.. they not understend me the problem is in insert emotion in chat, open error of spamming, not words.. yes smilles..

                Comment


                  #9
                  its the words that are causing the spam msgs i know the error i created it and i know how to fix it

                  Comment


                    #10
                    sorry
                    http://img235.imageshack.us/my.php?i...sc00464af9.jpg



                    http://matthewdowd.bebo.com

                    Comment


                      #11
                      if will be eliminate the code that does not allow Spam, all good, but I want the emotions!

                      Comment


                        #12
                        the emotions that I uploaded works on forum and in other site parts, but don't work on chat... Have this something about those codelines?

                        <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'> $ds= date("H.i.s", $chat[2]);
                        $text = parsepm($chat[3], $sid);
                        $nos = substr_count($text,"<img src=");
                        if(isspam($text))
                        {
                        $chnick = getnick_uid($chat[0]);
                        echo "Sistema do Chat:»*oi! $chnick, nao eh permitido publicidades!*
                        ";
                        }
                        else if($nos>2){
                        $chnick = getnick_uid($chat[0]);
                        echo "Sistema do Chat:»*Ei! $chnick, você pode somente usar 2 emoções por msg*
                        ";</div>

                        can anyone help me? I really need emotions on chat...

                        Comment


                          #13
                          i know spanish pretty well to understand portuguese nothing wrong with the text there can you post all of chat.php its probably the spam filter as i keep saying giving you the problems

                          Comment


                            #14
                            hmmmm.. they not understend me the problem is in insert emotion in chat, open error of spamming, not words.. yes smilles..[/b]

                            u didnt code the freakin smilies well..... dnt code them with HTTP cuz chat script c tht as freakin spam....
                            sigpiceeeeerrr....

                            Comment


                              #15
                              i know spanish pretty well to understand portuguese nothing wrong with the text there can you post all of chat.php its probably the spam filter as i keep saying giving you the problems[/b]
                              oh! thanks, here the chat.php... help me plz...

                              u didnt code the freakin smilies well..... dnt code them with HTTP cuz chat script c tht as freakin spam....[/b]
                              without http:// emotions does not appear (the figure does not load) =/
                              Attached Files

                              Comment

                              Working...
                              X