View Full Version : vBET 4.3.0 Released

07-05-11, 11:54
Hi :)

We have new release for vBulletin 4.x. Please note that because of lot of changes this release is considered as BETA.

So what is the most important - new language supported (+ ready for 5 more), all known bugs corrected, performance improved, added support for memory cache and for external database cache. And of course lot of other things - details below :)

VERY IMPORTANT: because of new languages added it is required to do additional update steps. For new installations nothing changes, still for updates some additional steps are required - details below.


Added 6 new languages: Armenian, Azeri, Basque, Georgian, Haitian Creole, Urdu.
Those are in BETA version in Google and only Haitian Creole is fully supported by Google right now. So only Haitian Creole from new ones can be used now, but vBET is ready to support others in any time when Google will be ready :) - you will just enable it by Admin CP and that's it!
Support for memory cache: Memcache, APC, XCache, eAccelerator. Also easy to add support for new engines!
Support for external database for vBET cache
(requested: http://www.vbenterprisetranslator.com/forum/feature-requests/863-different-db-vbet.html#post6927)
Avoiding title duplication
New option which adds actual language to page title (usefull for threads with not translatable titles like product name or something like that)
Automatically managed roles for default language
Each user has at most 1 role for default language (requested: http://www.vbenterprisetranslator.com/forum/vbet4-feature-requests/1210-secondary-usergroups-users-depend-mother-language-each-user.html)
Allows to see stats (how many users uses specific languages) in Admin CP -> Usergroups -> Usergroup Manager (requested: http://www.vbenterprisetranslator.com/forum/feature-requests/328-some-stats-add.html#post1232)
Affiliate Program support in credit link
Now everyone who has vBET credit link anyway have also change to earn on it! It is enough to add your affiliate user id in Admin CP -> vBET -> Main - more details in parameter description
vBET support vBSEO short links.
Added support for vBSEO parameter limiting URL length. By default disabled for backward compatibility – need to turn it on for effect. Please note that already indexed pages with longer URLs will be 301 redirected – so it is safe for your SEO. Still we decided to make it configurable at this moment.
User language flag info into Who's online section
(requested: http://www.vbenterprisetranslator.com/forum/feature-requests/269-language-flag-who-online.html)
Support for not translating titles
If you want have some sections of thread title not translated then simply opaque it manually in [ langtitle=nt][ /langtitle] BBCODE (without spaces). Just as language code use nt (not translated). This is a trick to avoid translation of some titles (like game names, music titles and so on) – inside of thread body still use [ notranslate] BBCode.
Language filters support for notices
Added two options in notice system. Show notice when:
- User is not browsing the forum in specified languages
- User is browsing the forum in specified languages
Configurable languages for cache for Guest.
Now you can choose which languages will be supported by Guest Cache.
Option for admin - show Google connection time
This option will allow you to check how long during page generation your sewer was waiting for Google response. Simply prints time results and number of Google requests on the top of result page. This is working only for admins so it is harmless for normal users and will allow to check does issue is on Google side if forum slows down. Of course it will work for not cached translations.

Bugs corrected:

Allowed default styles for forums (http://www.vbenterprisetranslator.com/forum/vbet4-bug-reporting/941-problem-with-styles-and-vbet-2.html)
Warnings in guest cache (http://www.vbenterprisetranslator.com/forum/vbet4-bug-reporting/932-warnings-guest-cache.html)
Cache cleaner warnings (http://www.vbenterprisetranslator.com/forum/bug-reporting/1132-when-i-clean-cache-i-get-some-errors.html)
Warnings for reference values (http://www.vbenterprisetranslator.com/forum/bug-reporting/1141-external_complete-hook.html)
Corrected flag for Malay language (http://www.vbenterprisetranslator.com/forum/bug-reporting/1269-malay-flag-wrong.html)
Avatars popup text (http://www.vbenterprisetranslator.com/forum/bug-reporting/1037-avatar-popup-text-alternate-text-broken-translated-pages.html)
Do not cache sites with bad results from Google (http://www.vbenterprisetranslator.com/forum/troubleshooting/1391-after-long-time-does-not-work-anymore.html)
Go to the first new post option (http://www.vbenterprisetranslator.com/forum/vbet4-bug-reporting/1288-goto-new-posts.html)
Now user name in member description and PM message list is not translated.
Hardcoded path to Admin CP (http://www.vbenterprisetranslator.com/forum/bug-reporting/1354-cachecleaner.html)
No description of flags when in footer bottom position
Remove duplicated language codes form URL (http://www.vbenterprisetranslator.com/forum/bug-reporting/1406-google-caching-thousands-duplicate-pages-lang-lang-lang-issue.html)
Bad encoded letters in meta keywords and description
Changing text direction (http://www.vbenterprisetranslator.com/forum/vbet4-bug-reporting/1125-some-problems-changing-directions-rtl-ltr-more.html)
Searching on translated page with special characters (http://www.vbenterprisetranslator.com/forum/vbet4-bug-reporting/1568-advanced-search-shows-no-results-when-member-using-different-forum-language-than-default-english.html)
Display original text in JavaScript for translations of message using PHP bbcode
Username in message list and in reply to PM form displayed with <!--vBET_SNTA--> (http://www.vbenterprisetranslator.com/forum/vbet4-bug-reporting/1305-private-message-issue-new-post.html)
White pages when moderator try to move or delete post (http://www.vbenterprisetranslator.com/forum/vbet4-bug-reporting/1157-white-pages-login-moving-posts.html)
More than one language codes in SEO links corrected

Templates changed:


Other changes:

(Performance improvement) Google request length limit enlarged to 2000
It will give less Google queries which are main performance bottleneck.
(Performance improvement) Algorithm changes for keeping not translated parts of HTML
(Performance improvement) One connection to Google for all translation requests on one page.
vBET configuration options reorganized in Admin CP

Additional update steps
Please note that all additional update steps are because of new languages support. That is why we even added 5 languages which are not supported now, but Google have it already in BETA stage - so when those became supported no additional steps will be required anymore. Sorry now for those.

Update your rules in .htaccess file
Check actual one in vBET package. Of course there is no need to change everything - just the part with language codes (added codes for new languages). To be safe it is best to made copy of your .htaccess file before changes. Those who supports content translation outside forum directory - please remember that you have vBET rules in several .htaccess files - update all of those.
Supported languages selection
Because new languages was added you have to reselect again which languages you want to support! Languages changed order, so after update you can have checked other languages that before update. Please remember/write which one are those and correct settings after update.
Also if you use all languages you will have to turn off those which are not actually supported (those are clearly marked) – it is enough to do it in one place Admin CP -> vBET -> Translation -> Enable Translation (3 parts).
Sorry for this inconvenience – it was necessary to keep alphabetical order in Admin CP. So it brings small inconvenience during this update, but lot of convenience for rest of administration time.
Rights for Guest Cache directories
If you are using Guest Cache then add appropriate rights (details in Guest Cache configuration in Admin CP) now new Guest Cache directories: hy, az, eu, ka, ht, ur (otherwise guest cache will not work for those)
robots.txt update
If you optimized your forum also our hints for robots.txt, please update it also for new languages (codes: hy, az, eu, ka, ht, ur)
Sitemap Generator integration
If you integrated Sitemap Generator with vBET, please - add new language codes there (only for those which you support - NOT all of those)

07-05-11, 15:51
There is a problem happened to me after upgrade to 3.6.0 and 4.3.0 I use VBSEO prior to upgrading to 4.2.3 then 4.3.0 from addresses: ht tp://type as windowsz.net/showthread.php? t = & goto = newpostNó 24082 will switch to link VBSEO: ht tp://windowsz.net/f30/chan-dung-nhung-hacker-gioi-nhat-moi-thoi-dai-24639.html # post60653Và hours after the upgrade, it doesn't make any more.I configure .htaccess as follows:

RewriteEngine on
RewriteCond %{HTTP_HOST} !^windowsz\.net$ [NC]
RewriteRule ^(.*)$ http://windowsz.net/$1 [R=301,L]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

#RULES for SEO translation links with vBSEO (have to be included before all rules to vbseo.php)
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]
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} !(adminwzcp/|modwzcp/|vbseo_sitemap/|cron)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]

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

RewriteCond %{REQUEST_URI} !(adminwzcp/|modwzcp/|cron|vbseo_sitemap|api\.php)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(adminwzcp|modwzcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]

Please help check the error and help me, now I&#39;m reinstalling version 4.2.3.

Simon Lloyd
07-05-11, 16:16
Will this upgrade work on vB3.8.6 ? if not is there an upgrade for that version of vB?

09-05-11, 08:30

this is the latest version of vBET for vB in 3.8 version:

16-05-11, 06:40
I can tell you guys this. I was extremely nervous to to this upgrade. But it went without a hitch, and I had no errors or problems anywhere so far. So great work gents! Thank you very much!

23-05-11, 22:11
As I planed to upgrade from 4.2.3 to 4.3.0.
Do I have to walk through these steps again (references from Readme.html)
Any change has been made to readme.html?


To make vBETTM 4.x working appropriately you have to configure vBETTM and vBulletinTM.
vBulletinTM Configuration

All configurations beside characterset are made by Admin CP->Settings->Options->-- Show All Settings --. Some steps are marked as (ONLY for utf-8 charactersets) or as (Required for NOT utf-8 charactersets) - it means that you will made this steps according to yours forum characterset (how to check my forum characterset).

1. (Required) Set "Meta Description" - even if you use some mod which changes meta description for threads, please set some value here - otherwise RSS can be broken.
2. (Required without vBSEO) Set "Enforce Canonical URL" to 'Strict' - otherwise same page will be acceptable thought many URLs what is bad for SEO.
3. (Required) Set "Last Thread Title Maximum Displayed Characters" to at least '50' or '0' - otherwise titles written in other languages can be cut to very short and even broke your layout if you set it too low (because vBET adds html comments there and it have to be appropriatelly closed - cannot be cut)
4. (Required for NOT utf-8 charactersets) Set "Number of Characters Before Wrapping Text" to '0' - otherwise vBuletinTM can break some characters taking more than 1 byte (i.e. from Japanese).
5. (Required for NOT utf-8 charactersets) Clear "Blank Character Stripper" value - otherwise vBuletinTM can break some Japanese signs (those signs are part of Japanese signs)
6. (ONLY for utf-8 charactersets) Set characterset value in lowercase - vBETTM is case sensitive for characterset. So if you are using utf-8 then make sure that you have set 'utf-8' (how to check my forum characterset)
7. (Optional) Set "Maximum Characters Per Thread/Post Title" to '250' - in some languages 1 character can be counted as several characters in your character set. That's why it is wise to allow for long titles.
8. (Optional) Set "Prevent 'SHOUTING'" to '0' - according to vBuletinTM description this option is not safe for some charactersets and it is wise to disable it
9. (Optional without vBSEO) Set "Friendly URLs" to 'Advanced Friendly URLs' or 'Mod Rewrite Friendly URLs' - vBET will translate your URLs even if you use option 'Basic Friendly URLs', but please note that Opera browser will show special characters in ugly way then (% notation). If you use one of proposed strategies then it will look nice in Opera. There is no issue with other browsers. Please note that 'Mod Rewrite Friendly URLs' requited creation of appropriate rewrite rules.

vBETTM Configuration

All configurations are made by option panels included in Admin CP->vBETTM menu.

1. You MUST at least configure options in Admin CP->vBETTM->Main. Please take attention on every parameter in this options panel.
2. (Only for SEO translation links) Note that if you set to use SEO translations links, then additional changes in .htaccess file are required. Details for those changes are described here and example of .htaccess file you will find in do-not-upload directory.
3. (Optional) It is advised, but not necessary, to also check configuration in other Admin CP->vBETTM and Admin CP->vBET Cache options panels. In example to configure flags place, cache, or supported languages set.
4. (Required) Go here read articles and make sure you are not blocking foreigns users registration.

Note: for not-technical users, we provide vBETTM Integration Service. Please note that a service is equivalent to one integration of a one plugin.
Many plugins do not require any integration. Only those whose architecture is not compatible with vBulletin, so first you can contact with our support team by forum and use free help of our experts.
If you want that our experts do it for you - You can use our vBETTM Integration Service.
Integration with other mods

You can integrate vBETTM with other mods. Below you have description about integrations possibilities. Actual integration possibilities you will also find here.
vBSEOTM Integration

Note that all vBSEOTM options are configurable by Admin CP->vBSEO->Control Panel

1. (Required) Set option General Settings->Character Replacement->"Replace Non-English Characters in URLs?" to "Keep Non-English Characters in URLs"
Since vBETTM translates URLs for threads it is necessary do NOT replace not English characters in URLs.
2. (Required) Turn off option SEO Functions->Dynamic META TAGS->"Replace the 'META KEYWORDS' Content?"
3. (Required) Made changes in your .htaccess file according to description here
4. (Required) SEO links translation integration
1. Download from server file FORUM_ROOT/vbseo/includes/functions_vbseo_createurl.php
2. Open it in any text editor
3. Find:
$bloginfo['seotitle'] = vbseo_filter_replace_text($bloginfo['title']);
4. REPLACE it with this code:
$bloginfo['seotitle'] = vbet_vbseo_filter_replace_text($bloginfo['title']);
5. Find:
$vbseo_gcache_thread['seotitle'] = vbseo_filter_replace_text ($ttl);
6. REPLACE it with this code:
$vbseo_gcache_thread['seotitle'] = vbet_vbseo_filter_replace_text ($ttl);
7. Find:
$replace['%category_title%'] = vbseo_filter_text($c_ttl);
8. REPLACE it with this code:
$replace['%category_title%'] = vbet_vbseo_filter_text($c_ttl);
9. Find:
$replace['%section_title%'] = vbseo_filter_text($c_ttl);
10. REPLACE it with this code:
$replace['%section_title%'] = vbet_vbseo_filter_text($c_ttl);
11. Find:
$replace['%entry_title%'] = vbseo_filter_text($c_ttl);
12. REPLACE it with this code:
$replace['%entry_title%'] = vbet_vbseo_createCmsArticleLink($c_id, $c_ttl);
13. Save file and upload it to server, overwriting the old one.
5. (Required) SEO links translation integration - part 2
1. Download from server file FORUM_ROOT/vbseo/includes/functions_vbseo_url.php
2. Open it in any text editor and find:
$text = strtr($text, $trarr_table);
3. REPLACE it with this code:

if (false !== strpos($text, '[langtitle=')) {
$text = strtr($text, $GLOBALS['vbet_custom_char_replacement']);
if (vB_Template_Runtime::fetchStyleVar('charset') != 'utf-8') {
$text = preg_replace('/&#([0-9]+);/esiU', 'convert_int_to_utf8(\'\\1\')', $text);
} else {
$text = strtr($text, $trarr_table);

4. Find:
header ("Location: $fulluri");
5. PUT BEFORE it this code:

if (isset($_REQUEST['language'])) {
require_once(DIR. '/includes/vbenterprisetranslator_functions_url_tracking.php');
$fulluri = vbet_createURLForAddressNoReplace($_REQUEST['language'], $fulluri);

6. Save file and upload it to server, overwriting the old one.

vBSEOTM Sitemap Generator Integration

You can simply integrate vBETTM with vBSEOTM Sitemap Generator to include links to translated pages into generated sitemap. Description about this integration you will find here.

23-05-11, 23:13
please read the new readme.html file from do-not-upload folder. There are few changes (not big)

23-05-11, 23:22
please read the new readme.html file from do-not-upload folder. There are few changes (not big)

The messages above copied from that file.
The question is what is that changes?

24-05-11, 20:56
the content from your previous post is the same in the new readme.html, so in this site nothing change.
Of course if you want to upgrade vBET only - just read only UPGRADE steps in readme.html file (you don't need to install and integrate in once again with vBSEO)

26-05-11, 14:02
What is the purpose of this feature

Support for external database for vBET cache
(requested: different db for vbet)

26-05-11, 16:59
you can keep your forum (translation etc.) cache in external database - you have seperate db for vBET cache.

This is option from Features Request. This option is added on our customer request.

AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translations by vB Enterprise Translator 4.9.99