
04-07-2013, 04:39 AM
|
|
|
Join Date: Sep 2011
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by usHealthy
Hello, I am getting a whole lot of errors at the warning log. Im trying to find the code to fix but I cant find any of those errors. Can you help?
Warnings
Code:
We have identified the potential buggy hooks / plugins conflicted with vBSSO. If you experience any issues with vBSSO, please resolve the conflicts before contacting the support team.
You need to replace highlighted code with this pattern:
require_once(DIR . '/path/to/plugin/file.php');
Hooks Warnings
Code:
Hook name Hook code
global_start if($vbulletin->options['wpintegrate_footer']){ $vbulletin->templatecache['footer'] = str_replace($vbulletin->templatecache['footer'],$vbulletin->templatecache['footer'] . '
Integration By Adapthosting.com
',$vbulletin->templatecache['footer']); } eval('$reklam_alani = "' . fetch_template('reklam_alani') . '";'); switch ($vbulletin->options['reklam_position']) { case 1: $Position = ''; break; case 2: $Position = ''; break; case 4: $Position = ''; break; default: $Position = '$navbar'; break; } $vbulletin->templatecache['FORUMHOME'] = str_replace($Position, $Position . ' $reklam_alani', $vbulletin->templatecache['FORUMHOME']); if(defined('VBSEO_ENABLED')) vbseo_complete_sec('global_start'); require_once(DIR . '/vbsso/vbsso.php'); vbsso_global_start_hook(); global $vbulletin; if ($vbulletin->options['bop5more_en'] AND (!$vbulletin->options['bop5more_tonly'] OR ($vbulletin->options['bop5more_tonly'] AND THIS_SCRIPT =='showthread'))) { $ex_styles= explode("," , $vbulletin->options['bop5more_styles']); if (!in_array ($vbulletin->userinfo['styleid'], $ex_styles)) { $bopshare = ""; if ($vbulletin->options['bop5more_forceurl']) { if (THIS_SCRIPT == 'showthread') { $bopshare = $vbulletin->options['bburl']."/showthread.php?t=".$threadinfo['threadid']; } elseif (THIS_SCRIPT == 'forumdisplay') { $bopshare = $vbulletin->options['bburl']."/forumdisplay.php?f=".$foruminfo['forumid']; } elseif (THIS_SCRIPT == 'group') { $bopshare = ""; } elseif (THIS_SCRIPT == 'index') { $bopshare = $vbulletin->options['bburl'].'/'.$vbulletin->options['bop5more_index'];; } } $bopshareen = urlencode($bopshare); eval('$more_share_options= "' . fetch_template('more_share_options') . '";'); } } if ($vbulletin->options['bop5more_en'] AND $vbulletin->options['bop5more_autotpe']) { require_once("includes/adminfunctions_template.php"); $sharebar = compile_template($more_share_options); $find = addslashes(''); $replace = $sharebar; $vbulletin->templatecache['navbar'] = str_replace($find, $find.$replace, $vbulletin->templatecache['navbar']); $find = $replace = ""; } $vbulletin->templatecache['postbit_ip'] = $vbulletin->templatecache['postbit_proxyip']; if (THIS_SCRIPT === newthread) { if ($vbulletin->options['autotag_enabled_ajax'] AND $vbulletin->options['autotag_enabled_all']) { $vbulletin->templatecache['headinclude'].=$vbulletin->templatecache['autotag_ajax']; } } global $db, $vbulletin; eval('$google_siteadsearch .= "' . fetch_template('google_siteadsearch') . '";');
userdata_presave require_once('includes/functions_vbghsfs.php'); VBGHSFS_UserModeratorBan();
userdata_delete require_once('includes/functions_vbghsfs.php'); VBGHSFS_UserEditComplete(); vBSEO_Storage::user_deleted($this->existing);
userdata_postsave require_once('includes/functions_vbghsfs.php'); VBGHSFS_UserEditComplete(); require_once(DIR . '/vbsso/vbsso.php'); vbsso_userdata_postsave_hook($userid, $this);
newpost_process if(defined('VBSEO_ENABLED')) vbseo_complete_sec('newpost_process'); $dataman->set('proxyip', ($vbulletin->options['logip'] ? PROXYIP : '')) ; if ($this->registry->options['glowhostspamomatic_akismet_enabled'] == 1) { if ($vbulletin->userinfo['permissions']['akvbghsfs_akismet_permissions']) { if ($this->registry->userinfo['posts'] < $this->registry->options['glowhostspamomatic_akismet_postcount']) || ($this->registry->options['glowhostspamomatic_akismet_postcount'] == 0) { // check for postcount is lower than specified in settings require_once('includes/functions_vbghsfs.php'); $key = $vbulletin->options['glowhostspamomatic_akismet_key']; $vbghsfs_host = $key.'.rest.akismet.com'; $comment['user_ip'] = $_SERVER['REMOTE_ADDR']; $comment['user_agent'] = $_SERVER['HTTP_USER_AGENT']; $comment['referrer'] = $_SERVER['HTTP_REFERER']; $comment['blog'] = $vbulletin->options['bburl']; $comment['comment_author'] = $vbulletin->userinfo['username']; $comment['comment_content'] = $post['message']; if (VBGHSFS_AkismetCheckComment($comment, $vbghsfs_host)) { $dataman->set('visible', 0); $post['visible'] = 0; } } } }
register_addmember_process $vbghsfs_Purged = false; require_once('includes/functions_vbghsfs.php'); VBGHSFS_Process();
useradmin_edit_column1 require_once('includes/functions_vbghsfs.php'); VBGHSFS_UserEditCode();
|
vBSSO should highlight the code in administrative area. In provided plain text it's a bit hard to discover. If what needs to be done is unckear, you are free to send a message to vBSSO team through the website, and then provide them a screenshot of the warnings letting him to give you an advise.
|