vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Word Replacement / Censor (https://vborg.vbsupport.ru/showthread.php?t=148851)

zagman76 06-04-2007 01:49 AM

Word Replacement / Censor
 
I was poking around a friend of mine's phpBB board, and I saw that by default the word censor is actually a word replacement system. Is there anything available like this for vBull (v3.6.7)? I saw this one - but it seems a little too cumbersome, and not as user friendly as it could be.

sonichero 06-04-2007 02:16 AM

why dont you use the vb built in one?

zagman76 06-04-2007 02:55 AM

Quote:

Originally Posted by sonichero (Post 1260738)
why dont you use the vb built in one?

I do use it - but there are some times when I don't want a global *** (or whatever) for the words.

Charlie98902 06-04-2007 12:27 PM

Yes word replacement implimented in certian threads would be nice to have instead of the ****'s in it's place, as I don't want global censor either.

sonichero 06-04-2007 01:09 PM

no, use the replacement variables...

Go to Style Manager, drop down to replacement vars.

Charlie98902 06-04-2007 05:03 PM

Quote:

Originally Posted by sonichero (Post 1260987)
no, use the replacement variables...

Go to Style Manager, drop down to replacement vars.

Wouldn't this still be global though as I have a certain section I don't want to implement this on?

gabrielt 06-04-2007 05:56 PM

Hi,

I have the exact same problem here. Let me explain more about my issue.

I want to use the censorship as a kind of "forced spell check", so words that are commonly spelled wrong would be replaced by its correct version. On Invision Power Board (IPB) I used its censorship module to do that.

On vBulletin, however, the censorship module doesn't allow me to replace words with a configurable word, only to replace bad words with *.

Using replacement vars as suggested above is a pain, because we have four skins installed, so we would need to configure all words for our fours styles. Too much trouble.

I searched for spell check modules, but the problem is that (1) they are based on add-on software based on the English dictionary (our forums aren't in English); (2) the spell check function is used only if the user click on the Spell Check icon that the mod/hack installs. So there is no way to force the spell check to be used.

I want a mod/hack that would provide me a table where I could enter the word I want to replace and the new word. That's all.

Any suggestions? I am not a programmer myself so even though I have this need and idea, I don't know how to code this.

Thanks,
Gabriel.

sonichero 06-04-2007 11:05 PM

Create a style, place your four styles under it, add vars to parent style

BINGO!

zagman76 06-21-2007 10:30 PM

Well - on my board, some of the sub-forums are game/gag/joke forums. Sometimes we mess with the people using the [you] tag in those sub-forums.

I'd like to do something with a word-replacement gag, so that it does things like replace "the" with "teh" and other silly things like that.

zagman76 06-23-2007 11:59 PM

It seems harmor19 developed this!
https://vborg.vbsupport.ru/showthread.php?t=149118


All times are GMT. The time now is 12:59 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01023 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete