vb.org Archive

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

Lee G 08-17-2009 11:22 AM

Now your talking scary stuff :D

So if I dont have a cached version of the pages

I dont break any Google TOS

My data base stays about the same size as it already is and dont expand by factor what ever over night. No need to upgrade my VPS plan to the size of the internet X 10

Its only the sitemap that has gone from 8 pages to 84

The translation page loads are almost as quick as if they were cached at present.

As the saying goes, if it aint broken, dont try fixing it

Even with the couple of hours of running this, the hits look very promising so far

This is a great little hack so far. Keep up the good work :up:

Aclikyano 08-17-2009 11:29 AM

doesnt work and shoots this error on top
Warning: Missing argument 3 for vbet_translateHTML(), called in [path]/includes/functions.php(5737) : eval()'d code on line 4 and defined in [path]/includes/vbenterprisetranslator_functions.php on line 385

imported_silkroad 08-17-2009 01:08 PM

Quote:

Originally Posted by Lee G (Post 1869106)
So if I dont have a cached version of the pages

I dont break any Google TOS

The Google TOS, strictly interpreted, says translated pages cannot be cached for over 15 days.

However, if you modify them (fix bad translations), etc. I don't think you should necessarily dump them.

Also, the intent of the TOS is to "Do No Harm" to Google, Google's customers, and The World. If you are keeping a cache longer than 15 days and are not doing any harm, then I don't think your are violating the spirit of the TOS.

For example, if you are running Google Adsense and your translations are generating a lot of traffic for Google, and good revenue for Google, I don't think Google will be unhappy with you, but of course they cannot publish such a policy.

On the other hand, if you are caching translations and using them to drive traffic to Google's big competition, then Google might care.

So, if you want to be on the safe side, just drop all translations in the database that are older than 15 days, and you will be in compliance with the most strict interpretation of the TOS.

Don't Worry. Be Happy. Do No Harm.

Lee G 08-17-2009 01:34 PM

Are you in any violation if you have your sitemap done with links to the new pages, even if the new pages are not stored in the cache?

My own forum might take a it of time to get indexed, since I now have over 1 million pages in the sitemap :D

Before using this mod

Total Indexed URLs: 177936
Total Processing Time: 217.41 seconds

After using this mod

Total Indexed URLs: 1663966
Total Processing Time: 1,738.03 seconds

And Im only using limited languages as per your earlier advice, plus dropped a load of pages I dont need indexed :up:

imported_silkroad 08-17-2009 01:42 PM

Quote:

Originally Posted by Lee G (Post 1869150)
Are you in any violation if you have your sitemap done with links to the new pages, even if the new pages are not stored in the cache?

Of course not.

Why would you "even" think that?

Please don't fabricate TOS violations out of "thin air" ... it is not good for the environment :-)

LoveStream 08-17-2009 04:33 PM

Quote:

Originally Posted by NLP-er (Post 1868895)
1.1.0 RELEASED :)

- Long texts are translated no matter how big those are
- Cache is working for chosen languages (you simply select for each language does translations should be cached)
- Option to add Google Translate API key for translation requests
- Configurable cache time to live and scheduled task which automatically remove old cache.
- Option to show flags only for guests
- Option to easily remove flags border (without any style changing)
- Option to not translate usernames
- During translation changes param lang in html tag
- Option to translate messages changed by vBSEO to JavaScript (it has such functionality for SEO purposes)

ENJOY! :D

Great Release!

Actually the long sentences were translated successfully.

Now I begin in service. :):up:

Yours.

NLP-er 08-17-2009 05:28 PM

Quote:

Originally Posted by Lee G (Post 1869106)
Now your talking scary stuff :D

So if I dont have a cached version of the pages

I dont break any Google TOS

My data base stays about the same size as it already is and dont expand by factor what ever over night. No need to upgrade my VPS plan to the size of the internet X 10

Its only the sitemap that has gone from 8 pages to 84

The translation page loads are almost as quick as if they were cached at present.

As the saying goes, if it aint broken, dont try fixing it

Even with the couple of hours of running this, the hits look very promising so far

This is a great little hack so far. Keep up the good work :up:

:D:D:D Magic ;)

NLP-er 08-17-2009 05:29 PM

Quote:

Originally Posted by Lee G (Post 1869106)
This is a great little hack so far. Keep up the good work :up:

And how about your issue with cache? You created mediu cahce table manually? It works for you now?

NLP-er 08-17-2009 05:33 PM

Quote:

Originally Posted by LoveStream (Post 1869261)
Great Release!

Actually the long sentences were translated successfully.

Now I begin in service. :):up:

Yours.

Heh... Long sentences - mean solid text over 1800 characters without any breaks, images, links. If you have any breaking line then in html you have <br/> and it means that this is not solid text anymore - all releases of this mod translates such text.

This release translates even texts over 1800 characters of solid text. No matter how long it is :)

NLP-er 08-17-2009 05:43 PM

Quote:

Originally Posted by Aclikyano (Post 1869110)
doesnt work and shoots this error on top
Warning: Missing argument 3 for vbet_translateHTML(), called in [path]/includes/functions.php(5737) : eval()'d code on line 4 and defined in [path]/includes/vbenterprisetranslator_functions.php on line 385

Strange. vbet_translateHTML is called only twice and in booth places there are 3 parametes (you can check it looking for vbet_translateHTML in includes/vbenterprisetranslator_functions.php and product file). Also I have other vB version cause my functions.php have empty line 5737. SO it is hard for me to help you.

1. Upload all files again.
2. If still happens give me code around line 5737 in your includes/functions.php


All times are GMT. The time now is 08:44 AM.

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

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

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

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