This * might * fix it:
Find:
PHP Code:
$ng_tz_serveroffset = $vbulletin->options['timeoffset'];
$ng_tz_useroffset = $vbulletin->userinfo['timezoneoffset'];
$ng_hour = date('G');
$ng_now = bcadd($ng_hour, $ng_tz_serveroffset);
$ng_result = bcadd($ng_now, $ng_tz_useroffset);
Replace with:
PHP Code:
$ng_date = date("G");
$ng_tz_useroffset = $vbulletin->userinfo['timezoneoffset'];
$ng_result = bcadd($ng_date, $ng_tz_useroffset);
This is what I have from working on it:
PHP Code:
$ng_date = date("G");
$ng_tz_useroffset = $vbulletin->userinfo['timezoneoffset'];
$ng_result = bcadd($ng_date, $ng_tz_useroffset);
$ng_greeting = "ERROR";
if($ng_result < 12){
$ng_greeting = "<strong>" . $vbphrase[ng_goodmorning] . " " . $vbulletin->userinfo[username] . ".</strong>";
} elseif($ng_result < 18){
$ng_greeting = "<strong>" . $vbphrase[ng_goodafternoon] . " " . $vbulletin->userinfo[username] . ".</strong>";
}else {
$ng_greeting = "<strong>" . $vbphrase[ng_goodevening] . " " . $vbulletin->userinfo[username] . ".</strong>";
}
// Nicer Greeting On NavBar