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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-12-2008, 05:20 PM
HxC HxC is offline
 
Join Date: Sep 2007
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Removing something from the header

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:
Code:
<!-- 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.
Reply With Quote
 


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 01:34 AM.


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.06872 seconds
  • Memory Usage 2,546KB
  • Queries Executed 12 (?)
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
  • (3)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)showthread_list
  • (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_threadedmode.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_threaded
  • showthread_threaded_construct_link
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete