Title: Pseudonyms hack
Last modified: August 18, 2016

---

# Pseudonyms hack

 *  [rustifer](https://wordpress.org/support/users/rustifer/)
 * (@rustifer)
 * [22 years, 7 months ago](https://wordpress.org/support/topic/pseudonyms-hack/)
 * I’ve been using (b2) and now WordPress for about a year, and since I’ve started,
   I’ve been using real names for my wife and daughter. Now, I’m rethinking that
   policy. So I’m trying to write a fairly simple hack, modeled on the smilies replacement
   function- that converts 🙂 into an image. I set up an array of b2pseudonyms in
   the config file, but looking at the function file I can’t see how to “add a filter
   that displays a psudonym for each existence of the name.” I’m sure I’m missing
   something on how “add_filter” works; could someone enlighten me?
    -Russ

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [alexkingorg](https://wordpress.org/support/users/alexkingorg/)
 * (@alexkingorg)
 * [22 years, 7 months ago](https://wordpress.org/support/topic/pseudonyms-hack/#post-24571)
 * Couldn’t you add this to the smilies array itself?
 *  [paulzag](https://wordpress.org/support/users/paulzag/)
 * (@paulzag)
 * [22 years, 7 months ago](https://wordpress.org/support/topic/pseudonyms-hack/#post-24578)
 * Write an update query to replace “YouDearWife” with “SheWhoMustBeObeyed” in the
   posts table?
 *  Thread Starter [rustifer](https://wordpress.org/support/users/rustifer/)
 * (@rustifer)
 * [22 years, 7 months ago](https://wordpress.org/support/topic/pseudonyms-hack/#post-24579)
 * That would work too, Paulzag, I suppose. Alexkingorg- wouldn’t I wind up with“
   img src=/smilies/shewhomustbeobeyed.gif” ?
 *  [alexkingorg](https://wordpress.org/support/users/alexkingorg/)
 * (@alexkingorg)
 * [22 years, 7 months ago](https://wordpress.org/support/topic/pseudonyms-hack/#post-24580)
 * I misunderstood, I thought you were trying to replace the name with an image.
   
   I think the filtering is done in b2vars.php, poke around in there. 🙂
 *  [pixilated](https://wordpress.org/support/users/pixilated/)
 * (@pixilated)
 * [22 years, 7 months ago](https://wordpress.org/support/topic/pseudonyms-hack/#post-24657)
 * [http://tidakada.com/board/viewtopic.php?t=1145](http://tidakada.com/board/viewtopic.php?t=1145)
   
   Read the whole thread as there are improvements etc further through. It’s for
   b2 but it looks like it’ll work for WP.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Pseudonyms hack’ is closed to new replies.

 * 5 replies
 * 4 participants
 * Last reply from: [pixilated](https://wordpress.org/support/users/pixilated/)
 * Last activity: [22 years, 7 months ago](https://wordpress.org/support/topic/pseudonyms-hack/#post-24657)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
