I added emotions in the panel, in the forum all ok, but in chat he gives error of Spamming what to make?
Emotions In Chat Lavalair
Collapse
X
-
GuestTags: None
-
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
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 etcCode:{ //////////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);
if that soesnt work edit the smilies image code for example -lol- to (lofl) or something like that and that should work
-
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);
Comment
-
Guest
hmmmm.. they not understend me
the problem is in insert emotion in chat, open error of spamming, not words.. yes smilles..
Comment
-
Guest
Comment
-
Guest
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
-
Guest
oh! thanks, here the chat.php... help me plz...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]
without http:// emotions does not appear (the figure does not load) =/u didnt code the freakin smilies well..... dnt code them with HTTP cuz chat script c tht as freakin spam....[/b]Attached Files
Comment

Comment