Automatic Reported Pm

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

    Automatic Reported Pm

    hello

    does any1 knws whr i cn add more words 4 auto report PM?

    4 now its just http:// but i wanna add also .com .net .org etc

    but i dnt knw whr i cn add tht i tried in core like this



    ////////////////////////////////////////////Spam filter

    function isspam($text)
    {
    $sfil[0] = "www.";
    $sfil[1] = "http:";
    $sfil[2] = ".com";
    $text = str_replace(" ", "", $text);
    $text = strtolower($text);
    for($i=0;$i<count($sfil);$i++)
    {



    but thts nt it..... or i made mistake..

    any1 knws please
    sigpiceeeeerrr....

    #2
    yeah thats how you add it, but adding just basic tld&#39;s wont stop spamming as for example .c0m/.n3t/.0rg etc etc
    i can get around that with ease i know more about lavalair spam filter than anyone

    Comment


      #3
      hmmm i add tht but it wont work......

      i tried 2 register a new user and i send url but it didnt reported spam....


      i knw it cn b pass around but still it would report sum ...

      cuz no1 sends an url with http anymore lol


      BUT IT WONT WORK....

      WHY???
      sigpiceeeeerrr....

      Comment


        #4
        is there sumthng wrong here?????????
        cuz it wont report at all.....




        ////////////////////////////////////////////Spam filter

        function isspam($text)
        {
        $sfil[0] = "www.";
        $sfil[1] = "http:";
        $text = str_replace(" ", "", $text);
        $text = strtolower($text);
        for($i=0;$i<count($sfil);$i++)
        {

        $nosf = substr_count($text,$sfil[$i]);
        if($nosf>0)
        {
        return true;
        }
        }

        return false;
        }

        ------------------------------------

        or here... its at inbox.php



        if(isspam($pmtext))
        {
        if(($pminfo[4]=="0") && ($pminfo[1]!=1))
        {
        mysql_query("UPDATE ibwf_private SET reported=&#39;1&#39; WHERE id=&#39;".$pmid."&#39;");
        }
        }
        echo $pmtext;
        echo "</p>";


        is evrythng okay????
        sigpiceeeeerrr....

        Comment


          #5
          okay please sum1 tell me is there anythng wrong in tht code???
          sigpiceeeeerrr....

          Comment


            #6
            in core.php



            ////////Spam filter

            function isspam($text)
            {
            $sfil[0] = "www";
            $sfil[1] = "http";
            $sfil[2] = ".com";
            $sfil[3] = ".net";
            $sfil[4] = ".org";
            $sfil[5] = ".biz";
            $sfil[6] = ".info";
            $sfil[7] = ".tk";
            $sfil[8] = ".co.uk";
            $sfil[9] = ".ru";

            $text = str_replace(" ", "", $text);
            $text = strtolower($text);
            for($i=0;$i<count($sfil);$i++)
            {

            $nosf = substr_count($text,$sfil[$i]);
            if($nosf>0)
            {
            return true;
            }
            }

            return false;
            }



            this works for sure..
            im not coder, but this one was tested and works fine

            i dont use this anymore.. but was fun for test
            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
              in core.php
              ////////Spam filter

              function isspam($text)
              {
              $sfil[0] = "www";
              $sfil[1] = "http";
              $sfil[2] = ".com";
              $sfil[3] = ".net";
              $sfil[4] = ".org";
              $sfil[5] = ".biz";
              $sfil[6] = ".info";
              $sfil[7] = ".tk";
              $sfil[8] = ".co.uk";
              $sfil[9] = ".ru";

              $text = str_replace(" ", "", $text);
              $text = strtolower($text);
              for($i=0;$i<count($sfil);$i++)
              {

              $nosf = substr_count($text,$sfil[$i]);
              if($nosf>0)
              {
              return true;
              }
              }

              return false;
              }
              this works for sure..
              im not coder, but this one was tested and works fine

              i dont use this anymore.. but was fun for test [/b]

              lol thanx but i found better solution..... ill take the code from wizards funmobile and ill place it in my script lol
              sigpiceeeeerrr....

              Comment

              Working...
              X