Thanks Princeton, it worked for the search but not the quicklinks.
Code:
<div id="nav">
<ul>
<li class="nav_left"></li>
<li><a href="usercp.php$session[sessionurl_q]" class="nav_kontrollzentrum"></a></li>
<li><a href="arcade.php" class="nav_spielhalle"></a></li>
<li id="navbar_search"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow" class="nav_suchen"></a><if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search",1); </script></if></li>
<li id="usercptools"><a href="$show[nojs_link]#usercptools" accesskey="3" class="nav_nutzliche_links"></a><script type="text/javascript"> vbmenu_register("quicklinks",1); </script></li>
<li><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')" class="nav_abmelden"></a></li>
<li class="nav_right"></li>
</ul>
</div>
I tried "quicklinks", 2); but that didnt work, I tried 1, that didn't work. Im not sure how to get them to both work, just the search works now.