View Single Post
  #11  
Old 04-20-2006, 04:52 PM
forum_maniac forum_maniac is offline
 
Join Date: Jan 2006
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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&amp;itemid=48">$vbphrase[vbplaza_lottery]</a></td></tr>
		<tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=27">$vbphrase[vbplaza_give_gifts]</a></td></tr>
		<tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=118">$vbphrase[vbplaza_give_ribbons]</a></td></tr>
		<tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=13">$vbphrase[vbbux_bank]</a></td></tr>
		<tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=7">$vbphrase[vbplaza_donate]</a></td></tr>
		<tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;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&amp;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.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03193 seconds
  • Memory Usage 1,786KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete