Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
vB Global Translator - Multiply your indexed pages & put search traffic on autopilot Details »»
vB Global Translator - Multiply your indexed pages & put search traffic on autopilot
Version: 2.4, by Dave Hybrid Dave Hybrid is offline
Developer Last Online: Dec 2013 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 06-27-2009 Last Update: 07-07-2009 Installs: 67
Uses Plugins Template Edits
Additional Files  
No support by the author.

**Text Removed**

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #122  
Old 06-30-2009, 02:54 PM
NLP-er's Avatar
NLP-er NLP-er is offline
 
Join Date: Aug 2008
Location: Wrocław
Posts: 1,353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GoTTi View Post
ok i left it installed overnight and i checked the mysql tables and this is what it looks like



still not loading anything in the cache table. and when i click any flags, nothing is loading for me. any ideas?
You can always set $enablecache = false; in translate.php - then you will know does your page translates at all. I'm quite sure that cache is not an issue here and we can be sure by temporary disabling it.
Reply With Quote
  #123  
Old 06-30-2009, 02:58 PM
NLP-er's Avatar
NLP-er NLP-er is offline
 
Join Date: Aug 2008
Location: Wrocław
Posts: 1,353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Geraldm View Post
Well I installed the new version 2.0 script yesterday.

My forum currently has 4,745 threads and 17,052 posts and today my DB looks like this:



34.7MB in 24 hours ?!!?!? I'll let you know how big this DB gets after a week.....

Cheers, and thanks for the great script!

Regards,
Gerald.
Well - in vb you have 1 content. Here it is multiplied for each translation. As long as you have space on server - who cares?...
Reply With Quote
  #124  
Old 06-30-2009, 05:09 PM
Dave Hybrid's Avatar
Dave Hybrid Dave Hybrid is offline
 
Join Date: Mar 2007
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Exactly, would you delete normal posts because your DB got a big big?

No, you'd keep them and upgrade the server if needed, so what's the difference... lol.

People worried about gaining too much content, that's a new one he he.
Reply With Quote
  #125  
Old 06-30-2009, 05:16 PM
T2x T2x is offline
 
Join Date: May 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tpearl5 View Post
You certainly can't be hurting anything by including an API key.

Here's another question... How about displaying flags based on where the IP is from? I understand this would involve a small index of IP's, but perhaps it could be an exclusion. For example, 'if not from US, display flags'

edit - nevermind - that would be a very large index either way that would have to be referenced on every visit, which sounds very expensive

Nah its actually very easy to do. I have an ip database on my site which performs a similar function.

I would recommend using javascript instead to read the browser language.

Code:
var nav_lng="nolang"; //default language string
if(navigator.language)nav_lng=navigator.language;
else if(navigator.browserLanguage)nav_lng=navigator.browserLanguage;
else if(navigator.userLanguage)nav_lng=navigator.userLanguage;
else if(navigator.systemLanguage)nav_lng=navigator.systemLanguage;
else if(window.navigator.language)nav_lng=window.navigator.language;
for example, for english visitors the nav_lng variable will then contain either en-US or en-GB(for users from the UK or AU)


I actually have dynamic javascript translation going on as well right now using this and it works fine.
Reply With Quote
  #126  
Old 06-30-2009, 05:55 PM
burlesque's Avatar
burlesque burlesque is offline
 
Join Date: May 2007
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was also getting the blank page when I clicked on a flag, however when I set the caching to 'false' it translated fine.

However, when I add set the cache to 'true' I get the white page again.

But if I set the cache to false once again, everything translates fine, until I set the cache to 'true'...

.. and then I get a blank page again.

The db has been installed correctly but I'm at a loss as to why this happens.
Reply With Quote
  #127  
Old 06-30-2009, 06:54 PM
music legend music legend is offline
 
Join Date: Mar 2006
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by burlesque View Post
I was also getting the blank page when I clicked on a flag, however when I set the caching to 'false' it translated fine.

However, when I add set the cache to 'true' I get the white page again.

But if I set the cache to false once again, everything translates fine, until I set the cache to 'true'...

.. and then I get a blank page again.

The db has been installed correctly but I'm at a loss as to why this happens.
where is the caching option you turned off?
Reply With Quote
  #128  
Old 06-30-2009, 07:01 PM
burlesque's Avatar
burlesque burlesque is offline
 
Join Date: May 2007
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in translate.php

Code:
$enablesession = false; //ignore
$enablecache = false; //true - enable cache setting, false - disable cache setting
Reply With Quote
  #129  
Old 06-30-2009, 07:01 PM
NLP-er's Avatar
NLP-er NLP-er is offline
 
Join Date: Aug 2008
Location: Wrocław
Posts: 1,353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave Hybrid View Post
Exactly, would you delete normal posts because your DB got a big big?

No, you'd keep them and upgrade the server if needed, so what's the difference... lol.

People worried about gaining too much content, that's a new one he he.
exactly I'm very happy when new posts arrives on my forum - more is better, or people will go somewhere where they will find what they are looking for...
Reply With Quote
  #130  
Old 06-30-2009, 07:07 PM
NLP-er's Avatar
NLP-er NLP-er is offline
 
Join Date: Aug 2008
Location: Wrocław
Posts: 1,353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by burlesque View Post
I was also getting the blank page when I clicked on a flag, however when I set the caching to 'false' it translated fine.

However, when I add set the cache to 'true' I get the white page again.

But if I set the cache to false once again, everything translates fine, until I set the cache to 'true'...

.. and then I get a blank page again.

The db has been installed correctly but I'm at a loss as to why this happens.
In such case cache is an issue here. Can you PM to me some more details? I will gladly see what is gooing on
Reply With Quote
  #131  
Old 06-30-2009, 07:12 PM
music legend music legend is offline
 
Join Date: Mar 2006
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah that fixed my white screen as well when i turned it to false it worked

if its set to true i just get the white screen
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:07 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05753 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete