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)

Sweeks 07-03-2009 11:39 AM

Quote:

Originally Posted by Dave Hybrid (Post 1841905)
v2.3 Official Release

* More change to database optimization.

To Upgrade

Upload the new translate.php and run the following MySQL query on your DB.

Code:

delete from wt_cache where translated='' or translated is null;
delete from wt_cache_medium where translated='' or translated is null;
delete from wt_cache_short where translated='' or translated is null;


Is this update including NLP's update? :up: seems a bit faster now too! thank you :)

Dave Hybrid 07-03-2009 11:42 AM

Quote:

Originally Posted by Sweeks (Post 1841973)
Is this update including NLP's update? :up: seems a bit faster now too! thank you :)

Yep, NLP-er tends to do the DB optimization as MySQL isn't my thing, I'm more features on other bugs.

Yeah, seems even better than before.

Dave Hybrid 07-03-2009 11:43 AM

Also; as you can see 717 pages indexed. site:www.teenforumz.com inurl:?hl=

If you want to see how many translated pages you have indexed goto google and type;

site:domain.com inurl:?hl=

Thanks.

Sweeks 07-03-2009 01:47 PM

Nice one, thanks for the query Dave :up: hope more gain indexing too :)

GoTTi 07-03-2009 02:00 PM

Quote:

Originally Posted by merkaz (Post 1841968)
This maybe becuase :

Firewall blocked google IP .

Curl functions disable on " disable_functions " On PHP ..
This functions must be enabled : curl_exec and curl_init

curl is enabled. im thinking google blocked the site. i cant show adsense ads, thats where it started long time ago...but in earlier post i think on page 4 someone posted the translator dropdown menu thing to add to sites, and i put it on the site and it worked fine....just this mod here wont work with the site. i dunno..

motorola 07-03-2009 02:55 PM

What I supposed to do to,, run the following query's to import the tables. '' in PhP My admin? I'm a noob I dont understand,can someone explain :)

LE: Dont need hely anymore regarding this matter

Now I dont understand this.. :(


Quote:

Now change $originalEncoding variable to match your forum base encoding. The default is English (iso-8859-1). You can find your default by viewing the source of one of your forum pages, it is at the top.

Next, change the $fl setting to also match your forum base language. The default again is english (en). If different swap with the relevent code from the table below.

CThiessen 07-03-2009 03:50 PM

Hi,
@ 2TX will you do an Update of your code for the current version 2.3?
I try to merge that on my own but I had no success.

The chages with:

<!--nttart-->
Do not translate this text
<!--ntend-->
and with the API Key.

What I did:
I put in: <if condition="(THIS_SCRIPT == 'showthread')"> for the flags

The I go to the showthread Template an add on top <!--nttart--> and at the end <!--ntend-->
The I edit the Postbit/Postbit Lagacy Template an ad before the content <!--ntend--> an after the content <!--nttart-->.

So only the "real" Content will be translated. This works very fast.
Show some strange Letters in the not translated parts but I don't care, I i thing Google don't care becuse most of the not translatetd words are not importet for the Content.

As I work with the marcoH1 Add on, I do the same tere so the Headlines will bo alsos transtated.

But this stops working with the Update 2.2

If you may post the code for the current version I realy apriciate.

Thanks
Christian

NLP-er 07-03-2009 03:50 PM

Quote:

Originally Posted by motorola (Post 1842102)
What I supposed to do to,, run the following query's to import the tables. '' in PhP My admin? I'm a noob I dont understand,can someone explain :)

LE: Dont need hely anymore regarding this matter

Now I dont understand this.. :(

Just open any page on your forum, on any browser go to page source and find:

<meta http-equiv="Content-Type" content="text/html; charset=THIS-IS-YOUR-ORIGINALENCODING" />

GamerPerfection 07-03-2009 04:11 PM

Updated.

site:galaxyofstars.co.uk inurl:?hl=
^^ 533 indexed. :)

Dave Hybrid 07-03-2009 04:36 PM

Quote:

Originally Posted by clarkey25 (Post 1842150)
Updated.

site:galaxyofstars.co.uk inurl:?hl=
^^ 533 indexed. :)

Nice one, it's always worked pretty well on your site but now as it grows it will continue to be fast. :up:


All times are GMT. The time now is 02:30 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.01604 seconds
  • Memory Usage 1,746KB
  • 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
  • (6)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