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-23-2009 11:50 PM

Quote:

Originally Posted by NLP-er (Post 1889595)
Hello. Somebody wrote in one post that Google requests to set link to Google if you want to use translation API. I'm just reading those conditions (http://code.google.com/intl/pl-PL/ap...age/terms.html) and I cannot find such condition (I was looking by URL and link words).

So the question is - is it really needed? If yes where exactly it is written? Is it enough to only write that it is Google translation (without URL)? Or maybe even that is not needed...

Somebody knows?

I read whole thing and as I understood there is no need to include link to Google, but it is necessary to include text "powered by Google" on each page using their service section 2.3 is about this.

NLP-er 09-24-2009 12:04 AM

2.3.2 RELEASED

Really little changes right now:
- Changed default value of "Links title" attribute, to be more accurate for Google conditions
- Little template changed for flags, so "Link title" font will be smaller (just like vB info in footer)
- Small bug fixed

At this particular moment all functionalities are working well for forums with and without vbSEO (one issue is because of vbSEO bug, and they need to fix it).

So at this time officially I'm begging to work on 3.0.0. Till it is released no new features will come to 2.x and only bugs will be corrected if any appears :)

Wish me good lock in 3.0.0 cause there will be lot of issues ;)

Xencored 09-24-2009 12:15 AM

Thanks for the update and Good luck with 3.0 :up:

kmt 09-24-2009 12:27 AM

Quote:

Originally Posted by NLP-er (Post 1889336)
Try this (checked on my board an is safe, but need your confirmation does it solves the issue - if yes then it will be included in official release):
1. find in /includes/vbenterprisetranslator_functions.php line with code
PHP Code:

if (!mysql_ping()) { 

2. change it to this one:
PHP Code:

if (!mysql_ping($vbulletin->db->connection_recent)) { 

Please give me confirmation does this solves the issue :)

YES. THIS DOES SOLVE THAT PROBLEM. the initial warning messages have gone, but now there is one new/different warning message: Warning: mysql_ping() expects parameter 1 to be resource, object given in [path]/includes/vbenterprisetranslator_functions.php on line 692

thankyou for your help. kmt

imported_silkroad 09-24-2009 10:46 AM

Quote:

Originally Posted by NLP-er (Post 1889595)
Hello. Somebody wrote in one post that Google requests to set link to Google if you want to use translation API. I'm just reading those conditions (http://code.google.com/intl/pl-PL/ap...age/terms.html) and I cannot find such condition (I was looking by URL and link words).

So the question is - is it really needed? If yes where exactly it is written? Is it enough to only write that it is Google translation (without URL)? Or maybe even that is not needed...

Somebody knows?

Google TOS says this:

Quote:

2.3 Attribution. The Google Results provided to You through the Service may contain the trade names, trademarks, service marks, logos, domain names, and other distinctive brand features of Google, its partners, or other third party rights holders of content indexed by Google. You may not delete or in any manner alter these trade names, trademarks, service marks, logos, domain names, and other distinctive brand features.

You agree to include and display the "powered by Google" attribution and/or any other attribution(s) required by Google as described in the documentation conspicuously on the page, in close proximity and adjacent to any translation box(es) and Google Result(s)
.

Hence, and links are not required, but it is a nice thing to do. Powered by Google is required (I think we actually say "Language Translations Powered by Google" (or something like that), and is what we use (we also link back to Google to be nice to them, since they provide this great service for free.)

merkaz 09-24-2009 12:21 PM

Thanks NLP-er .
Keep going :)
Good job .

Megatr0n 09-24-2009 01:06 PM

NLP-er, I think it's time version 2.x came out of Beta now? ;)

NLP-er 09-24-2009 01:11 PM

Quote:

Originally Posted by Megatr0n (Post 1889900)
NLP-er, I think it's time version 2.x came out of Beta now? ;)

As you can see on top of the page, there is no beta sign anymore :)

NLP-er 09-24-2009 01:21 PM

Quote:

Originally Posted by kmt (Post 1889705)
YES. THIS DOES SOLVE THAT PROBLEM. the initial warning messages have gone, but now there is one new/different warning message: Warning: mysql_ping() expects parameter 1 to be resource, object given in [path]/includes/vbenterprisetranslator_functions.php on line 692

thankyou for your help. kmt

OK - there is something wrong on your board. Make sure that everything is installed properly - un-install mod and install it again following installation instructions. Read and configure each mod parameter in Admin CP. If you use SEO links make sure that your .htaccess is correct. Do it. If still not working - do it again. And after that if you still have trouble PM me with details (address and access to Admin CP and FTP).

Also try to change connection_recent to connection_master

yahoooh 09-24-2009 03:10 PM

it works as what i expect
but :
Quote:

RewriteCond %{QUERY_STRING} (hl=|language=)(zh-TW|zh-CN|..)
RewriteRule ^(.*)$ http://%{HTTP_HOST}/%2/$1? [L,R=301]
for redirect old links not working for vba dyna and also for vba cmps

about ower work i send pm

NLP-er 09-24-2009 04:22 PM

Quote:

Originally Posted by yahoooh (Post 1889964)
it works as what i expect
but :
for redirect old links not working for vba dyna and also for vba cmps

about ower work i send pm

In progress :)

xony 09-24-2009 08:53 PM

Hello, I uninstalled the mod and ahoar have trouble indexing in google, always gives error sitemap, sitemaps at all, I cleaned the htaccess, removed all files from the mod, but a search in the database still see remnants of this mod and I am sure that precludes indexed correctly when you reinstall it, well indexed, as you can completely uninstall this mod?

thanks.

Quote:

WHERE (
`templateid` LIKE '%vbenterprisetranslator%'
OR `styleid` LIKE '%vbenterprisetranslator%'
OR `title` LIKE CONVERT( _utf8 '%vbenterprisetranslator%'
USING latin1 )
COLLATE latin1_spanish_ci
OR `template` LIKE CONVERT( _utf8 '%vbenterprisetranslator%'
USING latin1 )
COLLATE latin1_spanish_ci
OR `template_un` LIKE CONVERT( _utf8 '%vbenterprisetranslator%'
USING latin1 )
COLLATE latin1_spanish_ci
OR `templatetype` LIKE CONVERT( _utf8 '%vbenterprisetranslator%'
USING latin1 )
COLLATE latin1_spanish_ci
OR `dateline` LIKE '%vbenterprisetranslator%'
OR `username` LIKE CONVERT( _utf8 '%vbenterprisetranslator%'
USING latin1 )
COLLATE latin1_spanish_ci
OR `version` LIKE CONVERT( _utf8 '%vbenterprisetranslator%'
USING latin1 )
COLLATE latin1_spanish_ci
OR `product` LIKE CONVERT( _utf8 '%vbenterprisetranslator%'
USING latin1 )
COLLATE latin1_spanish_ci
OR `edited` LIKE '%vbenterprisetranslator%'

https://vborg.vbsupport.ru/

Khamis 09-24-2009 10:16 PM

Hi NLP-er,

I would firstly thank you for this outstanding plugin :D

I have installed to my forum but the pages are (not found) .. for example:
http://www.our.ae/forum/ro/

I have installed 2 times and I still getting the same error, can you please help me

dai-kun 09-24-2009 11:27 PM

Quote:

Originally Posted by Khamis (Post 1890202)
Hi NLP-er,

I would firstly thank you for this outstanding plugin :D

I have installed to my forum but the pages are (not found) .. for example:
http://www.our.ae/forum/ro/

I have installed 2 times and I still getting the same error, can you please help me

Did you look at post #2?

Khamis 09-25-2009 02:56 AM

Quote:

Originally Posted by dai-kun (Post 1890230)
Did you look at post #2?

yes I did ! but didn't help

zombietom 09-25-2009 04:31 AM

Just installed this and it is working Fine on 3.7.1...Wonderful MOD..Thanks for it.

To Khamis - Make sure you have set a forum Language in the vB Enterprise options in Admin CP.

thanks guys

jmpa 09-25-2009 06:01 AM

Quote:

Originally Posted by Khamis (Post 1890202)
Hi NLP-er,

I would firstly thank you for this outstanding plugin :D

I have installed to my forum but the pages are (not found) .. for example:
http://www.our.ae/forum/ro/

I have installed 2 times and I still getting the same error, can you please help me

Same here... mine is site.com/forum and it redirects to site.com/ja/forum instead of site.com/forum/ja

jmpa 09-25-2009 06:27 AM

Found the problem.

There is one real big issues: It will not work with utf-8 vbseo links.

The question is: Where are you filtering those?

Khamis 09-25-2009 07:03 AM

Quote:

Originally Posted by zombietom (Post 1890285)
Just installed this and it is working Fine on 3.7.1...Wonderful MOD..Thanks for it.

To Khamis - Make sure you have set a forum Language in the vB Enterprise options in Admin CP.

thanks guys


yeah .. I have already set the forum language !! :(


jmpa ... can you please till me how you solve the problem ?

Khamis 09-25-2009 07:19 AM

problem solved

jmpa 09-25-2009 08:20 AM

Quote:

Originally Posted by Khamis (Post 1890313)
yeah .. I have already set the forum language !! :(


jmpa ... can you please till me how you solve the problem ?

Hello Khamis. Well its not really solved. This is a pain in the ass to put to work with VBSEO.

For instance, where should one add the new rules on htaccess?

On the beginning or on the end? It gives different results.

jmpa 09-25-2009 08:33 AM

Have been trying for hours using all possible combinations.

I think this will never work with vbSeo AND /en/address... if anyone was able to do it, plz explain how, vbseo versions, vb version, and htaccess file.

CThiessen 09-26-2009 06:54 AM

1 Attachment(s)
Hi,
for all that a wondering what this AddOn will do to the traffic.
Please find this graphic:
Attachment 104773
I leave out the first ones because they are stable, in German.
So if you see: .co.jp, com.ar, co.jp - thats the result of this mod.
Also the AdSense spider read this pages, but, on my side, the search engine spider is 10 times faster than the Adsense spider and Ads sens will update the ads after he see the access also form that regions.
So the Addsense graph is more flat but following the same direction. :)

So once again thanks for that mod.
Christian

chuckrobbie 09-26-2009 12:31 PM

Thank you!

GoTTi 09-26-2009 05:14 PM

can you make the flags show in a drop down menu, like the style chooser or if you have the moods mod similar to that, instead of having the flags just out there?

my idea would be to have the drop down option, then the flags, and then the flags language shown after it:

FLAG - USA

possible?

GoTTi 09-26-2009 05:17 PM

this doesnt work with vbseo fully i dont think...when i am on a thread, and i change the language, i cant change the language to something else while on the thread. it just reloads the first language i switched to

chaoyueh 09-27-2009 03:20 AM

Thanks for great mod

I have one question.

The main language of my website is Chinese. It also includes some English for company names, or product names. When the mod translate my website to the other languages, it translates both Chinese and English. Can I translate only Chinese part and leave English unchanged?

Thank you!!

imported_silkroad 09-27-2009 03:37 AM

Quote:

Originally Posted by chaoyueh (Post 1891136)
The main language of my website is Chinese. It also includes some English for company names, or product names. When the mod translate my website to the other languages, it translates both Chinese and English. Can I translate only Chinese part and leave English unchanged?

From the product description:

Quote:

Not translated save areas - if you need something to be not translated simply edit appropriate template and put it between
<!--START vBET NOT TRANSLATED AREA--> and <!--END vBET NOT TRANSLATED AREA--> (note: you cannot use any mod which removes comments to use this functionality
Note: Please read the product description details before posting questions than can easily be answered by reading the basic documentation.

Thanks.

jmpa 09-27-2009 03:43 AM

Anyone have a fully working this+VBSEO htaccess?! Care to show us?! Thanks.

imported_silkroad 09-27-2009 03:53 AM

Many people have this mod working with vBSEO.

The issue is with the version of vBSEO.

So, you need to be more specific when discussing vBSEO related issues.

BigDog56 09-27-2009 11:53 AM

Seems to be working ok, thank you!

chaoyueh 09-27-2009 05:03 PM

Quote:

Originally Posted by chaoyueh (Post 1891136)
Thanks for great mod

I have one question.

The main language of my website is Chinese. It also includes some English for company names, or product names. When the mod translate my website to the other languages, it translates both Chinese and English. Can I translate only Chinese part and leave English unchanged?

Thank you!!

just want to clarify my question.

My titles and posts usually include both Chinese and English. How can I automatically prevent English be translated?

Thanks for the answer

imported_silkroad 09-27-2009 06:26 PM

See post below.....

imported_silkroad 09-27-2009 06:28 PM

Quote:

Originally Posted by chaoyueh (Post 1891394)
just want to clarify my question.

My titles and posts usually include both Chinese and English. How can I automatically prevent English be translated?

Thanks for the answer

Your question was already clear. Did you not understand this direct instruction for this mod?

Quote:

.... if you need something to be not translated simply edit appropriate template and put it between
<!--START vBET NOT TRANSLATED AREA--> and <!--END vBET NOT TRANSLATED AREA-->
I think the instructions are very clear.

Note: This instruction does not only apply to a template mod, but anywhere in a post, title, phrase, .... anywhere you wrap the text in the tags above, that text will not be translated.

jmpa 09-27-2009 10:25 PM

Quote:

Originally Posted by imported_silkroad (Post 1891151)
Many people have this mod working with vBSEO.

The issue is with the version of vBSEO.

So, you need to be more specific when discussing vBSEO related issues.

Thanks. But can anyone plz show me a working htaccess? Thanks.

dai-kun 09-28-2009 01:40 AM

READ the 2nd post.

If you have vbseo, put the VBET code BEFORE the vbseo code.

OK This is mines, but you have to make changes if your forum is on subdirectory:
The code in red needs to be replaced with your subdirectory, my forum is located in http://domain.com/forum/. So change it accordingly.
The code in blue is from vBSEO.

Quote:

##########vBET
#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|s r|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&redire cted=/forum/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|s r|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&redire cted=/forum/$2 [L,QSA]

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


##########vBSEO
#RewriteCond %{HTTP_HOST} !^www\.domain\.com
#RewriteRule (.*) http://www.domain.com/forum/$1 [L,R=301]

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

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

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


NLP-er 09-29-2009 06:49 AM

Quote:

Originally Posted by xony (Post 1890164)
Hello, I uninstalled the mod and ahoar have trouble indexing in google, always gives error sitemap, sitemaps at all, I cleaned the htaccess, removed all files from the mod, but a search in the database still see remnants of this mod and I am sure that precludes indexed correctly when you reinstall it, well indexed, as you can completely uninstall this mod?

thanks.




http://www.video3d.es/video/templates.jpg

This mod have nothing common with sitemap. If you did changes manually in vbSEO sitemap generator as described in FAQ, then undo it manually.

About un-installing mod - just un-install it in Admin CP and remove all uploaded files from FTP. That's it. Mod is cleaning changes in DB which was made during installation. About phrases, templates and so on - it is vBulletin job to clean it during mod un-installing. So make sure you choose un-install not just disable.

NLP-er 09-29-2009 06:55 AM

Quote:

Originally Posted by Khamis (Post 1890202)
Hi NLP-er,

I would firstly thank you for this outstanding plugin :D

I have installed to my forum but the pages are (not found) .. for example:
http://www.our.ae/forum/ro/

I have installed 2 times and I still getting the same error, can you please help me

As I see you installed it and configured appropriately before I answered you and right now it is working. Good Job! :):up:

NLP-er 09-29-2009 06:58 AM

Quote:

Originally Posted by jmpa (Post 1890293)
Same here... mine is site.com/forum and it redirects to site.com/ja/forum instead of site.com/forum/ja

Configure the mod! :) You have to set forum directory.

NLP-er 09-29-2009 07:02 AM

Quote:

Originally Posted by jmpa (Post 1890297)
Found the problem.

There is one real big issues: It will not work with utf-8 vbseo links.

The question is: Where are you filtering those?

utf-8 vbseo links? You mean like this one:
http://www.alwatanyh.com/pl/forum/f3...ل-38444/

As you see it it working well :) Just configure the mod appropriatelly - you have subdirectory in URL it requires to set forum directory in mod options.


All times are GMT. The time now is 04:36 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.02303 seconds
  • Memory Usage 1,863KB
  • 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
  • (2)bbcode_php_printable
  • (25)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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