PDA

View Full Version : [Custom Skin]Problem while putting finished touches.


OGZ.Korea
10-04-2009, 09:18 PM
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

OGZ.Korea
10-04-2009, 10:15 PM
Code added for more information if you need it, it's my header template.
<!-- 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,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=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]

ChopSuey
10-05-2009, 12:50 AM
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.

OGZ.Korea
10-05-2009, 01:10 AM
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:

<!-- 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,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=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]

ChopSuey
10-05-2009, 01:31 AM
Why not just have a regular navbar? Instad of the one on top? Would look much better.

OGZ.Korea
10-05-2009, 08:04 AM
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..

OGZ.Korea
10-07-2009, 09:30 PM
Bump, because this problem was not resolved yet.

Brandon_R
10-08-2009, 06:29 PM
Add a width to your table such as width="100%"