PDA

View Full Version : vBET 3.3.0 Released



vBET
17-01-10, 21:24
Hello.

Finally after many changes and many performance improvements we give you vBET 3.3.0 :) Please see full list below.

NOTE: there are 2 simple additional update steps in this release for those who are using vBSEO:

Change first vBET .htaccess rule and remove index.php from there.
After update please go to integration with vBSEO section of readme.html file and please execute step 4 "SEO links translation integration - part 2".

NOTE 2: vBET 3.3.0 has new cache system - please note that during update your old cached data will be removed.

What's changed - lot of things... :)

Performance improvements:

New cache system (taking less space, faster for all operations) - separate cache tables for each language
Improved translation algorithm
Memory usage optimization (faster arrays release)
Faster translation tracking and flags URLs generation
Redirections performance improvement (stopped page evaluation after sending redirect header)
Performance improvement for "Always trust user" strategy for language detection
Performance improvement for new translations (new cache parameter "Stop looking after x failures")
Performance improvement for cache clearing (new cache parameter "Cache clearing timelap" - you can customize how much time to wait between clearing cache tables (now cache have over 150 tables, so we split one huge task to many small tasks, which you can additionally split with waiting time - this will decrease your server load during cache clearing time)
Many little code optimizations
Titles are taken ignoring series
Optimized flags (over 60% smaller files with similar quality)
RSS generation improvement (without usage of template for translation)


New features:

Added cache parameter "Stop looking after x failures" (optimizes cache usage for new translations)
New cache parameter "Cache clearing timelap" - you can customize how much time to wait between clearing cache tables (now cache have over 150 tables, so we split one huge task to many small tasks, which you can additionally split with waiting time - this will decrease your server load during cache clearing time)
New misc parameter "Show original text" - now original message written in different language can be disabled during translation, shown in normal way or injected by JavaScript (best for SEO, eliminates duplication content issues and makes sure that Google will not index original text on translated page)
New main parameter "Ignore URLs" - configurable list of ignored URLs (such URL will not be tracked in translation, will not show flags and if someone will try to translate it he will be redirected to original content)
New flags parameter "Show flags for registered users" (you can restrict which translations are supported for registered users)
Added flags parameter "User Default Language Place" - now it is supported custom place for default language in registration form
New flags parameter "Highlight active flag"
Removed parameter "Reverse direction" now it is recognized automatically according to styles.
Added option to misc parameter "Redirect to edit profile" - "Over and over again until default language will be set" (brutal forcing)
Added support for lang BBCode to quick reply in group discussion
Usernames not translated in who is online
Added lang, langtitle and notranslate bbcodes description in FAQ (vBulletin Enterprise Translator (vBET) - BB Code List (http://www.vbenterprisetranslator.com/forum/misc.php?do=bbcode))


Changed templates:

vbenterprisetranslator_inpost_translate (if you made changes you need to undone it, otherwise you will not have new functionalities like appropriate changing text directions for specific translations and original text injected by JavaScript)


Bugs corrected:

In member info you will see member default language flag (not from the looking one)
Changing text direction corrected and even improved (determined separately for whole page and for each original text of messages written in different languages)
It is allowed now to use vBSEO options "Define Homepage Aliases" and "Force Forum Root as Homepage?" (need to change first vBET .htaccess rule and remove index.php from there)
Eliminated strange redirections (with vbet_flag- in URL)
Eliminated issue with several language codes in one URL
Translation of flags supported appropriately (eliminated issue with '-' sign in phrase name and translated values taken during page generation - not hard-coded like before)
langtitle BBCode parsed in who is online
Not translated usernames in who is online
Added missed languages to "Forum language" option
Supported canonical URL
Eliminated php errors with mysql functions
Corrected html validation errors
Group messages titles do not show langtitle anymore
Corrected encoding issue in RSS channels
Corrected bug with changing language in User CP (after changing default language)



ENJOY!

Kolbi
17-01-10, 21:48
I will install the upgrade on Wednesday once. The update instructions are incomprehensible yet somehow:)

Michael
17-01-10, 22:00
Installed :) Thanks for the release!

Michael
17-01-10, 22:11
Or maybe not fully :D

What do I need to change in htaccess?


RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.teenforumz\.com
RewriteRule (.*) http://www.teenforumz.com/$1 [R=301,L]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/index.php [L,QSA]
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/$2 [L,QSA]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule $ vbenterprisetranslator_seo.php [L,QSA]



#RULES for pages outside forum directory handled by vBulletin
#RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/$ index.php?language=$1&vbet_outside=true [L,QSA]
#RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/(.*)?$ $2?language=$1&vbet_outside=true [L,QSA]

#RewriteCond %{QUERY_STRING} !vbet_outside=true
#RewriteRule ^(.*)$ $1?vbet_outside=true [L,QSA]

dacho
17-01-10, 22:26
Work on Vb4 ?

tavenger5
17-01-10, 22:29
Hrm, I'm getting 504 timeout errors from my server when trying to load a translated page now. Any ideas?

StarBuG
17-01-10, 23:55
the "see text in original language" (example post #2 in this thread) is not working.

Just to let you know ;)

vBET
18-01-10, 00:08
Or maybe not fully :D

What do I need to change in htaccess?


This one:


RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/index.php [L,QSA]


To this one:


RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/ [L,QSA]

vBET
18-01-10, 00:09
Work on Vb4 ?

Not yet - we are starting workin on vBET 4.0 (for vB4) this week :)

vBET
18-01-10, 00:10
Hrm, I'm getting 504 timeout errors from my server when trying to load a translated page now. Any ideas?

Please PM me your forum URL. Are you using vBSEO? Did you made changes in .htaccess?... Please contact by PM :)

vBET
18-01-10, 00:12
the "see text in original language" (example post #2 in this thread) is not working.

Just to let you know ;)

Thanks for note :) Adding it by JavaScript is in BETA stage and it looks it needs some tunning :) You can set it in Admin CP to include it in normal way until we fix this one.

EDIT:
And it is fixed. Will be released in 3.3.1 For quick fix please edit includes/vbenterprisetranslator_functions_bbcode.php and change line:


$toTranslate = strtr($toTranslate, array("\r\n" => '', '"' => '\"'));

to line:


$toTranslate = strtr($toTranslate, array("\r\n" => ' ', "\n" => ' ','"' => '\"'));

moman
18-01-10, 03:28
So all we have to do in htaccess is change:

RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|et|tl|fi|fr|gl|de|en|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/index.php [L,QSA]

to

RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|et|tl|fi|fr|gl|de|en|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/ [L,QSA]

?

vBET
18-01-10, 12:36
So all we have to do in htaccess is change:

RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|et|tl|fi|fr|gl|de|en|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/index.php [L,QSA]

to

RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|et|tl|fi|fr|gl|de|en|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/ [L,QSA]

?

Correct :) This will allow to use 2 options in vBSEO which couldn't be used before :)
Of course if you have your forum in subdirectory, then you already have in this rule your forum directory.

moman
18-01-10, 16:09
Excellent, thanks. I will get started with the upgrade in a few minutes, hope it goes smoothly.

Michael
18-01-10, 16:41
Thanks for the fixes, when will the keywords issue be fixed?

Kolbi
18-01-10, 20:18
3.3.1 If the fix out soon? Or should we fix it myself?

Kolbi
18-01-10, 22:15
Update installs ...

vBET
19-01-10, 20:43
Thanks for the fixes, when will the keywords issue be fixed?

Please point this issue by URL to thread about it - I do not remember which issue you are asking about :)

vBET
19-01-10, 20:44
3.3.1 If the fix out soon? Or should we fix it myself?

If there will be no critical issues then it can be up to one week to fix release.

yahoooh
20-01-10, 01:33
i want to upgrade from 2.x to 3.3.x
but i am afraid that will not work for vba dyna and other services as it works now
for my site with all addons and subdomain

can i install the version 3.3 but without uninstall version 2.x
i will disable it only
untill i chick all aspects of new version

vBET
21-01-10, 16:08
i want to upgrade from 2.x to 3.3.x
but i am afraid that will not work for vba dyna and other services as it works now
for my site with all addons and subdomain

can i install the version 3.3 but without uninstall version 2.x
i will disable it only
untill i chick all aspects of new version

In such cases it is wise to made full backup and set it in test forum. Then check it all in test environment.
Also - you can always install 2.x again - you will only loose your cache content, but it will fill again.
Also vBET 3.3 should support all places which was supported by 2.x - in point 3.x has more possibilities, there was nothing removed - only added :)

And at the end answering directly to your question - booth versions of vBET have same ID, so it will not work. If you install 3.x without un-installing 2.x then it will simply override 2.x (with removing old cache tables).

jorgejgm
22-01-10, 00:41
Hello,When updating to 3.3.0 have the following error but only when translating the messages (Translate forum and subforos works properly)


Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in [path]/includes/vbenterprisetranslator_functions.php on line 639

Thanks

vBET
22-01-10, 01:03
Hello,When updating to 3.3.0 have the following error but only when translating the messages (Translate forum and subforos works properly)


Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in [path]/includes/vbenterprisetranslator_functions.php on line 639

Thanks

You have solution for this in FAQ (http://www.vbenterprisetranslator.com/forum/troubleshooting/6-faq.html#post15) :)

AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Thanks to vBET 4.9.99 you can enjoy automatic translations