The Arcive of vBulletin Modifications Site. |
|
Using Navbar Store Link on custom button Details »»
|
|||||||||||||||||||||||||
I have the uCash hack working flawlessly.
I am having with the Store link that is place on Navbar, when using a custome navbar with buttons instead of text. I used the directions provided in the uCash Readme for adding the link in your navbar, but it doesn't seem to work for a button graphic. The buttons show up fine on my buttonnavbar, but I can get this Store link to work right. What should the syntax be? The instructions say: <td id="shop" class="vbmenu_control"><a href="#shop">Store</a><script type="text/javascript"> vbmenu_register("shop");</script></td> The second part of the instructions is to add the shop menu. Since these custome templates do not use the navbar, where shold I place this? <!-- 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> </div> <!-- / shop menu --> Thanks for your help in advance. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
this is working on my site and I have this code:
Code:
<td align="left" valign="top" id="shop"><a href="#shop"><img src="$stylevar[imgdir_misc]/firmament_header_tienda.gif" border="0" alt="Menu Rapido" /></a><script type="text/javascript"> vbmenu_register("shop");</script></td>
|
|
#3
|
|||
|
|||
|
gonna try this tonight, thx.
|
|
#4
|
||||
|
||||
|
vbmenu_register("shop", 1); should get rid of the drop down menu icon.
|
![]() |
|
|