Quote:
Originally Posted by TheFocusElf
I use a VBStyles skin called Aria, and instead of text buttons, it uses graphics, like several skins out there. I started from a fresh install, then installed the VbAdvanced CMPS, and a couple small mods (Welcome PM, Event Attendance). The next item to tackle was this here VbBux/VbPlaza mod which looks awesome.
I am having some issues with the navbar & javascript, however.
|
I implemented vbPlaza on my Aria based forum. I made the following template edits:
HEADER
======
Find:
Code:
</table></td><!-- /Aria Calendar -->
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
Add below:
Code:
<!-- BEGIN VBPLAZA LINK -->
<if condition="$show['member']">
<if condition="$vboptions['vbplaza_enabled']">
<td width="78"><table width="78" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="background:#FFFFFF url($stylevar[imgdir_misc]/vbplaza.gif);" id="plaza"><a href="#plaza"
onmouseover="JSFX.fadeIn('plaza')"
onmouseout="JSFX.fadeOut('plaza')"><img
src="$stylevar[imgdir_misc]/vbplaza.gif" name="plaza" width="78" height="39" border="0" class="imgFader" id="plaza" alt="" /></a><script type="text/javascript"> vbmenu_register("plaza", 1); </script></td>
</tr>
</table></td></if></if>
<!-- END VBPLAZA LINK -->
HEADINCLUDE
==========
Find:
Code:
JSFX.Rollover("logout", "$stylevar[imgdir_misc]/logout_over.gif");
Add below:
Code:
<!-- START VBPLAZA CODE -->
JSFX.Rollover("plaza", "$stylevar[imgdir_misc]/vbplaza_over.gif");
<!-- END VBPLAZA CODE -->
NAVBAR
======
Find:
Code:
</div>
<!-- / user cp tools menu -->
</if>
Add below:
Code:
<!-- BEGIN VBPLAZA MENU -->
<!-- vbPlaza start -->
<if condition="$show['member']">
<!-- vbplaza tools menu -->
<div class="vbmenu_popup" id="plaza_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead"><a href="vbplaza.php?$session[sessionurl]">$vbphrase[vbplaza_name] $vbphrase[vbplaza_main]</a></td></tr>
<tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&itemid=48">$vbphrase[vbplaza_lottery]</a></td></tr>
<tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&itemid=27">$vbphrase[vbplaza_give_gifts]</a></td></tr>
<tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&itemid=118">$vbphrase[vbplaza_give_ribbons]</a></td></tr>
<tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&itemid=13">$vbphrase[vbbux_bank]</a></td></tr>
<tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&itemid=7">$vbphrase[vbplaza_donate]</a></td></tr>
<tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&itemid=16">$vbphrase[vbplaza_thief]</a></td></tr>
<tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=richestusers">$vbphrase[vbbux_richest_users]</a></td></tr>
<tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=userhistory">$vbphrase[vbplaza_history]</a></td></tr>
<tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=mostsold">$vbphrase[vbplaza_most_sold]</a></td></tr>
<if condition="is_member_of($vbulletin->userinfo, $vboptions['vbplaza_adminusergroups'])">
<tr><td class="thead">$vbphrase[vbplaza_admin_only]</a></td></tr>
<tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&itemid=12">$vbphrase[vbplaza_admin_donate]</a></td></tr>
</if>
</table>
</div>
<!-- / vbplaza tools menu -->
</if>
<!-- vbPlaza end -->
<!-- END VBPLAZA MENU -->
Notes:
=====
- You will need to place two graphics "vbplaza.gif" and "vbplaza_over.gif" in the "images/misc" folder. These are the two link graphics (regular and rollover).
- You can create the graphics using Photoshop and modify the files provided within the vbStyles installation file.