Word Replacement Plugin for WordPress

Welcome to the official homepage of the Word Replacement/Profanities protection plugin for WordPress by Peter Hengl.

The Word Replacement/Profanities Protection Plugin for WordPress replaces words or phrases in your commenters' comments with other words or phrases that YOU select. It can be used to replace profanities with harmless words, but it was originally made and intended to replace harmless words with profanities - which is much more fun.

Installation

  1. Download the following file: profanities.zip
  2. Unpack the contained "profanities.php" file and copy it into your wp-content/plugins directory.
  3. Activate the Word replacement plugin on the plugin page of your WordPress administration panel.
  4. In your administration panel, a new administration page "Word Replacement" will be added as a part of the "Options" section. Go to Options->Word Replacement and configure your Word Replacement plugin according to the configuration instructions below.

Configuration

  1. when you first enter the configuration page of your plugin (Options->Word Replacement), there will only be one text field. Into this text field, fill a path to your future word replacement file. Enter the (absolute) path to your future word replacement file, for instance "/var/www/html/blog/myprofanities.txt" Or "/home/sites/www/myreplacements". Be sure to give an absolute path, otherwise the plugin won't work. Also check out the notes about the word replacement file path below.
  2. Once you have saved the path, a big text field will appear. The text field contains the content of your replacement file. Specify your replacements here, in the format provided below.

Replacement file format

The format of the replacement file is quite simple: one replacement per line, in the format

word=>replacement

In the above example, each occurrence of the word "word" in your comments will be replaced by the word "replacement".

Let us assume that you do not want your users to use the word "cocksucker", as it is a very nasty word that shouldn't be used by good christian people. So you might want to define the following replacement:

cocksucker=>dicksmoker

because "dicksmoker" is a much better word. Some other nasty words you might want to remove from your blog comments: pussy, penis, fucker, asslicking cunt, arsehole, shite, bollocks, kitten, wanker, anus, fuckhead, shithead, dickhead, pussyhead, asshead, penishead, givehead, and so on.

You can use empty lines to make your replacement file more readable:

cock=>Cock-a-doodle
penis=>wee-wee
dick=>cheney

pussy=>kitten
vagina=>vagina
cunt=>the good place

Please notice the following peculiarities of the word replacement plugin:

Very important notice

The wr plugin doesn't actually change your database. It replaces the words in comments before they are passed to your users. This has a number of interesting and useful (but also dangerous) results:

Notes about the word replacement file path

You're probably wondering about why you have to manually set the path to a word replacement file. Well, here's some interesting details:

Suggested Usage

First of all, I strongly discourage using the plugin for actually replacing profanities by nice words. Swear words are an important and integral part of human expressivity. Encourage them. They are good. If you want to remove swear words from your blog, you are probably a fundamentalist conservative and thus A BAD PERSON.

Apart from replacing swear words, there are however a million funny things that can be done with the word replacement plugin. Get some suggestions below:

Replace nice words with swear words

Why not replace regular words by nasty words? Check your commenters' vocabulary for often-used words and put them into your word replacement file. On an IT related blog, words you might want to replace are

PC=>Porn Collector
Linux=>lick-ux
cable=>penis
plug=>vagina
OS=>OS so sexy
GUI=>goo

I guarantee with my life that this is very funny. Really. Funny. You will laugh. Like this: haha!

Use word replacements to enforce an agenda
Windows=>Winsucks
Mac=>gay computer
Linux=>Linux (which RULZORZZZ!!)

Again, this is very funny. Your commenters will laugh very much.

Invert what they are saying
Windows=>Linux
Linux=>Windows

HaHa!

Get personal: insult your frequent commenters

If you have some people who regularly comment on your blog, you might use their names for insulting replacements, so that when other commenters want to reply to them, it will look like they insulted them. Very funny! Remember, it is much funnier to laugh about other people than it is to laugh about yourself!

Joe=>Joe, you suck!
Fred=>Fred, you suck COCK!
Make Spam funny

Spam is an annoying reality - if a spam comment manages to slip through akismet or if you want to have some fun when clearing your akismet spam list, replace some spam-typical words:

Viagra=>funny penis pill
penis enlargement=>wee-wee biggie operation
Mess with the spelling

Want your blog commenters to go crazy about their spelling? Replace some common words by funny spelling errors. The eternal classic: " the => teh ". Very funny.

Mess with the layout

Want to make sure your blog layout gets destroyed? Either use <div>s in your WordPress theme, or use the word replacements:

hello=>helloooooooooooooooooooooooooooooooooooooooooooooooooo
the=><p><marquee><blink>the</blink></marquee></p>
Windows=><img src="windows-logo.gif" width="10000" height="10000">Windows
Linux=><span style="background-color:very ugly pink;">Linux</span>
Be creative!

But of course, nothing is more funny than your own, personalised insults and fuck-ups for your blog. Try them out, have a ball, send them to me. If you send me a link to your profanities file, I will put it online so that the whole world can have a fun, healthy laugh. Hooray!

Copyright notice

Well, well, copyright. Whatever. This is open source, do whatever you want with it. Remember: it was I (Peter F. Hengl I., Ruler of several important galaxies, destroyer of childhood dreams, crusher of weak souls, creator of the word replacement/profanities protection plugin for WordPress) who unleashed all the horrors of the replacement plugin at your blog.

You might, however, consider sending any questions, suggestions, modifications, or else to me, so that I might include them into the plugin. Lazy bastard that I am I probably will not include them. My e-mail adress is

The above spam-protected image containing my e-mail adress is very simple to interpret: read according to the arrows, then reverse, then replace "dot" by "." and "(AT)" by "@" - very easy! Take that, stupid spammers!

Finally, you might want to visit my own (german language) film-related blog, with working, funny word replacement plugin installed.