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.

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

Quote:

Originally Posted by tpearl5 (Post 1863198)
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?

Google is a mystery ;)

exploitersteam 08-08-2009 12:19 AM

Quote:

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

Thank You NLP-er,

Actually what happened was that in the hosting for some reason they were blocking the url http://ajax.googleapis.com* and consequently i was receiving that error. See below the example:

Code:

[forum]$ curl http://ajax.googleapis.com
curl: (7) couldn't connect

Now they fixed that blocking page i can connect to the specific url

But, thank you anyway and i hope this tip be useful for anyone that could face the same problem.

Thank You very much.

imported_silkroad 08-08-2009 06:39 AM

Quote:

Originally Posted by tpearl5 (Post 1863198)
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?

You can help manage this by setting your both priority and update frequencies in your Google Sitemaps. You can set your threads a higher priority than posts, etc.

Our experience is that Google does tend to follow their own Sitemap standards, but you have to use them and use them wisely :-)

Dave Hybrid 08-08-2009 08:30 AM

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

You only get those emails as the first time you translate a BIG page it times mysql out, no error actually occurs, mysql just sends an email warning.

Your forum users notice nothing, at all, it's just an email and once your site is fully translated they go away to a point.

Dave Hybrid 08-08-2009 08:31 AM

Quote:

Originally Posted by tpearl5 (Post 1863198)
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?

Google considers pages closer to the domain root as more important, so that is why those pages get indexed 1st.

yahoooh 08-08-2009 11:08 AM

Quote:

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

i open thread there and still wait support from them


also what about vba links and vba dyna which in subdomains and they use thier seo
i just make some added lines in templates to only fix entries there but still categories can not be fixed any help !

Spinball 08-08-2009 11:35 AM

Very interesting mod. Going from 10 to 280 million posts would have a crippling effect on our servers, though, wouldn't it?

Dave Hybrid 08-08-2009 11:44 AM

Quote:

Originally Posted by Spinball (Post 1863494)
Very interesting mod. Going from 10 to 280 million posts would have a crippling effect on our servers, though, wouldn't it?

Yes, you would need more disk space and server resources, no different than if your site grew normally.

Traffic comes at a price, whatever way you use to get it.

imported_silkroad 08-08-2009 12:41 PM

Quote:

Originally Posted by Dave Hybrid (Post 1863461)
Google considers pages closer to the domain root as more important, so that is why those pages get indexed 1st.

Not if you have a Sitemap with priorities and frequencies set propertly.

Dave, why are you so *against* proper Google Sitemaps?

You answer posts like "the Google expert" but you don't mention the basics which are so important :-) Some of your replies are technically incorrect about Google. (like your earlier comment about no non-english URLs.)

Lighten up :-)

imported_silkroad 08-08-2009 12:52 PM

Quote:

Originally Posted by Spinball (Post 1863494)
Very interesting mod. Going from 10 to 280 million posts would have a crippling effect on our servers, though, wouldn't it?

You don't need to do all 28 languages, in fact I don't recommend it for big sites.

If you have 10 M pages, just create a Sitemap (for one language) and only translate your targetted best demographic to expand, one at a time, or a few more if you have plenty of resources.

PM if you have questions. I can give you the "scoop" on what happens when you have 1/2 M pages, which is a fraction of your site. Do not enable all 28 flags. It is a waste of resource, bandwidth, CPU, etc. for a large site. Focus on your targetted demographics. Also, if you make money with click-revenue, keep in mind that some countries pay low (because their economy is low, naturally) and some pay larger (because their economy is strong, naturally).

Also, you can easily create an ?hl= segment in Google Analytics and look careful at your analytics. Remember, it is much harder to dump an "unproductive language" (from Google's index) than to manage the process from the beginning.

Plan.

With 10M pages, you know what I mean :-)

Dave Hybrid 08-08-2009 12:55 PM

Quote:

Originally Posted by imported_silkroad (Post 1863513)
Not if you have a Sitemap with priorities and frequencies set propertly.

Dave, why are you so *against* proper Google Sitemaps?

You answer posts like "the Google expert" but you don't mention the basics which are so important :-) Some of your replies are technically incorrect about Google. (like your earlier comment about no non-english URLs.)

Lighten up :-)

Ay? How did you get that impression from a single sentence. You need to stop reading wrongly into my posts. You're always looking for a negative and jump on my 'attitude' at any excuse.

I have never proclaimed to be an expert, i am just putting across my opinion and yes re; the urls, i cant be right all the time and i doubt you are either. Maybe YOU should lighten up.

Back on topic though yeah...

I do use a proper sitemap and have never said you shouldn't. Google, on my sites at least and others I oversee index pages closer to the root first, they get more juice as 99% of a sites links goto the homepage and juice filters down. They simply get picked up faster. Ranking is a whole different ball game however.

Also Google says that a sitemap helps it find pages faster, they also say... they decide what and when it crawls, not you.

Disclaimer* This is just my opinion, and may differ from others opinions. Also, I am in a happy mood and am not being defensive. Just so we are clear lol.

Dave Hybrid 08-08-2009 01:03 PM

Quote:

Originally Posted by imported_silkroad (Post 1863515)
Remember, it is much harder to dump an "unproductive language" (from Google's index) than to manage the process from the beginning.

In the past I have just htaccess 301'd the hl=country to the root for any country's i want removed from the index after disabling them on the script first (removing the flag).

imported_silkroad 08-08-2009 01:11 PM

Quote:

Originally Posted by Dave Hybrid (Post 1863517)
I have never proclaimed to be an expert, i am just putting across my opinion and yes re; the urls, i cant be right all the time and i doubt you are either. Maybe YOU should lighten up.

I know about how Google works pretty well, and your advice regarding how Google indexes is inaccurate.

I think it is important to advise accurately, and I am sure you agree.

You posted that Google does not use non-English URL - that is inaccurate. (NPL-er also corrected).

You posted that Google priorities crawling based on the how close the URL is to the "root domain" - that is also not really accurate. Google priorities based on priorities (and frequencies) in the sitemaps.

PS: I am not "jumping on you" - I am correcting some fairly important techincal errors you posted about Google (knowing you would take it personally, LOL) I would post the same if my Mother posted inaccurate information about how Google indexes, and I love my mom :-)

imported_silkroad 08-08-2009 01:12 PM

Quote:

Originally Posted by Dave Hybrid (Post 1863522)
In the past I have just htaccess 301'd the hl=country to the root for any country's i want removed from the index after disabling them on the script first (removing the flag).

That is a good idea, it seems.

Thanks!

Dave Hybrid 08-08-2009 01:25 PM

Quote:

Originally Posted by imported_silkroad (Post 1863525)
I know about how Google works pretty well, and your advice regarding how Google indexes is inaccurate.

I think it is important to advise accurately, and I am sure you agree.

You posted that Google does not use non-English URL - that is inaccurate. (NPL-er also corrected).

You posted that Google priorities crawling based on the how close the URL is to the "root domain" - that is also not really accurate. Google priorities based on priorities (and frequencies) in the sitemaps.

PS: I am not "jumping on you" - I am correcting some fairly important technical errors you posted about Google (knowing you would take it personally, LOL) I would post the same if my Mother posted inaccurate information about how Google indexes, and I love my mom :-)

Ah I see now, so you're the expert. Is that your reasoning to why I am wrong? What's is it like to work in the plex alongsite Matt Cutts? Oh, that's right, you dont and thus are as clueless as the rest of us. All you have like the rest of us is an educated guess.

I said that is how Google behaves on my site, nothing more nothing less. I also said I got the url issue wrong, you cant buy non english domains so I assumed urls were no different. It's a simple mistake.

But here we go again, if YOU get personal with someone how else can they take it. If I start picking holes in your attitude than I'm sure you would take it personally, it's human nature.

I am not going to speak with you any more, you seem hell bent on making personal attacks, which i have no time for. You wanna talk technical I'm all ears, you wanna talk personal than no dice.

Are you really that bored and lonely that you need to pick fights and argue online. Get off the PC mate.

Spinball 08-08-2009 02:00 PM

Yes Dave, but it's not as simple as that. The servers for a huge forum cost a lot of money and there is a delay between having the impressions and your sales team being able to sell enough advertising to cover the additional cost.
Might be a good idea to get some feedback from huge forum administrators in your first post.

allinvain 08-08-2009 02:31 PM

I'm wondering, is it possible to add an additional language to the translation setup? The language I'm looking for is Vietnamese.

basilrath 08-08-2009 02:58 PM

Quote:

I know about how Google works pretty well, and your advice regarding how Google indexes is inaccurate.

I think it is important to advise accurately, and I am sure you agree.

You posted that Google does not use non-English URL - that is inaccurate. (NPL-er also corrected).

You posted that Google priorities crawling based on the how close the URL is to the "root domain" - that is also not really accurate. Google priorities based on priorities (and frequencies) in the sitemaps.

PS: I am not "jumping on you" - I am correcting some fairly important techincal errors you posted about Google (knowing you would take it personally, LOL) I would post the same if my Mother posted inaccurate information about how Google indexes, and I love my mom :-)
--------------------------------
Quote:

Ah I see now, so you're the expert. Is that your reasoning to why I am wrong? What's is it like to work in the plex alongsite Matt Cutts? Oh, that's right, you dont and thus are as clueless as the rest of us. All you have like the rest of us is an educated guess.

I said that is how Google behaves on my site, nothing more nothing less. I also said I got the url issue wrong, you cant buy non english domains so I assumed urls were no different. It's a simple mistake.

But here we go again, if YOU get personal with someone how else can they take it. If I start picking holes in your attitude than I'm sure you would take it personally, it's human nature.

I am not going to speak with you any more, you seem hell bent on making personal attacks, which i have no time for. You wanna talk technical I'm all ears, you wanna talk personal than no dice.

Are you really that bored and lonely that you need to pick fights and argue online. Get off the PC mate.

May i suggest that you guys move this onwards or at least try to work alongside, which if im honest would probably achieve tremendous results. The mod in my humble opinion is well worthy of mod of the month but as mentioned by imported_silkroad has its problems ............... so why not channel your thoughts into its workability rather than its negativity ?

Just my thoughts and again its a great mod.

tpearl5 08-08-2009 05:12 PM

Quote:

Originally Posted by imported_silkroad (Post 1863440)
You can help manage this by setting your both priority and update frequencies in your Google Sitemaps. You can set your threads a higher priority than posts, etc.

Our experience is that Google does tend to follow their own Sitemap standards, but you have to use them and use them wisely :-)

Quote:

Originally Posted by Dave Hybrid (Post 1863461)
Google considers pages closer to the domain root as more important, so that is why those pages get indexed 1st.

Well, to be more specific, google is indexing tags, member pages, and blog pages first. I don't even have blogs in the sitemaps and the priority for the member and tags pages is lower than thread pages.

I don't know - I guess I'll just wait and see. My translate tables already total over 2 million records and are on a steady increase!

tpearl5 08-08-2009 05:19 PM

Quote:

Originally Posted by Spinball (Post 1863536)
Yes Dave, but it's not as simple as that. The servers for a huge forum cost a lot of money and there is a delay between having the impressions and your sales team being able to sell enough advertising to cover the additional cost.
Might be a good idea to get some feedback from huge forum administrators in your first post.

I understand about servers being expensive, but like mentioned above, you don't have to enable every language. I chose only the most used. Regardless, I'm curious why you don't use adsense and advertisers like vibrant media, kontera, and chitika?

allinvain 08-09-2009 04:25 AM

Hmm, I see you're all too busy bickering amongst yourselves to answer my question...I'll look elsewhere.

NLP-er 08-09-2009 12:14 PM

Quote:

Originally Posted by Dave Hybrid (Post 1863530)
... I am not going to speak with you any more, you seem hell bent on making personal attacks, which i have no time for. You wanna talk technical I'm all ears, you wanna talk personal than no dice.

Are you really that bored and lonely that you need to pick fights and argue online. Get off the PC mate.

There is such word - hypocrisy...

NLP-er 08-09-2009 12:22 PM

Quote:

Originally Posted by allinvain (Post 1863551)
I'm wondering, is it possible to add an additional language to the translation setup? The language I'm looking for is Vietnamese.

I have over 40 translation languages on my forum (www.forum.simple-nlp.pl - see flags in right column). And there is Vietnamese. So it is possible :)

NLP-er 08-09-2009 12:25 PM

Quote:

Originally Posted by allinvain (Post 1863910)
Hmm, I see you're all too busy bickering amongst yourselves to answer my question...I'll look elsewhere.

Yeah... You can find here some "fights", but as I see after your post there was no Dave posts, so could it be possible that he just wasn't on computer?... ;)

imported_silkroad 08-09-2009 12:59 PM

Quote:

Originally Posted by Dave Hybrid (Post 1863530)
Ah I see now, so you're the expert. Is that your reasoning to why I am wrong? What's is it like to work in the plex alongsite Matt Cutts? Oh, that's right, you dont and thus are as clueless as the rest of us. All you have like the rest of us is an educated guess.

I said that is how Google behaves on my site, nothing more nothing less. I also said I got the url issue wrong, you cant buy non english domains so I assumed urls were no different. It's a simple mistake.

But here we go again, if YOU get personal with someone how else can they take it. If I start picking holes in your attitude than I'm sure you would take it personally, it's human nature.

I am not going to speak with you any more, you seem hell bent on making personal attacks, which i have no time for. You wanna talk technical I'm all ears, you wanna talk personal than no dice.

Are you really that bored and lonely that you need to pick fights and argue online. Get off the PC mate.

Wow!

All I do is point out that users can set Google indexing priorities with Sitemaps and you go balistic.

You are the person here is picks fights Dave. Everyone knows it. You are famous for it. This thread is full of your your anger and rage at anyone you disagree with.

In fact, look at how negative you are posting above because I point out a technical error you made.

The only person you do not beat up is NLP-er, LOL. When he and I say the same thing, you verbally assault me. LOL.

You are so funny.

imported_silkroad 08-09-2009 01:03 PM

Quote:

Originally Posted by NLP-er (Post 1864018)
There is such word - hypocrisy...



Dave, you should not reply, really. You are stressed out to the max. Just read your fights you pick in this thread. I have never seen a mod like it!

imported_silkroad 08-09-2009 01:08 PM

Quote:

Originally Posted by Dave Hybrid (Post 1863530)
Ah I see now, so you're the expert. Is that your reasoning to why I am wrong? What's is it like to work in the plex alongsite Matt Cutts? Oh, that's right, you dont and thus are as clueless as the rest of us. All you have like the rest of us is an educated guess.

No Dave. You are the one guessing.

I work with Sitemaps all the time and know that Google does follow the Sitemap parameters (and so do the good folks at vBSEO).

Also, I know that URLs are not only in English, as you said earlier, and NLP-er corrected.

You simply shoot from the hip, toss out opinions, and get angry when you are wrong. Better to stop shooting from the hip and learn to work with others.

Cheers.

tpearl5 08-09-2009 09:42 PM

back to productive conversation...

something I found in the google language api (http://code.google.com/apis/ajaxlanguage/terms.html) is somewhat alarming:

You may...
Quote:

copy, store, archive, republish or create a database of Google Results, in whole or in part, directly or indirectly, except that you may: (1) store Google Results in a temporary cache for a period not to exceed fifteen (15) days solely for the purpose of using Google Results to carry out a specific user-requested action; and/or (2) display Google Results that have been "clipped" through a user-requested action, provided that you comply with the attribution requirements described in Section 2.3 below;
also, from a google employee: http://groups.google.com/group/Googl...a6?hl=en&pli=1

I fear that this is going to get my site banned...

Dave Hybrid 08-09-2009 10:06 PM

Quote:

Originally Posted by tpearl5 (Post 1864233)
back to productive conversation...

something I found in the google language api (http://code.google.com/apis/ajaxlanguage/terms.html) is somewhat alarming:

You may...


also, from a google employee: http://groups.google.com/group/Googl...a6?hl=en&pli=1

I fear that this is going to get my site banned...

A popular wordpress version based of the same idea here http://www.nothing2hide.net/wp-plugi...slator-plugin/ has been out over 3 years and is on loads of sites. Not heard of a ban ever and the authors site ranks pretty well. But if you are concerned than all i would suggest is stop using the mod. Thanks.

yahoooh 08-10-2009 12:49 AM

how to make it when show translate page , will show all links with the same hl= languge so this will continue translate any page untill the use preffer to use default page


All times are GMT. The time now is 04:24 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.02005 seconds
  • Memory Usage 1,904KB
  • 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
  • (34)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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