Tabs

User avatar
spaceace
Site Owner
Posts: 991
Joined: Wed Dec 16, 2009 8:30 pm
Location: Ontario, Canada
Flag: Canada

Re: Tabs

Post by spaceace »

you would use an IF statement...
Code: Select all
<!-- IF not S_USER_LOGGED_IN -->button code here<!-- ENDIF -->
this would show to anyone that is not logged in as long as it's not within <!-- IF S_USER_LOGGED_IN --> IF statement ;)
Last edited by spaceace on Tue Feb 26, 2013 10:29 am, edited 2 times in total.

if you like my work and would like to contribute to my development of styles, please donate by using the donate button in the header.

Image

Need hosting? Click this text to check out ICDSOFT

User avatar
itsallaboutmusic
Donor
Posts: 102
Joined: Wed Dec 15, 2010 8:42 pm

Re: Tabs

Post by itsallaboutmusic »

Did it as you instructed and it did not show and it stopped showing for registered users as well.

Code: Select all
<div id="info">
	<ul class="menu">
		<!-- IF not S_IS_BOT -->
			<li><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></li>
			<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) -->
				<li><a href="{U_REGISTER}"><strong>{L_REGISTER}</strong></a></li>
			<!-- ENDIF -->
		<!-- ENDIF -->
		<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
			<!-- IF S_DISPLAY_PM -->
				<li><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a></li>
			<!-- ENDIF -->
			
			<li><a href="{U_ARCADE}" title="{L_ARCADE_EXPLAIN}">{L_ARCADE}</a></li>
			
			<li><a href="{U_CHALLENGE}" title="Arcade Challange">Arcade Challange</a></li>
			

                       <!-- IF not S_USER_LOGGED_IN -->
			<li><a href="{U_INDEX}" title="{L_INDEX}">{L_FORUM_INDEX}</a></li>
			<!-- ENDIF -->
			
			<!-- IF S_MCHAT_ENABLE and U_MCHAT -->
			<li><a href="{U_MCHAT}#mChat" title="Chat">Chat</a></li>
			<!-- ENDIF -->
			
			<li><a href="#">Control Panel<!--[if gte IE 7]><!--></a><!--<![endif]-->
			<!--[if lte IE 6]><table><tr><td><![endif]-->
				<div class="holder p1">
					<div class="slide">
						<dl>
							<dt>{L_USERS}</dt>
								<dd><a href="{U_PROFILE}">{L_PROFILE}</a></dd>
							<!-- IF U_MCP -->
								<dt>{L_MODERATORS}</dt>
									<dd><a href="{U_MCP}">{L_MCP}</a></dd>
									<!-- IF U_MCP_FORUM -->
										<dd><a href="{U_MCP_FORUM}">{L_MODERATE_FORUM}</a></dd>
									<!-- ENDIF -->
									<!-- IF U_MCP_TOPIC -->
										<dd><a href="{U_MCP_TOPIC}">{L_MODERATE_TOPIC}</a></dd>
									<!-- ENDIF -->
									<!-- IF U_MCP_POST -->
										<dd><a href="{U_MCP_POST}">{L_MODERATE_POST}</a></dd>
									<!-- ENDIF -->									
							<!-- ENDIF -->
							<!-- IF U_ACP -->
								<dt>{L_ADMINISTRATORS}</dt>
									<dd><a href="{U_ACP}">{L_ACP}</a></dd>
							<!-- ENDIF -->
						</dl>
						<br class="clear" />
					</div>
				</div>
			<!--[if lte IE 6]></td></tr></table></a><![endif]-->
			</li>
		<!-- IF U_RESTORE_PERMISSIONS -->
			<li><a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a></li>
		<!-- ENDIF -->
		<!-- ENDIF -->
		
		<li><a href="{U_DONATE}" title="{L_DONATE_EXPLAIN}">{L_DONATE}</a></li>			
		
		<li><a href="#">Forum Information<!--[if gte IE 7]><!--></a><!--<![endif]-->
		<!--[if lte IE 6]><table><tr><td><![endif]-->
			<div class="holder p1">
				<div class="slide">
					<dl>
						<dt>{L_INFORMATION}</dt>
							<dd><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></dd>
								<!-- IF S_DISPLAY_MEMBERLIST -->
									<dd><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></dd>
								<!-- ENDIF -->
						<!-- IF not S_IS_BOT and U_MARK_FORUMS or U_MARK_TOPICS -->
							<dt>{L_MARK}</dt>
								<!-- IF not S_IS_BOT and U_MARK_FORUMS -->
									<dd><a href="{U_MARK_FORUMS}">{L_MARK_FORUMS_READ}</a></dd>
								<!-- ENDIF -->
								<!-- IF not S_IS_BOT and U_MARK_TOPICS -->
									<dd><a href="{U_MARK_TOPICS}">{L_MARK_TOPICS_READ}</a></dd>
								<!-- ENDIF -->
						<!-- ENDIF -->
					</dl>
					<br class="clear" />
				</div>
			</div>
				
		<!--[if lte IE 6]></td></tr></table></a><![endif]-->
		</li>
		
			 <!-- IF U_PORTAL -->
			 <li><a href="{U_PORTAL}">{L_PORTAL}</a> 
			 <!-- ENDIF -->
		
		<!-- IF S_DISPLAY_SEARCH -->
		<li><a href="#">{L_SEARCH}<!--[if gte IE 7]><!--></a><!--<![endif]-->
			<!--[if lte IE 6]><table><tr><td><![endif]-->
				<div class="holder p1">
					<div class="slide">
						<dl>
							<dt>{L_SEARCH_FOR}</dt>
									<!-- IF S_USER_LOGGED_IN --><dd><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></dd><!-- ENDIF -->
									<!-- IF S_LOAD_UNREADS --><dd><a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a></dd><!-- ENDIF -->
									<!-- IF S_USER_LOGGED_IN --><dd><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></dd><!-- ENDIF -->
									<dd><a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></dd>
									<dd><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a></dd>
								<!-- IF not S_IN_SEARCH -->
									<dt>{L_SEARCH_ADV}</dt>
										<dd><a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a></dd>
								<!-- ENDIF -->								
						</dl>
						<br class="clear" />
					</div>
				</div>
			<!--[if lte IE 6]></td></tr></table></a><![endif]-->
		</li>
		<!-- ENDIF -->
		

<!-- IF S_VIEW_STATS -->
<li><a href="{U_STATS}" title="{L_STATS_EXPLAIN}">{L_STATISTICS}</a></li>
<!-- ENDIF -->

 
		
	</ul>
</div>
Last edited by itsallaboutmusic on Tue Feb 26, 2013 10:29 am, edited 2 times in total.

User avatar
spaceace
Site Owner
Posts: 991
Joined: Wed Dec 16, 2009 8:30 pm
Location: Ontario, Canada
Flag: Canada

Re: Tabs

Post by spaceace »

ok, taking the menu in it's original state, let me know how you want the new buttons to show and who you want them displayed to.

this way, i can add them and you can see exactly what changes i make ;)
Last edited by spaceace on Tue Feb 26, 2013 10:29 am, edited 2 times in total.
if you like my work and would like to contribute to my development of styles, please donate by using the donate button in the header.

Image

Need hosting? Click this text to check out ICDSOFT

User avatar
itsallaboutmusic
Donor
Posts: 102
Joined: Wed Dec 15, 2010 8:42 pm

Re: Tabs

Post by itsallaboutmusic »

I want them in that same order they are placed as I want them.

Thanks :)
Last edited by itsallaboutmusic on Tue Feb 26, 2013 10:29 am, edited 3 times in total.

User avatar
spaceace
Site Owner
Posts: 991
Joined: Wed Dec 16, 2009 8:30 pm
Location: Ontario, Canada
Flag: Canada

Re: Tabs

Post by spaceace »

try this one
Code: Select all
<div id="info">
   <ul class="menu">
      <!-- IF not S_IS_BOT -->
         <li><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></li>
         <!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) -->
            <li><a href="{U_REGISTER}"><strong>{L_REGISTER}</strong></a></li>
         <!-- ENDIF -->
      <!-- ENDIF -->
      <!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
         <!-- IF S_DISPLAY_PM -->
            <li><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a></li>
         <!-- ENDIF -->
         
         <li><a href="{U_ARCADE}" title="{L_ARCADE_EXPLAIN}">{L_ARCADE}</a></li>
         
         <li><a href="{U_CHALLENGE}" title="Arcade Challange">Arcade Challange</a></li>
         <!-- ENDIF -->

         <li><a href="{U_INDEX}" title="{L_INDEX}">{L_FORUM_INDEX}</a></li>

         <!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
         <!-- IF S_MCHAT_ENABLE and U_MCHAT -->
         <li><a href="{U_MCHAT}#mChat" title="Chat">Chat</a></li>
         <!-- ENDIF -->
         
         <li><a href="#">Control Panel<!--[if gte IE 7]><!--></a><!--<![endif]-->
         <!--[if lte IE 6]><table><tr><td><![endif]-->
            <div class="holder p1">
               <div class="slide">
                  <dl>
                     <dt>{L_USERS}</dt>
                        <dd><a href="{U_PROFILE}">{L_PROFILE}</a></dd>
                     <!-- IF U_MCP -->
                        <dt>{L_MODERATORS}</dt>
                           <dd><a href="{U_MCP}">{L_MCP}</a></dd>
                           <!-- IF U_MCP_FORUM -->
                              <dd><a href="{U_MCP_FORUM}">{L_MODERATE_FORUM}</a></dd>
                           <!-- ENDIF -->
                           <!-- IF U_MCP_TOPIC -->
                              <dd><a href="{U_MCP_TOPIC}">{L_MODERATE_TOPIC}</a></dd>
                           <!-- ENDIF -->
                           <!-- IF U_MCP_POST -->
                              <dd><a href="{U_MCP_POST}">{L_MODERATE_POST}</a></dd>
                           <!-- ENDIF -->                           
                     <!-- ENDIF -->
                     <!-- IF U_ACP -->
                        <dt>{L_ADMINISTRATORS}</dt>
                           <dd><a href="{U_ACP}">{L_ACP}</a></dd>
                     <!-- ENDIF -->
                  </dl>
                  <br class="clear" />
               </div>
            </div>
         <!--[if lte IE 6]></td></tr></table></a><![endif]-->
         </li>
      <!-- IF U_RESTORE_PERMISSIONS -->
         <li><a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a></li>
      <!-- ENDIF -->
      <!-- ENDIF -->
      
      <li><a href="{U_DONATE}" title="{L_DONATE_EXPLAIN}">{L_DONATE}</a></li>         
      
      <li><a href="#">Forum Information<!--[if gte IE 7]><!--></a><!--<![endif]-->
      <!--[if lte IE 6]><table><tr><td><![endif]-->
         <div class="holder p1">
            <div class="slide">
               <dl>
                  <dt>{L_INFORMATION}</dt>
                     <dd><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></dd>
                        <!-- IF S_DISPLAY_MEMBERLIST -->
                           <dd><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></dd>
                        <!-- ENDIF -->
                  <!-- IF not S_IS_BOT and U_MARK_FORUMS or U_MARK_TOPICS -->
                     <dt>{L_MARK}</dt>
                        <!-- IF not S_IS_BOT and U_MARK_FORUMS -->
                           <dd><a href="{U_MARK_FORUMS}">{L_MARK_FORUMS_READ}</a></dd>
                        <!-- ENDIF -->
                        <!-- IF not S_IS_BOT and U_MARK_TOPICS -->
                           <dd><a href="{U_MARK_TOPICS}">{L_MARK_TOPICS_READ}</a></dd>
                        <!-- ENDIF -->
                  <!-- ENDIF -->
               </dl>
               <br class="clear" />
            </div>
         </div>
            
      <!--[if lte IE 6]></td></tr></table></a><![endif]-->
      </li>
      
          <!-- IF U_PORTAL -->
          <li><a href="{U_PORTAL}">{L_PORTAL}</a>
          <!-- ENDIF -->
      
      <!-- IF S_DISPLAY_SEARCH -->
      <li><a href="#">{L_SEARCH}<!--[if gte IE 7]><!--></a><!--<![endif]-->
         <!--[if lte IE 6]><table><tr><td><![endif]-->
            <div class="holder p1">
               <div class="slide">
                  <dl>
                     <dt>{L_SEARCH_FOR}</dt>
                           <!-- IF S_USER_LOGGED_IN --><dd><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></dd><!-- ENDIF -->
                           <!-- IF S_LOAD_UNREADS --><dd><a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a></dd><!-- ENDIF -->
                           <!-- IF S_USER_LOGGED_IN --><dd><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></dd><!-- ENDIF -->
                           <dd><a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></dd>
                           <dd><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a></dd>
                        <!-- IF not S_IN_SEARCH -->
                           <dt>{L_SEARCH_ADV}</dt>
                              <dd><a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a></dd>
                        <!-- ENDIF -->                        
                  </dl>
                  <br class="clear" />
               </div>
            </div>
         <!--[if lte IE 6]></td></tr></table></a><![endif]-->
      </li>
      <!-- ENDIF -->
      

<!-- IF S_VIEW_STATS -->
<li><a href="{U_STATS}" title="{L_STATS_EXPLAIN}">{L_STATISTICS}</a></li>
<!-- ENDIF -->


      
   </ul>
</div>
Last edited by spaceace on Tue Feb 26, 2013 10:29 am, edited 2 times in total.
if you like my work and would like to contribute to my development of styles, please donate by using the donate button in the header.

Image

Need hosting? Click this text to check out ICDSOFT