![]() |
Disable Swear Censor
What is wrong with my code?
PHP Code:
This plugin is hooked to global_start, by the way. I know it works, but my if conditionals are broken. I have the censor enabled already in vB Options. I just want it so people can turn on the censor and words will censor. No will keep the censor off (and is default option). The problem right now is when selecting Yes, the censor isn't turning on. |
You can't use $post at global_start. Use $vbulletin->userinfo['field6'] instead.
|
All times are GMT. The time now is 11:40 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|