PDA

View Full Version : Removing something from the header


HxC
07-12-2008, 05:20 PM
Hello, I've recently bought a skin, but I am wanting one thing changed. Right now our header looks like this:
http://i37.tinypic.com/2dltzs8.png

I want to remove the login box, and when people login it turns to a Notification area, I also want that to be removed. I've tried to do it by myself, but every time I try it messes everything up.

My header template looks like this:
<!-- Header -->
<a id="top"></a>
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else /></if>
<div id="tophead_bg">
<div id="tophead_left">
<div id="tophead_right">
<ul id="listt">
<if condition="$show['member']">
<li class="menu"> <span id="usercptools"><a class="menu" href="$show[nojs_link]#usercptools" title="$vbphrase[quick_links]"> <span class="e_h">$vbphrase[quick_links]</span></a> <script type="text/javascript"> vbmenu_register("usercptools", true); </script> </span></li>
<else />
<li class="menu_guest"><span id="usercptools1"><a class="menu_guest" href="$show[nojs_link]#usercptools" title="$vbphrase[quick_links]"> <span class="e_h">$vbphrase[quick_links]</span></a> <script type="text/javascript"> vbmenu_register("usercptools1", true); </script> </span></li>
</if>
<if condition="$show['member']">
<li class="n_post"><a class="n_post" href="search.php?$session[sessionurl]do=getnew" title="$vbphrase[new_posts_nav]" rel="nofollow"><span>$vbphrase[new_posts_nav]</span></a></li>
<else />
<li class="d_post"><a class="d_post" href="search.php?$session[sessionurl]do=getdaily" title="$vbphrase[todays_posts]" rel="nofollow"><span>$vbphrase[todays_posts]</span></a></li>
</if>
<if condition="$show['member']">
<li class="logout"><a class="logout" href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')" title="$vbphrase[log_out]"><span>$vbphrase[log_out]</span></a></li>
<else />
<li class="t_regiser"><a class="t_regiser" href="register.php$session[sessionurl_q]" rel="nofollow" title="$vbphrase[register]"><span>$vbphrase[register]</span></a></li>
</if>
</ul>
<div id="th_left">
<if condition="$show['member']">
<div class="smallfont">
<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']">
<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>
<else />
<!-- 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 id="inp_pad">
<input type="text" class="bginputs" style="font-size: 10px;float:left;width:116px;" name="vb_login_username" id="navbar_username" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" />
<input type="password" class="bginputs" style="font-size: 10px;float:left;width:116px;margin-left:6px;" name="vb_login_password" accesskey="p" tabindex="102" value="$vbphrase[password]" onfocus="if (this.value == '$vbphrase[password]') this.value = '';" />
<input type="image" src="/designs/cyberhype/go.gif" alt="$vbphrase[log_in]" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" />
<div style="font-size: 10px;"><label for="cb_cookieuser_navbar"><input type="checkbox" class="inlineimg" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></div>

<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" /></div>
</form>
<!-- / login form -->
</if>
</div>
</div>
</div>
</div>
<div id="mhead_bg">
<div id="mhead_right">
<form action="search.php" method="post">
<div id="mhead_left1">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="0" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="s" value="" />
<input type="text" style="font-size: 10px;width:130px;margin:14px 0 0 102px;" class="bginputs" name="query" value="$vbphrase[search]" onfocus="if (this.value == '$vbphrase[search]') this.value = '';" />
</div>
<input style="float:left;" type="image" src="/designs/cyberhype/cy_10.gif" alt="$vbphrase[go]" value="$vbphrase[go]" title="$vbphrase[go]" />
</form>
<div id="mhead_left2"></div>
</div>
</div>
<div id="bheader_bg">
<div id="faq"><a class="faq" href="faq.php$session[sessionurl_q]" accesskey="5" title="$vbphrase[faq]" ><span>$vbphrase[faq]</span></a></div>
<div id="bheader_left">
<ul id="listb">
<li class="forum"><a class="forum" href="index.php" title="Forum"><span>Forum</span></a></li>
<if condition="$show['member']">
<li class="usercp"><a class="usercp" href="usercp.php$session[sessionurl_q]" title="$vbphrase[user_cp]"><span>$vbphrase[user_cp]</span></a></li>
</if>
<if condition="$show['registerbutton']">
<li class="register"><a class="register" href="register.php$session[sessionurl_q]" rel="nofollow" title="$vbphrase[register]"><span>$vbphrase[register]</span></a></li>
</if>
<li class="member"><a class="member" href="memberlist.php$session[sessionurl_q]" title="$vbphrase[members_list]"><span>$vbphrase[members_list]</span></a></li>
<li class="calendar"><a class="calendar" href="calendar.php$session[sessionurl_q]" title="$vbphrase[calendar]"><span>$vbphrase[calendar]</span></a></li>
<li class="search"><span id="navbar_search"><a class="search" href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow" title="$vbphrase[search]"><span class="e_h">$vbphrase[search]</span></a></span> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search", true); </script></if> </li>
</ul>
</div>
</div>
<!-- /Header -->
<div id="tborder_bg">
<div id="tborder_left">
<div id="tborder_right">
</div>
</div>
</div>
<div id="b_left">
<div id="b_right">
<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]


Thanks.

Opserty
07-12-2008, 10:00 PM
Why don't you ask at the place from which you purchased the skin?...

I've highlighted the Login/Member section in red:

<!-- Header -->
<a id="top"></a>
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else /></if>
<div id="tophead_bg">
<div id="tophead_left">
<div id="tophead_right">
<ul id="listt">
<if condition="$show['member']">
<li class="menu"> <span id="usercptools"><a class="menu" href="$show[nojs_link]#usercptools" title="$vbphrase[quick_links]"> <span class="e_h">$vbphrase[quick_links]</span></a> <script type="text/javascript"> vbmenu_register("usercptools", true); </script> </span></li>
<else />
<li class="menu_guest"><span id="usercptools1"><a class="menu_guest" href="$show[nojs_link]#usercptools" title="$vbphrase[quick_links]"> <span class="e_h">$vbphrase[quick_links]</span></a> <script type="text/javascript"> vbmenu_register("usercptools1", true); </script> </span></li>
</if>
<if condition="$show['member']">
<li class="n_post"><a class="n_post" href="search.php?$session[sessionurl]do=getnew" title="$vbphrase[new_posts_nav]" rel="nofollow"><span>$vbphrase[new_posts_nav]</span></a></li>
<else />
<li class="d_post"><a class="d_post" href="search.php?$session[sessionurl]do=getdaily" title="$vbphrase[todays_posts]" rel="nofollow"><span>$vbphrase[todays_posts]</span></a></li>
</if>
<if condition="$show['member']">
<li class="logout"><a class="logout" href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')" title="$vbphrase[log_out]"><span>$vbphrase[log_out]</span></a></li>
<else />
<li class="t_regiser"><a class="t_regiser" href="register.php$session[sessionurl_q]" rel="nofollow" title="$vbphrase[register]"><span>$vbphrase[register]</span></a></li>
</if>
</ul>
<div id="th_left">
<if condition="$show['member']">
<div class="smallfont">
<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']">
<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>
<else />
<!-- 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 id="inp_pad">
<input type="text" class="bginputs" style="font-size: 10px;float:left;width:116px;" name="vb_login_username" id="navbar_username" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" />
<input type="password" class="bginputs" style="font-size: 10px;float:left;width:116px;margin-left:6px;" name="vb_login_password" accesskey="p" tabindex="102" value="$vbphrase[password]" onfocus="if (this.value == '$vbphrase[password]') this.value = '';" />
<input type="image" src="/designs/cyberhype/go.gif" alt="$vbphrase[log_in]" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" />
<div style="font-size: 10px;"><label for="cb_cookieuser_navbar"><input type="checkbox" class="inlineimg" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></div>

<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" /></div>
</form>
<!-- / login form -->
</if>
</div>
</div>
</div>
</div>
<div id="mhead_bg">
<div id="mhead_right">
<form action="search.php" method="post">
<div id="mhead_left1">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="0" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="s" value="" />
<input type="text" style="font-size: 10px;width:130px;margin:14px 0 0 102px;" class="bginputs" name="query" value="$vbphrase[search]" onfocus="if (this.value == '$vbphrase[search]') this.value = '';" />
</div>
<input style="float:left;" type="image" src="/designs/cyberhype/cy_10.gif" alt="$vbphrase[go]" value="$vbphrase[go]" title="$vbphrase[go]" />
</form>
<div id="mhead_left2"></div>
</div>
</div>
<div id="bheader_bg">
<div id="faq"><a class="faq" href="faq.php$session[sessionurl_q]" accesskey="5" title="$vbphrase[faq]" ><span>$vbphrase[faq]</span></a></div>
<div id="bheader_left">
<ul id="listb">
<li class="forum"><a class="forum" href="index.php" title="Forum"><span>Forum</span></a></li>
<if condition="$show['member']">
<li class="usercp"><a class="usercp" href="usercp.php$session[sessionurl_q]" title="$vbphrase[user_cp]"><span>$vbphrase[user_cp]</span></a></li>
</if>
<if condition="$show['registerbutton']">
<li class="register"><a class="register" href="register.php$session[sessionurl_q]" rel="nofollow" title="$vbphrase[register]"><span>$vbphrase[register]</span></a></li>
</if>
<li class="member"><a class="member" href="memberlist.php$session[sessionurl_q]" title="$vbphrase[members_list]"><span>$vbphrase[members_list]</span></a></li>
<li class="calendar"><a class="calendar" href="calendar.php$session[sessionurl_q]" title="$vbphrase[calendar]"><span>$vbphrase[calendar]</span></a></li>
<li class="search"><span id="navbar_search"><a class="search" href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow" title="$vbphrase[search]"><span class="e_h">$vbphrase[search]</span></a></span> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search", true); </script></if> </li>
</ul>
</div>
</div>
<!-- /Header -->
<div id="tborder_bg">
<div id="tborder_left">
<div id="tborder_right">
</div>
</div>
</div>
<div id="b_left">
<div id="b_right">
<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]

HxC
07-12-2008, 10:08 PM
Why don't you ask at the place from which you purchased the skin?...

I've highlighted the Login/Member section in red:

<!-- Header -->
<a id="top"></a>
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else /></if>
<div id="tophead_bg">
<div id="tophead_left">
<div id="tophead_right">
<ul id="listt">
<if condition="$show['member']">
<li class="menu"> <span id="usercptools"><a class="menu" href="$show[nojs_link]#usercptools" title="$vbphrase[quick_links]"> <span class="e_h">$vbphrase[quick_links]</span></a> <script type="text/javascript"> vbmenu_register("usercptools", true); </script> </span></li>
<else />
<li class="menu_guest"><span id="usercptools1"><a class="menu_guest" href="$show[nojs_link]#usercptools" title="$vbphrase[quick_links]"> <span class="e_h">$vbphrase[quick_links]</span></a> <script type="text/javascript"> vbmenu_register("usercptools1", true); </script> </span></li>
</if>
<if condition="$show['member']">
<li class="n_post"><a class="n_post" href="search.php?$session[sessionurl]do=getnew" title="$vbphrase[new_posts_nav]" rel="nofollow"><span>$vbphrase[new_posts_nav]</span></a></li>
<else />
<li class="d_post"><a class="d_post" href="search.php?$session[sessionurl]do=getdaily" title="$vbphrase[todays_posts]" rel="nofollow"><span>$vbphrase[todays_posts]</span></a></li>
</if>
<if condition="$show['member']">
<li class="logout"><a class="logout" href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')" title="$vbphrase[log_out]"><span>$vbphrase[log_out]</span></a></li>
<else />
<li class="t_regiser"><a class="t_regiser" href="register.php$session[sessionurl_q]" rel="nofollow" title="$vbphrase[register]"><span>$vbphrase[register]</span></a></li>
</if>
</ul>
<div id="th_left">
<if condition="$show['member']">
<div class="smallfont">
<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']">
<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>
<else />
<!-- 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 id="inp_pad">
<input type="text" class="bginputs" style="font-size: 10px;float:left;width:116px;" name="vb_login_username" id="navbar_username" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" />
<input type="password" class="bginputs" style="font-size: 10px;float:left;width:116px;margin-left:6px;" name="vb_login_password" accesskey="p" tabindex="102" value="$vbphrase[password]" onfocus="if (this.value == '$vbphrase[password]') this.value = '';" />
<input type="image" src="/designs/cyberhype/go.gif" alt="$vbphrase[log_in]" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" />
<div style="font-size: 10px;"><label for="cb_cookieuser_navbar"><input type="checkbox" class="inlineimg" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></div>

<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" /></div>
</form>
<!-- / login form -->
</if>
</div>
</div>
</div>
</div>
<div id="mhead_bg">
<div id="mhead_right">
<form action="search.php" method="post">
<div id="mhead_left1">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="0" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="s" value="" />
<input type="text" style="font-size: 10px;width:130px;margin:14px 0 0 102px;" class="bginputs" name="query" value="$vbphrase[search]" onfocus="if (this.value == '$vbphrase[search]') this.value = '';" />
</div>
<input style="float:left;" type="image" src="/designs/cyberhype/cy_10.gif" alt="$vbphrase[go]" value="$vbphrase[go]" title="$vbphrase[go]" />
</form>
<div id="mhead_left2"></div>
</div>
</div>
<div id="bheader_bg">
<div id="faq"><a class="faq" href="faq.php$session[sessionurl_q]" accesskey="5" title="$vbphrase[faq]" ><span>$vbphrase[faq]</span></a></div>
<div id="bheader_left">
<ul id="listb">
<li class="forum"><a class="forum" href="index.php" title="Forum"><span>Forum</span></a></li>
<if condition="$show['member']">
<li class="usercp"><a class="usercp" href="usercp.php$session[sessionurl_q]" title="$vbphrase[user_cp]"><span>$vbphrase[user_cp]</span></a></li>
</if>
<if condition="$show['registerbutton']">
<li class="register"><a class="register" href="register.php$session[sessionurl_q]" rel="nofollow" title="$vbphrase[register]"><span>$vbphrase[register]</span></a></li>
</if>
<li class="member"><a class="member" href="memberlist.php$session[sessionurl_q]" title="$vbphrase[members_list]"><span>$vbphrase[members_list]</span></a></li>
<li class="calendar"><a class="calendar" href="calendar.php$session[sessionurl_q]" title="$vbphrase[calendar]"><span>$vbphrase[calendar]</span></a></li>
<li class="search"><span id="navbar_search"><a class="search" href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow" title="$vbphrase[search]"><span class="e_h">$vbphrase[search]</span></a></span> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search", true); </script></if> </li>
</ul>
</div>
</div>
<!-- /Header -->
<div id="tborder_bg">
<div id="tborder_left">
<div id="tborder_right">
</div>
</div>
</div>
<div id="b_left">
<div id="b_right">
<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]


I would, but the site is all German.

Thanks for your help.

Edit: Okay, now the login box/notification area is gone. But, the gray background it was on is still there. Know how I can remove this?

Attitude5ire
07-13-2008, 12:24 AM
even if u remove i think there has to be some background which merges into header.. see if u have the PSD where u bought it from.. improvise.. you need cover that area with the header theme slice that image and put that there.. or make a gradient or something.

KatieG
07-13-2008, 03:23 AM
I would, but the site is all German.




Google translate !!!!!! :rolleyes:

HxC
07-13-2008, 04:03 AM
even if u remove i think there has to be some background which merges into header.. see if u have the PSD where u bought it from.. improvise.. you need cover that area with the header theme slice that image and put that there.. or make a gradient or something.

I have the gradient that the rest of the header uses, I was thinking if I removed that image it would run through that area on its own, if not I have the gradient.

Google translate !!!!!! :rolleyes:

Write an English support question, translate to German and post. Then get a German answer, translate back to English and so on?

I'd much rather post here :P

HxC
07-15-2008, 05:39 PM
Okay, now the login box/notification area is gone. But, the gray background it was on is still there. Now how I can remove this?

Anyone?

Edit: Never mind, I simply removed a CSS class and it removed it.

Thanks for your help everyone.