Купіць зараз! Асаблівасці Загрузка
Паказана з 1 па 2 з 2

Тэма: vBET 4.4.6 і 3.5.4 выхаду

  1. # 1
    Міхал Podbielski (vBET штаба) vBET Аватар
    Рэгістрацыя
    Кастрычніка 2009 г.
    Паведамленняў
    2720
    Запісы ў дзённіку
    1

    Змаўчанне vBET 4.4.6 і 3.5.4 выхаду

    Прывітанне

    Today we have bug fixing releases for 3.x and 4.x. Also some little improvements - details below.

    Новае:
    • Guest Cache active also for logged users on Archive pages.
      We figured our that archive looks same no matter what privileges users have. So we can use here Full File Guest Cache. In case if it is not appropriate for your forum you can disable it by Панэль адміністратара -> vBET Cache -> Guest Cache -> Full archive Guest Cache
    • Validation for some vBET опцыі
      This will be mostly helpful for new users. vBET validates some configuration parameters set in Admin CP.

    Памылак Выпраўлена:

  2. # 2
    VBulletin прадпрыемства Перакладчык (vBET) персанал
    Рэгістрацыя
    Жнівень 2011
    Паведамленняў
    429

    Змаўчанне

    Here is an additonal quickfix for users with PHP version < 5.2.0. If you have newer version of PHP than 5.2.0 instaled on your server, you don't have to make any changes.

    In file:
    Code:
    forum root -> includes -> vbenterprisetranlator_class_translator.php
    Find (it should begin near line 472) :
    PHP Code:
    $token =  json_decode (curl_exec($obj_connection));
    self::$token_ttl time() + ($token->{'expires_in'});
    self::$token 'Authorization: Bearer '.$token->{'access_token'};
    curl_close($obj_connection);
    return 
    'Authorization: Bearer '.$token->{'access_token'}; 
    and replace it with:
    PHP Code:
    $fulltoken =  curl_exec($obj_connection);       
    preg_match('/{"access_token":"(.*?)"/'$fulltoken$token);
    preg_match('/"expires_in":"(.*?)"/'$fulltoken$expires);         
    self::$token_ttl time() + $expires[1];
    self::$token 'Authorization: Bearer '.$token[1];
    curl_close($obj_connection); 
    return 
    'Authorization: Bearer '.$token[1]; 
    Last edited by r.dziadusz; 18-01-12 at 16:21.

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27