Log in

View Full Version : Censorship per forums


Cyricx
08-02-2005, 07:47 PM
So I used this post by LiveWire -

https://vborg.vbsupport.ru/showthread.php?t=93445

To do alot of this myself, but I'm stuck on getting it to actually censor.

For some reason the code that works in 3.0.x in the phpinclude_start template of


if ($foruminfo['censor'] == 0)
{
$vboptions['enablecensor'] = 0;
}


Doesn't work in the global_start hook.

I even tried


if ($forumid == 31) {
$vboptions['enablecensor'] = 0;
}


Any ideas?

I'll happily do the slavin and footwork on this, just can't figure out what code loop I need to get it to work in 3.5

Thanks!

Andreas
08-02-2005, 07:50 PM
Must be $vbulletin->options instead of $vboptions

Cyricx
08-02-2005, 07:53 PM
You rock bro! Thanks so much!