It was your code with the extra } at the bottom if you see here is the new edits - come back as always::
FIND (index.template.php)
else
{
echo '
<div class="top_bar_welcome_member">
<div class="top_bar_welcome_member_text">', $txt['vp_greeting'] ,' <a class="top_bar_welcome_member_text" href="', $scripturl ,'?action=profile">',$context['user']['name'],'</a> |
<a class="top_bar_welcome_member_text" href="', $scripturl ,'?action=login">', $txt['vp_sign_in'] ,'</a> ', $txt['vp_or'] ,' <a class="top_bar_welcome_member_text" href="', $scripturl ,'?action=register">', $txt['vp_register'] ,'</a>
</div>
</div>
';
}
REPLACE:
else
{
echo '
<div class="top_bar_welcome_member">
<div class="top_bar_welcome_member_text">', $txt['vp_greeting'] ,' <a class="top_bar_welcome_member_text" href="', $scripturl ,'?action=profile">',$context['user']['name'],'</a> |
<a class="top_bar_welcome_member_text" href="', $scripturl ,'?action=login">', $txt['vp_sign_in'] ,'</a> ', $txt['vp_or'] ,' <a class="top_bar_welcome_member_text" href="', $scripturl ,'?action=register">', $txt['vp_register'] ,'</a>
</div>
</div>
';
}
// Are there any members waiting for approval? blueberry code
echo '
<div class="floatleft">
<ul>
';
if (!empty($context['unapproved_members']))
echo '
<li>', $context['unapproved_members'] == 1 ? $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="', $scripturl, '?action=viewmembers;sa=browse;type=approve">', $context['unapproved_members'] == 1 ? $txt['approve_member'] : $context['unapproved_members'] . ' ' . $txt['approve_members'], '</a> ', $txt['approve_members_waiting'], '</li>';
echo '
<li><a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a></li>
<li><a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a></li>';
echo '
</ul>
</div>';