Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-04-2009, 09:18 PM
OGZ.Korea OGZ.Korea is offline
 
Join Date: Sep 2009
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default [Custom Skin]Problem while putting finished touches.

I am making this skin for a friend of mine that in www.nihonomaru.com

Hello there is a certain bar sticking out on the side.
But I have know idea how to fix it. Doesn't anyone have any ideas.

Also how do I make my background fully black rather than white.

The only two errors:
  • The NavBar sticking out
  • The Background is White

Please go to www.g-maru.com to see what I mean.
suppose to look like www.nihonomaru.com

Thanks please help me asap ;P
Attached Images
File Type: jpg error.jpg (97.8 KB, 0 views)
Reply With Quote
  #2  
Old 10-04-2009, 10:15 PM
OGZ.Korea OGZ.Korea is offline
 
Join Date: Sep 2009
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code added for more information if you need it, it's my header template.
Code:
<!-- content table -->
<div class="nav">
<div class="navleft">
<!-- nav buttons bar -->
<table cellpadding="0" cellspacing="0" border="0">
	<tr align="center">
		<if condition="$show['member']">
			<td class="navitem"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
		</if>
		<if condition="$show['registerbutton']">
			<td class="navitem"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
		</if>
		$template_hook[navbar_buttons_left]
		<td class="navitem"><a rel="help" href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
		<if condition="$show['communitylink'] AND $show['popups']">
			<td class="navitem"><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6">$vbphrase[community]</a> <script type="text/javascript"> vbmenu_register("community"); </script></td>
		<else />
			<if condition="$vboptions['enablememberlist']">
				<td class="navitem"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
			</if>
			<if condition="$show['quick_links_groups']">
				<td class="navitem"><a href="group.php?$session[sessionurl]">$vbphrase[social_groups]</a></td>
			</if>
		</if>
		<td class="navitem"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
		<if condition="$show['popups']">
			<if condition="$show['searchbuttons']">
				<if condition="$show['member']">
				<td class="navitem"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
				<else />
				<td class="navitem"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
				</if>
				<td class="navitem"><a id="navbar_search" href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
			</if>
			<if condition="$show['member']">
				<td class="navitem"><a id="usercptools" href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
			</if>
		<else />
			<if condition="$show['searchbuttons']">
				<td class="navitem"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
				<if condition="$show['member']">
				<td class="navitem"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
				<else />
				<td class="navitem"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
				</if>
			</if>
			<td class="navitem"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[Mark_Forums_Read]</font></a></td>
			<if condition="$show['member']">
				<td class="navitem"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_contacts]</a></td>
			</if>
		</if>
		$template_hook[navbar_buttons_right]
		<if condition="$show['member']">
			<td class="navitem"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
		</if>
		</tr>
	</table>
<!-- / nav buttons bar -->
</div>
<div class="navright">
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
<a style="margin-left: 20px;" href="search.php?do=getnew">
New Posts
</a>

</div>
</div>

$forumhome_markread_script
</div>
</div>
<div class="memberandsearch">
<if condition="$show['member']">
			<div class="memberBox">
				<p>Member Panel</p>
				<div class="loginBox">
	<div class="smallfont" style="padding-left:5px;">
		<strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br />
		<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>

		<if condition="$show['notifications'] AND $show['popups']">
			<div><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span></div>
			<script type="text/javascript"> vBmenu.register("notifications"); </script>
		<else /><if condition="$show['pmstats']">
			<div><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></div>
		</if></if>

		<if condition="$show['pmwarning']"><div><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></div></if>
	</div>
				</div>
			</div>
<else />
			<div class="memberBox">
				<p>Member Login</p>
				<div class="loginBox">
		<!-- login form -->
		<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
		<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
								<div class="loginBoxInput" style="padding-right:0px;">
									<input type="text" class="logininput" name="vb_login_username" id="navbar_username" accesskey="u" tabindex="101"  value="Username" onfocus="if (this.value == 'Username') this.value = '';" onblur="if (this.value == '') this.value = 'Username';" />
								</div>
								<div class="loginBoxInput">
									<input type="password" class="logininput" name="vb_login_password" id="navbar_password" accesskey="u" tabindex="101" value="Password" onfocus="if (this.value == 'Password') this.value = '';" onblur="if (this.value == '') this.value = '';" />				
								</div>
								<span class="loginButton">
									<input type="image" src="$stylevar[imgdir_misc]/gosearch.gif" value="Search" alt="Submit" />
								</span>
		<input type="hidden" name="cookieuser" value="1" />
		<input type="hidden" name="s" value="$session[sessionhash]" />
		<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
		<input type="hidden" name="do" value="login" />
		<input type="hidden" name="vb_login_md5password" />
		<input type="hidden" name="vb_login_md5password_utf" />
		</form>
		<!-- / login form -->
				</div>
					<div class="memberLinks">
						<a href="register.php">Not registered?</a>  |  <a href="login.php?do=lostpw">Forgot Password</a>
					</div>					
			</div>
</if>

 <div class="quicksearch">
  <p>Quick Search</p>
<form action="search.php?do=process" method="post">
				<input type="hidden" name="do" value="process" />
				<input type="hidden" name="quicksearch" value="1" />
				<input type="hidden" name="childforums" value="1" />
				<input type="hidden" name="exactname" value="1" />
				<input type="hidden" name="s" value="" />
				<input type="hidden" name="securitytoken" value="guest" />
					
							<div class="searchBoxInput">

								<input type="text" class="searchinput" name="query" value="Search Forum" onfocus="if (this.value == 'Search Forum') this.value = '';" onblur="if (this.value == '') this.value = 'Search Forum';" />
							</div>
							<span class="loginButton">
								<input type="image" src="$stylevar[imgdir_misc]/gosearch.gif" value="Search" alt="Submit" />
							</span>
</form>
	<div class="memberLinks">
		<a href="search.php">Go Advanced</a>
	</div>	
 </div>
</div>
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]
Reply With Quote
  #3  
Old 10-05-2009, 12:50 AM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You just put your navbar template into your header. Your missing some of the navbar code. I got to your site, the search is all messed up.
Also for your background color. AdminCP > Styles & Templates > Style Manager > Your Style > Main CSS
In the first box you will see Background.
Reply With Quote
  #4  
Old 10-05-2009, 01:10 AM
OGZ.Korea OGZ.Korea is offline
 
Join Date: Sep 2009
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChopSuey View Post
You just put your navbar template into your header. Your missing some of the navbar code. I got to your site, the search is all messed up.
Also for your background color. AdminCP > Styles & Templates > Style Manager > Your Style > Main CSS
In the first box you will see Background.
How do I fix it here is what I did to fix that corner thing but the rest of the forum doesn't connect anymore look at the RED:

Code:
<!-- content table -->
<div class="nav">
<div class="navleft">
<!-- nav buttons bar -->
<table cellpadding="0" cellspacing="0" border="0">
	<tr align="center">
		<if condition="$show['member']">
			<td class="navitem"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
		</if>
		<if condition="$show['registerbutton']">
			<td class="navitem"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
		</if>
		$template_hook[navbar_buttons_left]
		<td class="navitem"><a rel="help" href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
		<if condition="$show['communitylink'] AND $show['popups']">
			<td class="navitem"><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6">$vbphrase[community]</a> <script type="text/javascript"> vbmenu_register("community"); </script></td>
		<else />
			<if condition="$vboptions['enablememberlist']">
				<td class="navitem"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
			</if>
			<if condition="$show['quick_links_groups']">
				<td class="navitem"><a href="group.php?$session[sessionurl]">$vbphrase[social_groups]</a></td>
			</if>
		</if>
		<td class="navitem"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
		<if condition="$show['popups']">
			<if condition="$show['searchbuttons']">
				<if condition="$show['member']">
				<td class="navitem"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
				<else />
				<td class="navitem"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
				</if>
				<td class="navitem"><a id="navbar_search" href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
			</if>
			<if condition="$show['member']">
				<td class="navitem"><a id="usercptools" href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
			</if>
		<else />
			<if condition="$show['searchbuttons']">
				<td class="navitem"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
				<if condition="$show['member']">
				<td class="navitem"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
				<else />
				<td class="navitem"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
				</if>
			</if>
			<td class="navitem"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[Mark_Forums_Read]</font></a></td>
			<if condition="$show['member']">
				<td class="navitem"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_contacts]</a></td>
			</if>
		</if>
		$template_hook[navbar_buttons_right]
		<if condition="$show['member']">
			<td class="navitem"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
		</if>
		</tr>
	</table>
<!-- / nav buttons bar -->
</div>
<div class="navright">
<a href="http://www.g-maru.com/forumdisplay.php?do=markread" rel="nofollow">Mark Forums Read</a>
<a rel="nofollow" style="margin-left: 20px;" href="http://www.g-maru.com/search.php?do=getnew">
New Posts
</a>

</div>
</div>

$forumhome_markread_script
</div>
<div class="memberandsearch">
<if condition="$show['member']">
			<div class="memberBox">
				<p>Member Panel</p>
				<div class="loginBox">
	<div class="smallfont" style="padding-left:5px;">
		<strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br />
		<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>

		<if condition="$show['notifications'] AND $show['popups']">
			<div><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span></div>
			<script type="text/javascript"> vBmenu.register("notifications"); </script>
		<else /><if condition="$show['pmstats']">
			<div><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></div>
		</if></if>

		<if condition="$show['pmwarning']"><div><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></div></if>
	</div>
				</div>
			</div>
<else />
			<div class="memberBox">
				<p>Member Login</p>
				<div class="loginBox">
		<!-- login form -->
		<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
		<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
								<div class="loginBoxInput" style="padding-right:0px;">
									<input type="text" class="logininput" name="vb_login_username" id="navbar_username" accesskey="u" tabindex="101"  value="Username" onfocus="if (this.value == 'Username') this.value = '';" onblur="if (this.value == '') this.value = 'Username';" />
								</div>
								<div class="loginBoxInput">
									<input type="password" class="logininput" name="vb_login_password" id="navbar_password" accesskey="u" tabindex="101" value="Password" onfocus="if (this.value == 'Password') this.value = '';" onblur="if (this.value == '') this.value = '';" />				
								</div>
								<span class="loginButton">
									<input type="image" src="$stylevar[imgdir_misc]/gosearch.gif" value="Search" alt="Submit" />
								</span>
		<input type="hidden" name="cookieuser" value="1" />
		<input type="hidden" name="s" value="$session[sessionhash]" />
		<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
		<input type="hidden" name="do" value="login" />
		<input type="hidden" name="vb_login_md5password" />
		<input type="hidden" name="vb_login_md5password_utf" />
		</form>
</div>
</div></td><td width="23"></td></tr></table>
		<!-- / login form -->
				</div>
					<div class="memberLinks">
						<a href="register.php">Not registered?</a>  |  <a href="login.php?do=lostpw">Forgot Password</a>
					</div>					
			</div>
</if>
 <div class="quicksearch">
  <p>Quick Search</p>
<form action="search.php?do=process" method="post">
				<input type="hidden" name="do" value="process" />
				<input type="hidden" name="quicksearch" value="1" />
				<input type="hidden" name="childforums" value="1" />
				<input type="hidden" name="exactname" value="1" />
				<input type="hidden" name="s" value="" />
				<input type="hidden" name="securitytoken" value="guest" />
					
							<div class="searchBoxInput">

								<input type="text" class="searchinput" name="query" value="Search Forum" onfocus="if (this.value == 'Search Forum') this.value = '';" onblur="if (this.value == '') this.value = 'Search Forum';" />
							</div>
							<span class="loginButton">
								<input type="image" src="$stylevar[imgdir_misc]/gosearch.gif" value="Search" alt="Submit" />
							</span>
</form>
	<div class="memberLinks">
		<a href="search.php">Go Advanced</a>
           </div>
 </div>
</div></td><td width="23"><td></td></tr></table>


$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]
Reply With Quote
  #5  
Old 10-05-2009, 01:31 AM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why not just have a regular navbar? Instad of the one on top? Would look much better.
Reply With Quote
  #6  
Old 10-05-2009, 08:04 AM
OGZ.Korea OGZ.Korea is offline
 
Join Date: Sep 2009
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChopSuey View Post
Why not just have a regular navbar? Instad of the one on top? Would look much better.
The regular Navbar is completely different than the one I originally have all I need to do is fix this tiny error..
Reply With Quote
  #7  
Old 10-07-2009, 09:30 PM
OGZ.Korea OGZ.Korea is offline
 
Join Date: Sep 2009
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump, because this problem was not resolved yet.
Reply With Quote
  #8  
Old 10-08-2009, 06:29 PM
Brandon_R Brandon_R is offline
 
Join Date: Aug 2009
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add a width to your table such as
HTML Code:
width="100%"
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04246 seconds
  • Memory Usage 2,293KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (1)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete