The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Censor words
Hey is there a mod, or option fo censor words where I can make them star(*) our one letter?
EX: Code:
f*ck Sorry, if the language is inappropriate. |
#2
|
|||
|
|||
I used to run a WFF board and in the Admin CP there was an option to list the words you want to censor and what you want to censor them as.
Eg, 'Phil Collins' was edited to turn into 'Baldy Git' etc - it actually worked very well by changing bad words into polite/funny alternatives. Of course you could use * etc to replace the middle letters. I do find the current censorship settings to be way too strong, depending on the audience they can be a bit of a killjoy. If there was a vB mod that allowed you to customise the censor list I would download it in a heartbeat. |
#3
|
||||
|
||||
You can use Replacement Variables or write a simple plugin to do str_replace with certain words.
|
#4
|
|||
|
|||
@Lynne: I have no clue how to code VB plugins :P
@mp3u: So there isn't a mod? |
#5
|
||||
|
||||
You can start with the manual - Plugin System
There are also several articles in the Articles forums on how to write products/plugins. |
#6
|
|||
|
|||
Quote:
|
#7
|
|||
|
|||
just search in the mod forums
|
#8
|
|||
|
|||
=] I did, before I made the post, but I guess i can search again.
|
#9
|
|||
|
|||
The use Replacement Variables as Lynne suggested.
|
#10
|
|||
|
|||
Hi there,
I just discovered the Replacement Variable function and it works perfectly. However... say if I want to censor the word 'work' - and instead of having 'w**k' I wanted the first and last letter with a 'censored' smilie in the middle? If I replace the middle letters with the BBcode :censored: (the code on my board for the censored icon) the word just appears as 'w:censored:k'.... any ideas how I can get a smiley in there? Thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|