I want to exclude 4 forums and exempt Mods,S-Mods and Admins. I just wanted to confirm this code was right. It seems to work but just double checking. Great job getting this to be a plug in.
PHP Code:
!in_array($threadinfo['forumid'], array(42,44,36,65)) AND !in_array($vbulletin->userinfo['usergroupid'], array(5,6,7))
EDIT: On second thought, I also want to exempt people who can moderate. Would that be?
PHP Code:
!in_array($threadinfo['forumid'], array(42,44,36,65)) AND !in_array($vbulletin->userinfo['usergroupid'], array(5,6,7)) AND !can_moderate()