Wildbug Posted May 22, 2007 Share Posted May 22, 2007 Has there been a recent mod to the site where the letter that follows "Q" in the alphabet is replaced with "are" and the letter that follows "T" is replaced with "you"? Presumably, this is to curb SMS-speak. As much as I dislike the incomprehensible, awkward writing of these products of American public schools and media, this mod makes it really hard to, say, type an MSDOS CR/LF in "\r\n" notation (see?). I've also seen the bb-code be broken by this, notably the underline (although not in this case it seems). Quote Link to comment https://forums.phpfreaks.com/topic/52534-letterword-homophones/ Share on other sites More sharing options...
Daniel0 Posted May 22, 2007 Share Posted May 22, 2007 Not that I know of. test of underline tag... Edit: WTF? Quote Link to comment https://forums.phpfreaks.com/topic/52534-letterword-homophones/#findComment-259248 Share on other sites More sharing options...
obsidian Posted May 22, 2007 Share Posted May 22, 2007 Not that I know of. [you]test of underline tag...[/you] Tried editing Daniel0's post to see if it makes a difference, and obviously, it doesn't Quote Link to comment https://forums.phpfreaks.com/topic/52534-letterword-homophones/#findComment-259267 Share on other sites More sharing options...
Wildbug Posted May 23, 2007 Author Share Posted May 23, 2007 <?php print_r($phrases = array( 'Ur 2 cool!', 'The proper DOS/Win line terminator is \r\n.', 'RU seeing this?', '[u]Underlined[/u]', "Multi-line r\n\tor r" )); echo'<hr>'; // Currently it seems to be implemented as follows: print_r(preg_replace( array( '/\bur\b/i', '/\bru\b/i', '/\bu\b/i', '/\br\b/i'), array( 'you are', 'are you', 'you', 'are'), $phrases) ); echo'<hr>'; // But this is less aggressive: print_r(preg_replace(array( '/(?<=\s|^)ur(?=\s|$)/im', '/(?<=\s|^)ru(?=\s|$)/im', '/(?<=\s|^)u(?=\s|$)/im', // This is supposed to be the letter that comes after T '/(?<=\s|^)r(?=\s|$)/im'), // This is supposed to be the letter that comes after Q array( 'you are', 'are you', 'you', 'are'), $phrases) ); ?> It even does it in code tags?! Stupid! Quote Link to comment https://forums.phpfreaks.com/topic/52534-letterword-homophones/#findComment-260079 Share on other sites More sharing options...
wildteen88 Posted May 23, 2007 Share Posted May 23, 2007 It is not a mod. Abbreviated words that are commonly used in txt speak are being converted into full English. It is using the built in word censor that comes with SMF. I will have word with the Admins about this too. Especially if is breaking BBCodes. Quote Link to comment https://forums.phpfreaks.com/topic/52534-letterword-homophones/#findComment-260113 Share on other sites More sharing options...
ober Posted May 30, 2007 Share Posted May 30, 2007 That problem has been fixed. You should no longer see that happening. Quote Link to comment https://forums.phpfreaks.com/topic/52534-letterword-homophones/#findComment-265137 Share on other sites More sharing options...
rameshfaj Posted July 17, 2007 Share Posted July 17, 2007 I still have the problem in which the letter n and p in my URL is converted into no problem Quote Link to comment https://forums.phpfreaks.com/topic/52534-letterword-homophones/#findComment-299999 Share on other sites More sharing options...
ober Posted July 17, 2007 Share Posted July 17, 2007 Unless you're simply typing an "n" and then a "p" with no spaces in between, it should not be replacing it. Quote Link to comment https://forums.phpfreaks.com/topic/52534-letterword-homophones/#findComment-300327 Share on other sites More sharing options...
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.