The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#32
|
|||
|
|||
AWESOME! Many of my members are from Europe and Scandinavia. This is perfect!
/INSTALLED |
#33
|
|||
|
|||
To change the color of the font:
Open file: google_translate.php $strTranslation = '<div background-color:#000000><br /><font color=#ffffff>' change to: $strTranslation = '<div background-color:#ffffff><br /><font color=#000000>' The color will be black. |
#34
|
|||
|
|||
Hi,
I installed this, because we have a few english member on our board, who need this. The problem is, that for every marking up text, the translator pops up. This would not be so annoying, but you can't click it away. Or set it up, if you want to occur the popup. I need, you don't have actually much time, but it would be very great, if you can fix it. Beside of that, the guys from the KDE Desktop Project developed an Inline Google Translation, which gives the user the opportunity to choose in which language he want to translate an entire post. Mod Official Live Demo Live Demo at an Testforum by me Could you do a similar mod for vBulletin? This would be awesome Greetings from germany Benny |
#35
|
||||
|
||||
Can someone outline the edits to get this working on VBA pages. I have allot of VBAdvanced pages and I get the google error. Maybe make the links absolute but not sure exactly where to edit so it works site wide. Thanks....
|
#36
|
||||
|
||||
Figured it out. Actually easy fix.
Upload the google_translate.php provided in the hack to the VBA root. Same place your cmps_index.php or index.php resides. If you have an image folder on the root then just upload the image provided there. If not then the easy way is to an the Images Folder straight to the same root. Done... Works perfectly on my site. Scalemotorcar.com |
#37
|
||||
|
||||
I made a few changes to the pop-up. The main difference is the ability to close the pop-up if its triggered accidental. 2nd I changed the background to class="panelsurround" to make it s bit more noticeable. This is a preference of mine but you can use whatever class looks best on your site.
Make sure you change the path to your <img src="http://www.yoursite.com/images/cross.png">. I used the FamFamFam one. Hope this is of use to someone. Enjoy.. HTML Code:
<script type="text/javascript"> <!-- var translate_from = "en"; var translate_to = "de"; // --> </script> <div id="translation" style="visibility: hidden; border: 2px; position: absolute; left: 0px; top: 0px" class="tborder"> <div class="tcat"> <a style="display: block; text-align: right; padding: 6px; font-size: 9px;" href="#" onclick="this.parentNode.parentNode.style.visibility='hidden'">$vbphrase[googletranslator_close_window]</a> </div> <div style="padding: 6px;"></div> </div> <div id="translate" style="visibility: hidden; border: 0px; position: absolute; left: 0px; top: 0px" class="tborder"> <div class="panelsurround"> <img src="images/ico_searching.gif" alt="" style="vertical-align: middle; display: none;" /> <span class="normalfont">$vbphrase[googletranslator_translate_from]: <select name="trans_from" onchange="translate_from=this.options[this.selectedIndex].value"> <option value="ar">$vbphrase[googletranslator_arabic]</option> <option value="bg">$vbphrase[googletranslator_bulgarian]</option> <option value="zh-CN">$vbphrase[googletranslator_chinese]</option> <option value="hr">$vbphrase[googletranslator_croatian]</option> <option value="cs">$vbphrase[googletranslator_czech]</option> <option value="da">$vbphrase[googletranslator_danish]</option> <option value="nl">$vbphrase[googletranslator_dutch]</option> <option value="en" selected="selected">$vbphrase[googletranslator_english]</option> <option value="fi">$vbphrase[googletranslator_finnish]</option> <option value="fr">$vbphrase[googletranslator_french]</option> <option value="de">$vbphrase[googletranslator_german]</option> <option value="el">$vbphrase[googletranslator_greek]</option> <option value="hi">$vbphrase[googletranslator_hindi]</option> <option value="it">$vbphrase[googletranslator_italian]</option> <option value="ja">$vbphrase[googletranslator_japanese]</option> <option value="ko">$vbphrase[googletranslator_korean]</option> <option value="no">$vbphrase[googletranslator_norwegian]</option> <option value="pl">$vbphrase[googletranslator_polish]</option> <option value="pt">$vbphrase[googletranslator_portuguese]</option> <option value="ro">$vbphrase[googletranslator_romanian]</option> <option value="ru">$vbphrase[googletranslator_russian]</option> <option value="es">$vbphrase[googletranslator_spanish]</option> <option value="sv">$vbphrase[googletranslator_swedish]</option> </select> $vbphrase[googletranslator_translate_to] <select name="trans_to" onchange="translate_to=this.options[this.selectedIndex].value"> <option value="ar">$vbphrase[googletranslator_arabic]</option> <option value="bg">$vbphrase[googletranslator_bulgarian]</option> <option value="zh-CN">$vbphrase[googletranslator_chinese]</option> <option value="hr">$vbphrase[googletranslator_croatian]</option> <option value="cs">$vbphrase[googletranslator_czech]</option> <option value="da">$vbphrase[googletranslator_danish]</option> <option value="nl">$vbphrase[googletranslator_dutch]</option> <option value="en">$vbphrase[googletranslator_english]</option> <option value="fi">$vbphrase[googletranslator_finnish]</option> <option value="fr">$vbphrase[googletranslator_french]</option> <option value="de" selected="selected">$vbphrase[googletranslator_german]</option> <option value="el">$vbphrase[googletranslator_greek]</option> <option value="hi">$vbphrase[googletranslator_hindi]</option> <option value="it">$vbphrase[googletranslator_italian]</option> <option value="ja">$vbphrase[googletranslator_japanese]</option> <option value="ko">$vbphrase[googletranslator_korean]</option> <option value="no">$vbphrase[googletranslator_norwegian]</option> <option value="pl">$vbphrase[googletranslator_polish]</option> <option value="pt">$vbphrase[googletranslator_portuguese]</option> <option value="ro">$vbphrase[googletranslator_romanian]</option> <option value="ru">$vbphrase[googletranslator_russian]</option> <option value="es">$vbphrase[googletranslator_spanish]</option> <option value="sv">$vbphrase[googletranslator_swedish]</option> </select> </span> <input type="button" class="button" name="btngo" value="$vbphrase[googletranslator_go]" onclick="translateSelection(translate_from, translate_to, 1);" /> <a href="#" onclick="this.parentNode.parentNode.style.visibility='hidden'"><img src="http://www.yoursite.com/images/cross.png" border=0 alt="Close Translator"></a> </div> </div> |
#38
|
|||
|
|||
footer
search for Code: $ad_location[ad_footer_start i can't find it what can be problem? |
#39
|
||||
|
||||
Quote:
Go to Admin CP > Styles & Templates> Style Manager ... Click the GO button. In the 3rd block from the top is the footer template. Look for the very first line. It should be there. (Unless your have an older version of Vb> If you dont have that line of code try adding it the top of the footer template. Should work fine. |
#40
|
||||
|
||||
Got a little problem with, Not really a bug just a glitch.
Ive got this installed and love it. Thanks But I also installed MK's Image resizer last night and they do both work together but when I enlarge an image with Litebox the google translator pops up at the top left of the page. Not the entire box but just the two drop down menu's. Any ideal how to fix this. Heres the link to MK's mod |
#41
|
||||
|
||||
Anyone have an ideal why this in conflicting with MK-Image resizer? I would hate to have to uninstall this mod just over a simple fix. Could use some help here. Thanks.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|