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 07-20-2009 07:41 PM

Quote:

Originally Posted by imported_silkroad (Post 1851684)
..........

The point is this MOD is complex silkroad, optimizing it further is a very specialized job that many have failed on. No one said you shouldn't test before making code changes, it's just i believe you will find it hard to make these changes afterwards. I work with many coders and they believe they have taken this as far as it can go speed wise. Like I said, i would love to hear actual solutions when you have done your research.

Dave Hybrid 07-20-2009 07:47 PM

Quote:

Originally Posted by imported_silkroad (Post 1852409)
Hey Guys!

(No stats, I promise!)

Hope all is well.

Question: Does your mod parse the "notranslate" tag and pass it to Google when it does the translation?

Code:

<span class="notranslate">Code not to translate</span>
Google says to use this tag when you don't want something translated.

I wrapped it around $code in the bbcode_code template, but it did not seem to work.

Cheers.

No it doesn't seem to work when i tested. Sorry.

imported_silkroad 07-20-2009 08:11 PM

Quote:

Originally Posted by Dave Hybrid (Post 1852412)
No it doesn't seem to work when i tested. Sorry.

Hi Dave!

Thanks. I searched the mod code after posting and did not find any reference to "notranslate". I agree, it is not supported. Maybe in a future release?

imported_silkroad 07-20-2009 08:15 PM

Quote:

Originally Posted by Dave Hybrid (Post 1852410)
The point is this MOD is complex silkroad, optimizing it further is a very specialized job that many have failed on. No one said you shouldn't test before making code changes, it's just i believe you will find it hard to make these changes afterwards. I work with many coders and they believe they have taken this as far as it can go speed wise. Like I said, i would love to hear actual solutions when you have done your research.

I agree. The code is complex with all the parsing etc.

Also, thanks for letting me know you feel the code cannot be further optimized. That is very helpful to know!

Again, thanks for this mod. Much appreciated! We are tracking the indexing process closely and look forward to results!

Dave Hybrid 07-20-2009 08:45 PM

Quote:

Originally Posted by imported_silkroad (Post 1852424)
Hi Dave!

Thanks. I searched the mod code after posting and did not find any reference to "notranslate". I agree, it is not supported. Maybe in a future release?

I believe someone posted a way to exclude text somewhere in this thread, we may include it in the main release on the next update.

Bounce 07-20-2009 08:46 PM

Dave,

Where have I went wrong, just upgraded to v2.4

When I click on a flag it just loads the page in english :confused:

I've commented out "en" and even ran the queries here...
https://vborg.vbsupport.ru/showpost....&postcount=294

Dave Hybrid 07-20-2009 08:47 PM

Quote:

Originally Posted by imported_silkroad (Post 1852427)
I agree. The code is complex with all the parsing etc.

Also, thanks for letting me know you feel the code cannot be further optimized. That is very helpful to know!

Again, thanks for this mod. Much appreciated! We are tracking the indexing process closely and look forward to results!

Cool, thank you.

Dave Hybrid 07-20-2009 08:53 PM

Quote:

Originally Posted by hIBEES (Post 1852441)
Dave,

Where have I went wrong, just upgraded to v2.4

When I click on a flag it just loads the page in english :confused:

I've commented out "en" and even ran the queries here...
https://vborg.vbsupport.ru/showpost....&postcount=294

I guess you did something wrong or didn't wait for a step to finish.

Did you backup before?

Might be easiest to start with a fresh DB using the install instructions tbh.

Bounce 07-20-2009 09:00 PM

Quote:

Originally Posted by Dave Hybrid (Post 1852444)
I guess you did something wrong or didn't wait for a step to finish.

Did you backup before?

Might be easiest to start with a fresh DB using the install instructions tbh.

yea, prob did, daft Q, is the instructions still the same as per post 1 ?

Where do the cleaner and saver get installed if theres no code in post 1 to run a query for them ?

I shall start over and report back sir, thanks :up:

EDIT: ++++in ++++ I am, I saved the first plugin as global_start not global_complete LOL.. DOH!!!!!!!!!

Dave Hybrid 07-20-2009 09:11 PM

Quote:

Originally Posted by hIBEES (Post 1852448)
yea, prob did, daft Q, is the instructions still the same as per post 1 ?

Where do the cleaner and saver get installed if theres no code in post 1 to run a query for them ?

I shall start over and report back sir, thanks :up:

EDIT: ++++in ++++ I am, I saved the first plugin as global_start not global_complete LOL.. DOH!!!!!!!!!

Great.:up:


All times are GMT. The time now is 12:29 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.01696 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
  • (9)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