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)

imported_silkroad 08-18-2009 02:58 PM

Quote:

Originally Posted by yahoooh (Post 1869818)
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

That is what I thought.

Good suggestion. Cheers.

woffie 08-18-2009 03:00 PM

I found the issue with mine. You have to set a default language in the mod before it will work. Guess I missed that step. Working great, thanks!

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

Quote:

Originally Posted by Aclikyano (Post 1869432)
// parse PHP include ##################
($hook = vBulletinHook::fetch_hook('global_complete')) ? eval($hook) : false;


AFTER # signs starts line 5737
did what you said still got the errors...

LOL I think I know what it is. Probably you uploaded new files, bud didn't importend new product file :D I just checked and in previous version this method has less parameters. So made full update - new files on FTP and import new product file. Good lock ;):up:

woffie 08-18-2009 03:09 PM

A great feature for this would be the ability for something that is posted into another language (other than the default) to be automatically translated into the default language.

NLP-er 08-18-2009 03:12 PM

Quote:

Originally Posted by TheLastSuperman (Post 1869536)
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

About error - you don't have medium cache table. Please set it manually (have no idea why it didn't create during installation - maybe some mysql version issues) - and in case of errors during creation please give me error measage.
Code:

CREATE TABLE " . TABLE_PREFIX . "vbenterprisetranslator_cache_medium (
id INT AUTO_INCREMENT NOT NULL PRIMARY KEY,
serie BIGINT(14) UNSIGNED,
dateline int(10) UNSIGNED default 0,
tl VARCHAR(5),
originaltext VARCHAR(328),
translated VARCHAR(1000),
UNIQUE (originaltext, tl),
INDEX(serie)
) ENGINE = MYISAM, CHARACTER SET utf8 COLLATE utf8_bin

Change " . TABLE_PREFIX . " to your table prefix if use any.

About translaion of images... :D - just go back to styles :)

NLP-er 08-18-2009 03:27 PM

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

Still have:

/a/

Invalid Forum specified. If you followed a valid link, please notify the administrator

:/

About server - in admin CP maintenance tells me:
Server API UltraCGI/1.0 for IdeaWebServer

NLP-er 08-18-2009 03:37 PM

Quote:

Originally Posted by imported_silkroad (Post 1869639)
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.

You can skip from hl to language - in first post you have nice and working redirect which will automatically move all hl to language :)

bollie 08-18-2009 03:52 PM

Quote:

Originally Posted by NLP-er (Post 1867859)
My paypal account: michal.podbielski@wp.pl

Great thanks! :)

Done ;)

NLP-er 08-18-2009 04:07 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!

Added in TODO - will be configurable of course :)

NLP-er 08-18-2009 04:21 PM

Quote:

Originally Posted by woffie (Post 1869792)
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.

In Admin CP. Give me link to your forum I will help :)


All times are GMT. The time now is 06:31 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.02112 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
  • (4)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