Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Results 1 to 9 of 9

Thread: Flags sorting

  1. #1

    Question Flags sorting

    Could there be a way to allow us to sort the flags in the way we want them to appear in adminCP, I mean as an option?

  2. #2
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    I think it is possible. Where it should be included - for all places where flags are displayed (drop-down menu, flags, registration form)?

  3. #3

    Default

    Yep, everywhere would be super.

  4. #4
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    OK, it will be

  5. #5

    Default

    Where is this option in 3.3.1? This was asked in November so I guessed it was going to be included as you said.

  6. #6
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Hi. No it is not included yet. Sorry - we made 3.3.0 release faster that it was planned and 3.3.1 was only bug fixing release.

    Until we include flags sorting in official release you can use this solution:
    1. Open /includes/vbenterprisetranslator_functions_lang.php
    2. Find:
    Code:
    $vbet_SupportedTranslations = array ('af'=>'Afrikaans','sq'=>'Albanian','ar'=>'Arabic', 'be'=>'Belarusian','bg'=>'Bulgarian','ca'=>'Catalan','zh-CN'=>'Chinese','hr'=>'Croatian','cs'=>'Czech','da'=>'Danish','nl'=>'Dutch','en'=>'English','et'=>'Estonian','tl'=>'Filipino','fi'=>'Finnish','fr'=>'French','gl'=>'Galician','de'=>'German','el'=>'Greek','iw'=>'Hebrew','hi'=>'Hindi','hu'=>'Hungarian','is'=>'Icelandic','id'=>'Indonesian','ga'=>'Irish','it'=>'Italian','ja'=>'Japanese','ko'=>'Korean','lv'=>'Latvian','lt'=>'Lithuanian','mk'=>'Macedonian','ms'=>'Malay','mt'=>'Maltese','no'=>'Norwegian', 'fa' => 'Persian', 'pl'=>'Polish','pt'=>'Portuguese','ro'=>'Romanian','ru'=>'Russian','sr'=>'Serbian','sk'=>'Slovak','sl'=>'Slovenian','es'=>'Spanish','sw'=>'Swahili','sv'=>'Swedish','zh-TW'=>'Taiwanese','th'=>'Thai','tr'=>'Turkish','uk'=>'Ukrainian','vi'=>'Vietnamese','cy'=>'Welsh','yi'=>'Yiddish');
    3. Change order of pairs.

    Once again sorry that it wasn't included yet

  7. #7

    Default

    OH, I see. OK then. Anyhow, thanks for the temporary solution.

  8. #8
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    I wonder about performance issues - sorting each time is not to efficient. When we have change to just change it in code. I understand that it is not to nice to change code, but it is much better for performance and it seems that not much users really needs to sort their flags by Admin CP.

    I change its status again into "In consideration". If somebody else also needs to have it configurable please give your vote here. If it is really needed we will support it. If it is not needed for more users, we will stay on quick fix solution. Is it OK for you Cybershaolin?

  9. #9
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    No reply and no other voices - so at this moment this request is considered rejected and supported only as simple code modification.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •