In such case there is needed special integration mod designed for specific plugin. For example vBET3.x supports adding content by vB Advanced Dynamics (here is integration plugin).
In such case there is needed special integration mod designed for specific plugin. For example vBET3.x supports adding content by vB Advanced Dynamics (here is integration plugin).
First go to Admin CP -> vBET -> Main and set your additional directories in Keep Directories parameter.
For next step we have 2 cases here:
a) Your forum is using subdirectory in URL so you need to support content outside forum directory.
In such case just fallow instructions in this article: http://www.vbenterprisetranslator.co....html#post1546
b) Your forum is not using subdirectory in URL, so all directories added by mods are subdirectories of forum URL
In such case check does it is working right now. If not then add to .htaccess file in your forum main directory this rule (BEFORE other vBET rules):
Please note that you have to change there ADDITIONAL_DIRECTORY to your directory name and you need such rule for each additional directory which you want to support and which is not working. Also please note that it is mostly needed when vBSEO is used.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)/ADDITIONAL_DIRECTORY/(.*)?$ /ADDITIONAL_DIRECTORY/$2?language=$1 [L,QSA]
Last edited by vBET; 22-04-10 at 20:44.
Supported since: vBET 4.2.1
Some mods like PhotoPost uses its own directories in URL and generate results straight to the output without usage of global_complete, which is necessary for vBET to make translation. In such case please follow instructions below.
NOTE: use it ONLY for mods which generates output using vBulletin but without global_complete hook. If you are not sure does particular mod is using it or not then please check mods list in first post. If you will not find it there then please first fallow steps from previous post and check does it working. If not then fallow this one. Please backup your .htaccess file before changes. Please note that it was tested on PhotoPost and we cannot guarantee that it will work for other mods without additional .htaccess changes which are not listed in instructions below.
Integration instructions:
- In vBET package /do-not-upload/tools/vbenterprisetranslator_front_controller.php change 'SET_HERE_FULL_FORUM_DIRECTORY_PATH' to your full forum directory path.
Do not use '/' at the end. If you do not know what is your path, please see below for instructions.- Copy vbenterprisetranslator_front_controller.php file to directory used by mod in URL
- Edit/create .htaccess file in directory used by mod in URL - for each existing rule make sure that it ends by [QSA] (it cannot end by [L] or even have L inside of ending [])
- For directory used by mod in URL fallow instructions from previous post.
- At the end of .htaccess file in directory used by mod in URL add this rule:
Code:RewriteCond %{QUERY_STRING} !redirected= RewriteCond %{QUERY_STRING} language= RewriteRule ^(.*)$ vbenterprisetranslator_front_controller.php?redirected=$1&vbet_outside=true [L,QSA]- If rule bellow exists in edited .htacess file then make sure that it is at the end of file, if not then add it there:
Code:RewriteCond %{QUERY_STRING} !vbet_outside=true RewriteRule ^(.*)$ $1?vbet_outside=true [L,QSA]
How to check my full forum directory path:
- Upload file vBET_package/do-not-upload/tools/actualdirectory.php to your forum directory.
- Put URL to actualdirectory.php file in web browser and see the results.
Last edited by vBET; 22-04-10 at 15:28.