vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - vB Global Translator - Multiply your indexed pages & put search traffic on autopilot (https://vborg.vbsupport.ru/showthread.php?t=217329)

Dave Hybrid 08-06-2009 01:52 PM

Quote:

Originally Posted by NLP-er (Post 1862555)
I'm not so sure does it cannot be avoided. Just speculate. But if look into vBulletin source code you can find where exactly session is updated and check does there is a hook which can work after it.
Another possible solution (potentially easier) you already have in your mod - I was working on cache in this mod and have to fight with same problem. If translation takes too long then also connection to vBGT DB was lost. So I just reconnect. Did you try to reestablish connection to vBulletin database at the end of translation?...

Everything i tried didnt work, if you have a code suggestion that works i'd be glad to add/test it.

NLP-er 08-06-2009 02:09 PM

Quote:

Originally Posted by Dave Hybrid (Post 1862563)
Everything i tried didnt work, if you have a code suggestion that works i'd be glad to add/test it.

It's not related with cache and I have lot of other work right now :) I gave you direction - go for it :)

In maintime I think it would be good to describe it as Known Issues - people would be prepared for this and didn't panic ;)

yahoooh 08-06-2009 05:00 PM

hello

i installed this in my site which use utf-8 encoding
and i use vbseo that make threads url using arabic font

i see that the translate not working in thread url that have arabic words in its address
but only translate any english url address

also i use vba links which using its seo and vba dynamic which also use its seo
now how to make this addon at least translate pages that have url arabic

this occur only in threads but in groups and other thing works perfect



also i found another issue in NLP site :
http://www.forum.simple-nlp.pl/tags/...%87.html?hl=ar

NLP-er 08-06-2009 11:18 PM

Quote:

Originally Posted by yahoooh (Post 1862686)
also i found another issue in NLP site :
http://www.forum.simple-nlp.pl/tags/...%87.html?hl=ar

This is not issue of this mod but of vbSEO (you can see that it will be same for URL without hl param - also error message). vbSEO doesn't change special letters in URL's for tags, i.e. 'ś' to 's' (I wrote to them about this - no result).

yahoooh 08-07-2009 12:19 AM

i already fix this by change my forum and db to utf-8
it works perfect but the issue is :
i see that the translate not working in thread url that have arabic words in its address
but only translate any english url address

this issue only affect the threads of forum

yaku 08-07-2009 03:31 AM

One problem for me: I'm getting this error message when I try to run this. Any ideas?

Parse error: syntax error, unexpected '<' in /translateflags.php on line 10

NLP-er 08-07-2009 10:34 AM

Quote:

Originally Posted by yaku (Post 1862901)
One problem for me: I'm getting this error message when I try to run this. Any ideas?



Parse error: syntax error, unexpected '<' in /translateflags.php on line 10

My idea is you was editing this file and made somesthing wrong :) Download oryginal file - made copy before changes and then change :)

NLP-er 08-07-2009 10:36 AM

Quote:

Originally Posted by yahoooh (Post 1862856)
i already fix this by change my forum and db to utf-8
it works perfect but the issue is :
i see that the translate not working in thread url that have arabic words in its address
but only translate any english url address


this issue only affect the threads of forum

Can you show me this behaviour? I'm not sure what you mean by "thread url that have arabic words in its address". Could you copy here good and bad link?

Dave Hybrid 08-07-2009 10:42 AM

All URLs on the Internet anywhere in the world only allow English characters.

imported_silkroad 08-07-2009 12:15 PM

Quote:

Originally Posted by NLP-er (Post 1863008)
Can you show me this behaviour? I'm not sure what you mean by "thread url that have arabic words in its address". Could you copy here good and bad link?

vBSEO has an option to replace/remove/keep non-English chars in the URL:

Quote:

Replace Non-English Characters in URLs?

Select 'Yes' to replace non-English characters with their English equivalent. Enable this option if your forums are not in English or if any non-English characters occur in your forums (E.g. Caf?)


All times are GMT. The time now is 07:12 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.01911 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)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