Hello again, I'm sorry, I am taking your time so much.
The code "exluded forums" below works everywhere but it doesn't work in "threadbit_process". What is the problem? Can you help?
Hook: threadbit_process
PHP Code:
eval('$adem_exluded_forums = in_array($forum[forumid], array(' . $vbulletin->options['adem_exluded_forums'] . '));');
if ($vbulletin->options['adem_thread_preview'])
{
if (!($vbulletin->userinfo['userid'] > 0))
{
if (!in_array($forum['forumid'], array($adem_exluded_forums)))
{
$thread['preview'] = '';
}
}
}
Thanks in advance