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.
Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: FAQ

  1. #1

  2. #2
    Banned
    Join Date
    Aug 2012
    Posts
    481

    Default What is required for this mod to work?

    - You must install it and configure it appropriately (please read parameters descriptions carefully)
    - You must have installed CURL in your php. Most servers already have it. Just install this mod and if it is not working then ask your server stuff to install CURL. In meantime you can disable mod or remove flags so users will not be affected. If you get blank page for translation pages (it will not affect your normal pages) it means that you don't have CURL installed - just install it
    - You must have installed ICONV in your php. Most servers already have it. If not an error will occur or blank page for translations.

  3. #3
    Banned
    Join Date
    Aug 2012
    Posts
    481

    Default After translation I get blank page - what is wrong?

    Just read answer for previous question

    Also you can check this vBulletin documentation about blank pages: vBulletin Manual
    Still - first just make sure that you have everything what is needed for vBET.

  4. #4
    Banned
    Join Date
    Aug 2012
    Posts
    481

    Default After translation all text disappear - what is wrong?

    In such case you have 3 possibilities:
    1. You didn't fallow installation instructions. You MUST configure Forum language option. Just configure mod
    2. You set wrong Google Translation API key - set it to appropriate value or remove it (not advised - just set it appropriately)
    3. For some reason you was blocked by Google


    The last one needs some clarification - how you can tell that you was blocked. Here is simple manual how to do that:
    http://www.vbenterprisetranslator.co...html#post15132
    Last edited by Marcin Kalak; 22-09-14 at 12:01.

  5. #5
    Banned
    Join Date
    Aug 2012
    Posts
    481

    Default I have SEO translation links on, I use vBSEO and main page is not translating - what is wrong?

    First, make sure that your .htaccess rules are OK - especially for forums with subdirectory in URL.

  6. #6
    Banned
    Join Date
    Aug 2012
    Posts
    481

    Default What to do, to have translations links good for SEO consensus?

    You have to set appropriate option in Admin CP and change/create .htaccess file


    - If you don't have .htaccess file then use the one from do-not-upload directory in mod package - just upload it to your forum directory
    - If you have .htaccess file, then add one of these two rules (if you are using vB 'Mod Rewrite Friendly URLs' then put those rules JUST BEFORE vB rules):



    - SHORT RULES
    Faster and more efficient but can be used only if you are NOT using links with 2-signs part i.e: yourforum.com/XY/

    Code:
    RewriteCond %{REQUEST_URI} !(js|hv)
    RewriteRule ^/?(..|zh-CN|zh-TW)/archive/index.php/(.*)?$ archive/index.php?/$2&language=$1 [L,QSA]
    RewriteCond %{REQUEST_URI} !(js|hv)
    RewriteRule ^/?(..|zh-CN|zh-TW)/$ index.php?language=$1 [L,QSA]
    RewriteCond %{REQUEST_URI} !(js|hv)
    RewriteRule ^/?(..|zh-CN|zh-TW)/(.*)?$ $2?language=$1 [L,QSA]


    - LONG RULES
    Can by used always

    Code:
    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)/archive/index.php/(.*)?$ archive/index.php?/$2&language=$1 [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)/$ index.php?language=$1 [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 [L,QSA]
    Last edited by Marcin Kalak; 24-09-14 at 16:32.

  7. #7
    Banned
    Join Date
    Aug 2012
    Posts
    481

    Default How do you get back to default language after you click a flag?

    If you have set tracking option on, then to go back to your default language you must just click flag for your default language

  8. #8
    Banned
    Join Date
    Aug 2012
    Posts
    481

    Default I have warnings in safe mode - what to do?

    Just turn off save mode - it is DEPRECATED in php and not supported in future versions. See here for details:
    PHP: Security and Safe Mode - Manual

  9. #9
    Banned
    Join Date
    Aug 2012
    Posts
    481

    Default How does multi language support is working?

    First of all mod supports user default language. It is set in registration form and can be changed in User CP. So if user has set his default language, then he does nothing... Just writes posts in his language, and vBET takes care about everything. In such case - when user has set default language it is assumed that whole post (including title) is written in his default language. It will be configurable soon, but at his moment there is simple assumption: if user has set default language and it is different than forum default language, then each his message is in language which he choose as his default.

    You can also create multi language messages, where only parts of message are in different languages. This is very easy - everything what you need to do it put text written in different language inside of lang BBCode. It takes one parameter which is the language code. I.e. if you want to write something in Polish, then BBCode looks like this lang=pl.
    See whole example (spaces in BBCode added to avoid evaluation):
    [ lang=pl]Przykład tekstu po polsku[ /lang]

    This example (without spaces in BBCode) will give you such result:
    Text automatically translated from: Polish to: English
    Translated text
    Example of text in Polish
    Original text


    There is also one more BBCode which works exactly as lang BBCode, but it's reserved for posts titles only. It is langtitle BBCode - it is used by vBET to automatically mark message of user which set theirs default language other than forum default language. It shouldn't be used manually, and if you want to use it such way, then remember to put whole message inside of lang BBCode using same language code as parameter in booth BBCodes (otherwise some parts of translated RSS channels can be not translated appropriately, but posts will be shown appropriately).

    There is really one more BBCode, but it is not for translation - in fact it is to keep text not translated. If you want some text i post to be not translated, just simple out it inside of notranslate BBCode. It can be useful in case of some terms, or citation of some poems etc.

    For example this text will never be translated. You can check it by clicking some translation flag - you will see this part will stay in original

  10. #10
    Banned
    Join Date
    Aug 2012
    Posts
    481

    Default How to translate pages outside forum directory?

    If your forum is in subdirectory and you have pages outside it, which are handled by vBulletin, then vBET will support translation for those pages

    All you have to do is set appropriate rules in .htaccess file in forum PARENT directory:
    Code:
    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]
    And for each subdirectory in your domain which should be supported by vBET (without forum directory itself) add this rule in .htaccess file inside of supported subdirectory:
    Code:
    RewriteCond %{QUERY_STRING} !vbet_outside=true
    RewriteRule ^(.*)$ $1?vbet_outside=true [L,QSA]
    So if forum PARENT directory also have to be supported it need all those rules.

    If you also want to keep translation tracking for those you have to:
    1. Turn on URL tracking outside forum directory in options in Admin CP
    2. Make sure that links to those pages are ABSOLUTE (so starts from http)


    Also make sure that there is base tag in generated HTML output for pages outside forum directory. If not then edit template which generates those pages and add code below in any place between <head> and </head>:
    Code:
    <vb:if condition="!$_REQUEST['language']"><base href="{vb:raw vboptions.bburl}/" /></vb:if>

Page 1 of 3 123 LastLast

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
  •