Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Snowy
Oct 6, 2010

A man whose blood
Is very snow-broth;
One who never feels
The wanton stings and
Motions of the sense



goon = gooooooon

Adbot
ADBOT LOVES YOU

credburn
Jun 22, 2016
A tangled skein of bad opinions, the hottest takes, and the the world's most misinformed nonsense. Do not engage with me, it's useless, and better yet, put me on ignore.
Didn't we use to have u filtered to University and lol filtered to something like LOlrolOLorlROolfflrofflfl

I seem to recall that being a thing in the early 00s.

EorayMel
May 30, 2015

WE GET IT. YOU LOVE GUN JESUS. Toujours des fusils Bullpup Français.
lowtax = wizard master

wizard master = lowtax

Big Mac
Jan 3, 2007


hunter2 should be filtered to *******

Aishlinn
Mar 31, 2011

This might hurt a bit..


Car Hater posted:

finger -> fingat

:hmmyes:

PhazonLink
Jul 17, 2010

Waltzing Along posted:


MTG = a dumb game for nerds
RBG = idiot

I think MTG should be bitcoin stuff, maybe SVB?
and RBG should be RGB, RGB should be RBG

Farg
Nov 19, 2013
Filter the to a

WAR CRIME GIGOLO
Oct 3, 2012

The Hague
tryna get me
for these glutes

Tom bradley

Stalizard
Aug 11, 2006

Have I got a headache!
I think we should change every word to brett favre

torgo
Aug 13, 2003


Fun Shoe

Farg posted:

Filter the to a

Filter a to the John Galt speech. Filter each a in the John Galt speech to the John Galt speech too.

wesleywillis
Dec 30, 2016

SUCK A MALE CAMEL'S DICK WITH MIRACLE WHIP!!

Mozi posted:

the -> teh

Bad Purchase
Jun 17, 2019




could we please please please get a filter to change "Pokemon" to "Pokémon"?

i'm so sick of people not respecting acute accents

wesleywillis
Dec 30, 2016

SUCK A MALE CAMEL'S DICK WITH MIRACLE WHIP!!
It's not a word, but make a photo filter so that anyone not logged in and looking at a thread with pictures only sees the goatman.

cumpantry
Dec 18, 2020

Mozi posted:

the -> teh

emSparkly
Nov 21, 2022

I'm open to interpretation!
women -> :females:

EorayMel
May 30, 2015

WE GET IT. YOU LOVE GUN JESUS. Toujours des fusils Bullpup Français.
goku = vegeta

XYZAB
Jun 29, 2003

HNNNNNGG!!

Farg posted:

Filter the to a

This is entirely for our own amusement at this point and I am here for it.

XYZAB
Jun 29, 2003

HNNNNNGG!!
All variants of hello or greetings or hi all get translated to «привет все» to bait the /pol/ crowd.

StoryTime
Feb 26, 2010

Now listen to me children and I'll tell you of the legend of the Ninja
This should be more maintainable.

PHP code:
function convert_filth($text) {
		
	$BAD_WORDS_MAP = array(
	
	# Originals
	'gently caress' => 'gently caress',
	'poo poo' => 'poo poo',
	'drat' => 'drat',
	'rear end' => 'rear end',
	'rear end in a top hat' => 'rear end in a top hat',
	'oval office' => 'oval office',
	'loving' => 'loving',
	'hosed'=> 'hosed',
	'lovely' => 'lovely',
	'making GBS threads' => 'making GBS threads',
	'human being' => 'human being',
	'friend of the family' =>  'friend of the family',
	
	# Thread suggestions
	'Trump' => 'dumber hitler',
	'MTG' => 'a dumb game for nerds',
	'RBG' => 'idiot',
	
	'Lowtax' => 'dear Richard',
	
	'Slugworth' => 'Smugworth',
	
	'Penis' => 'peanits',
	'Hurts' => 'hort',
	
	'finger' => 'fingat',
	
	'the' => 'teh',
	
	'OP' => 'my father in law',
	
	'word filter' => 'potato salad',
	 
	'Toronto' => 'Montreal',
	'Montreal' => 'Boston',
	'Boston' => 'Toronto',
	// "same with leafs/habs/bruins" TODO
	
	'goon' => 'gooooooon',
	
	'lowtax' => 'wizard master',
	'wizard master' => 'lowtax',
	
	'hunter2' => '*******',
	
	'Pokemon' => "Pokémon",
	
	'women' => ':females:',
	
	'goku' => 'vegeta',
	
	'hello' => '«привет все»',
	'greetings' => '«привет все»',
	'hi' => '«привет все»'
	);
	
	foreach($BAD_WORDS_MAP as $badword => $goodword) {
		$badword = "/\b{$badword}\b/i";
		$out[$badword] = $goodword; 
	}
	
	$filth_out = array_values($out);
	$filth_in = array_keys($out);
	
    return preg_replace($filth_in, $filth_out, $text);
}

i think the mangled html entities are fine as they are

StoryTime fucked around with this message at 10:36 on Feb 24, 2024

r u ready to WALK
Sep 29, 2001

I just want the option to leave word filters enable while logged in.

And letting people buy new word filters would be an interesting experiment that would immediately lead to disaster!

tehslime
Jun 19, 2023

Mozi posted:

the -> teh

I like the way you think :agesilaus:

credburn
Jun 22, 2016
A tangled skein of bad opinions, the hottest takes, and the the world's most misinformed nonsense. Do not engage with me, it's useless, and better yet, put me on ignore.

r u ready to WALK posted:

I just want the option to leave word filters enable while logged in.

And letting people buy new word filters would be an interesting experiment that would immediately lead to disaster!

I'm down for this.

Crazy Achmed
Mar 13, 2001

This post is only available to Platinum users. Click here to purchase a Platinum Upgrade for your Something Awful account.

pixaal
Jan 8, 2004

All ice cream is now for all beings, no matter how many legs.


r u ready to WALK posted:

I just want the option to leave word filters enable while logged in.

And letting people buy new word filters would be an interesting experiment that would immediately lead to disaster!

Buying a word filter should be for one hour and work on all users.

So many Biden to trump and trump to Biden will be bought on election night no one will know what is happening.

Whybird
Aug 2, 2009

Phaiston have long avoided the tightly competetive defence sector, but the IRDA Act 2052 has given us the freedom we need to bring out something really special.

https://team-robostar.itch.io/robostar


Nap Ghost

credburn posted:

I'm down for this.

Even better: let people buy word filters that only apply to their posting enemies

wesleywillis
Dec 30, 2016

SUCK A MALE CAMEL'S DICK WITH MIRACLE WHIP!!

EorayMel
May 30, 2015

WE GET IT. YOU LOVE GUN JESUS. Toujours des fusils Bullpup Français.
All good, but I also think we should have a word filter replacing "word filter" with "chili recipe" to make it complete.

RavenousScoot
Mar 22, 2013

emptyquote -> le updoot

Mirage
Oct 27, 2000

All is for the best, in this, the best of all possible worlds
Change every politician's name to "Buttface McGee."

Leroy Dennui
Aug 9, 2014

Gina McCarthy made us gay,
but we would not have met
had Biden not dropped his cones
:gaysper::frogbon:

But doctor, I have Platinum!

Dixville
Nov 4, 2008

I don't think!
Ham Wrangler

EorayMel posted:

goku = vegeta

You monster

Smugworth
Apr 18, 2003

Rich -> Jeff

XYZAB
Jun 29, 2003

HNNNNNGG!!

StoryTime posted:

This should be more maintainable.

PHP code:
function convert_filth($text) {
		
	$BAD_WORDS_MAP = array(
	
	# Originals
	'gently caress' => 'gently caress',
	'poo poo' => 'poo poo',
	'drat' => 'drat',
	'rear end' => 'rear end',
	'rear end in a top hat' => 'rear end in a top hat',
	'oval office' => 'oval office',
	'loving' => 'loving',
	'hosed'=> 'hosed',
	'lovely' => 'lovely',
	'making GBS threads' => 'making GBS threads',
	'human being' => 'human being',
	'friend of the family' =>  'friend of the family',
	
	# Thread suggestions
	'Trump' => 'dumber hitler',
	'MTG' => 'a dumb game for nerds',
	'RBG' => 'idiot',
	
	'Lowtax' => 'dear Richard',
	
	'Slugworth' => 'Smugworth',
	
	'Penis' => 'peanits',
	'Hurts' => 'hort',
	
	'finger' => 'fingat',
	
	'the' => 'teh',
	
	'OP' => 'my father in law',
	
	'word filter' => 'potato salad',
	 
	'Toronto' => 'Montreal',
	'Montreal' => 'Boston',
	'Boston' => 'Toronto',
	// "same with leafs/habs/bruins" TODO
	
	'goon' => 'gooooooon',
	
	'lowtax' => 'wizard master',
	'wizard master' => 'lowtax',
	
	'hunter2' => '*******',
	
	'Pokemon' => "Pokémon",
	
	'women' => ':females:',
	
	'goku' => 'vegeta',
	
	'hello' => '«привет все»',
	'greetings' => '«привет все»',
	'hi' => '«привет все»'
	);
	
	foreach($BAD_WORDS_MAP as $badword => $goodword) {
		$badword = "/\b{$badword}\b/i";
		$out[$badword] = $goodword; 
	}
	
	$filth_out = array_values($out);
	$filth_in = array_keys($out);
	
    return preg_replace($filth_in, $filth_out, $text);
}

i think the mangled html entities are fine as they are

Is this case sensitive??

"came" - > "cummed"

Big Mac
Jan 3, 2007


XYZAB posted:

Is this case sensitive??

"came" - > "cummed"

"snacks" - > "cummies"

EorayMel
May 30, 2015

WE GET IT. YOU LOVE GUN JESUS. Toujours des fusils Bullpup Français.

Big Mac posted:

"snacks" - > "cummies"

I believe you meant "Costco" OP.

Big Mac
Jan 3, 2007


EorayMel posted:

I believe you meant "Costco" OP.

costco - > sam's club would cause a lot of fighting in the costco thread

cumpantry
Dec 18, 2020

biden with bernie

credburn
Jun 22, 2016
A tangled skein of bad opinions, the hottest takes, and the the world's most misinformed nonsense. Do not engage with me, it's useless, and better yet, put me on ignore.
The blood code from Mortal Kombat 2 for the SEGA Genesis replaced with the infinite ammo (but not keys) code from Doom.

StoryTime
Feb 26, 2010

Now listen to me children and I'll tell you of the legend of the Ninja

XYZAB posted:

Is this case sensitive??

PHP code:
foreach($BAD_WORDS_MAP as $badword => $goodword) {
		$badword = "/\b{$badword}\b/i";
		$out[$badword] = $goodword; 
}
This part makes it case insensitive with the regex flag 'i'.

Adbot
ADBOT LOVES YOU

R.L. Stine
Oct 19, 2007

welcome to dead gay dog house
gbs => Piss Zone

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply