View Full Version : Solved Use Full File Cache For Guests (BETA!)
when this is turned on guests cant choose style :p
kamilkurczak
29-07-10, 14:50
ok, confirmed.
I reproduced it on my test forum. Now we will work on a solution. We will try to fix it.
any fix for this ? i need to use this cache option instead of the db
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:
return DIR.'/'.VBET_GUEST_CACHE_DIR.'/'.($_REQUEST['language'] ? $_REQUEST['language'] : $vbulletin->options['vbenterprisetranslator_forumlanguage']).'/'.$filename.'.html';
3. Replace by:
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.
ok but we should not cache the default forum lang or not ?
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
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.