Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

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
  #312  
Old 07-09-2009, 06:30 PM
1Unreal 1Unreal is offline
 
Join Date: Jul 2008
Location: London
Posts: 372
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I made a little jQuery thing for the flags, feel free to use it.

Demo - at the top

HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
		$("#flags a img").hover(function(){
			$("#lang_text").text($(this).attr("alt"));
		})
		
		$("#flags").mouseleave(function(){
			$("#lang_text").text("Translate This Page");
		})
	});
</script>
</head>

<body>
<div style="margin: auto; width: 100%;" id="flags">
<a href="?hl=ar"><img src="/flags/Saudi Arabia.gif" alt="Arabic" border="0" /></a>
<a href="?hl=bg"><img src="/flags/Bulgaria.gif" alt="Bulgarian" border="0" /></a>
<a href="?hl=zh-CN"><img src="/flags/China.gif" alt="Chinese (Simplified)" border="0" /></a>

<a href="?hl=zh-TW"><img src="/flags/Taiwan.gif" alt="Chinese (Traditional)" border="0" /></a>
<a href="?hl=hr"><img src="/flags/Croatia.gif" alt="Croatian" border="0" /></a>
<a href="?hl=cs"><img src="/flags/Czech Republic.gif" alt="Czech" border="0" /></a>
<a href="?hl=da"><img src="/flags/Denmark.gif" alt="Danish" border="0" /></a>
<a href="?hl=nl"><img src="/flags/Netherlands.gif" alt="Dutch" border="0" /></a>
<a href="?hl=fi"><img src="/flags/Finland.gif" alt="Finnish" border="0" /></a>
<a href="?hl=fr"><img src="/flags/France.gif" alt="French" border="0" /></a>
<a href="?hl=de"><img src="/flags/Germany.gif" alt="German" border="0" /></a>
<a href="?hl=el"><img src="/flags/Greece.gif" alt="Greek" border="0" /></a>
<a href="?hl=iw"><img src="/flags/Israel.gif" alt="Hebrew" border="0" /></a>
<a href="?hl=hu"><img src="/flags/Hungary.gif" alt="Hungarian" border="0" /></a>
<a href="?hl=it"><img src="/flags/Italy.gif" alt="Italian" border="0" /></a>
<a href="?hl=ja"><img src="/flags/Japan.gif" alt="Japanese" border="0" /></a>
<a href="?hl=ko"><img src="/flags/South Korea.gif" alt="Korean" border="0" /></a>
<a href="?hl=no"><img src="/flags/Norway.gif" alt="Norwegian" border="0" /></a>
<a href="?hl=pl"><img src="/flags/Poland.gif" alt="Polish" border="0" /></a>
<a href="?hl=pt"><img src="/flags/Portugal.gif" alt="Portuguese" border="0" /></a>

<a href="?hl=ro"><img src="/flags/Romania.gif" alt="Romanian" border="0" /></a>
<a href="?hl=ru"><img src="/flags/Russian Federation.gif" alt="Russian" border="0" /></a>
<a href="?hl=sr"><img src="/flags/Serbia.gif" alt="Serbian" border="0" /></a>
<a href="?hl=sk"><img src="/flags/Slovakia.gif" alt="Slovak" border="0" /></a>
<a href="?hl=es"><img src="/flags/Spain.gif" alt="Spanish" border="0" /></a>
<a href="?hl=sv"><img src="/flags/Sweden.gif" alt="Swedish" border="0" /></a>
<a href="?hl=th"><img src="/flags/Thailand.gif" alt="Thai" border="0" /></a>
<a href="?hl=tr"><img src="/flags/Turkey.gif" alt="Turkish" border="0" /></a>
<span id="lang_text">Translate This Page</span>
</div>


</body>
</html>
Reply With Quote
  #313  
Old 07-09-2009, 06:54 PM
nascimbeni nascimbeni is offline
 
Join Date: Aug 2006
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi for a while I have been trying to install this mod with no success - I was getting

"The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression"

I found the solution:

Turned off gzip in the Admin CP -> vBulletin Options -> vBulletin Options -> Cookies and HTTP Header Options

I posted because I remember there was another member with the same issue.
Reply With Quote
  #314  
Old 07-09-2009, 07:34 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 LoveStream View Post
Thank you kindly direction to solve it.

I have two different server, MySQL and PHP version except Charset is utf-8.
As your comment, it seems to be caused by MySQL version. Accoring to mannual, that charset requres over MySQL 5.0.7 but my two server is lower than.

One of server has that

MySQL Version is 5.0.51a-log
PHP 5.2.5

and this desn't return any error messages, but when I tried other server has lower version than this, PHP 4.4.1 and MySQL 5.0.19.

In this server, it return Fatal error at mysql_set_charset; in translate.php

Well, How about this need to use cron job works in advanced before it run?
In my case, browising got stopped at last because it take too long time to translate and to stored cache table.

yours.
Glad you was able to run it afterall. In one of posts someone was giving instructions for spidering site so it will translate in background - just find it I also spider all pages, so now translations are very fast. And about first translation again - that is google who translates it - we just have to wait till google finish and give us translation...
Reply With Quote
  #315  
Old 07-09-2009, 07:43 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 nascimbeni View Post
Hi for a while I have been trying to install this mod with no success - I was getting

"The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression"

I found the solution:

Turned off gzip in the Admin CP -> vBulletin Options -> vBulletin Options -> Cookies and HTTP Header Options


I posted because I remember there was another member with the same issue.
Great thanks for helping
Reply With Quote
  #316  
Old 07-09-2009, 08:00 PM
1Unreal 1Unreal is offline
 
Join Date: Jul 2008
Location: London
Posts: 372
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A few pages back someone asked how to set the vBSEO rewrite rules to do this site.com/en/threadname

Could someone tell me the rewrite rules please
Reply With Quote
  #317  
Old 07-09-2009, 10:26 PM
gwerzal's Avatar
gwerzal gwerzal is offline
 
Join Date: Oct 2007
Posts: 317
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed

working great

thank you very much
Reply With Quote
  #318  
Old 07-10-2009, 04:56 AM
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Location: Australia
Posts: 1,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works good but my forum is going snail pase, cant think of any other hacks causing the slowness.
Reply With Quote
  #319  
Old 07-10-2009, 05:32 AM
Dave Hybrid's Avatar
Dave Hybrid Dave Hybrid is offline
 
Join Date: Mar 2007
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jaycob View Post
works good but my forum is going snail pase, cant think of any other hacks causing the slowness.
Just disable the plugin and see if that changes, it shouldn't cause any major load but it could push you over the edge if you are already close to low server resources.
Reply With Quote
  #320  
Old 07-10-2009, 12:06 PM
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Location: Australia
Posts: 1,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave Hybrid View Post
Just disable the plugin and see if that changes, it shouldn't cause any major load but it could push you over the edge if you are already close to low server resources.

yeah thanks, na it was not your hack, it seems to be the arcade for some reason.
cheers,
once again, good work
Reply With Quote
  #321  
Old 07-10-2009, 12:32 PM
Sweeks Sweeks is offline
 
Join Date: Jul 2008
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Donated to https://vborg.vbsupport.ru/member.php?u=267979 Installing this on our new forums
Reply With Quote
Reply


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 07:04 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.05734 seconds
  • Memory Usage 2,330KB
  • 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
  • (1)bbcode_html
  • (4)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
  • (2)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