Hello,
my forum got disarranged with the first_visit_message phrase because vbulletin has its own first_visit_message. I don't know why. I renamed the phrase to welcome_first_visit_message and now all works fine.
When I changed the code in the parse_template-hook I didn't need to edit the the templates.
PHP Code:
if (isset($vbulletin->templatecache['FORUMHOME']) && preg_match("~" . preg_quote('<!-- guest welcome message -->', '~') . ".*" . preg_quote('<!-- / guest welcome message -->', '~') . "~is", $vbulletin->templatecache['FORUMHOME'], $m))
{
$vbulletin->templatecache['FORUMHOME'] = str_replace($m[0], '', $vbulletin->templatecache['FORUMHOME']);
}
$vbulletin->templatecache['header'] .= "\n" . $vbulletin->templatecache['welcome_headers'];
Thanks for the hack.