vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Forum Display Enhancements - vB Enterprise Translator (https://vborg.vbsupport.ru/showthread.php?t=220886)

NLP-er 09-04-2009 04:22 AM

Quote:

Originally Posted by yahoooh (Post 1879322)
also :
if i use cache i think tables that store all translated text will be big in size that will decrease performance

what about to make tables for each language as seprated and this will help i think

Wrong asumption. Cache is indexed for all data used in where clause, so access time is close to constant. Your idea will only bring maintenance problems when new languages occures, but I'm glad that you are looking ways to make this mod even more briliant that it already is ;):up:

Great thanks for that :)

NLP-er 09-04-2009 04:30 AM

Quote:

Originally Posted by Dr.LoVe (Post 1879332)
I use Mozilla Firefox ( Linux Mint )

I don't know , Maybe i should install it on my VB and tell you what's will gonna hapeen

If it's gonna Reverse page or not !

Thanx

Not 'if' :p It is working fine. If you cannot see this in your version of browser it means that your browser just not supports rtl direction. Mod is dooing it's job and you can see this even if your browser isn't too smart. Look here:
http://www.forum.simple-nlp.pl/ar/

This page is reversed right to left. If your browser doesn't show this just go to page source and you will find there dir="rtl" inside of html tag. That means that in mod reversing functionality is working like it should and your browser doesn't :)

imported_silkroad 09-04-2009 08:42 AM

Hey NLP-er!

Congrats on releasing 2.2.0 !

You have done an amazing job in a very short time. Great work!

CThiessen 09-04-2009 10:55 AM

Hi,
very good mod at all.
I do have a little wish, that hopefully is easy to do.
I use this BBCode Add-on:
https://vborg.vbsupport.ru/showthrea...ht=Google+Maps

That let you show an IFAME of Google Maps inside the Forum.
So the mod can?t change anything in an IFRAME, but Part of the Link is already the language. Example:
Code:

<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.de/maps?f=q&amp;source=s_q&amp;hl=de&amp;geocode=&amp;q=Rio+de+Janeiro&amp;sll=54.756117,8.28743&amp;sspn=0.282913,0.891953&amp;ie=UTF8&amp;ll=-22.826188,-43.17627&amp;spn=0.451613,0.891953&amp;z=11&amp;iwloc=A&amp;output=embed"></iframe><br /><small><a href="http://maps.google.de/maps?f=q&amp;source=embed&amp;hl=de&amp;geocode=&amp;q=Rio+de+Janeiro&amp;sll=54.756117,8.28743&amp;sspn=0.282913,0.891953&amp;ie=UTF8&amp;ll=-22.826188,-43.17627&amp;spn=0.451613,0.891953&amp;z=11&amp;iwloc=A" style="color:#0000FF;text-align:left">Gr??ere Kartenansicht</a></small>
and its from Google, so they are using th same code as Google Translation.
Do you think tit is possible to change only this part of the IFAME Code.
Than the map will shown in the target language also.

Greetings
Christian

redraider 09-04-2009 11:52 AM

Quote:

Originally Posted by NLP-er (Post 1867267)
This is FAQ :)
What to do, to have translations links good for SEO consensus?
You must have vbSEO, you must set in options of this mod to use SEO links, you must edit .htaccess file.
About editing .htaccess file:
Above all rules to vbseo.php put this rule
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|sq|ca|et|tl|gl|hi|id|lv|lt|mt|sl|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|sq|ca|et|tl|gl|hi|id|lv|lt|mt|sl|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]


Great mod! I have VBSEO. I got the mod working without SEO links, when I enable SEO links, clicking on the flag takes me to my websites home page (it returns a 404). Here is the setup I have

Main domain: <scorechase.com>
Forums: <scorechase.com/gmat>

I have put the .htaccess entries inside the <scorechase.com/gmat/.htaccess> file. (I even tried putting them on the <scorechase.com>/.htaccess file, but nothing seems to work. Please help.

Thanks

NLP-er 09-04-2009 02:00 PM

Quote:

Originally Posted by CThiessen (Post 1879538)
Hi,
very good mod at all.
I do have a little wish, that hopefully is easy to do.
I use this BBCode Add-on:
https://vborg.vbsupport.ru/showthrea...ht=Google+Maps

That let you show an IFAME of Google Maps inside the Forum.
So the mod can?t change anything in an IFRAME, but Part of the Link is already the language. Example:
Code:

<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.de/maps?f=q&amp;source=s_q&amp;hl=de&amp;geocode=&amp;q=Rio+de+Janeiro&amp;sll=54.756117,8.28743&amp;sspn=0.282913,0.891953&amp;ie=UTF8&amp;ll=-22.826188,-43.17627&amp;spn=0.451613,0.891953&amp;z=11&amp;iwloc=A&amp;output=embed"></iframe><br /><small><a href="http://maps.google.de/maps?f=q&amp;source=embed&amp;hl=de&amp;geocode=&amp;q=Rio+de+Janeiro&amp;sll=54.756117,8.28743&amp;sspn=0.282913,0.891953&amp;ie=UTF8&amp;ll=-22.826188,-43.17627&amp;spn=0.451613,0.891953&amp;z=11&amp;iwloc=A" style="color:#0000FF;text-align:left">Gr??ere Kartenansicht</a></small>
and its from Google, so they are using th same code as Google Translation.
Do you think tit is possible to change only this part of the IFAME Code.
Than the map will shown in the target language also.

Greetings
Christian

I will look on this later - put it on TODO list, but didn't decide yet about supporting (have to read carefully what is going on, and now have no time for this) :)

If it is some other mod then author of this mod should be best person to made changes there. Parsing others results have impact on performacne and it is better when those are already appropriate ;)

NLP-er 09-04-2009 02:06 PM

Quote:

Originally Posted by redraider (Post 1879550)
Great mod! I have VBSEO. I got the mod working without SEO links, when I enable SEO links, clicking on the flag takes me to my websites home page (it returns a 404). Here is the setup I have

Main domain: <scorechase.com>
Forums: <scorechase.com/gmat>

I have put the .htaccess entries inside the <scorechase.com/gmat/.htaccess> file. (I even tried putting them on the <scorechase.com>/.htaccess file, but nothing seems to work. Please help.

Thanks

SEO links are not tested on forum in subdirectory. Many people is talkint that they want this, but when I'm asking about access to forum, or setting up testing enviroment then topic is closed :) So - if you want this working on your forum I need a place to test mod in such configuration. If you want it running with SEO liks on your forum PM me acess details to your forum Admin CP and FTP or to test forum with same configuration :) I will gladly help you :)

NLP-er 09-04-2009 03:30 PM

2.2.1 RELEASED

Small bug fixed with returning to default language for main page and SEO links (happens only for specific vbSEO configuration, so you don't need to update if 2.2.0 is working for you).

For update it is enought to upload file /includes/vbenterprisetranslator_functions.php to FTP.

jaryx 09-04-2009 04:15 PM

Quote:

Originally Posted by NLP-er (Post 1879626)
SEO links are not tested on forum in subdirectory. Many people is talkint that they want this, but when I'm asking about access to forum, or setting up testing enviroment then topic is closed :) So - if you want this working on your forum I need a place to test mod in such configuration. If you want it running with SEO liks on your forum PM me acess details to your forum Admin CP and FTP or to test forum with same configuration :) I will gladly help you :)

Don't worry guys. Be happy :)

ps.
My forum is one of the test forum... and still working :P

redraider 09-04-2009 09:56 PM

Quote:

Originally Posted by NLP-er (Post 1879626)
SEO links are not tested on forum in subdirectory. Many people is talkint that they want this, but when I'm asking about access to forum, or setting up testing enviroment then topic is closed :) So - if you want this working on your forum I need a place to test mod in such configuration. If you want it running with SEO liks on your forum PM me acess details to your forum Admin CP and FTP or to test forum with same configuration :) I will gladly help you :)

Ok looks like Jaryx is helping you? Let me know, I can create a test forum.


All times are GMT. The time now is 02:14 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01820 seconds
  • Memory Usage 1,763KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete