Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-14-2002, 04:31 PM
SouledOut SouledOut is offline
 
Join Date: Nov 2002
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Idea for censorship hack

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)
Reply With Quote
  #2  
Old 03-30-2004, 07:03 AM
Bison's Avatar
Bison Bison is offline
 
Join Date: Jun 2002
Location: Virginia Beach, Virginia
Posts: 522
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 03-30-2004, 11:30 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like the idea. I will see what I can figure out.
Reply With Quote
  #4  
Old 04-03-2004, 06:01 AM
OneTake OneTake is offline
 
Join Date: Mar 2004
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bison
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
Reply With Quote
  #5  
Old 04-05-2004, 12:05 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just do replacement variables for each word you want to censor in functions.php.
Reply With Quote
  #6  
Old 04-06-2004, 11:32 PM
Zach's Avatar
Zach Zach is offline
 
Join Date: Nov 2001
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 04-06-2004, 11:39 PM
Zach's Avatar
Zach Zach is offline
 
Join Date: Nov 2001
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 04-07-2004, 05:23 AM
OneTake OneTake is offline
 
Join Date: Mar 2004
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zach
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 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
Reply With Quote
  #9  
Old 04-07-2004, 05:47 AM
OneTake OneTake is offline
 
Join Date: Mar 2004
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 04-11-2004, 03:27 AM
Bison's Avatar
Bison Bison is offline
 
Join Date: Jun 2002
Location: Virginia Beach, Virginia
Posts: 522
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:29 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04588 seconds
  • Memory Usage 2,259KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete