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)

ThePixel 08-07-2009 04:01 PM

Quote:

Originally Posted by NLP-er (Post 1862550)
What's the issue?

Yes I did everything that was there. Probably something wrong. but as I get it not to work and then I was wondering if someone could do it for me or something? : S

sorry i use google translate :P

exploitersteam 08-07-2009 04:14 PM

Hello Dave,

The MOD was working for 2 days and now i'm receiving this error:

Query to short cache failed: MySQL server has gone away

Do you have any idea what is this error?

Thank You,

Marcelo

yahoooh 08-07-2009 04:19 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?

this thread with vbseo url english font:
http://www.alwatanyh.com/forum/f6/just-test-38040/

it works in translate

but for example this :
http://www.alwatanyh.com/forum/f6/%D...6%D8%B1-36699/

it will not work , this is occur only for threads
but for groups ,blogs and other which use vbseo and arabic font in url , it will works with them

so this issue related to showthread links

tpearl5 08-07-2009 05:33 PM

It looks like google has been indexing my translated pages. I noticed a strange thing though; google is starting with non-thread pages. Does this mean googlebot isn't sticking around long enough to index the thread pages?

NLP-er 08-07-2009 09:52 PM

Quote:

Originally Posted by Dave Hybrid (Post 1863011)
All URLs on the Internet anywhere in the world only allow English characters.

Not exactly... For example - this not working url from my forum which was copied by yahoooh has polish letters (like ść).

Just check yourself :)
http://www.forum.simple-nlp.pl/tags/podświadomość.html

NLP-er 08-07-2009 10:14 PM

Quote:

Originally Posted by imported_silkroad (Post 1863048)
vBSEO has an option to replace/remove/keep non-English chars in the URL:

Yes :) And it's working great on my forum for a long time - for threads links.

I wass discussing this with vbSEO stuff year ago. I found the topic - Here it is:
http://www.vbseo.com/f3/wrong-tag-links-26223/

They don't remove special characters from tags links. But tags links are coded fine with % notation. I wrote wrong before, confused by included link, but as I see on my forum links are ok in tags cloud.

Where did you get this wrong link yahoooh?

NLP-er 08-07-2009 10:15 PM

Quote:

Originally Posted by ThePixel (Post 1863165)
Yes I did everything that was there. Probably something wrong. but as I get it not to work and then I was wondering if someone could do it for me or something? : S

sorry i use google translate :P

PM me

NLP-er 08-07-2009 10:24 PM

Quote:

Originally Posted by exploitersteam (Post 1863170)
Hello Dave,

The MOD was working for 2 days and now i'm receiving this error:

Query to short cache failed: MySQL server has gone away


Do you have any idea what is this error?

Thank You,

Marcelo

Hello :) Cahe issues are my part here :) Just please find in translate.php:
Code:

/*
  if (!mysql_ping()) {
    mysql_close();
    establishConnection();
  }
*/

And uncomment it (remove /* and */). Error will disspear :)

Dave - please correct it in next release :) - DON'T - see post below

NLP-er 08-07-2009 10:30 PM

After consideration - Dave don't change it. I remember now - I commented it with a reason. I didn't expect this error in this place, so I commented reestablish code for performance reasons (shouldn't have big impact, but if not necessary...).

So right now who doesn't have this problem just have good working mod, ant who has - can just uncomment mentioned code. Maybe when more people will note same issue there will be good moment to include it in release. Right now it's first complain since I made reestablish functionality, so it is rare and I would stay with commented code in official release.

Reestablis is neded after google translation (before inserting to cache) and there it is uncommented by default :)

NLP-er 08-07-2009 10:44 PM

Quote:

Originally Posted by yahoooh (Post 1863172)
this thread with vbseo url english font:
http://www.alwatanyh.com/forum/f6/just-test-38040/

it works in translate

but for example this :
http://www.alwatanyh.com/forum/f6/%D...6%D8%B1-36699/

it will not work , this is occur only for threads
but for groups ,blogs and other which use vbseo and arabic font in url , it will works with them

so this issue related to showthread links

Hi :) As I see mod creates appropriate lins, but clicking clicking vbSEO is rediredting to url without hl param. You can see it by copying adress from flag image - there is hl param. But when you paste it to broswer and send, then hl pram dissapears.
I think that vbSEO makes 301 redirect. Talk with vbSEO stuff.


All times are GMT. The time now is 11:10 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.02056 seconds
  • Memory Usage 1,750KB
  • 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
  • (1)bbcode_code_printable
  • (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