The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Swear word filter per forum
Hi, if anyone can do this I would be most greatful.
I need the swearword filter to be active on selected forums only. There is a mod for v3 that does this and i'd like to see the same or similar for v3.6.4 Hope anyone can help. Thanks |
#2
|
|||
|
|||
Agreed.
|
#3
|
|||
|
|||
was this possible in the end?
|
#4
|
||||
|
||||
Just create a plugin to turn it off in some forums - maybe fetch_foruminfo hook location?
PHP Code:
|
#5
|
|||
|
|||
Hi Lynne
Thanks for the reply - but i'm a newb when it comes to code lol. Where would you plant the code? - the XML template? Any tips? |
#6
|
||||
|
||||
Best place to start is with the manual - Plugin System
See if that makes any sense and then post back with any questions. |
#7
|
|||
|
|||
I've done this myself, and it works perfectly. However, I'd like to find a way of deactivating the filter in posts but not in thread titles.
If I put this into fetch_postinfo instead of fetch_foruminfo, will it deactivate the filter in posts (in the specified forum) but retain the default filter setting for thread titles? |
#8
|
||||
|
||||
I don't know, I've never tried it. Try it on your test site and see. Or do a quick test on your live board if you don't have a test site. You may have to replace $forumid with $thread['forumid'], but I'm not sure.
|
#9
|
|||
|
|||
Yes, seems to have worked! Same exact code, just placed into fetch_postinfo instead of fetch_foruminfo.
I retained the fetch_foruminfo plug, but disabled it. --------------- Added [DATE]1246503774[/DATE] at [TIME]1246503774[/TIME] --------------- Ah, sadly, no, I was wrong. Thread titles censored, yes. Previous posts in threads not censored, yes. BUT new posts in threads are censored. I've set it back to the way it was until I can think of other things to try. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|