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

Thread: Use Full File Cache For Guests (BETA!)

  1. #1

    Default Use Full File Cache For Guests (BETA!)

    when this is turned on guests cant choose style

  2. #2
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    ok, confirmed.
    I reproduced it on my test forum. Now we will work on a solution. We will try to fix it.

  3. #3

    Default

    any fix for this ? i need to use this cache option instead of the db

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

    Default

    Yes. It is already solved and will be included in next release. For quick fix:
    1. Edit file /includes/vbenterprisetranslator_functions_guestcache.php
    2. Find:
    PHP Code:
    return DIR.'/'.VBET_GUEST_CACHE_DIR.'/'.($_REQUEST['language'] ? $_REQUEST['language'] : $vbulletin->options['vbenterprisetranslator_forumlanguage']).'/'.$filename.'.html'
    3. Replace by:
    PHP Code:
    return DIR.'/'.VBET_GUEST_CACHE_DIR.'/'.($_REQUEST['language'] ? $_REQUEST['language'] : $vbulletin->options['vbenterprisetranslator_forumlanguage']).'/'.$filename.$vbulletin->userinfo['styleid'].'.html'
    4. (Optional but advised) Remove whole guest cache directory and copy it again from vBET package (remember about privileges) - we are changing files name conventions (styleid included) so old files will not be used anymore and it will be only waist of space. Please note that next release will have automatic old files cleaner included.
    Last edited by vBET; 30-07-10 at 21:20.

  5. #5

    Default

    ok but we should not cache the default forum lang or not ?

  6. #6

    Default

    oops i just see an error in translated pages post displays it was written in 1903 lol 06/10/1903, 16:02 in my def lang it shows 03-06-10, 16:02
    Last edited by tsak76; 30-07-10 at 23:18.

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
  •