View Full Version : Restricted Words & User Groups
quikseps
05-30-2009, 07:54 PM
I've added the usual list of words I'd like for people not to use on the boards. However, I'm adding a special User Group Forum where basically anything goes and would rather not restrict vocabulary to that particular Forum.
Is there any way to accomplish this?
If not, is there any way all registered uses can choose to view restricted words?
Thanks!
Lynne
05-30-2009, 08:13 PM
Are you trying to disallow the censored word filter in that forum or make some sort of option for them to choose to see censored words? Those are two different things. To disable the word censor, you would put this in the plugin:
$vbulletin->options['enablecensor'] = '0';
The condition you put around it and the hook location are two things I can't guess at from your post. fetch_foruminfo is a good one if it's just per forum.
quikseps
05-30-2009, 09:17 PM
Hi Lynne,
Yes, to trying to disallow the censored word filter in that forum.
Thanks.
Lynne
05-30-2009, 09:25 PM
Then use fetch_foruminfo and put a condition around it - change x to your forumid:
if ($forumid == 'x')
{
$vbulletin->options['enablecensor'] = '0';
}
quikseps
05-30-2009, 09:30 PM
Thank you.....you're the best!
--------------- Added 1243735699 at 1243735699 ---------------
Excuse my ignorance, but where exactly do I find:
if ($forumid == 'x')
{
$vbulletin->options['enablecensor'] = '0';
}
--------------- Added 1243736251 at 1243736251 ---------------
Found it!
Not sure about the Execution Order? Leave this at 5?
--------------- Added 1243737329 at 1243737329 ---------------
Got it.......Works! :)
cybergas
12-30-2009, 11:37 PM
quikseps or lynne, can any of you guide me on this, not a clue how to implement this to some forums...
Lynne
12-31-2009, 02:55 AM
There isn't really much else to write. The plugin is in post 4. If you don't know about plugins, please read the manual - Plugin System (http://www.vbulletin.com/docs/html/plugin_system)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.