Quote:
Originally Posted by christianb
What do you have in your xml file? Can you paste that here?
|
What do I have to post exactly?
Quote:
// Nicer Greeting On NavBar
$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);
$ng_greeting = "<strong>" . $vbphrase[ng_goodevening] . " " . $vbulletin->userinfo[username] . ".</strong>";
if ($ng_result < 18)
{
$ng_greeting = "<strong>" . $vbphrase[ng_goodafternoon] . " " . $vbulletin->userinfo[username] . ".</strong>";
}
if ($ng_result < 12)
{
$ng_greeting = "<strong>" . $vbphrase[ng_goodmorning] . " " . $vbulletin->userinfo[username] . ".</strong>";
}
// Nicer Greeting On NavBar
|