Emotions In Chat Lavalair

Started on the old forum in June 2007 · view the original in the archive · old links redirect here

18 replies · 1,309 views · started 19 years ago · 1 min read

4 participants
amylee Principal · 1,092 posts #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

   {
                                     //////////swear words//////////
                         $tosay = str_replace("fuck","*this word rhymes with duck*",$tosay);
                         $tosay = str_replace("shit","*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

alesh Lead · 604 posts #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

eeeeerrr....

GumSlone Administrator Principal · 1,690 posts #5

I like this ones 😂

         $tosay = str_replace("fuck","*this word rhymes with duck*",$tosay);
         $tosay = str_replace("shit","*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

External image (may be gone)

amylee Principal · 1,092 posts #7

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

Guest #8

hmmmm.. they not understend me External image (may be gone) the problem is in insert emotion in chat, open error of spamming, not words.. yes smilles..

amylee Principal · 1,092 posts #9

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

Guest #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?

CODE $ds= date("H.i.s", $chat[2]); $text = parsepm($chat[3], $sid); $nos = substr_count($text,"External image (may be gone)2){ $chnick = getnick_uid($chat[0]); echo "Sistema do Chat:»Ei! $chnick, você pode somente usar 2 emoções por msg ";

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

amylee Principal · 1,092 posts #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

alesh Lead · 604 posts #14

hmmmm.. they not understend me External image (may be gone) the problem is in insert emotion in chat, open error of spamming, not words.. yes smilles..

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

eeeeerrr....

Guest #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

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....

without http:// emotions does not appear (the figure does not load) =/

Attachments: chat.php
alesh Lead · 604 posts #16

well when i code the smilies with http:// i get mod log full of reported PMs and u couldnt rite em at chat cuz script read em as spam cuz of http://

eeeeerrr....

Guest #17

i no understand very well, my english is bad =/ it can explain me better?

Guest #19

it will be that I do not have that to give to permission the folder of smilies type. chmod 777 pra the anti-Spam not to bloked??

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close