Thread: Blak-Ice V2
View Single Post
  #31  
Old 01-28-2009, 10:51 AM
hoof hoof is offline
 
Join Date: May 2006
Location: Texas, USA
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mikey1991 View Post
Hey hoof mate, I got it working now, and thanks for the arcade graphic, how would I add that in? And I need a wiki graphic too, do you have the buttons PSD?
Glad you got it fixed up...was it just the length of the site title?
To add the button in, go to your header template and decide where/what order you want it to display and add the following code:
Code:
<td width="50" height="55"><a href="http://yoursite.com/forums/arcade.php"><img src="$stylevar[imgdir_misc]/nav_arcade.gif" width="50" height="55" border="0" alt=""/></a></td>
Change the red items to your site and what you saved the button as...or rename it to what I have.
I will add the psd for the buttons I just need to clean it up and then I'll post it

Quote:
Originally Posted by medusa1 View Post
hi verry nice style

i have a smal problem with my navigation when a user is not login the icons are all on the left side but not in your demo can you provide me your header template code please ?
Glad you like the style, I am looking into what would cause the nav buttons to align left. Do you have any other code in your header? Or can you pm me your site so I can have a look?
Here's the header code:
Code:
<a name="top"></a>
<!-- Bi2 logo -->
<img class="bi2logo" style="position: absolute; top: 127px; left: 93px;" src="$stylevar[titleimage]/bi2logo.gif" alt="bi2logo" /> 
<!-- /Bi2 logo -->
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td colspan="3">
<!-- logo -->
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td><img src="$stylevar[titleimage]/header_left.gif" alt="header_left" /></td>
<td width="100%"  style="background: url($stylevar[titleimage]/header_fill.gif) repeat-x top left;" align="center"><div class="titlefont">$vboptions[bbtitle]</div></td>
<td><img src="$stylevar[titleimage]/header_right.gif" alt="header_right" /></td>
</tr>
</table>
<!-- /logo -->
</td></tr><tr>

<td height="100%" style="background: url($stylevar[titleimage]/page_left.gif) repeat-y top left;"><img src="$stylevar[titleimage]/page_left.gif" alt="page_left" /></td>
<td width="100%" class="page">
<table width="50%" border="0" align="center" cellpadding="0" cellspacing="0">
	
<!-- begin navigation buttons table -->
	<table width="50%" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
	<td width="50" height="55"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img src="$stylevar[imgdir_misc]/nav_home.gif" width="50" height="55" border="0" alt=""/></a></td>

<if condition="$show['registerbutton']">
			<td width="50" height="55"><a href="register.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/nav_reg.gif" width="50" height="55" border="0" alt=""/></a></td>
		</if>

<if condition="$show['member']">
<td width="50" height="55"><a href="usercp.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/nav_cp.gif" width="50" height="55" border="0" alt=""/></a></td></if>

<td width="50" height="55"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/nav_cal.gif" width="50" height="55" border="0" alt=""/></a></td>

<if condition="$show['popups']">
			<if condition="$show['searchbuttons']">
				<td id="navbar_search" width="50" height="55"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow"><img src="$stylevar[imgdir_misc]/nav_search.gif" width="50" height="55" border="0" alt=""/></a> <if condition="$show['quicksearch']">
<script type="text/javascript"> vbmenu_register("navbar_search",1); </script></if></td>
			</if>
			<if condition="$show['member']">
				<td id="usercptools" width="50" height="55"><a href="$show[nojs_link]#usercptools" accesskey="3"><img src="$stylevar[imgdir_misc]/nav_menu.gif" width="50" height="55" border="0" alt=""/></a> <script type="text/javascript"> vbmenu_register("usercptools",1); </script></td>
			</if>
<else />
			<if condition="$show['searchbuttons']">
				<td width="50" height="55"><a href="search.php$session[sessionurl_q]" accesskey="4">img src="$stylevar[imgdir_misc]/nav_search.gif" width="50" height="55" border="0" alt=""/></a></td>
			</if>
</if>

<td width="50" height="55"><a href="faq.php$session[sessionurl_q]" accesskey="5"><img src="$stylevar[imgdir_misc]/nav_faq.gif" width="50" height="55" border="0" alt=""/></a></td>

<if condition="$show['communitylink'] AND $show['popups']">
			<td width="50" height="55"><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="3"><img src="$stylevar[imgdir_misc]/nav_comm.gif" width="50" height="55" border="0" alt=""/></a> <script type="text/javascript"> vbmenu_register("community",1); </script></td>
		<else />
			<if condition="$vboptions['enablememberlist']">
				<td width="50" height="55"><a href="memberlist.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/nav_members.gif" width="50" height="55" border="0" alt=""/></a></td>
			</if>
			<if condition="$show['quick_links_groups']">
				<td class="vbmenu_control"><a href="group.php?$session[sessionurl]">$vbphrase[social_groups]</a></td>
			</if>
		</if>


<if condition="$show['member']">
			<td width="50" height="55"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><img src="$stylevar[imgdir_misc]/nav_logout.gif" width="50" height="55" border="0" alt=""/></a></td>
		</if>


</tr>
	</table>
	<!-- End navigation buttons table -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01499 seconds
  • Memory Usage 1,810KB
  • 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
  • (2)bbcode_code
  • (2)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