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: Bad language reported in member info

  1. #1

    Exclamation Bad language reported in member info

    When looking in member info the default language used by a member, it shows the forum default language flag instead of the user language language flag. But if I look in the admincp, the user default language is correctly set!

    This is very weird because look at the tests I have made.

    If I login with my admin account which use the forum default language in vbet, I will see the wrong flag for the other user but if I change my admin account in order to use the same language as for the other user's, then I will see the good flag for the other user in member info.

    So, there is for sure a problem there...
    Last edited by Cybershaolin; 02-12-09 at 04:37.

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

    Default

    It looks like we used viewer data instead of showed member data I will check it - thanks for note.

  3. #3

    Default

    What about if I don't want to wait for the next update in order to correct this problem since it's a bug? Is this something I could correct simply by changing something in a module or anything else that could be easy for me to do? Could you give me some instructions how to correct this issue. It's because it's showing the wrong information on my site and I would like to correct this without knowing the next releade date of the future version.

  4. #4

    Default

    So, is it possible to get a clue how to resolve this not by myself?

  5. #5

    Default

    If new release is not to be soon, ca I get a clue how to fix this now if it's simple to do?

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

    Default

    Please give me few minutes I will have to make changes test it and I will publish quick fix instructions (of course in 3.3.0 it will work without any fixing ).

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

    Default

    If you want to fix it before 3.3.0 release, please fallow instructions:

    1. Go to Admin CP -> Plugins & products -> Plugin Manager
    2. Find and go to plugin: "Add default language info into member description"
    3. Change hook to "member_execute_start"
    4. Change plugin body to code below and save

    PHP Code:
    if ($userinfo['vbet_def_lang']) {
      require_once(
    DIR'/includes/vbenterprisetranslator_functions_url.php');
      
    $vbulletin->templatecache['postbit_onlinestatus'] .= '<img src=\"images/vbet/flags/'
      
    .$userinfo['vbet_def_lang'].'.gif\" alt=\"'
      
    .$vbphrase['vbenterprisetranslator_default_language'].vbet_getLanguage($userinfo['vbet_def_lang']).'\" border=\"0\"/>';


  8. #8

    Default

    Thanks vBET, this is really appreciated. Will test this out.

  9. #9

    Default

    Working as expected! Great. Again, Thanks a lot!

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
  •