vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   End-User Options - Forum Translator by Google (https://vborg.vbsupport.ru/showthread.php?t=258009)

svyrydov 05-19-2013 11:37 AM

working fine on 4.2.1

RichieBoy67 05-21-2013 04:12 PM

Ok, I see now. This is not really a mod but rather just a snippet from Google. Instead of using this it works better to go to the Google translate page. place the first section in your headincludes and then the last section in your footer. Do it this way and it will somewhat match your site.

When I first installed this I did it quickly because a client wanted it and I did not even realize it was just a snippet from Google. Funny how people post these like they have created a mod or something.

In addition posting it after </form> may not work for many sites depending on what they have in their footer. I suggest posting it at the very bottom but I also suggest not using this code here but use the code directly from Google translate so you end up with the code in your headincludes.

goarack 03-14-2015 12:31 AM

Thanks That was Pretty simple

billstelling 07-21-2015 10:58 AM

Some css I created to mod it a bit.. After coding this in for vB again today I also noticed that it is persistent even if you close the browser.

https://vborg.vbsupport.ru/external/2015/07/8.png

Code:

.goog-te-gadget-simple {
    border: none !important;
    border-style: solid;
    border-radius: 3px;
    border-color: rgb(222, 222, 222);
        -webkit-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.6);
        -moz-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.6);
        box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.6);
    background: none repeat scroll 0% 0% rgb(244, 244, 244);
    font-size: 14pt;
    display: inline-block;
    margin-top: 23px;
    padding-top: 1px;
    padding-bottom: 1px;
    cursor: pointer;
}
.goog-te-gadget-simple .goog-te-menu-value span {
    text-decoration: none;
    color: #000 !important;
    font: 14px "Droid Sans",sans-serif,Arial,sans-serif;
}
.goog-te-gadget-icon {
    background-image: none !important;
    border: none !important;
    height: 0px !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
    vertical-align: middle;
    width: 0px !important;
}
#goog-gt-tt {
   
    visibility: hidden !important;
}
.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}
.goog-te-banner-frame {
    border-color: -moz-use-text-color -moz-use-text-color #FD7D16 !important;
    box-shadow: 0 0 8px 1px #FD7D16 !important;
}


Scalemotorcars 02-14-2019 09:15 PM

Just a note that this messes with the center alignment of highslide if you're using it. It works great but I need the image enlarger more than the translator.

oldfan 04-16-2023 02:21 AM

Works great on 4.2.6. php 7.2


All times are GMT. The time now is 06:01 PM.

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.01213 seconds
  • Memory Usage 1,729KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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