vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Languge Chose Navbar (https://vborg.vbsupport.ru/showthread.php?t=99106)

Reminder 10-22-2005 09:00 PM

Languge Chose Navbar
 
Edit your navbar template, find

Find:
HTML Code:

        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
        <tr align="center">

Below this code:

HTML Code:

<td id="newlinkx" class="vbmenu_control"><a href="?langid=1">Language</a> <script type="text/javascript"> vbmenu_register("newlinkx"); </script></td>
Find:


HTML Code:

<!-- / NAVBAR POPUP MENUS -->
Above this code :

HTML Code:

<!-- / new link menu -->
<div class="vbmenu_popup" id="newlinkx_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">

<tr><td class="vbmenu_option"><img class="inlineimg" src="images/misc/TR.gif" border="0"><a href="?langid=3"> Turkish</a></td></tr>

<tr><td class="vbmenu_option"><img class="inlineimg" src="images/misc/EN.gif" border="0"><a href="?langid=1"> English</a></td></tr>

<tr><td class="vbmenu_option"><img class="inlineimg" src="images/misc/GE.gif" border="0"><a href="?langid=5"> Dutch</td></tr>

</table>
</div>
<!-- / new link menu -->

Thanks : http://www.zerorelax.com/forum/
MidNight_TR

rb290 10-23-2005 06:21 PM

just available for those 3 languages ?
anyway to get any language you want ?

Rhoads 10-23-2005 08:34 PM

Nice, but you have the wrong flag for the dutch :p

sensimilla 10-24-2005 06:09 AM

thanks nice hack :)

Reminder 10-24-2005 07:05 AM

Quote:

Originally Posted by drl2005
Nice, but you have the wrong flag for the dutch :p

Opppsss...

Sory. :)

GrendelKhan{TSU 10-24-2005 07:45 AM

Quote:

Originally Posted by rb290
just available for those 3 languages ?
anyway to get any language you want ?


what he said.

(though looking at the code...it looks pretty easy to add whatever language coodinates to whatever language id is on our respective forums ;) --and gotta get the coordinating flag of course. :p )


All times are GMT. The time now is 07:41 PM.

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.01784 seconds
  • Memory Usage 1,728KB
  • 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
  • (4)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete