Прописал этот код
PHP код:
($hook = vBulletinHook::fetch_hook('commtag_illegaluse')) ? eval($hook) : false;
с инструкции так
PHP код:
// ### PREP INPUT ###
if ($vbulletin->GPC['wysiwyg'])
{
require_once(DIR . '/includes/functions_wysiwyg.php');
$newpost['message'] = convert_wysiwyg_html_to_bbcode($vbulletin->GPC['message'], $foruminfo['allowhtml']);
}
else
{
$newpost['message'] = $vbulletin->GPC['message'];
}
if ($vbulletin->GPC['ajax'])
{
// posting via ajax so we need to handle those %u0000 entries
$newpost['message'] = convert_urlencoded_unicode($newpost['message']);
($hook = vBulletinHook::fetch_hook('commtag_illegaluse')) ? eval($hook) : false;
}
if ($vbulletin->GPC['quickreply'])
{
$originalposter = fetch_quote_username($postinfo['username'] . ";$postinfo[postid]");
$pagetext = trim(strip_quotes($postinfo['pagetext']));
($hook = vBulletinHook::fetch_hook('newreply_post_quote')) ? eval($hook) : false;
eval('$quotemessage = "' . fetch_template('newpost_quote', 0, false) . '";');
$newpost['message'] = trim($quotemessage) . "\n$newpost[message]";
}
if ($vbulletin->GPC['fromquickreply'])
{
// We only add notifications to threads that don't have one if the user defaults to it, do nothing else!
if ($vbulletin->userinfo['autosubscribe'] != -1 AND !$threadinfo['issubscribed'])
{
$vbulletin->GPC['folderid'] = 0;
$vbulletin->GPC['emailupdate'] = $vbulletin->userinfo['autosubscribe'];
}
else if ($threadinfo['issubscribed'])
{ // Don't alter current settings
$vbulletin->GPC['folderid'] = $threadinfo['folderid'];
$vbulletin->GPC['emailupdate'] = $threadinfo['emailupdate'];
}
else
{ // Don't don't add!
$vbulletin->GPC['emailupdate'] = 9999;
}