PDA

View Full Version : Header Problem


asianboi
04-27-2005, 05:36 PM
Dear Experts

I'm currently using UCASH/USHOP and there is one slight problem.

My template is COBALT

In the installation instruction, it stated that I have to add a line in the NAVBAR after the

FIND
<td class="hnav"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>

ADD
<td id="shop" class="hnav"><a href="#shop">Store</a><script type="text/javascript"> vbmenu_register("shop");</script></td>

I cant seem to find the line in my navbar. So what I did was, I added the STORE script to my header and added the code below in my navbar.

<!-- shop menu -->
<div class="vbmenu_popup" id="shop_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead"><a href="ushop.php$session[sessionurl]">uShop Menu</a></td></tr>
<tr><td class="vbmenu_option"><a href="ushop.php?do=a&shortname=bank">Bank</a></td></tr>
<tr><td class="vbmenu_option"><a href="ushop.php?do=richestusers">Richest Members</a></td></tr>
<tr><td class="vbmenu_option"><a href="ushop.php?do=mostsold">Most Sold</a></td></tr>
<tr><td class="vbmenu_option"><a href="ushop.php?do=userhistory">History</a></td></tr>
<if condition="!empty($ushop_navbar)">
<tr><td class="thead"><a href="ushop.php$session[sessionurl]">Actions</a></td></tr>
$ushop_navbar</if>
</table>

Somehow it works, but the problem is the SHOP link is only active when the member clicks on a thread. Can someone help me solve this problem?