View Full Version : Idea for censorship hack
SouledOut
12-14-2002, 04:31 PM
Actually it's two ideas.
1) Make a random character generator for words that should be censored. It's like this, in the comics and stuff you always see words like ++++ spelt like #$&^. That's what we should do with vB. Make it like that. Now, I've tryed doing this: having three characters per letter that should be censored, but that looks like crap. And if you censor a four letter word, it shouldn't have twelve characters, that's absurd. I hope you understand what I mean.
2) Make a hack that allows you to make custom words per each word that should be censored/allows one word to replace the whole censored word, and not one character. So if someone says the n word on my board, I'd have it say {censor} instead of {censor}x6 because that would cover each character that should be censored.
I don't know which one is easier, or which one you would like, or if anyone would even code a hack like this. I just know that it sounds like a good idea IMHO, and I think it would be a great hack to have. I have knowledge of some PHP, what I need to code sites with...so in layman term's, that's why I'm requesting this hack. I really wish someone could code this for me, but if not, there's nothing I could do in my power to make it. So if you're interested in creating this hack, not just for me, but for the good of vB, reply here.
Thank you for your time.
-E.J. Horodyski (SouledOut)
Bison
03-30-2004, 07:03 AM
This hack should already been implemented in vB...
I'm also looking for something that will replace words with what you want (Another Word), instead of a bunch of asterisks. I see they have this hack with phpBB ... wonder why some of the coders here haven't thought about creating this.
Boofo
03-30-2004, 11:30 AM
I like the idea. I will see what I can figure out. ;)
OneTake
04-03-2004, 06:01 AM
This hack should already been implemented in vB...
I'm also looking for something that will replace words with what you want (Another Word), instead of a bunch of asterisks. I see they have this hack with phpBB ... wonder why some of the coders here haven't thought about creating this.This is actually built into VB3. Replacement variables will allow you to change one word to another.. I tried this in a slightly convoluted way to solve google adsense trigger for public service ads over harmless words like "crash" for instance.. made a smiley with an image of the word crash, made the call to it :cword: set a replacement variable for crash to :cword: stupid post shows... :cword: and not the image.. edit the post (without making any changes) and save it and then bingo, the image with crash in it shows in place.. same thing goes if you quote the post, :cword: magically changes to the image crash..
Almost works..
Anyone got any ideas??
Onetake
Boofo
04-05-2004, 12:05 AM
Just do replacement variables for each word you want to censor in functions.php.
Thanks, just gave me the perfect idea - and funny I am worried about google adwords myself (I got turned down for profanity - I freaking can find google adwords on every freaking site known to man doing stuff that is well worse than a couple cuss words, and my site, a Fantasy Sports Site, gets turned down for profranity (Though I got another domain approved :))
All I am going to do is just throw a couple zero by zero images in the middle of cuss words with the replacement variables - this should break em up enough that they will by pass what I need them to bypass.
and all of ten seconds later - can confirm (like ther was any doubt - worked like charm - just replaced First Team Kaiserslautern, or FCK1, with F-img src="/blank.gif" width="0" height="0"-C-img src="/blank.gif" width="0" height="0"-K-img src="/blank.gif" width="0" height="0"-1
obviously - is >< just dont feel like leaving the quick reply
(and that is a real soccer team, and their real initials, in case you think I was trying to type something else :)) - First team to ever win the 2nd Division Bundeslieg and come back the very next season and take the first division title.
OneTake
04-07-2004, 05:23 AM
and all of ten seconds later - can confirm (like ther was any doubt - worked like charm - just replaced First Team Kaiserslautern, or FCK1, with F-img src="/blank.gif" width="0" height="0"-C-img src="/blank.gif" width="0" height="0"-K-img src="/blank.gif" width="0" height="0"-1
obviously - is >< just dont feel like leaving the quick reply
(and that is a real soccer team, and their real initials, in case you think I was trying to type something else :)) - First team to ever win the 2nd Division Bundeslieg and come back the very next season and take the first division title.
**edit** Never mind.. !! I gussed it.. read your post more errr.. slowly ;) and made sense of it.. this works a charm. For me, we're an air race and aviation site, sometimes the word crash or killed or death or accident or burned, as in burned a piston... will trigger the dreded PSA's (public service announcements) that have no value whatsoever and are not necessairly policitally correct for my board.. this will get past this nicely!
Thanks it does work and is a great way to do things. The replacement variable is a kewl thing.. the big F word with frick for instance.. instead of **** or whatever.. not bad.. VB... not bad aaaat all!!
Thanks!
Ummmnn.. hummnnn... I'm missing something (bear with me.. I'm sort of S-L-O-W ;) )
When I did it using the smilie code, or using the https://vborg.vbsupport.ru/ it flat didn't work....
So can ya post zactly (my old eyes are having a problem sorting out what you put in) what I'd put in for a replacement variable... for a word say...
crash
where I wanted to replace it with an image named
cword.gif
(I can figger the path out, just need the image call that will actually show it and not the code for it)
TIA!!
Onetake
OneTake
04-07-2004, 05:47 AM
Whupps... back to the drawing board here.. strange thing.. If you quote the message that has the image replacements in it, it comes up showing as < > bracketed code and does not show the image.....
If I remember correctly, before, when I put in the replacement variable with tags, that would not show correctly until you either edited the post or, quoted it.. maybe this will work both ways but likely, you'll have to put in another replacement variable for the < img code > if it's there.. <knocks self on head> nope.. that won't work either.. it'd just replace in a circle..
got any more ideas?? Is it doing that to you when you quote a message?
Onetake
Bison
04-11-2004, 03:27 AM
Dang guys, what have you done to this request?
I can't figure out where all this jabber is leading to! What we asked for here was a way to change a word to another without the asterisks ... conveniently from the admin CP.
That's how it should have been done in the beginning ... I bought a full license copy of vB, but my support has ran out, and i'm stuck with the 2.3.4 version and now they have done this in vB3?
I feel shanked!
OneTake
04-11-2004, 04:51 AM
Dang guys, what have you done to this request?
I can't figure out where all this jabber is leading to! What we asked for here was a way to change a word to another without the asterisks ... conveniently from the admin CP.
That's how it should have been done in the beginning ... I bought a full license copy of vB, but my support has ran out, and i'm stuck with the 2.3.4 version and now they have done this in vB3?
I feel shanked!Bison, chill yerself! It's all there in the repacement variables in VB3 dood!
What some of us are trying is a bit more complicated, but the RV's are perfect for "add a word, get another" already.. check your admin CP and change till yer heart's content... ;)
Onetake,
AKA Shortz
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.