MyPHP-Language Dropdown 3.0.0

99.NiNE

New Member
+ About
Language Dropdown is a good looking dropdown panel to select your forum languages.
It will select the coutry -flag, -name and -code.


+ Install
  1. Upload the 'product-myphp_langdd.xml' via your Admin CP
    Plugins & Products » Manage Products » Add/Import Product
  2. Now all we need to do is some template modification,
    Follow the instructions below.
Template: NAVBAR

Find
HTML:
<!-- / user cp tools menu -->

Add Below
HTML:
  <div class="vbmenu_popup" id="navbar_langdd_menu" style="display:none">
   <table cellpadding="0" cellspacing="1" border="0">
    <tr><td class="thead">$vbphrase[langdd_language]</td></tr>
    <tr><td>$MyPHP[langdd]</td></tr>
   </table>
  </div>

Template: HEADER
Find
HTML:
<if condition="$show['member']">
    <td id="usercptools" class="h_nav"><a href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links] </a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>

Add Above
HTML:
<td id="navbar_langdd" class="h_nav"><a href="#">$vbphrase[langdd_language]</a> <script type="text/javascript"> vbmenu_register("navbar_langdd"); </script></td>
            <td><img src="$stylevar[imgdir_misc]/nav_div.gif" alt="" /></td>

+ Version Information
3.0.0 - Ported to vBulletin 3.7.X
2.0.0 - Edit the style and PHP Code a little bit.
1.0.1 - Updated the XML file, Language Dropdown is now a product.
1.0.0 - The first public release., for vBulletin 3.6.X
 
Back
Top