The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
[REQUEST] Optional Censor
I recall a similar hack for vb2.x where the censor was optional.
It would be great if there were a place in the admin cp that censored words could be entered (like it is now) and then have those words optionally censored on a per-user basis. So, if someone registers and doesn't want to be censored they just go into their profile and select "no" to the censorship option. Users who do not feel that they want to view words which they may be sensitive to or otherwise can simply select "yes" to the censor in their profile. So the users who select "yes" see asterics where the users who selected "no" in their profile will see the actual words. It would be ideal to have another box in the admin cp to enter words that would be censored regardless (spam urls, whatever). Why censor a whole group of people when they can censor themselves? Give your users the choice! :squareeyed: Thanks! |
#2
|
||||
|
||||
/me bumps
|
#3
|
|||
|
|||
The biggest problem I've found with messing with the censorship options in vb3 is the post cache
Then if someone that is set to censor a word views the thread past the time it's cached, it censors the word til the time expires for the thread cache =/ I'm messing around now with turning off the cache options to see how the board performance is. |
#4
|
||||
|
||||
I didn't consider the post cache. I haven't looked at the code thoroughly myself but I know the board I help run will be requiring the post cache.
I was thinking if someone has the censor on for themselves that the posts would be taken through some function before they are displayed. preg_replace? *shrug* I don't know how that would effect performance or if there's a better way to do it. |
#5
|
|||
|
|||
Unfortunately the cache is stored post-parse. So if someone without the censor on views the forum the parsing adds the censor, then someone who doesn't have it on will still see it parsed until the time you have set for the thread to be cached expires.
Turned off cache on my forum tonight and I'd swear our load time is going up, but then our size is not large at all. *shrug* |
#6
|
||||
|
||||
Anything new?
|
#7
|
|||
|
|||
By turning off the cache I was able to add in censorship per forums, but couldn't find anyway to do it with cache on
|
#8
|
||||
|
||||
hmm. ok thanks
|
#9
|
||||
|
||||
Quote:
|
#10
|
||||
|
||||
Ah you are my hero!
When our site switches to vb3 I will definitely be wanting to install this hack. Beautiful! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|