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 2 of 2

Thread: vBET 4.4.6 and 3.5.4 Released

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

    Default vBET 4.4.6 and 3.5.4 Released

    Hello

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

    New:
    • 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 options
      This will be mostly helpful for new users. vBET validates some configuration parameters set in Admin CP.


    Bugs Corrected:

  2. #2
    Retired ;)
    Join Date
    Aug 2011
    Posts
    441

    Default

    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 17: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
  •