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)

LoveStream 08-18-2009 03:04 AM

Quote:

Originally Posted by NLP-er (Post 1869283)
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 :)

Thanks for your instruction.

TheLastSuperman 08-18-2009 03:51 AM

Quote:

Originally Posted by NLP-er (Post 1868469)
Please PM me DB errors :) Cache is to use it and dissable should be an option not necessary. So I will gladly see what happens so in next release it will works for everyone :)

Pleae give me URL to your form so I will be ble to see what you are writing about this Forum Home tabs. 1 hint - does tabs are texts or images? It will not translate images ;) Also values of html tags attrubites are not translated (it would crasch whole site) - but I can make specific things be translated in next release. First - give me URL so I will see it :)

About not translating index with Tabbed Forum Home - also let me look first :)

sorry off on a tangent as usual lol..

Hmm let's enable db caching and copy/paste the error hold tight...

Code:

Database error in vBulletin 3.8.4:

Invalid SQL:
SELECT cache.originaltext as originaltext, cache.translated as translated FROM vbenterprisetranslator_cache_medium help, vbenterprisetranslator_cache_medium cache WHERE help.originaltext='2142 Tournament C7: Aug 23rd, Battle #5 Map Downloads.' AND help.tl='sq' AND cache.serie=help.serie;

MySQL Error  : Table 'dbnamewashere.vbenterprisetranslator_cache_medium' doesn't exist
Error Number  : 1146
Request Date  : Monday, August 17th 2009 @ 09:15:19 PM
Error Date    : Monday, August 17th 2009 @ 09:15:20 PM
Script        : http://www.tournamentgamingworld.com/online/index.php?language=sq
Referrer      : http://www.tournamentgamingworld.com/online/index.php
IP Address    : hey hey now :p
Username      : [TGW]GA|TheLastSuperman
Classname    : vB_Database
MySQL Version : 4.1.22-max-log

Ok so I think it might be this conflicting w/ the cache:

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

As some of the originaltext in the error above is code I just added to that in the forumhome template to be one of the rotating content seen below the normal navbar location.

I'll try this in the morning, wife is home so time to get off computer :p

<!--START vBET NOT TRANSLATED AREA--> and <!--END vBET NOT TRANSLATED AREA-->
_____________________

The Tabs mod... I used images instead of the standard CSS but the tabs mod is here:

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

The forum I'm using this on is here:
http://www.tournamentgamingworld.com

Thanks for ANY help you can provide.

S-MAN

T2x 08-18-2009 04:05 AM

Quote:

Originally Posted by Sweeks (Post 1869301)
It isnt working for us:

Teen Forums

Any ideas?

Can you tell me what version of apache you are running?

Edit: I have edited my above post with modified code for vbseo.php, this should fix any issues you have due to different server configuration :]

imported_silkroad 08-18-2009 08:02 AM

Quote:

Originally Posted by T2x (Post 1869543)
Can you tell me what version of apache you are running?

Edit: I have edited my above post with modified code for vbseo.php, this should fix any issues you have due to different server configuration :]

FYI, we installed both versions of the vBSEO updated code (not the 301 code), just for testing, and neither worked for us.

We are running:

Code:

# apache2 -v
Server version: Apache/2.2.8 (Ubuntu)

Edit: Logfiles show 301 redirects (but does not redirect to the translated pages correctly...)

Example from logs:

Code:

.... /es/index.php HTTP/1.1" 301 - "-" "Opera/9.64 (Macintosh; PPC Mac OS X; U; en) Presto/2.1.1"

Note: We are still running the old "hl" code, so I changed "language" to "hl" in the vBSEO code ( _GET['language'] to _GET['hl'] )

Please reply via PM, if you like, since we are running the old "hl" code..... but I am not sure "it matters" since the logfile show the 301 redirects as above.

imported_silkroad 08-18-2009 12:33 PM

NLP-er,

Here is another TO-DO on the feature request list, regarding:

Quote:

Translation URL's tracking - if page is translated then links are changed to keep translation (it is smart – it will not change links going outside your forum, or links to images)
In the future, it might be good to have a simple JavaScript Popup (optional of course) that pops up when a user from a translated page referral arrives that says, in effect:

Quote:

This page has been automatically translated by Google. If you would like to continue in this language, press here. If you would like to continue in English, press here
.

(or something like that)

Not sure how that would effect search engines.... maybe it would not be good in that case!

Megatr0n 08-18-2009 01:13 PM

I think this plugin is heaps better than Dave's. Has many more features than what he included.

woffie 08-18-2009 01:50 PM

Installed on my test forum and worked perfectly. Installed on my real forum and I get a blank page on the index. No links or text visible, just the graphics. It is conflicting with something, just not sure what. Had to uninstall.

yahoooh 08-18-2009 02:33 PM

NLP plz read pm i donate for this great work
thank u for this wondeful work

yahoooh 08-18-2009 02:39 PM

Quote:

Originally Posted by imported_silkroad (Post 1869750)
NLP-er,

Here is another TO-DO on the feature request list, regarding:



In the future, it might be good to have a simple JavaScript Popup (optional of course) that pops up when a user from a translated page referral arrives that says, in effect:

.

(or something like that)

Not sure how that would effect search engines.... maybe it would not be good in that case!

it should be not javascript popup because may affect the crawler of se
it should be just text under flags as notice this page translated by google and may not be fully understood
something like that
and also optionally

NLP-er 08-18-2009 02:57 PM

Quote:

Originally Posted by t.uzuner (Post 1869403)
hi;
i am not using vbseo but
1)click flag open same page example english
2) click another link page automatically web site original language. how is this.

www.okulonceciyiz.biz

Do you have tracking URLs on?


All times are GMT. The time now is 01:58 PM.

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.02014 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
  • (3)bbcode_code_printable
  • (8)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