vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Twin Top navbar buttons (https://vborg.vbsupport.ru/showthread.php?t=120108)

AHMUDEM 07-01-2006 09:00 PM

Twin Top navbar buttons
 
navbar templates edit,

find;
PHP Code:

<script type="text/javascript">
<!--
function 
log_out()
{
    
ht document.getElementsByTagName("html");
    
ht[0].style.filter "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
    if (
confirm('$vbphrase[sure_you_want_to_log_out]'))
    {
        return 
true;
    }
    else
    {
        
ht[0].style.filter "";
        return 
false;
    }
}
//-->
</script>

<
br /> 

below add

PHP Code:

<!-- twin top nav buttons bar 1--> 
<
div align="center"
    <
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="0" border="0" width="100%" align="center" style="border-bottom-width:0px"
    <
tr align="center"
       <
td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td
        <
td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td
        <if 
condition="$show['member']"
        <
td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=process&showposts=0&starteronly=1&exactname=1&searchuser=$bbuserinfo[username]">Ba&#351;lattığım Konular</a></td> 
        
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=process&showposts=0&exactname=1&searchuser=$bbuserinfo[username]">Cevaplad&#305;ğım Konular</a></td> 
        
</if> 
    </
tr
    </
table
</
div
<!-- / 
twin top nav buttons bar 1 -->
<!-- 
twin top nav buttons bar 2--> 
<
div align="center"
    <
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="0" border="0" width="100%" align="center" style="border-bottom-width:0px"
    <
tr align="center"
        
<
td class="vbmenu_control"><a href="http://www.URL link 1.com" target=_blank>Link 1</a></td>

<
td class="vbmenu_control"><a href="http://www.URL link 2.com"target=_blank>Link 2</a></td>

<
td class="vbmenu_control"><a href="http://www.URL link 3.com" target=_blank>Link3</a></td>




        </if> 
    </
tr
    </
table
</
div
<!-- / 
twin top nav buttons bar 2--> 


AHMUDEM 07-02-2006 11:00 AM

to apologize,

this change codes you links

PHP Code:

<td class="vbmenu_control"><a href="http://www.URL link 1.com" target=_blank>Link 1</a></td


katilkuzu 07-02-2006 02:02 PM

cool :D thank you i ll install

teşekk?rler dostum :)

Atakan KOC 07-02-2006 03:53 PM

Thanks.

sam anders 07-07-2006 05:49 AM

does this add just a second nav bar under the original or does this replace the original as well?

peterska2 07-07-2006 05:53 AM

Please attach the instructions in a text file to your release. Thank you.

AHMUDEM 07-21-2006 01:30 AM

Quote:

Originally Posted by sam anders
does this add just a second nav bar under the original or does this replace the original as well?

very easy change code. no orginal to spoil.

Eagle Creek 08-12-2006 09:48 PM

I dont understand the screenshot?

I want to have a:
MENU
INFO = LOGIN BOX
MENU

AHMUDEM 08-15-2006 09:48 AM

<font color="Red">MENU
MENU
</font>
INFO = LOGIN BOX
MENU

kazido 08-16-2006 08:54 AM

Just installed this on 3.6. All seems great.

Pretty easy to do, even for me! :)

just want to know, the links second row down, ie Link 1, Link2, Link 3....they all open in a new window, how can I change to open the current page.

I want to add links to my site for extra stuff like stats, googlemap, sponsors etc.

Thx, cheers :)


All times are GMT. The time now is 04:56 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.01764 seconds
  • Memory Usage 1,761KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete