PDA

View Full Version : Forum Display Enhancements - vB Enterprise Translator


Pages : 1 2 [3] 4 5 6

Manic Mechanic
09-08-2009, 02:08 AM
I am not that familiar with codes and stuff and do not know what vBSEO is. I have installed this on my 3.8.4 vBulletin forum and it works fantastically. Now waiting for the upgrade to translate posts in another language to English, that is my default language. I have had members checking the translations and they say it is very good so far. Thank you very much for this cool mod.

imported_silkroad
09-08-2009, 03:29 AM
edit2: and another one thing.. The translation in FF it is 2 times (maybe better) FASTER than in IE :)

Well, frankly speaking, there is no reason for the translations to be faster or slower in any browser. The translations are a server-side technology, not a client side technology.

If you are experiencing different loading speeds in various browsers, it has nothing to do with the translation back end processing.

imported_silkroad
09-08-2009, 05:27 PM
Hey NPL-er!

Did you see this code? Might come in handy ....

Set forum-language automatic to browser-language for first-visitors (https://vborg.vbsupport.ru/showthread.php?t=129081)

Aclikyano
09-08-2009, 09:30 PM
how to fix this error on top of header:

Warning: Cannot modify header information - headers already sent in [path]/includes/vbenterprisetranslator_functions.php on line 408


happens when a language is chosen...

do i need SEO to run this hack or something?? i dunno

CThiessen
09-09-2009, 01:15 PM
I keep having some CSS problem after installation. You can see what I mean here: http://latforums.lv/thread42555.html?language=ja Did I set something wrong? How do I fix it?

If i compare the Source-code of your original and translated Page there is on character with my browser is nor able to display:
Original:
content="Лунный Новый Год, отмечаемый в храме г. Окаяма, Япония, имеет один довольно странны�" />
In the translation the ending " /> is missing
content="Лунный Новый Год, отмечаемый в храме г. Окаяма, Япония, имеет один довольно странны You might try to use a different word instead of "странны�".

Christian

redraider
09-09-2009, 02:29 PM
Yes :) Jaryx is helping me for a while by accessing his forum. Many small bugs with URL tracking on his forum was discovered and debugged there. If I would made this mod only for myself I wouldn?t care about others configurations. I made it also for others and I spend my time to make this mod working for others forums configurations.

Jaryx helps me to help him :) That?s why he has working this mod in 100%. His forum is not in subdirectory. So if someone really wants SEO links for forum placed in subdirectory then I will gladly give it to him as fast as he will give me playground. As far (besides you) no one cares enough to let me help him in that. If no one cares about this, It means for me that no one cares about having SEO links in forums placed in subdirecory :) And If no one cares about this I have no reason to spend my time to do this... It is so simple :D

I think some people will really appreciate your effort if you give me opportunity to help them, even if they don't care to match about this I think they will be happy to have it. So I will gladly welcome your test forum with vbSEO and subdirectory in URL, which will give me opportunity to make this mod even better :)

Thank you :)


I working on creating a test forum .... will take me a bit ... I will let you know.

NLP-er
09-10-2009, 07:35 PM
how to fix this error on top of header:

Warning: Cannot modify header information - headers already sent in [path]/includes/vbenterprisetranslator_functions.php on line 408


happens when a language is chosen...


something wants to send headers after content is already send. First you have to recognize which mod is guilty. Please disable one by one and check when issue disappear. After that tell me which mod is trying to modify headers (please give me link to this mod) - I will check which hooks are used there and maybe find out some solution which will allow you to use it with my mod without conflict :)

NLP-er
09-10-2009, 07:36 PM
Ah! I checked and Google follows the obsolete standard ISO 639 (http://en.wikipedia.org/wiki/ISO_639)

http://www.mcanerin.com/EN/articles/meta-language.asp

And we fallow Google... ;)

NLP-er
09-10-2009, 07:41 PM
I have installed vB Enterprise Translator.
The problem is this: I would like to use it with the url system of vbseo, having already installed it.
I have followed the suggestions in this page to modify the htaccess but I have always an error.
I have tried to add the same strings inside the file vbseo.php, but It tell me that the file is corrupted.
Can you give me a solution?

Actual version do NOT require any changes in vbseo.php. Which suggestions about modify htaccess did you fallow? Please use instructions from first post, where FAQ is included.

NLP-er
09-10-2009, 07:51 PM
I keep having some CSS problem after installation. You can see what I mean here: http://latforums.lv/thread42555.html?language=ja Did I set something wrong? How do I fix it?

I see what the problem is. There is some strange sign (not alfanumerical) at the end of your meta description (see source in browser) - and this one crashes translation for description. That is why on other pages this problem doesn't exists - other pages have other description.

As I see looking for original and translated sources it crashes exactly on this strange sign - translation for description is not done and meta is not closed.

I will need access to your forum to debug this. If you don't want to share access then you can just change description for this page.

NLP-er
09-10-2009, 07:53 PM
Edited:

I have this problem also if I try to translate an unsupported language and then do not refresh the page with the original language (using a previous version of this type of mod).

I'm not sure - you have or you had? If you still have this issue please give me link.

NLP-er
09-10-2009, 08:03 PM
What kind of SEO are you using to rewrite your URLs?

It has nothing common with url rewriting - there is just some strange not alphanumerical sign which crashes translation of description and meta tag is not closed because of that.

I checked my code - this strange sign crashes native php function preg_match_all. I will gladly debug If I get access, but if really preg_match_all is crashed then only solution is change content - this sign probably is something like return carriage and should never happen in this place. Editors shows this sign as something which is not recognized. So I'm almost sure that no debugging is required, just change of content.

Garbage in garbage out. It is ok. It would be bad if garbage out with good content.

NLP-er
09-10-2009, 08:09 PM
I had the 2.03 and everething was works perfect. Until now. I installed the 2.2.1 and something strange hapent. My style stressed allot specially in VBA and i have lost the text inside the msg chatbox :(

Before it was nothing translate inside the chatbox and i was ok with it. But now it is not working at all.

And the forum home page it is stressed a bit but not too mutch. VBA it is completely wrong.

Please take a look at my page my friend and CONCRATS for the GREAT work

:D

http://www.bytheway.gr/portal2/forum/cmps_index.php?language=en


edit: OK... i found that in IE i have the problems only. In FF everething works prefect. BUT.. it DOESNT translate the TOP STATS (in IE it is working in top stats too!) and offcource the chatbox it remains unchange.

VBA also works perfect (translates everething and the graphics is perfect without stressing) !

Maybe this helps to find whats going on

:respect:


edit2: and another one thing.. The translation in FF it is 2 times (maybe better) FASTER than in IE :)

Assuming - what is the issue right now? :)

NLP-er
09-10-2009, 08:15 PM
I am not that familiar with codes and stuff and do not know what vBSEO is. I have installed this on my 3.8.4 vBulletin forum and it works fantastically. Now waiting for the upgrade to translate posts in another language to English, that is my default language. I have had members checking the translations and they say it is very good so far. Thank you very much for this cool mod.

It is great to hear. Words like that makes me want more to create 3.0.0 :)

yahoooh
09-10-2009, 08:15 PM
any news about vba dyna plz

NLP-er
09-10-2009, 08:18 PM
Hey NPL-er!

Did you see this code? Might come in handy ....

Set forum-language automatic to browser-language for first-visitors (https://vborg.vbsupport.ru/showthread.php?t=129081)

Hmmm... Recognition of user language is already implemented in this mod, so where this can be helpful:confused:

If this is request for some changes or new functionality, then please be more specific :)

NLP-er
09-10-2009, 08:21 PM
do i need SEO to run this hack or something?? i dunno

No you don't

NLP-er
09-10-2009, 08:22 PM
any news about vba dyna plz

Since tomorrow in progress ;)

imported_silkroad
09-10-2009, 08:27 PM
Hmmm... Recognition of user language is already implemented in this mod, so where this can be helpful:confused:

If this is request for some changes or new functionality, then please be more specific :)

It is always helpful to have other code, as a reference, isn't it?

No, I am not requesting any changes or new functionality. Just providing you a link to some code that is related as an FYI.

Cheers! :D :D

NLP-er
09-10-2009, 08:30 PM
I working on creating a test forum .... will take me a bit ... I will let you know.

Great thanks :) PM me details when it will be ready. All I need is forum in subdirectory in URL and with vbSEO. Also just one sub-forum with one test thread. Nothing more is needed :)

NLP-er
09-10-2009, 08:30 PM
If i compare the Source-code of your original and translated Page there is on character with my browser is nor able to display:
Original:
content="Лунный Новый Год, отмечаемый в храме г. Окаяма, Япония, имеет один довольно странны�" />
In the translation the ending " /> is missing
content="Лунный Новый Год, отмечаемый в храме г. Окаяма, Япония, имеет один довольно странны You might try to use a different word instead of "странны�".

Christian

Exactly :)

NLP-er
09-10-2009, 08:35 PM
It is always helpful to have other code, as a reference, isn't it?

No, I am not requesting any changes or new functionality. Just providing you a link to some code that is related as an FYI.

Cheers! :D :D

Ok - I was confused ;) Since it is already implemented, working well and I have still lot of new things to implement I will look there some other time ;) Still - Thanks for helping :D

imported_silkroad
09-10-2009, 08:42 PM
Ok - I was confused ;) Since it is already implemented, working well and I have still lot of new things to implement I will look there some other time ;) Still - Thanks for helping :D

Sorry for the confusion! My apologies.

thcf
09-11-2009, 01:25 PM
Hi im using vb 3.7.2 with vbseo

ive installed the mod, but i get a blank page when i try to translate something.

any idea whats wrong?

NLP-er
09-11-2009, 06:30 PM
Hi im using vb 3.7.2 with vbseo

ive installed the mod, but i get a blank page when i try to translate something.

any idea whats wrong?

Yes :) Please read FAQ in first post.

nectons
09-12-2009, 12:25 AM
Assuming - what is the issue right now? :)

:)

My bad english.. anyway..

The biggest problem is in IE my chatbox is not working :)

In FF works.

If helps i saying this. In IE the chatbox is not working and my TOP STATS window inside everething is translated.

BUT.. in FF chatbox working (without translating anything) AND TOP STATS window nothing translated inside!

Strange. I hope it fixes at feauture releases.

Anyway.. CONCRATS for one of the best products for VB my friend.


EDIT: IF... i choose the oritzinal forum language EVERETHING WORKS perfect.

SiteTalkZone
09-12-2009, 03:55 AM
We recently upgraded to vBSEO 3.3.1, and this mod is not working... Do you know if there's any issue with vBSEO 3.3.1? All we did was to upgrade and didn't touch the .htaccess file at all.

Thanks for your help in advance.

dai-kun
09-12-2009, 04:21 AM
This isn't work with my site. It's showing up as http://domain.com/af/forum instead of http://domain.com/forum/af or whatever language it is.

I have applied the vbseo change to .htaccess. I also have latest version of vbseo 3.3.1

CThiessen
09-12-2009, 04:38 AM
Hi,
is an known issue. So fare it is nor working with /en/ and Forum in a subdirectory.

SEO links are not tested on forums with directory in URL. I'm still wayting for someone who will set me test forum with vbSEO and directory in URL, or give me access to exicting one. Till then I have no possibility to test it.

use the normal Links so fare, they are working fine.

Christian

anzo
09-12-2009, 07:24 PM
Exactly :)I can't, it's generated automatically by vBSEO.

ThePixel
09-12-2009, 07:47 PM
what is needed / required on the server side for this module to work?

Trana
09-13-2009, 05:14 AM
OK, I set up the custom template placement for the flags, but all I see is this message, no flags:

"Automatic Translations made by Google:"

Trana
09-13-2009, 05:48 AM
Oops, seems like it is displaying properly now.

Unfortunately, I am getting page not found errors.

I am using VBSEO 3.x

Translation settings:
Link type: VBSEO_URI
Forum Directory: /forum (my vb files are in my forum directory, I use VBA CMPS in my root dir)
Use SEO link consensus

I added the lines to my rewrite file (note I am using IIS so it is the httpd.ini file.

My links are being formatted like:

http://www.xxx.com/ga/forum/forum-name/65-welcome.html

Any idea what I am doing wrong?

mhackl
09-13-2009, 02:47 PM
Outstanding mod!
This is one that I've been wanting for a long time. MOM!

I'll share my pie in the sky hope for this type of mod in the future.

Users would be able to select their language in their usercp. multiple users would be able to post to a thread in their native language and the entire thread (multiple languages) would be presented to each individual in their own native language.

Of course I recognize that their are so many issues to be overcome with that kind of system, but wouldn't it be amazing? It would be really cool to be able to bridge language barriers like that.

grafbyte
09-13-2009, 09:35 PM
dobre! ;) dzienki

BoYagoob
09-14-2009, 05:23 PM
Installed! thanks a lot..

Manic Mechanic
09-15-2009, 03:55 AM
Outstanding mod!
This is one that I've been wanting for a long time. MOM!

I'll share my pie in the sky hope for this type of mod in the future.

Users would be able to select their language in their usercp. multiple users would be able to post to a thread in their native language and the entire thread (multiple languages) would be presented to each individual in their own native language.

Of course I recognize that their are so many issues to be overcome with that kind of system, but wouldn't it be amazing? It would be really cool to be able to bridge language barriers like that.

I totally agree, would love to have that.

xony
09-15-2009, 12:42 PM
Hi, thanks for your work, when I do these changes in me. Htaccess and go into the forum, the main page is the blog of vbulletin and not the forum as soon as I fix this? thanks


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

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&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|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&redirected=/$2 [L,QSA]

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

NLP-er
09-16-2009, 02:01 PM
:)

My bad english.. anyway..

The biggest problem is in IE my chatbox is not working :)

In FF works.

If helps i saying this. In IE the chatbox is not working and my TOP STATS window inside everething is translated.

BUT.. in FF chatbox working (without translating anything) AND TOP STATS window nothing translated inside!

Strange. I hope it fixes at feauture releases.

Anyway.. CONCRATS for one of the best products for VB my friend.


EDIT: IF... i choose the oritzinal forum language EVERETHING WORKS perfect.

Chatbox translation is not supported right now (since it is not part of response and is taken after response is generated). I put it in TODO list, but don't know yes will be supported (probably in 3.0.0).

About TOP STATS - browser shouldn't made any difference in translation. Please give me your forum link.

NLP-er
09-16-2009, 02:05 PM
We recently upgraded to vBSEO 3.3.1, and this mod is not working... Do you know if there's any issue with vBSEO 3.3.1? All we did was to upgrade and didn't touch the .htaccess file at all.

Thanks for your help in advance.

Unfortunately I have vbSEO 3.3.0 and my license for upgrade expired :( So at this moment I have 3 propositions:
1. Go back to vbSEO 3.3.0
2. Ask vbSEO stuff what is going on (most probably they will send you back here ;))
3. Give me access to your forum, or test forum with same configuration and I will be able to work on that.

NLP-er
09-16-2009, 02:09 PM
This isn't work with my site. It's showing up as http://domain.com/af/forum instead of http://domain.com/forum/af or whatever language it is.

I have applied the vbseo change to .htaccess. I also have latest version of vbseo 3.3.1

Once again - this mod was not tested on forum with vbSEO and subdirectory in URL. If you need it working on your forum then give me access to your forum, or to test forum with same configuration. If you don't need it then case is closed, cause you don't need it :) in this case You can use links with 'language' param :)

NLP-er
09-16-2009, 02:19 PM
I can't, it's generated automatically by vBSEO.

Yes, but vbSEO akes this data from somewhere 0 it is not randomly generated text. So take a look on this text and find where it is included (maybe somewhere in thread content). After that edit this place (look at he end - where this strange sign appears) - to be sure remove everything between last normal sign and next normal sign (it can be invisible in post editor) - you can write back spaces manually after that and you will be sure that those are good signs.

NLP-er
09-16-2009, 02:20 PM
what is needed / required on the server side for this module to work?

Please read FAQ in first post.

NLP-er
09-16-2009, 02:21 PM
Oops, seems like it is displaying properly now.

Unfortunately, I am getting page not found errors.

I am using VBSEO 3.x

Translation settings:
Link type: VBSEO_URI
Forum Directory: /forum (my vb files are in my forum directory, I use VBA CMPS in my root dir)
Use SEO link consensus

I added the lines to my rewrite file (note I am using IIS so it is the httpd.ini file.

My links are being formatted like:

http://www.xxx.com/ga/forum/forum-name/65-welcome.html

Any idea what I am doing wrong?

Please read known issues in mod description :)

NLP-er
09-16-2009, 02:23 PM
Outstanding mod!
This is one that I've been wanting for a long time. MOM!

I'll share my pie in the sky hope for this type of mod in the future.

Users would be able to select their language in their usercp. multiple users would be able to post to a thread in their native language and the entire thread (multiple languages) would be presented to each individual in their own native language.

Of course I recognize that their are so many issues to be overcome with that kind of system, but wouldn't it be amazing? It would be really cool to be able to bridge language barriers like that.

Just read Already planned for 3.0.0 section in mod description :)

NLP-er
09-16-2009, 02:24 PM
dobre! ;) dzienki

nie ma sprawy ;)

NLP-er
09-16-2009, 02:25 PM
Hi, thanks for your work, when I do these changes in me. Htaccess and go into the forum, the main page is the blog of vbulletin and not the forum as soon as I fix this? thanks

Don't understood. Please describe it in more words and give me link to your forum :)

NLP-er
09-16-2009, 10:22 PM
Had enough of describing that SEO links are not supported for forums with vbSEO and subdirectory in URL...

So I set up test forum myself and in next release SEO translation links will work even on forums without vbSEO :p Right now I have tested SEO links on forum without vbSEO and with subdirectory un URL. With vbSEO it will be working as soon as I get testing license from vbSEO stuff.

EDIT:
And disappointing news for vbSEO users with forums with subdirectory in URL - vbSEO staff will not give me testing license, because my update license is expired. I spend lot of my time for you guys, sorry but I will not spend also my money on something what I made for you for free :)
So once again - who wants it working in this configuration have to set me up test forum :) Otherwise I have no possibility to test it :p

NLP-er
09-16-2009, 11:31 PM
HI Guys,

Found a bug/issue:

If you go directly to a page (http://www.gamerslifeline.com/news-announcements/4370-left-4-dead-2-swarming-penny-arcade-expo-pax.html) and then click the translate images, it will refresh back to English.

If you go to the forum root, index.php, then change language and go back to the page, it will be fine.

Maybe an issue with the VBSEO version of the product?

As I see it works ok - does issue still exist?

RedHacker
09-17-2009, 05:20 AM
Hello NPL-er finally install PHP 5.0 with iconv and worked the product. But i not agree with one name country and i "must" rename. How....?

NLP-er
09-17-2009, 07:35 AM
Hello NPL-er finally install PHP 5.0 with iconv and worked the product. But i not agree with one name country and i "must" rename. How....?

Go to phrases :) Also - in this mod there is no name of countries... I think you mean that you don't agree with name of one language - in that case keep i mind that those are language names taken from Google which made those translations :)

RedHacker
09-17-2009, 07:58 AM
In the .gif county with IE said name of country

NLP-er
09-17-2009, 01:03 PM
In the .gif county with IE said name of country

I don't get it... Can you be more specific ant tell the name which you think should be changed? :)

imported_silkroad
09-17-2009, 06:15 PM
In the .gif county with IE said name of country

IE is not the name of the country, it is the two digit ISO 639-1 language code for the Occidental language, later called Interlingue, a planned language created by the Balto-German naval officer and teacher Edgar de Wahl and published in 1922.

http://en.wikipedia.org/wiki/Occidental_language


... assuming you mean IE, the language code, of course :D

RedHacker
09-17-2009, 07:36 PM
Wrong if gonw with mouse and stay the flag show the country name.....

Only with IE

redraider
09-18-2009, 01:41 AM
I was just about creating a test bed for you, when my database connections started to run out. I talked to my host and they indicated that the vbenterprisetranslator_seo.php was causing the issue and the number of DB connections was about 60 while the people on my forum that time was not more than 2-3.

I tried to rename the file to make it work, but then it wouldnt let me go to my admincp (I was directed back to my home page)... So I had to request them to kill all the connections and right now I have the plugin disabled. However I am troubled, if I delete the plugin, what could be the damage?

Could you please look at the reason why it is creating so many DB connections, without that I will not be able to enable it on my forum, let alone create a test bed for you.

Thanks!

THE__DRIFTER
09-18-2009, 03:07 AM
Trying to make this work with vBadvanced CMPS v3.2.1 and I can make it work but it takes a work around to get the images to show when on the frontpage and not in the forum. Any advise?

NLP-er
09-18-2009, 07:14 AM
Wrong if gonw with mouse and stay the flag show the country name.....

Only with IE

It is the language name. And once again - can you simply write which one you think should be changed? :)

NLP-er
09-18-2009, 07:20 AM
I was just about creating a test bed for you, when my database connections started to run out. I talked to my host and they indicated that the vbenterprisetranslator_seo.php was causing the issue and the number of DB connections was about 60 while the people on my forum that time was not more than 2-3.

I tried to rename the file to make it work, but then it wouldnt let me go to my admincp (I was directed back to my home page)... So I had to request them to kill all the connections and right now I have the plugin disabled. However I am troubled, if I delete the plugin, what could be the damage?

Could you please look at the reason why it is creating so many DB connections, without that I will not be able to enable it on my forum, let alone create a test bed for you.

Thanks!

vbenterprisetranslator_seo.php is not creating any connections, but it includes vbseo.php and there request is served.
Right now I cannot tell you what is the reason of more connections - probably more traffic. Mod is not creating any new connection - it can recreate connection in case if Google translation took too long and connection was lost. Please PM me - I will give you some hints about code changes and we will investigate it together.

If you uninstall the plugin then there is no damage at all - not from vB side. Of course for Google will disappear all translated pages.

NLP-er
09-18-2009, 07:21 AM
Trying to make this work with vBadvanced CMPS v3.2.1 and I can make it work but it takes a work around to get the images to show when on the frontpage and not in the forum. Any advise?

Just copy flags to all needed directories :)

RedHacker
09-18-2009, 10:27 AM
It is the language name. And once again - can you simply write which one you think should be changed? :)

I dis-agree with one name flag. How to change...?

NLP-er
09-18-2009, 03:41 PM
I dis-agree with one name flag. How to change...?

3rd time - which one? :)

RedHacker
09-18-2009, 07:14 PM
Macedonia --> FYROM

NLP-er
09-18-2009, 08:31 PM
Macedonia --> FYROM

There is no such text for any flag like Macedonia, but there is Macedonian which is name of language, and it is appropriate :)

RedHacker
09-18-2009, 08:45 PM
There is no such text for any flag like Macedonia, but there is Macedonian which is name of language, and it is appropriate :)

The language that you have named as Macedonian is Skopian.The flag that you named as Makedonian is Skopia or FYROM. The Makedonia is one and is in Greece!!!!!!!!!!!!!!!!

NLP-er
09-18-2009, 09:14 PM
The language that you have named as Macedonian is Skopian.The flag that you named as Makedonian is Skopia or FYROM. The Makedonia is one and is in Greece!!!!!!!!!!!!!!!!

So tell this Google :) Google claims that it is Macedonian (go to Google translations). Also flag is not from Skopia or FYROM but Republic of Macedonia where according to WIKI (http://en.wikipedia.org/wiki/Macedonian_language) Macedonian is official language :)

RedHacker
09-18-2009, 09:21 PM
I will say but i will remove this flag from mod......

NLP-er
09-18-2009, 09:33 PM
In the past few days I was encouraged by some of honest users, which keep credit link or gave donation, to not make any new official releases because of dishonest of some forum owners which are using this mod illegal after removing credit link.

In every release, from the very beginning, code for credit link had comment telling that you are not allowed to remove it without donation. Every one who did it is using this mod illegally and made it knowingly, because there is no possibility to remove credit link not seeing this restriction.

I believe that some people just didn't realize or didn't thought that what they did is just software piracy. So I will made new official releases (making SEO translation links working for every one) and in the same time I want those people to realize that removing credit link without donation is software piracy. Thats why I used more words this time to describe same issue. And those words are making LICENSE AGREEMENT. If you use this mod you agree for conditions below. If you don't agree - simply don't use it.

LICENSE AGREEMENT - using this mod you agree for those conditions:
- you are NOT allowed to remove credit link unless you donate NLP-er https://vborg.vbsupport.ru/member.php?u=267979
- removing credit link without donating NLP-er means BREAKING LICENSE AGREEMENT and you lose your rights to use this mod
- using it after that is illegal, it is software PIRACY and it will be notified in vBulletin community and other places, including appropriate government/police units in your country
- author of this mod reserves the right to change the terms of this license agreement at any time. Failure to receive notification of a change does not make those changes invalid. A current copy of this license is and will be available in mod description.

To all who already donate: please PM me your forum links, so I will be able to include your forum link in Already donated section, so it will be clear that you removed credit link legally :)

To others who removed credit link breaking restriction included in code - just made donation or update mod (even with same version) to restore credit link :)

Thanks a lot to all :)

NLP-er
09-18-2009, 09:41 PM
I will say but i will remove this flag from mod......

You can disable it if you don't want to use Macedonian translations, or just override flag by some other gif :)

fridolin
09-19-2009, 05:46 AM
Hi, NLP-er!
You made a very interesting hack, Thanks.

I have a question:
in your htaccess:
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]
may be
RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbenterprisetranslator_seo.php [L,QSA]
or no?

imported_silkroad
09-19-2009, 07:26 AM
Macedonia --> FYROM

RedHacker,

This mod is a lanaguge translation mod, not a political translation mod.

The two letter country code for Macedonian is MK (http://en.wikipedia.org/wiki/Macedonian_language).

Greece has disputed the use of the country name Macedonia and has pushed for the country name Former Yugoslav Republic of Macedonia (FYROM), however the flag remains the same.

Hence, if you want to change the mod, you would need to find every occurrence of the phrase Macedonia and change it to FYROM. The name of the language, Macedonian would remain the same; however you can easily change the country name to FYROM if you wish.

Or, you could request that NLP-er add an option in the mod to use the country name FYROM instead of Macedonia, which he could easily do, since this is a minor technical issue, but a seemingly major issue for the government of Greece (http://www.greece.org/Themis/Macedonia/history.htm).

imported_silkroad
09-19-2009, 07:39 AM
Also, FWIW,

Microsoft references the Macedonian language (http://msdn.microsoft.com/en-us/library/ms533052(VS.85).aspx), MK, as follows:

mk Macedonian (FYROM)

NLP-er
09-19-2009, 08:26 AM
Hi, NLP-er!
You made a very interesting hack, Thanks.

I have a question:
in your htaccess:
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]
may be
RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbenterprisetranslator_seo.php [L,QSA]
or no?

Right now it is working :)
Will it work with this change - you can test it, since it is working I think that it is loose of time :)

NLP-er
09-19-2009, 08:30 AM
RedHacker,

This mod is a lanaguge translation mod, not a political translation mod.

The two letter country code for Macedonian is MK (http://en.wikipedia.org/wiki/Macedonian_language).

Greece has disputed the use of the country name Macedonia and has pushed for the country name Former Yugoslav Republic of Macedonia (FYROM), however the flag remains the same.

Hence, if you want to change the mod, you would need to find every occurrence of the phrase Macedonia and change it to FYROM. The name of the language, Macedonian would remain the same; however you can easily change the country name to FYROM if you wish.

Or, you could request that NLP-er add an option in the mod to use the country name FYROM instead of Macedonia, which he could easily do, since this is a minor technical issue, but a seemingly major issue for the government of Greece (http://www.greece.org/Themis/Macedonia/history.htm).

Once again mod doesn't and never did use country name Macedonia.

Mod is not using country names at all :D It uses languages names. One country can have several languages, one language can be used in several countries. MOD IS NOT USING COUNTRY NAMES... it is using languages names :)

RedHacker
09-19-2009, 12:35 PM
I disable this flag with language and I am OK

NLP-er
09-19-2009, 09:31 PM
2.3.0 RELEASED! and finally closed beta stage :)

What's new:
- Supports translation SEO links even without vbSEO :D:D:D
- Translate Google Maps (configurable) - see http://www.forum.simple-nlp.pl/infor...ogle-maps.html for demo
- Little optimizations (i.e. included only necessary things for not translated pages)
- Supports several cache cleaning strategies (optimization for really big forums) and automatically disables cache for cleaning time to avoid read/write conflicts

Hi all. New release allows to use SEO links for every one!!! Even for those without vbSEO. I testes it on 2 test forums without vbSEO - 1 with URL going straigh to forum and 1 with subdirectory in url. It's working in booth cases.

Thats why I think that SEO links should finally work for forums with vbSEO and subdirectory in URL. Not tested in this configuration - who reads this topic knows why :p (but I know that SEO links are working for forums with subdirectory and without vbSEO) - so I will appreciate confirmation does it works on such forums or not :)

I hope that I don't ask for too much and having so many great users who asked for this functionality, there will be at least one cool guy/girl who let me know about this :p

EDIT: CONFIRMED!!! :D:D:D

Also for those where cache cleaning takes too long - you can create those indexes:

CREATE INDEX dateline ON vbenterprisetranslator_cache_short(dateline);
CREATE INDEX dateline ON vbenterprisetranslator_cache_medium(dateline);
CREATE INDEX dateline ON vbenterprisetranslator_cache(dateline);

NOTE:
- If you made first installation - this is already included. Only those who made update can (but don't have to) create those indxes manually
- Those indexes can help or not (even can make it worst) it depends from your mysql version and Cache TTL setting. mySQL can choose to not use indexes if too much data is selected by where clause - in this case those indexes will made things worst because those will have to be updated during inserts and deletes. If you don't understood what I'm writing here it means that most probably you can ignore it :) Those who have to will understand :D
- When you already have filled cache, then creation of index can take long time (from minutes even to hours - depending of number of rows). So if you want create it then:
1. disable cache for this time
2. (optional) delete whole cache - in this case indexes will be made immediately. You can delete cache data manually (SQL) or change clearing strategy to last one, trigger clearing task manually (in scheduled task), and going back to normal clearing strategy.
3. create indexes (if you didn't clear cache, then create indexes one by one)
4. remember to turn on cache again

ENJOY! :D:up:

Megatr0n
09-19-2009, 11:00 PM
NLP-er, when is version 3 coming out? :D

NLP-er
09-19-2009, 11:03 PM
NLP-er, when is version 3 coming out? :D

When it will be ready :D ;)

Right now I'm waiting to see does this mod is cool enough to get MOM :cool:

Trana
09-20-2009, 02:38 AM
Thats why I think that SEO links should finally work for forums with vbSEO and subdirectory in URL. Not tested in this configuration - who reads this topic knows why :p (but I know that SEO links are working for forums with subdirectory and without vbSEO) - so I will appreciate confirmation does it works on such forums or not :)


Anyone tested this yet?

dai-kun
09-20-2009, 05:03 AM
I get this Database Error: Unable to connect to the database:Could not connect to MySQL when I tried to use with vBSEO and click on a flag. Nothing is wrong with the database as I can browse the site normally without clicking the flag.

I have set the settings to use vBSEO correctly in my admincp:
Link type: VBSEO_URI
Forum dir: /forum
Translation Links Type: Create URL's according to SEO link consensus (i.e. '/en/address')

I have already made the necessary changes to .htaccess:
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /

#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&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|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&redirected=/$2 [L,QSA]

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

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
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]

I will PM you with access. Only guests have access to the flag until it's fixed.

NLP-er
09-20-2009, 12:35 PM
Anyone tested this yet?

Why don't you test it - it is just change of one option and few lines to add in .htaccess. To disable it is only to change the option to default. Piece of cake :)

NLP-er
09-20-2009, 12:37 PM
I get this Database Error: Unable to connect to the database:Could not connect to MySQL when I tried to use with vBSEO and click on a flag. Nothing is wrong with the database as I can browse the site normally without clicking the flag.

I have set the settings to use vBSEO correctly in my admincp:
Link type: VBSEO_URI
Forum dir: /forum
Translation Links Type: Create URL's according to SEO link consensus (i.e. '/en/address')

I have already made the necessary changes to .htaccess:
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /

#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&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|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&redirected=/$2 [L,QSA]

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

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
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]

I will PM you with access. Only guests have access to the flag until it's fixed.

Good Idea - PM me detail I will check it :)

imported_silkroad
09-20-2009, 01:06 PM
MOD IS NOT USING COUNTRY NAMES... it is using languages names :)

Yes, you are right. BUT, the mod does use country flags and flags are associated with countries, so some people will naturally equate a country flag with a country name ;)

NLP-er
09-20-2009, 01:45 PM
Yes, you are right. BUT, the mod does use country flags and flags are associated with countries, so some people will naturally equate a country flag with a country name ;)

You have absolutely right.

So like I wrote before - it is enough to overwrite gif file or disable translation for that language.

NLP-er
09-20-2009, 07:53 PM
I CONFIRM that mod is finally working with SEO links on forums with vbSEO and subdirectory in URL :D

Still - there is new issue with vbSEO 3.3.1 where error occurs for translation on main page. Thanks to dai-kun I'm working right now on his forum, to solve this issue :)

Of course on vbSEO 3.3.0 everything is working fine :)

EDIT: false alarm ;) There is one issue, but I'm working on it.

EDIT 2: I already have solution for SEO links in forums with vbSEO and subdirectory in URL, but I hold with production till I found solution or 2nd issue (vbSEO 3.3.1)

imported_silkroad
09-21-2009, 05:48 PM
Has anyone tried this mod with TfSEO 2.0 ?

https://vborg.vbsupport.ru/showthread.php?t=173738

NLP-er
09-21-2009, 06:38 PM
Has anyone tried this mod with TfSEO 2.0 ?

https://vborg.vbsupport.ru/showthread.php?t=173738

Maybe ask author of mod does he want to make his product better by making it compatible with vBET :)

Right now I want to close all the issues with actual functionality, get confirmation that it is OK and then I can work on new ones (especially 3.0.0 :D)

NLP-er
09-22-2009, 12:28 AM
2.3.1 RELEASED

Confirmed working SEO links on forums with vbSEO and subdirectory in URL!!! (required additional step for .htaccess file - see in first post)

Confirmed working with vbSEO 3.3.1

Also Some little bug fixes.

Finally SEO links are working for everyone :) If you will have any trouble with making translations working - please before you ask about anything go to first post where is FAQ. And most important FALLOW THE INSTRUCTIONS. I just spend 2 nights fighting with vbSEO 3.3.1 on some guy forum, but there was no problem with new vbSEO at all. I just lose 2 days trying to find bug only because some guy changed mod .htaccess rules which have to be only copied and he claimed that problem is with new vbSEO. And at this particular moment I have enough :)

So enjoy the new version. Hopefully without any surprises. And if you manage any issues making translations working first make this effort and read the FAQ fallowing the instructions. And without making it several times and being absolutely sure that you have everything set appropriately, please do not bother me :) Because my first answers will be - read the FAQ, also read and set all options for mod appropriately.

I should start charging people who claim that did everything like is written, and then occurs than they didn't. It would be fast way to became millionaire ;):D:D:D

dai-kun
09-22-2009, 02:21 AM
Seems like viewing member profile is not working yet.

It gives this url:
http://domain.com/forum/members/membersname/?vbet_lang=vi&redirected=/forum/member.php

NLP-er
09-22-2009, 07:13 PM
Seems like viewing member profile is not working yet.

It gives this url:
http://domain.com/forum/members/membersname/?vbet_lang=vi&redirected=/forum/member.php

Will look at this.

kmt
09-22-2009, 08:22 PM
good hack....

whenever i use it, i.e., click on a flag i get this error message at top of page:

Warning: mysql_ping() [function.mysql-ping]: Access denied for user '---------'@'localhost' (using password: NO) in [path]/includes/vbenterprisetranslator_functions.php on line XXX

Warning: mysql_ping() [function.mysql-ping]: A link to the server could not be established in [path]/includes/vbenterprisetranslator_functions.php on line XXX

what should i do? kmt

Sweeks
09-23-2009, 12:19 AM
2.3.1 RELEASED

Confirmed working SEO links on forums with vbSEO and subdirectory in URL!!! (required additional step for .htaccess file - see in first post)

Confirmed working with vbSEO 3.3.1

Also Some little bug fixes.

Finally SEO links are working for everyone :) If you will have any trouble with making translations working - please before you ask about anything go to first post where is FAQ. And most important FALLOW THE INSTRUCTIONS. I just spend 2 nights fighting with vbSEO 3.3.1 on some guy forum, but there was no problem with new vbSEO at all. I just lose 2 days trying to find bug only because some guy changed mod .htaccess rules which have to be only copied and he claimed that problem is with new vbSEO. And at this particular moment I have enough :)

So enjoy the new version. Hopefully without any surprises. And if you manage any issues making translations working first make this effort and read the FAQ fallowing the instructions. And without making it several times and being absolutely sure that you have everything set appropriately, please do not bother me :) Because my first answers will be - read the FAQ, also read and set all options for mod appropriately.

I should start charging people who claim that did everything like is written, and then occurs than they didn't. It would be fast way to became millionaire ;):D:D:D

Is this update worth the update from our current version? 2.2.0 :)

imported_silkroad
09-23-2009, 09:57 AM
NLP-er mentioned:

Already planned for 3.0.0


- Make in vB real world wide community without language barriers
- Possibility to write posts in different languages (automatically translated to forum language, remembering original text, refreshing translation for better quality, etc.)
- Language selection as option on sign up
- RSS for multilanguage
- Lot, lot more on my private TODO list


Excellent. Great work!

NLP-er
09-23-2009, 10:05 AM
Is this update worth the update from our current version? 2.2.0 :)

Please read version history in mod description and decide :)

NLP-er
09-23-2009, 10:13 AM
good hack....

whenever i use it, i.e., click on a flag i get this error message at top of page:

Warning: mysql_ping() [function.mysql-ping]: Access denied for user '---------'@'localhost' (using password: NO) in [path]/includes/vbenterprisetranslator_functions.php on line XXX

Warning: mysql_ping() [function.mysql-ping]: A link to the server could not be established in [path]/includes/vbenterprisetranslator_functions.php on line XXX

what should i do? kmt

Strange... It looks like on your server mysql_ping is not using connection created by vbulletin.

Just checking this and looking for solution for you :)

NLP-er
09-23-2009, 10:29 AM
good hack....

whenever i use it, i.e., click on a flag i get this error message at top of page:

Warning: mysql_ping() [function.mysql-ping]: Access denied for user '---------'@'localhost' (using password: NO) in [path]/includes/vbenterprisetranslator_functions.php on line XXX

Warning: mysql_ping() [function.mysql-ping]: A link to the server could not be established in [path]/includes/vbenterprisetranslator_functions.php on line XXX

what should i do? kmt

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

if (!mysql_ping()) {


2. change it to this one:

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


Please give me confirmation does this solves the issue :)

Megatr0n
09-23-2009, 10:37 AM
NLP-er, do we have to uploads the file vbenterprisetranslator_seo.php file even if we do not run vBSEO?

NLP-er
09-23-2009, 02:17 PM
NLP-er, do we have to uploads the file vbenterprisetranslator_seo.php file even if we do not run vBSEO?

It is used only with vbSEO and SEO translation links, and it is called only by .htaccess rules.

So in your case it is not needed :)

NLP-er
09-23-2009, 06:13 PM
Seems like viewing member profile is not working yet.

It gives this url:
http://domain.com/forum/members/membersname/?vbet_lang=vi&redirected=/forum/member.php

Mod is working fine. The problem exists because of vbSEO 3.3.1. bug. vbSEO don't parses URLs in main page if index.php is in URL. And when you translate main page then index.php is in URL (on server side).What you wrote it not what gives this mod. Look carefully on link on your page it is generated fine. This what you included - this is URL after redirection by vbSEO, what happens because of mentioned error (when links will be generated good by vbSEO this issue disappears).

I just reported it - see:
http://www.vbseo.com/f3/not-parsed-links-min-page-when-index-php-url-37473/#post236094

NLP-er
09-23-2009, 07:14 PM
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/apis/ajaxlanguage/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?

NLP-er
09-23-2009, 11:50 PM
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/apis/ajaxlanguage/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
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

if (!mysql_ping()) {


2. change it to this one:

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
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/apis/ajaxlanguage/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:

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
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
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 :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
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.

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
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
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
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
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
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
Hi,
for all that a wondering what this AddOn will do to the traffic.
Please find this graphic:
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
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:

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
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
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?

.... 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
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.

##########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&redirected=/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&redirected=/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
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
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
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
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.

NLP-er
09-29-2009, 07:05 AM
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.

Just read first post where it is clearly described:
Above all rules to vbseo.php put this rules

I suppose that it can be pain in the ass if you don't fallow the instructions, but in this case it is your choice to have pain in the ass...

NLP-er
09-29-2009, 07:08 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.

Just read carefully FAQ and all mod options descriptions :) You miss it and complain. Just take attention of what you are reading.

Also PM me if you still have a problem :)

NLP-er
09-29-2009, 07:10 AM
Hi,
for all that a wondering what this AddOn will do to the traffic.
Please find this graphic:
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

You are welcome :)

NLP-er
09-29-2009, 07:15 AM
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?

Flags are generated by templates, so everyone can customize the look according to its own requirements. Just edit 3 templates for flags and use custom place :)

FLAG - USA - just override the gif with England flag and that's it. The description says what is the language, and in USA it is still English.

NLP-er
09-29-2009, 07:19 AM
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

Details please. Give me link of your forum. Also if this happens then most probably it have nothing common with vbseo. This mod have functionality to obey redirections and what you describing can be a bug in this mod. Once again - please give me exact link where it happens.

NLP-er
09-29-2009, 07: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!!

It is very easy - just use not translated areas. See list of features in mod description for details :)

NLP-er
09-29-2009, 07:24 AM
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

Automatically in 3.0.0 - this version is in progress :) Also when it will be ready, you will still need to make changes in existing posts. It will be automatic for new ones according to users default language, and it will allow to even write in many languages in one post :D (I have it already working).

Zi55
09-29-2009, 08:32 AM
Hello ,
I discover a bug in the hack , when a visitor choose any language and he want to register in forum and you have the registetion rules on he will see an error message , i try it in my 3 forums .
Thanks ..

KrisP
09-29-2009, 06:39 PM
Installed on my testforum! - looks like a very intelligent mod :)

Just a quick question: I am considering running this for the time beeing on my testforum only. So question is - is there a method to omit the source language pages from Google search results on the testforum, to avoid duplicate content?

KrisP
09-29-2009, 10:22 PM
Is it possible to tag the source language with =sourcelanguage or /sourcelanguage/ ?

Megatr0n
09-29-2009, 10:29 PM
Automatically in 3.0.0 - this version is in progress :) Also when it will be ready, you will still need to make changes in existing posts. It will be automatic for new ones according to users default language, and it will allow to even write in many languages in one post :D (I have it already working).

Awesome!

What languages?

KHALIK
09-29-2009, 11:06 PM
When I click on a flag, I get the following message;

Database Error: Unable to connect to the database:Could not connect to MySQL


how do I fix this ?

NLP-er
09-30-2009, 06:26 AM
Hello ,
I discover a bug in the hack , when a visitor choose any language and he want to register in forum and you have the registetion rules on he will see an error message , i try it in my 3 forums .
Thanks ..

Not on my board - please give me your forum address so I can see it :)

NLP-er
09-30-2009, 06:37 AM
Installed on my testforum! - looks like a very intelligent mod :)

Just a quick question: I am considering running this for the time beeing on my testforum only. So question is - is there a method to omit the source language pages from Google search results on the testforum, to avoid duplicate content?

Don't understand the question. What duplicate content - there is no duplicate content, because each translation have content in different language and for original content mod doesn't create new URLs

NLP-er
09-30-2009, 06:38 AM
Is it possible to tag the source language with =sourcelanguage or /sourcelanguage/ ?

Mod don't do anything with the original content pages URLs.

NLP-er
09-30-2009, 06:54 AM
Awesome!

What languages?

All 52. + I already have implemented functionality for users default languages set in registration and configurable in profile. But still tons of things to do and bugs to fix. 3.0.0 seems like full time job right now :erm:

NLP-er
09-30-2009, 06:57 AM
When I click on a flag, I get the following message;




how do I fix this ?

Are you using SEO links and vbSEO + are you using subdirectory in forum URL? If yes then most probably you didn't fallow instructions for .htaccess file.

Otherwise PM me details.

Megatr0n
09-30-2009, 07:03 AM
Rough idea when it'll be released? :D

KHALIK
09-30-2009, 10:31 AM
Are you using SEO links and vbSEO + are you using subdirectory in forum URL? If yes then most probably you didn't fallow instructions for .htaccess file.

Otherwise PM me details.


This is right at the top of my .htaccess file before anything else. (copied and pasted it here)


RewriteEngine On

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&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|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&redirected=/$2 [L,QSA]

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





This is my website: http://www.fragmasters.co.uk/forum

KrisP
09-30-2009, 11:38 AM
Don't understand the question. What duplicate content - there is no duplicate content, because each translation have content in different language and for original content mod doesn't create new URLs

I would like to have my original forum on domain A - and the rest of the languages on domain B. So I need a way to identify the original language on domain B, so it can be omitted from robots, but perhaps I can use robots.txt on domain B for this allowing the appropriate language folders and default disallowing rest, like this ??:

User-agent: *
Allow: /lang1/
Allow: /lang2/
etc.
Disallow: /

Also is there a conditional / variable that tells what language beeing browsed by a user?

KrisP
09-30-2009, 10:35 PM
//additional code
$alanguages = array ('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');
if(!$archived)
foreach($alanguages as $language) {
$vbseo_stat['t']++;
vbseo_add_url(vbseo_url_thread($threadrow, $p, $archived).'?language='.$language, $prior, $threadrow['lastpost'], $freq);
}
//end additional code

Seems: ca dl et hi id lv lt mt sl sq tl uk vi
are duplicates.

Correct:

//additional code
$alanguages = array ('af','ar','be','bg','ca','cs','cy','da','de','el' ,'en','es','et','fa','fi','fr','ga','gl','hi','hr' ,'hu','id','is','it','iw','ja','ko','lt','lv','mk' ,'ms','mt','nl','no','pl','pt','ro','ru','sk','sl' ,'sq','sr','sv','sw','th','tl','tr','uk','vi','yi' ,'zh-CN','zh-TW');
if(!$archived)
foreach($alanguages as $language) {
$vbseo_stat['t']++;
vbseo_add_url(vbseo_url_thread($threadrow, $p, $archived).'?language='.$language, $prior, $threadrow['lastpost'], $freq);
}
//end additional code

dai-kun
09-30-2009, 10:45 PM
This is right at the top of my .htaccess file before anything else. (copied and pasted it here)





This is my website: http://www.fragmasters.co.uk/forum

You did not follow instructions, look at my post.

https://vborg.vbsupport.ru/showpost.php?p=1891591&postcount=636

Lautaro
10-01-2009, 03:38 AM
I'm always getting this error message at the top of my forum:


Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in [path]\includes\vbenterprisetranslator_functions.php on line 184


Im running my forum on a dedicated server:

- Windows Server 2003 Enterprise SP1
- For the webserver I'm using XAMPP
- vB 3.8.4

any idea why?

profanitytalker
10-01-2009, 04:13 AM
reserved

dai-kun
10-01-2009, 04:15 AM
I'm always getting this error message at the top of my forum:


Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in [path]\includes\vbenterprisetranslator_functions.php on line 184


Im running my forum on a dedicated server:

- Windows Server 2003 Enterprise SP1
- For the webserver I'm using XAMPP
- vB 3.8.4

any idea why?


Turn off SAFE_MODE in your php.ini configuration either by ssh or contacting your host.

Zi55
10-01-2009, 07:28 AM
Not on my board - please give me your forum address so I can see it :)
Hello ,
The bug also in your forum , you can try it using Avant Explorer , In firefox it seems to be fine .
Thanks ,
Zi5

KrisP
10-01-2009, 04:47 PM
If we could have built in population of cache control in vboptions I am willing to chip in with a donation for this.

KrisP
10-01-2009, 11:45 PM
I have run wget -b -O /dev/null -i detest2.txt -o links.txt and I can see in links.txt:

--02:22:53-- http://www.myforum.org/showthread.php?t=3953&language=de
Connecting to www.myforum.org|xx.xx.xx.xxx|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/dev/null'

0K .......... .......... ........ 450M=0s

also I have installed datastore on forum.

If I copy/paste a link from links.txt it takes a long time to load - then if I paste same link second time in another browser it loads fast.

Shouldnt the link from links.txt load fast the first time after running wget ?

another problem: if I manually run : wget http://www.myforum.org/showthread.php?t=3172&language=de
that yields:

Connecting to www.myforum.org|xx.xx.xx.xxx|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `showthread.php?t=3172'

[ <=> ] 29,128 --.-K/s in 0s

03:46:35 (130 MB/s) - `showthread.php?t=3172' saved [29128]

Still it dosent get cached - takes long time to load ...

Many of you might have a busy site (like us) and things can slow down during your peak traffic times. Or, you just might want to speed up serving your translated pages, regardless of the speed of translation across the net, by pre-fetching your translations and populating your dB cache.

We do this very simply, and manually, during off-peak times using the urllist.txt file generated by vBSEO, as follows (linux wget example):

(1) Copy the ./data/urllist.txt file to something like ja.txt (we will use Japanese as an example here).

(2) Simply use either vi or sed (or your favorite tool) to append ?language=ja (or whatever language you use) to the end of each URL. Example: %s/$/?language=ja/

(3) Optional: Remove the posts and index URLs if you want to focus on showthreads and tags, etc. This step is optional, and can be easily done with grep.

(4) Run this command in the same directory:

wget -b -O /dev/null -i ja.txt -o links.txt -U your_site_wget_ja

Basically, wget will run in the background (-b), send the output to /dev/null, and GET every URL in the ja.txt (-i), send the output to (optional) links.txt (-o) and then to track your progress in the log files (optional) you can specify a string for your user agent (-U).

Also, you can add the wait (-w) option in wget if you need it, but we run this off peak, so nevermind.

I found using wget against a modified version of urllist.txt works great to prefetch translations :D

This is very and you can easily run it on your (linux) server. Enjoy :cool:

NLP-er
10-02-2009, 12:11 AM
Rough idea when it'll be released? :D

Still have no idea - lot, lot, lot work to do. But today I finished translations for RSS channels :)

NLP-er
10-02-2009, 12:15 AM
This is right at the top of my .htaccess file before anything else. (copied and pasted it here)





This is my website: http://www.fragmasters.co.uk/forum

As I wrote - You didn't fallow instructions for .htaccess. Please read it again - WHOLE - then apply and it will solve the issue :)

NLP-er
10-02-2009, 12:22 AM
I would like to have my original forum on domain A - and the rest of the languages on domain B. So I need a way to identify the original language on domain B, so it can be omitted from robots, but perhaps I can use robots.txt on domain B for this allowing the appropriate language folders and default disallowing rest, like this ??:

User-agent: *
Allow: /lang1/
Allow: /lang2/
etc.
Disallow: /

Also is there a conditional / variable that tells what language beeing browsed by a user?

You can play with robots.txt if you want and check the results.

About variable in SEO lins language is inside of the path. In old way links (you can choose which one you like in mod options) you have language param in URL. In booth ways language param exists in $_GET on server side (.htaccess cares about it for SEO links). So in your server B you can add plugin which will send error header for requests without language param - just in case if you mess something in your robots.txt file.

KrisP
10-02-2009, 12:34 AM
You can play with robots.txt if you want and check the results.

About variable in SEO lins language is inside of the path. In old way links (you can choose which one you like in mod options) you have language param in URL. In booth ways language param exists in $_GET on server side (.htaccess cares about it for SEO links). So in your server B you can add plugin which will send error header for requests without language param - just in case if you mess something in your robots.txt file.

Ok, I decided to go with the language= option with robots.txt

User-agent: *


Disallow: /*1$
Disallow: /*2$
Disallow: /*3$
Disallow: /*4$
Disallow: /*5$
Disallow: /*6$
Disallow: /*7$
Disallow: /*8$
Disallow: /*9$
Disallow: /*0$
Disallow: /*.php$

This way I omit the source language.

NLP-er
10-02-2009, 12:51 AM
Seems: ca dl et hi id lv lt mt sl sq tl uk vi
are duplicates.

Correct:

Thanks for note - corrected :)

NLP-er
10-02-2009, 12:52 AM
I'm always getting this error message at the top of my forum:


Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in [path]\includes\vbenterprisetranslator_functions.php on line 184


Im running my forum on a dedicated server:

- Windows Server 2003 Enterprise SP1
- For the webserver I'm using XAMPP
- vB 3.8.4

any idea why?

Please read the FAQ in first post - it is already answered there :)

NLP-er
10-02-2009, 01:01 AM
Hello ,
The bug also in your forum , you can try it using Avant Explorer , In firefox it seems to be fine .
Thanks ,
Zi5

I even didn't hear about Avant Explorer before ;)

Thanks for note. In 3.0.0 I will check does it works on Avant Explorer. Also add in TODO list for 2x.

NLP-er
10-02-2009, 01:05 AM
If we could have built in population of cache control in vboptions I am willing to chip in with a donation for this.

What do you mean by 'population of cache control'?

If number of data then it is already controlled by Cache TTL.

It adding data to cache by some robot - it is against Google conditions.

NLP-er
10-02-2009, 01:11 AM
Ok, I decided to go with the language= option with robots.txt



This way I omit the source language.

I didn't know that you can use * for Disallow in robots.txt... Does it work?

NLP-er
10-02-2009, 01:14 AM
I have run wget -b -O /dev/null -i detest2.txt -o links.txt and I can see in links.txt:



also I have installed datastore on forum.

If I copy/paste a link from links.txt it takes a long time to load - then if I paste same link second time in another browser it loads fast.

Shouldnt the link from links.txt load fast the first time after running wget ?

another problem: if I manually run :
that yields:



Still it dosent get cached - takes long time to load ...

I'm not using wget at all so I cannot help. imported_silkroad wrote about it - maybe PM him :)

imported_silkroad
10-02-2009, 07:37 AM
I have run wget -b -O /dev/null -i detest2.txt -o links.txt and I can see in links.txt:



also I have installed datastore on forum.

If I copy/paste a link from links.txt it takes a long time to load - then if I paste same link second time in another browser it loads fast.

Shouldnt the link from links.txt load fast the first time after running wget ?

another problem: if I manually run :
that yields:



Still it dosent get cached - takes long time to load ...

If you can see the links and the HTML 200 success return codes, then all is well, as far as fetching links with wget.

Caching language translation results is a totally different process than fetching links. First you need to make sure you are actually fetching links.

Did you edit your URL files, -i detest2.txt, to include the language?

Please post a sample of your -i detest2.txt file and the corresponding output file -o links.txt.

Cheers.

KrisP
10-02-2009, 04:05 PM
Caching language translation results is a totally different process than fetching links.

Ok, thanks - but I thought the purpose of wget was to filling up the cache, then what is the purpose of fetching links?

With regards to filling up the cache I am now using "Website downloader for windows" - it works, but of course taking up some bandwith while doing it.

imported_silkroad
10-02-2009, 04:17 PM
Ok, thanks - but I thought the purpose of wget was to filling up the cache, then what is the purpose of fetching links?

With regards to filling up the cache I am now using "Website downloader for windows" - it works, but of course taking up some bandwith while doing it.

Yes, the purpose is to populate the cache. I works fine for us. Any correct link that returns a 200 will cause vBGT to get populate the cache. We use wget, as described and it works great for you.

I am not following your problem.

If it is not working, you need to post examples from your input and output file, as requested. Otherwise, how would we know if your input file to wget is correct?

KrisP
10-02-2009, 04:34 PM
Here it is:

detest2.txt

http://www.myforum.org/showthread.php?t=3873&language=de
http://www.myforum.org/showthread.php?t=4255&language=de
http://www.myforum.org/showthread.php?t=2869&language=de
http://www.myforum.org/showthread.php?t=4267&language=de
http://www.myforum.org/showthread.php?t=4208&language=de
http://www.myforum.org/showthread.php?t=2783&language=de
http://www.myforum.org/showthread.php?t=4238&language=de
http://www.myforum.org/showthread.php?t=3953&language=de
http://www.myforum.org/showthread.php?t=4328&language=de
http://www.myforum.org/showthread.php?t=3172&language=de
http://www.myforum.org/showthread.php?t=3172&page=2&language=de
http://www.myforum.org/showthread.php?t=4305&language=de
http://www.myforum.org/showthread.php?t=4483&language=de
http://www.myforum.org/showthread.php?t=4263&language=de
http://www.myforum.org/showthread.php?t=4548&language=de
http://www.myforum.org/showthread.php?t=4599&language=de

wget -b -O /dev/null -i detest2.txt -o links.txt

links.txt
--19:27:04-- http://www.myforum.org/showthread.php?t=3873&language=de
Resolving www.myforum.org... 85.25.73.125
Connecting to www.myforum.org|85.25.73.125|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/dev/null'

0K .......... .......... ......... 355M=0s

19:27:05 (355 MB/s) - `/dev/null' saved [30528]

--19:27:05-- http://www.myforum.org/showthread.php?t=4255&language=de
Connecting to www.myforum.org|85.25.73.125|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/dev/null'

0K .......... .......... ......... 492M=0s

19:27:05 (492 MB/s) - `/dev/null' saved [29896]

--19:27:05-- http://www.myforum.org/showthread.php?t=2869&language=de
Connecting to www.myforum.org|85.25.73.125|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/dev/null'

0K .......... .......... ......... 1.92M=0.01s

19:27:06 (1.92 MB/s) - `/dev/null' saved [29883]

--19:27:06-- http://www.myforum.org/showthread.php?t=4267&language=de
Connecting to www.myforum.org|85.25.73.125|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/dev/null'

0K .......... .......... ......... 297M=0s

19:27:07 (297 MB/s) - `/dev/null' saved [29871]

--19:27:07-- http://www.myforum.org/showthread.php?t=4208&language=de
Connecting to www.myforum.org|85.25.73.125|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/dev/null'

0K .......... .......... ......... 380M=0s

19:27:07 (380 MB/s) - `/dev/null' saved [29870]

--19:27:07-- http://www.myforum.org/showthread.php?t=2783&language=de
Connecting to www.myforum.org|85.25.73.125|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/dev/null'

0K .......... .......... ......... 361M=0s

19:27:09 (361 MB/s) - `/dev/null' saved [29878]

--19:27:09-- http://www.myforum.org/showthread.php?t=4238&language=de
Connecting to www.myforum.org|85.25.73.125|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/dev/null'

0K .......... .......... ......... 285M=0s

19:27:11 (285 MB/s) - `/dev/null' saved [29872]

--19:27:11-- http://www.myforum.org/showthread.php?t=3953&language=de
Connecting to www.myforum.org|85.25.73.125|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/dev/null'

0K .......... .......... ......... 419M=0s

19:27:12 (419 MB/s) - `/dev/null' saved [29876]

--19:27:12-- http://www.myforum.org/showthread.php?t=4328&language=de
Connecting to www.myforum.org|85.25.73.125|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/dev/null'

0K .......... .......... ......... 347M=0s

19:27:12 (347 MB/s) - `/dev/null' saved [29878]

--19:27:12-- http://www.myforum.org/showthread.php?t=3172&language=de
Connecting to www.myforum.org|85.25.73.125|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/dev/null'

0K .......... .......... ......... 15.2M=0.002s

19:27:13 (15.2 MB/s) - `/dev/null' saved [29876]

--19:27:13-- http://www.myforum.org/showthread.php?t=3172&page=2&language=de
Connecting to www.myforum.org|85.25.73.125|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/dev/null'

0K .......... .......... ......... 352M=0s

19:27:14 (352 MB/s) - `/dev/null' saved [30263]

--19:27:14-- http://www.myforum.org/showthread.php?t=4305&language=de
Connecting to www.myforum.org|85.25.73.125|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/dev/null'

0K .......... .......... ......... 219M=0s

19:27:14 (219 MB/s) - `/dev/null' saved [29873]

--19:27:14-- http://www.myforum.org/showthread.php?t=4483&language=de
Connecting to www.myforum.org|85.25.73.125|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/dev/null'

0K .......... .......... ......... 2.63M=0.01s

19:27:17 (2.63 MB/s) - `/dev/null' saved [29880]

--19:27:17-- http://www.myforum.org/showthread.php?t=4263&language=de
Connecting to www.myforum.org|85.25.73.125|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/dev/null'

0K .......... .......... ......... 291M=0s

19:27:17 (291 MB/s) - `/dev/null' saved [29870]

--19:27:17-- http://www.myforum.org/showthread.php?t=4548&language=de
Connecting to www.myforum.org|85.25.73.125|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/dev/null'

0K .......... .......... ......... 331M=0s

19:27:18 (331 MB/s) - `/dev/null' saved [29879]

--19:27:18-- http://www.myforum.org/showthread.php?t=4599&language=de
Connecting to www.myforum.org|85.25.73.125|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/dev/null'

0K .......... .......... ......... 310M=0s

19:27:18 (310 MB/s) - `/dev/null' saved [29880]

FINISHED --19:27:18--
Downloaded: 16 files, 468K in 0.03s (15.9 MB/s)

For some reason it seems to save to /dev/null right now - I am calling wget from "httpdocs" = forum root

just wget http://www.myforum.org/showthread.php?t=978&page=2&language=ja

gives:

Resolving www.myforum.org... 85.25.73.125
Connecting to www.myforum.org|85.25.73.125|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `showthread.php?t=978.1'

[ <=> ] 148,906 --.-K/s in 0.001s

19:56:57 (240 MB/s) - `showthread.php?t=978.1' saved [148906]

Here is another example:

If I click a link I can see vbenterprisetranslator_cache_xyz table increases - when I run wget the table dosent increase. wget simply has no effect on the cache in my end.

KrisP
10-02-2009, 05:02 PM
If I want to manully empty the cache at some point. Then I can simply "empty cache" in phpmyadmin for the 3 vbenterprisetranslator_cache tables?

imported_silkroad
10-02-2009, 05:04 PM
Thanks.

It works for us, not sure why it does not work for you.

Anyway, if you get it to work for you, please post back your working wget code. Thanks for posting.

Cheers.

KrisP
10-02-2009, 05:21 PM
Thanks.

It works for us, not sure why it does not work for you.

Anyway, if you get it to work for you, please post back your working wget code. Thanks for posting.

Cheers.

I will, surely would be easier that way.

******************

Typo in language= vbseo sitemap mod:



//additional code
$alanguages = array ('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');
if(!$archived)
foreach($alanguages as $language) {
$vbseo_stat['t']++;
vbseo_add_url(vbseo_url_thread($threadrow, $p, $archived).'?language='.$language, $prior, $threadrow['lastpost'], $freq);
}
//end additional code

should be &amp instead of ? like this:

$archived).'&amplanguage='.$language

imported_silkroad
10-02-2009, 05:51 PM
Hey KrisP,

You can always test it by sending the output to a file (or the screen) versus sending the output to /dev/null.

Pulling with wget is not any different than pulling with a browsers, etc, as you know well, so you can check it easily by sending the output to a file or the screen.

imported_silkroad
10-02-2009, 05:55 PM
Hey KrisP,

Try this and see if it works for you...

wget -b -i detest2.txt -o links.txt

or

wget -i detest2.txt -o links.txt

imported_silkroad
10-02-2009, 05:59 PM
Hello Again KrisP,

I just tested it with

wget -b -O testfile.txt -i detest2.txt -o links.txt

and it works fine....

I could see the translations in the testfile.txt

All was OK.

Piping the output to /dev/null does not stop wget from pulling the file and vBGT from translating it....

Cheers.

KrisP
10-02-2009, 07:24 PM
Yes writing to a file then the cache get filled! Problem is that this takes 20 times longer than downloading with "Website downloader for windows".

Unfortunately I started a large file with wget - it could take days.

Do you know how I could terminate a running wget job?

EDIT: Seems kill "pid nr" did the job.

imported_silkroad
10-02-2009, 07:46 PM
Yes writing to a file then the cache get filled! Problem is that this takes 20 times longer than downloading with "Website downloader for windows".

Unfortunately I started a large file with wget - it could take days.

Do you know how I could terminate a running wget job?

EDIT: Seems kill "pid nr" did the job.
.

Sorry, but that is ridiculous.....

Obviously, if you don't know how to kill a running process on unix/linux you don't have enough experience to actually know what you are talking about regarding performance.

There is no reason that wget runs longer than something else (especially a windoze platform), unless you have a configuration problem or are running on different platforms , different networks, etc, etc.

You are posting misinformation base on your lack of knowledge and experience, obvious by asking how to kill a running process.

KrisP
10-02-2009, 08:06 PM
Hey champ

wget fetches one link at a time serially that takes 1-5 seconds to load each while "Website downloader for windows" is downloading 20 links parallel at a time.

imported_silkroad
10-03-2009, 05:03 AM
Hey champ

wget fetches one link at a time serially that takes 1-5 seconds to load each while "Website downloader for windows" is downloading 20 links parallel at a time.

First of all, if you want wget to download 20 links in parallel, you can simply run twenty instances. If you want wget to download 100 links in parallel, you can simply run 100 instances, etc.

Second, most people do not want to put the type of load you are talking about on a production server. For example, our forum gets more than 4,000,000 page views a month, so there is NO WAY we would run any process that spiders 20 links in parallel (we even regulate how GoogleBot spiders our site).

As I said earlier KrisP, you don't understand the details and implications of what you are talking about. You don't understand the basics of performance management, system management, and seem to be a "windows user fan" who just wants to make a statement about how great windows it versus a unix/linux command line tool. So be it, but you are simply spreading misinformation here.

Of course, GoogleBot uses a variety of wget for all their spidering, so I guess you will argue with Google as well ;) I promise you Google does not use a windows spidering tool, ROTFL.

If you want to run 1000 parallel instances of wget, do it. Anyone who understands basic command line scripting could write this script in less than 10 minutes.

Like I said earlier you have a (1) configuration problem and you also have a (2) lack experience and knowledge issue, obvious by your posts. That is no problem. We are all glad to help you, but do not post misinformation here (please!) about how to use wget and how great windows is over unix/linux command line knowledge and expertise.

NLP-er
10-03-2009, 09:44 PM
If I want to manully empty the cache at some point. Then I can simply "empty cache" in phpmyadmin for the 3 vbenterprisetranslator_cache tables?

Use SQL to empty cache tables.

NLP-er
10-03-2009, 09:47 PM
I will, surely would be easier that way.

******************

Typo in language= vbseo sitemap mod:



should be &amp instead of ? like this:

This code is given by vbSEO staff, because sitemap generator is owned by vbSEO. I'm using links in SEO style, so cannot tell you about results for links in language param style produced by sitemap generator. Do you see wrong results in sitemap? If no then it is ok. If yes then made the change an check it - also let us know about your results. I will gladly correct this code for sitemap generator if there is any bug :)

GoTTi
10-04-2009, 02:56 AM
Flags are generated by templates, so everyone can customize the look according to its own requirements. Just edit 3 templates for flags and use custom place :)

FLAG - USA - just override the gif with England flag and that's it. The description says what is the language, and in USA it is still English.

how would i go about then making it a dropdown option?

NLP-er
10-04-2009, 12:04 PM
how would i go about then making it a dropdown option?

Change templates:
vbenterprisetranslator_flag
vbenterprisetranslator_flags_begin
vbenterprisetranslator_flags_end

Begin and end opens and closes div, and flag is one link. So you can customize it as you wish.

KrisP
10-04-2009, 03:49 PM
This code is given by vbSEO staff, because sitemap generator is owned by vbSEO. I'm using links in SEO style, so cannot tell you about results for links in language param style produced by sitemap generator. Do you see wrong results in sitemap? If no then it is ok. If yes then made the change an check it - also let us know about your results. I will gladly correct this code for sitemap generator if there is any bug :)

EDIT: &amp;

Yes, if this change is not made all links i sitemap will look like this, fx. :

http:/www.mysite.com/showthread.php?t=205435?language=en

instead of

http:/www.mysite.com/showthread.php?t=205435&language=en

BTW: There is also the posibillity to generate default sitemap and then search/replace:

Find: </loc>
Replace: &amp;language=fi</loc>

(except first link <loc>http://www.mysite.com/?language=sv</loc> that must be changed back to ?)

And save as xx.xml for each language to get an overview of indexing different languages.

(of course you have to do this manually every time you want sitemap updated - or you can just do it the first time and then change to big sitemap later)

KrisP
10-04-2009, 03:53 PM
Is it possible to keep UI untranslated?

imported_silkroad
10-04-2009, 03:59 PM
BTW: There is also the posibillity to generate default sitemap and then search/replace:


This is a much better way to do this.

I have a script that copies the vbseo_sitemaps and generates sitemaps for about 15 languages, moves them to their own subdirectories (one for each language) and then pings google after each one is updated.

From experience, the size of your forum makes a big (very big) difference in how you approach indexing translations in Google.

If you have a large forum with hundreds of thousands of post, you will hurt your traffic if you translate all languages and create sitemaps for all languages, because Google will not index all, and you will then have lots of links from low traffic languages.

It is better, for large sites, to only index the top 10 languages and definitely do not make all the flags viable or you will have less traffic than targeting the major languages with high Internet usage.

KrisP
10-04-2009, 04:14 PM
I see your point. However from my perspective I am doing a little experiment of creating some language specific domains (uploading a copy of the forum to these) - only showing one language per language specific domain. That is why I need seperate sitemaps. Hopefully this strategy will give good indexing.

I use language= links and this robots.txt to make spiders only spider the specific language (if some of you see a flaw in the sitemap, I would of course be very interested to know :) )

User-agent: Googlebot
Disallow: /_gsdata_/
Disallow: /admincp/
Disallow: /archive/
Disallow: /banner/
Disallow: /cgi-bin/
Disallow: /chat/
Disallow: /chat/
Disallow: /chat1/
Disallow: /chat2/
Disallow: /clientscript/
Disallow: /cpstyles/
Disallow: /css/
Disallow: /customavatars/
Disallow: /customprofilepics/
Disallow: /forums/
Disallow: /geek/
Disallow: /groups/
Disallow: /icon/
Disallow: /images/
Disallow: /impex/
Disallow: /includes/
Disallow: /install/
Disallow: /misc/
Disallow: /modcp/
Disallow: /phpbb/
Disallow: /forum_phpbb/
Disallow: /irc/
Disallow: /picture_library/
Disallow: /plesk-stat/
Disallow: /signaturepics/
Disallow: /tem/
Disallow: /test/
Disallow: /tg3/
Disallow: /upload/
Disallow: /vbseo/
Disallow: /vbseo_sitemap/
Disallow: /wiki/
Disallow: /*.php$
Disallow: /*order
Disallow: /*sort
Disallow: /*mode
Disallow: /*goto
Disallow: /*nojs
Disallow: /*s=1
Disallow: /*s=2
Disallow: /*s=3
Disallow: /*s=4
Disallow: /*s=5
Disallow: /*s=6
Disallow: /*s=7
Disallow: /*s=8
Disallow: /*s=9
Disallow: /*s=0
Disallow: /*s=e1
Disallow: /*s=e2
Disallow: /*s=3e
Disallow: /*s=e4
Disallow: /*s=e5
Disallow: /*s=e6
Disallow: /*s=e7
Disallow: /*s=e8
Disallow: /*s=e9
Disallow: /*s=e0
Disallow: /*1$
Disallow: /*2$
Disallow: /*3$
Disallow: /*4$
Disallow: /*5$
Disallow: /*6$
Disallow: /*7$
Disallow: /*8$
Disallow: /*9$
Disallow: /*0$
Disallow: /*language=af
Disallow: /*language=be
Disallow: /*language=bg
Disallow: /*language=ca
Disallow: /*language=cs
Disallow: /*language=cy
Disallow: /*language=da
Disallow: /*language=de
Disallow: /*language=el
Disallow: /*language=en_use_this
Disallow: /*language=es
Disallow: /*language=et
Disallow: /*language=fa
Disallow: /*language=fi
Disallow: /*language=fr
Disallow: /*language=ga
Disallow: /*language=gl
Disallow: /*language=hi
Disallow: /*language=hr
Disallow: /*language=hu
Disallow: /*language=id
Disallow: /*language=is
Disallow: /*language=it
Disallow: /*language=iw
Disallow: /*language=ja
Disallow: /*language=ko
Disallow: /*language=lt
Disallow: /*language=lv
Disallow: /*language=mk
Disallow: /*language=ms
Disallow: /*language=mt
Disallow: /*language=nl
Disallow: /*language=no
Disallow: /*language=pl
Disallow: /*language=pt
Disallow: /*language=ro
Disallow: /*language=ru
Disallow: /*language=sk
Disallow: /*language=se
Disallow: /*language=sl
Disallow: /*language=sq
Disallow: /*language=sr
Disallow: /*language=sv
Disallow: /*language=sw
Disallow: /*language=th
Disallow: /*language=tl
Disallow: /*language=tr
Disallow: /*language=uk
Disallow: /*language=vi
Disallow: /*language=yi
Disallow: /*language=zh-CN
Disallow: /*language=zh-TW

Googlebot should adhere to above, I am a bit unsure if there is syntax in above that other spiders will not adhere to.

I dont use the folder structure ("seo links") because I couldnt find a way to use robots.txt to narrow down to one language only using that type of links.

imported_silkroad
10-04-2009, 04:36 PM
Cheers and Good Luck.

We do not use ?hl= or ?language= etc parameters because this is not good for SEO, so I can't help you.

We rewrite our links for optimal SEO and include the language parameter in the link structure like as:

http://www.site.com/zh-CN/blahblahblah.php

etc.

KrisP
10-04-2009, 04:49 PM
I guess if it was possible to mod the mod so source language also was put in a folder www.mysite.com/sourcelanguage/.... it would be an easy task to narrow down to one language only.

imported_silkroad
10-04-2009, 04:50 PM
That is why I need seperate sitemaps. Hopefully this strategy will give good indexing.

We also use separate sitemaps.

However, as I said, for big forums, this is not good to have many languages. Google will not index all the links and too many links from little used languages hurts search engine referral traffic.

Best is to have deep indexing in the most popular languages with the biggest Internet populations (and per capita income) versus "every language under the sun"..... if you want optimal results.

I suspect your forum is quite small, so never mind.

For big forums, this is very, very important.

KrisP
10-04-2009, 05:10 PM
We rewrite our links for optimal SEO and include the language parameter in the link structure like as:

http://www.site.com/zh-CN/blahblahblah.php

etc.

I agree if already using vbseo and having a folder structure it would be best to keep the folder structure and not introducing extra language= extensions otherwise you would "spoil" vbseo.

But if not using vbseo - links already have extensions like ?p=18947 so introducing one more extension &language=en probably wont make a big difference I imagine.

GoTTi
10-04-2009, 11:14 PM
Change templates:
vbenterprisetranslator_flag
vbenterprisetranslator_flags_begin
vbenterprisetranslator_flags_end

Begin and end opens and closes div, and flag is one link. So you can customize it as you wish.


your talking spanish to me lol...i have no idea how to do this kind of thing :(

NLP-er
10-05-2009, 04:43 AM
Is it possible to keep UI untranslated?

Use not translated area - see mod description

NLP-er
10-05-2009, 04:53 AM
your talking spanish to me lol...i have no idea how to do this kind of thing :(

See vB manual for template changes + look for HTML form tags + little javascript for onchange event. Enjoy seeking for new knowledge! :D

imported_silkroad
10-05-2009, 07:05 AM
your talking spanish to me lol...i have no idea how to do this kind of thing :(

Hi GoTTI,

Your vB.org title reads "Coder/Designer" ....NPL-er is simply talking about editing an HTML file.

As a Coder/Designer, I am sure you can edit an HTML file and create a drop down menu, etc.

Cheers!

xony
10-05-2009, 10:50 AM
When I add those lines to my htaccess:

RewriteRule ^/?(en)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/index.php [L,QSA]
RewriteRule ^/?(en)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/$2 [L,QSA]

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

My index is no longer the forum and appears by default vbulletin blog, I have to make my first page remain the forum and not the Blog? thanks:)

Zi55
10-05-2009, 01:19 PM
I even didn't hear about Avant Explorer before ;)

Thanks for note. In 3.0.0 I will check does it works on Avant Explorer. Also add in TODO list for 2x.

Hello NLP-er ,
It also in the Internet Explorer , and there are a bug in firefox when you choose a language and you move to other page the language will return to the default forum language , in Internet Explorer or Avant , the language keeps the same .
Thanks ,
Zi55

NLP-er
10-05-2009, 05:11 PM
When I add those lines to my htaccess:



My index is no longer the forum and appears by default vbulletin blog, I have to make my first page remain the forum and not the Blog? thanks:)

And do you have any issues with mod on actual configuration? Also - you can always just change 1st rule :) I do not advise to change your own forum structure. Mod is for forum nod the other way ;) So just look for solution which will allow you to use mod on forum as it is :)

NLP-er
10-05-2009, 05:13 PM
Hello NLP-er ,
It also in the Internet Explorer , and there are a bug in firefox when you choose a language and you move to other page the language will return to the default forum language , in Internet Explorer or Avant , the language keeps the same .
Thanks ,
Zi55

Added in TODO list - thanks for note :):up: I will check it.

DamasGate
10-06-2009, 04:14 PM
Thank you

Installed and work fine, but when i do search on google i got description translate problem

Thank you again

NLP-er
10-06-2009, 06:39 PM
Thank you

Installed and work fine, but when i do search on google i got description translate problem

Please check attached image.

Thank you again

Please give me your forum link. Also - does on forum you see such mess? If not then everything is OK on your side. What you see in browser is seen by Google bot. If you see good content, then Google bot see good content.

DamasGate
10-06-2009, 06:55 PM
Please give me your forum link. Also - does on forum you see such mess? If not then everything is OK on your side. What you see in browser is seen by Google bot. If you see good content, then Google bot see good content.

Hi,

I see good content but if you check page Source you will see description problem ( the same google )


Thanks for reply

Blacura
10-07-2009, 01:19 AM
when i enable this mod i get this error

Fatal error: Call to undefined function vbet_getSupportedTranslations() in /home2/makingf1/public_html/ladiesletsride/forum/global.php(400) : eval()'d code on line 379

imported_silkroad
10-07-2009, 06:54 AM
Hi,

I see good content but if you check page Source you will see description problem ( the same google )

Check this thread Page Source
http://en.damasgate.com/tr/t159013/

( meta description AND keywords Problem )

Thanks for reply

Ouch! Any ideas what happened to your meta data? Any theories?

NLP-er
10-07-2009, 07:57 PM
Hi,

I see good content but if you check page Source you will see description problem ( the same google )

Check this thread Page Source
http://en.damasgate.com/tr/t159013/

( meta description AND keywords Problem )

Thanks for reply

Yes I see the issue. I will have to look at it closer. Please send me again detail about it but in PM. I will also need access to your AdminCP, and FTP (DB will be not needed, since I will just disable cache to make sure that I see actual results).

NLP-er
10-07-2009, 07:59 PM
when i enable this mod i get this error

Fatal error: Call to undefined function vbet_getSupportedTranslations() in /home2/makingf1/public_html/ladiesletsride/forum/global.php(400) : eval()'d code on line 379

You did not uploaded files to FTP. Please follow installation instructions.

NLP-er
10-07-2009, 09:42 PM
Hi all.

About news - I have corrected several little bugs in vBET2.x, but not ready to release yet.

Working hard on 3.0.0 and right now. I have already implementedfull support for user default language. It means that posts can be written in different languages, user just writes post and mod handle everything what needed to appropriately translate it even if it is not in forum default language. It already supports even AJAX quick edit.

Also RSS are translated.

And one fantastic news - vBET 3.0.0 working with vbSEO will have TRANSLATED URL's for threads!!! So if you have right now thread title in URL it will be translated :D

3.0.0 comes forward, but still lot to do. Translation of: PM, visitor messages, mails from administration... It is lot. In fact it is too much. I'm working full job on this mod right now. Also when it will be ready there will be lot of issues with possible configurations on users forums. Right now 2.x take me lot of time with people who cannot handle some thinks, or just with some bugs. In 3.0.0 there will be lot, lot, lot, lot more. I'm not able to test myself all possible issues with 3.0.0 In fact I think I will have to hire someone to help me with those issues. I will have to also set up separate open vB forum for with vbSEO - it means costs for 2 licenses, server, domain... Right now it becomes less fun and more like job. Job with expenses.

That's why I decided that 3.0.0 will be paid. I didn't decided yet how much. I know that licenses will be similar to existing products. It means lifetime license for usage, yearly license for update, and separate license for credit link removal. 2.x will stay free, will be still supported and bugs will be corrected as those appear :)

As I wrote 3.0.0 costs me right now. And I wouldn't be able, or it would be hard for me, or I wouldn't be interested to cover those costs and spend so much time (and I think that 80% is still to do) - I wouldn't be able to do this without all great guys/girls who donated me. No mater does somebody send few box or hundreds dollars (at some point it does matter ;)) - each one was a signal for me that I'm doing good think and going in good direction. That's why - anyone who donated me in this project till this moment, will get 1 free usage license and 1 free credit link removal license for 3.0.0 :)

imported_silkroad, Megatr0n, KrisP, nectons, CareyCrew, ghisirds, vitoreis, dai-kun, cyc (you donated twice and will get licenses twice :)), mosz, CThiessen, actolearn, jaconi, andie215, yahoooh, bollie, chick
You all will get free usage licenses for 3.0.0 as soon as it will be ready :) I just want to ask you about one think - please leave the credit link for 1 month. After this time I will give you free license for credit link removal :)

I will create open forum for vBET3.0.0 very quickly. I just have to buy licenses (already have domain), install everything, configure, prepare forum structure, maybe find out some logo and layout other than default :) If somebody wants to help me with that It would be great. If not - default vB logo and layout is also good at the begging ;)

As I wrote there is still lot of things to do in 3.0.0 but right now it is ready enough to show it to the world :) I will let you know when forum will be ready :)

nectons
10-08-2009, 12:08 AM
Man. You are doing GREAT WORK. I will let the credit forever and i will donate you asap i can doit! KEEP GOING. This is called the future in FORUMS. My best addon for vb 2years now i have my forum.

We cant wait for the new version.

ΣΥΓΧΑΡΗΤΗΡΙΑ και στα Ελληνικά. Είσαι άπαιχτος φίλε ;)

ThePixel
10-08-2009, 03:27 AM
Øhm.. after i installed it now, my forum dont show up.

Blacura
10-08-2009, 05:30 AM
Ok all the files are uploaded but they don't show on my forum. all that shows is that its being translated by google.

What can i do?

imported_silkroad
10-08-2009, 07:28 AM
That's why I decided that 3.0.0 will be paid. I didn't decided yet how much. I know that licenses will be similar to existing products. It means lifetime license for usage, yearly license for update, and separate license for credit link removal.

Congrats!

What about me, who donated to you even before you started this mod and was one of your first supporters? :D

NLP-er
10-08-2009, 05:05 PM
?hm.. after i installed it now, my forum dont show up.

Please read FAQ in first post :)

NLP-er
10-08-2009, 05:05 PM
Man. You are doing GREAT WORK. I will let the credit forever and i will donate you asap i can doit! KEEP GOING. This is called the future in FORUMS. My best addon for vb 2years now i have my forum.

We cant wait for the new version.

ΣΥΓΧΑΡΗΤΗΡΙΑ και στα Ελληνικά. Είσαι άπαιχτος φίλε ;)

:D:up:

NLP-er
10-08-2009, 05:06 PM
Congrats!

What about me, who donated to you even before you started this mod and was one of your first supporters? :D

Added to list :D

NLP-er
10-08-2009, 05:09 PM
Ok all the files are uploaded but they don't show on my forum. all that shows is that its being translated by google.

What can i do?

What does it mean that flags don't show? Images are broken, or there is not flag code in html result at all? What is your setting for fags place in mod options?

KrisP
10-08-2009, 10:55 PM
Use not translated area - see mod description

Not sure I understand. Are you saying I should tag <!--START vBET NOT TRANSLATED AREA--> and <!--END vBET NOT TRANSLATED AREA--> many hundreds of pieces of UI text, to keep it from being translated?

chick
10-09-2009, 06:45 AM
I don't understand your explanation of this? <!--START vBET NOT TRANSLATED AREA--> and <!--END vBET NOT TRANSLATED AREA-->

I get constant emails of this with an sql not found error and <!--START vBET NOT TRANSLATED AREA--> and <!--END vBET NOT TRANSLATED AREA-->

Please explain

arabuser
10-09-2009, 03:25 PM
how I can make $vbenterprisetranslatorflags work on non vbulletin page or vbportal ?

NLP-er
10-09-2009, 03:49 PM
Not sure I understand. Are you saying I should tag many hundreds of pieces of UI text, to keep it from being translated?

Instead of making hundreds of pieces just make bigger blocks - i.e. whole template inside not translated area.
And also - what are you expecting - that you say to microphone - please do not translate what I'm thinking about and it will gonna work?... ;)

I'm about to create some solution for that in 3.x. Probably not in 3.0, but I have kind of idea - just not sure does it is doable :D SO I will stay quiet :p

NLP-er
10-09-2009, 03:50 PM
I don't understand your explanation of this? <!--START vBET NOT TRANSLATED AREA--> and <!--END vBET NOT TRANSLATED AREA-->

I get constant emails of this with an sql not found error and <!--START vBET NOT TRANSLATED AREA--> and <!--END vBET NOT TRANSLATED AREA-->

Please explain

Please give me error communicate.

NLP-er
10-09-2009, 04:52 PM
Forum for vBET 3.0 is still under construction but if you cannot wait to see how looks one post written in several languages, so come and see :D

http://www.vbenterprisetranslator.com/forum/vbet-testing-messages/9-message-written-several-languages.html#post19

imported_silkroad
10-09-2009, 05:30 PM
Forum for vBET 3.0 is still under construction but if you cannot wait to see how looks one post written in several languages, so come and see :D

http://www.vbenterprisetranslator.com/forum/vbet-testing-messages/9-message-written-several-languages.html#post19

Wow!

This is really looking very powerful (and very interesting)!!

Congrats NLP-er !!! :up: :up: :up:

dai-kun
10-09-2009, 06:36 PM
I really like how it translates like that for 3.0. I would like to be a beta tester if you need :D.

(BTW, my name is up there twice in donated list, I think cus I donated twice)

nectons
10-09-2009, 10:20 PM
This product REALLY ROCKS guys.. when you see it works (i mean vbet 3.x at their forums) you like strange.. you writing at your language and when you are pressing subbmit it is at the forum language.. almost perfect.


Hehe.. CONRATS its a crazy product :D

Blacura
10-09-2009, 11:46 PM
I have this finally installed but when i click on a language i get this error.


Not Found

The requested URL /cs/forum/anything.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8k DAV/2 mod_auth_passthrough/2.1 FrontPage/5.0.2.2635 Server at www.ladiesletsride.com Port 80

Cybershaolin
10-09-2009, 11:46 PM
Wow! Can't wait for 3.0. This mods rocks! :)

Trana
10-10-2009, 02:52 AM
I'd like to see a built in drop down menu option for the template.

NLP-er
10-10-2009, 03:15 AM
I really like how it translates like that for 3.0. I would like to be a beta tester if you need :D.

(BTW, my name is up there twice in donated list, I think cus I donated twice)

Yep :) That is right :) Thanks for note ;)

About beta test - right now you can play on vBET forum. Also cause you supported me before you will get vBET3.0 at least 2 weeks before sales will start :)

NLP-er
10-10-2009, 03:18 AM
I have this finally installed but when i click on a language i get this error.


Not Found

The requested URL /cs/forum/anything.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8k DAV/2 mod_auth_passthrough/2.1 FrontPage/5.0.2.2635 Server at www.ladiesletsride.com Port 80

Please fallow installation procedure and read all configuration parameters. You skipped configuration of forum directory.

NLP-er
10-10-2009, 03:22 AM
I'd like to see a built in drop down menu option for the template.

Drop down menu of what? There can be only one built in template version in product file. Templates customization is individual - anyone can change it in his way. That is the point of templates.

dai-kun
10-10-2009, 03:29 AM
Drop down menu of what? There can be only one built in template version in product file. Templates customization is individual - anyone can change it in his way. That is the point of templates.

I think he means, instead of flags, have a drop down menu of the languages when selecting which language to view.

kyle
10-10-2009, 12:48 PM
I'd like to see a built in drop down menu option for the template.
2end this drop-down option... Will be easier/cleaner fit In The header were ranslate option should be IMHO

NLP-er
10-10-2009, 03:32 PM
I think he means, instead of flags, have a drop down menu of the languages when selecting which language to view.

Ok - added in TODO list :) With small priority, but added :D

imported_silkroad
10-10-2009, 03:51 PM
Ok - added in TODO list :) With small priority, but added :D

Excellent. This can be a drop down menu on the navbar using a navbar hook.

See vbsociable for a coding example for adding a drop down menu (attached).

cosy
10-10-2009, 05:21 PM
anyone tested this whit C-Logic SEO (https://vborg.vbsupport.ru/showthread.php?t=217309) ?

NLP-er
10-11-2009, 08:59 PM
Excellent. This can be a drop down menu on the navbar using a navbar hook.

See vbsociable for a coding example for adding a drop down menu (attached).

It is already implemented in 3.0 - you can find it here:
http://www.vbenterprisetranslator.com/forum/

Also as you see it not related to the flags, so anybody can choose which one to use, or even use booth. It is also configurable:
- position (disable, left or right side of navbar)
- columns (in how many column your results should be shown)

In example it is set to right and for 4 columns :)

NLP-er
10-11-2009, 09:05 PM
anyone tested this whit C-Logic SEO (https://vborg.vbsupport.ru/showthread.php?t=217309) ?

Didn't hear of that. Also as I can see there is very little of installations. So right now my priorities is to make vbET3.0.0 availalbe. After that I have long list of things which still want to do before 4.0 (you can find it here: http://www.vbenterprisetranslator.com/forum/vbet-announcements/5-planned-vbet-3-x.html). And after that I can think about supporting TfSEO cause it is popular. After that I have listo of TODO for 4.0. And then I can think about other SEO engines.

Those are my priorities now. Of course any time authors of SEO mods can contact me for hints how to make their mods compatible with mine :)