Bestel nou! Kenmerke Downloads
Resultate 1 to 2 van 2

Thread: vBET 4.4.6 en 3.5.4 Released

  1. # 1
    Michał Podbielski (vBET Personeel) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    2720
    Blog Entries
    1

    Standaard vBET 4.4.6 en 3.5.4 Released

    Hallo

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

    Nuut:
    • 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 Admin CP -> vBET Cache -> Guest Cache -> Full archive Guest Cache
    • Validation for some vBET opsies
      This will be mostly helpful for new users. vBET validates some configuration parameters set in Admin CP.

    Bugs gerectificeerd:

  2. # 2
    vBulletin Enterprise Translator (vBET) Personeel
    Join Date
    Aug 2011
    Posts
    427

    Standaard

    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