CrazyT Posted May 21, 2009 Posted May 21, 2009 New spam filter to match words upper case or lower case, better than my old one i done before. Add to global_func.php add above ?> You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Save it done. Now open up mailbox.php Find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Replace with: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Save done. Now open, up phpMyAdmin Run Sql. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now open up staff.php Find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Under add: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Save now you should be done any errors please post :) Quote
chase779 Posted May 21, 2009 Posted May 21, 2009 Re: Spam filter New- Does it really need to run from the database? Not a bad little mod though. Quote
CrazyT Posted May 21, 2009 Author Posted May 21, 2009 Re: Spam filter New- Does it really need to run from the database? Not a bad little mod though. No it don't have to run from the database can run from a text file with a few little edits. Quote
gideon prewett Posted May 21, 2009 Posted May 21, 2009 Re: Spam filter New- i get Fatal error: Call to undefined function: filter_badwords() in /home/*****/public_html/mailbox.php on line 149 when i try to send a mail Quote
CrazyT Posted May 22, 2009 Author Posted May 22, 2009 Re: Spam filter New- i get Fatal error: Call to undefined function: filter_badwords() in /home/*****/public_html/mailbox.php on line 149 when i try to send a mail Because you haven't added it to global_func.php Quote
gideon prewett Posted May 22, 2009 Posted May 22, 2009 Re: Spam filter New- this is the backend of my global_func.php (wouldnt let me post the whole thing lol) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. i followed ur steps so where am i going wrong? Quote
CrazyT Posted May 22, 2009 Author Posted May 22, 2009 Re: Spam filter New- Looks like your global_func.php is messed up lol.. looks like you've added stuff into another function to. Quote
gideon prewett Posted May 22, 2009 Posted May 22, 2009 Re: Spam filter New- how to u come up with me global_func is messed up fron 2 functions? 1 being urs lol and the other 1 was from ce somewhere Quote
Haunted Dawg Posted May 22, 2009 Posted May 22, 2009 Re: Spam filter New- You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Should be that. Quote
CrazyT Posted May 22, 2009 Author Posted May 22, 2009 Re: Spam filter New- Warning - while you were typing a new reply has been posted. You may wish to review your post. Your the one adding them.. Look here is what you have done. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You havent ended that function at all. You have just simply added more functions to that, without ending it. Quote
CrazyT Posted May 22, 2009 Author Posted May 22, 2009 Re: Spam filter New- There Haunted Dawg done your fix for you :P Quote
Zero-Affect Posted May 24, 2009 Posted May 24, 2009 Re: Spam filter New- i use something like this just miss the whole SQL part of it. i don't personally use SQL for anything it isn't needed for IE: proxy ban, filter script and so on. Good idea thought +1 badgirl Quote
ShizzleNizzle Posted May 25, 2009 Posted May 25, 2009 Re: Spam filter New- This is a very good addition to any game. Especially if your game is PG-13, to keep out all those nasty words lol. Quote
Alex Riley Posted May 27, 2009 Posted May 27, 2009 Re: Spam filter New- And all you have done is extracted scripts from a mailbox with the spam filter imported already ... thats very well crafted. Quote
CrazyT Posted May 28, 2009 Author Posted May 28, 2009 Re: Spam filter New- And all you have done is extracted scripts from a mailbox with the spam filter imported already ... thats very well crafted. What are you on about. Mailbox don't have a spam filter.. Quote
Haunted Dawg Posted May 28, 2009 Posted May 28, 2009 Re: Spam filter New- You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. In mailbox just add: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Alex Riley Posted May 29, 2009 Posted May 29, 2009 Re: Spam filter New- Are you dumb? I Have A Mailbox In My Files With It Already Installed. Quote
Alex Riley Posted May 29, 2009 Posted May 29, 2009 Re: Spam filter New- Okay ... Seen As Though You Did The "Bad Words" Part ... Which Honestly I Think Bad Words Should Stand ... But Blah ... This Is How To Stop Real Spam As In Im Gona Post My Website In You'r Mailbox Spam ... Not The Im Gona Swear And Get A Slapped Wrist Spam. This Also Mail Bans You For 4 Days If Found. Open mailbox.php And Find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add Underneath You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. This Will Stop Spam ... Actuall Spam ... Enjoy! Quote
Miniman Posted May 29, 2009 Posted May 29, 2009 Re: Spam filter New- Okay ... Seen As Though You Did The "Bad Words" Part ... Which Honestly I Think Bad Words Should Stand ... But Blah ... This Is How To Stop Real Spam As In Im Gona Post My Website In You'r Mailbox Spam ... Not The Im Gona Swear And Get A Slapped Wrist Spam. This Also Mail Bans You For 4 Days If Found. Open mailbox.php And Find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add Underneath You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. This Will Stop Spam ... Actuall Spam ... Enjoy! I've seen this before, and it wasn't done by you. Your mailbox.php probaly shows the When you use a new line. And this is a dumb idea: Player 1: Hey, what's your Email? Player 2: [email protected] Player 2 now has a mail ban. Or if someone was trying to link you to a page on your site...BAM, Mailban! Quote
Alex Riley Posted May 29, 2009 Posted May 29, 2009 Re: Spam filter New- I never said it was done by me ... it was a refereance to show it was already done ... i dont see where it is that it says ... i made this ... and you can edit the script .... please look before you judge :) Quote
Miniman Posted May 29, 2009 Posted May 29, 2009 Re: Spam filter New- Ok, So maybe I assumed that you were putting across that you made it. But I don't think this is very effective. Quote
Alex Riley Posted May 29, 2009 Posted May 29, 2009 Re: Spam filter New- Well It Just Saves A Job, What Would You Rather Do Have Users Complain There Being Spammed And Have To Look Through The Mail Logs Yourself ... Or Would You Rather Have Them Filterd Out And Mail Banned .... I Know Which One I Prefer. Quote
thedestroyer Posted July 5, 2009 Posted July 5, 2009 Re: Spam filter New- thanks CrazyT that was really helpful man i needed one of those for a long time +1 :-) Quote
Magictallguy Posted July 5, 2009 Posted July 5, 2009 Re: Spam filter New- Well It Just Saves A Job, What Would You Rather Do Have Users Complain There Being Spammed And Have To Look Through The Mail Logs Yourself ... Or Would You Rather Have Them Filterd Out And Mail Banned .... I Know Which One I Prefer. Perhaps "flagging" the message? Insert the flagged message into a new table (for example; `flagged_mail`), create a log for it, and Bob's your crocodile! (Seen that Rowntree's advert too much...) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.