PDA

View Full Version : Prevent "Server busy" message from Googlebot


Paul Janowitz
11-05-2006, 12:49 PM
Hello!

Unfortunately my server doesn't manage the whole traffic on my forums any more and I have to deliver "Server busy" messages on a *nix load higher than 30. I have managed it to prevent displaying these messages to sponsors and moderators by changing the code in global.php but unfortunately I didn't get it working to prevent showing that message to googlebot and mediapartners/google. Can anybody help me out?

That is my changed snippet in global.php
// ################################################## ###########################
// check to see if server is too busy. this is checked at the end of session.php
if ($servertoobusy AND !($vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel']) AND THIS_SCRIPT != 'login' AND !(in_array($vbulletin->userinfo['usergroupid'], array(5, 6, 7, 18, 19))))
{
$vbulletin->options['useforumjump'] = 0;
eval(standard_error(fetch_error('toobusy')));
}

Chuck Holton
05-23-2008, 07:19 AM
Hello!

Unfortunately my server doesn't manage the whole traffic on my forums any more and I have to deliver "Server busy" messages on a *nix load higher than 30. I have managed it to prevent displaying these messages to sponsors and moderators by changing the code in global.php but unfortunately I didn't get it working to prevent showing that message to googlebot and mediapartners/google. Can anybody help me out?

That is my changed snippet in global.php
// ################################################## ###########################
// check to see if server is too busy. this is checked at the end of session.php
if ($servertoobusy AND !($vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel']) AND THIS_SCRIPT != 'login' AND !(in_array($vbulletin->userinfo['usergroupid'], array(5, 6, 7, 18, 19))))
{
$vbulletin->options['useforumjump'] = 0;
eval(standard_error(fetch_error('toobusy')));
}
Hey thanks ... I'm thinking I can mod this to deal with visitors and/or a very special user group we call spambots (they register, but they can't do a darn thing)