The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
Well someone requested this as a hack, but it ended up being a template modification so it's here.
Anyway, what this does is adding a drop down menu with a list of languages, and you just select one and the thread will be translates. The install this, add the following HTML code: Code:
<td align="center"><table cellpadding="0" cellspacing="0" border="0"><tr><td><smallfont><b>Translate Thread:</b><br> <select name="lang" onchange="window.location=('http://fets3.freetranslation.com:5081/?Url=path_to_forums%2Fshowthread.php%3Fs%3D%26threadid%3D$threadid&Sequence=core&Language='+this.options[this.selectedIndex].value)"> <option value="-1" selected>Please select direction:</option> <option value="English/Spanish">English to Spanish</option> <option value="English/French">English to French</option> <option value="English/German">English to German</option> <option value="English/Italian">English to Italian</option> <option value="English/Norwegian">English to Norwegian</option> <option value="English/Portuguese">English to Portuguese</option> <option value="Spanish/English">Spanish to English</option> <option value="French/English">French to English</option> <option value="German/English">German to English</option> <option value="Italian/English">Italian to English</option> <option value="Portuguese/English">Portuguese to English</option> </select></smallfont></td></tr></table></td> Code:
<td align="center">$adminoptions</td> You only need to change the red part, like this. If the forum is at http://www.vbulletin.com/forum you need to replace the red part with "www.vbulletin.com%2Fforum" (you drop the http:// and change / into %2F as you can see!). That's it. Show Your Support
|
Comments |
#32
|
||||
|
||||
Quote:
Any chance it could work immediately on selection, and also by clicking on the go button? The immediate change never works for Netscape users, and IE users never expect to use the go button anymore. |
#33
|
|||
|
|||
Hi, Brian, don't know probably is the 'automatic' change is just javascript, I will try to look into it...
|
#34
|
|||
|
|||
Hi! Jawelin,
Well, Jawelin, I have finished the hack part like you requested a few posts ago, I have to put it all together than I will release it. James |
#35
|
|||
|
|||
Brian I tried to make it work without clicking but it didn't because of the way lycos sets it up, sorry
(also I made some cosmetic changes to the hack I mentioned so I recommend using the new layout it will have when I release it.) James |
#36
|
|||
|
|||
Sounds good!
I'll be waiting! |
#37
|
|||
|
|||
Quote:
Thanks a lot. Well, std.by.... |
#38
|
|||
|
|||
my first hack so it may take me a bit just to figure out how to package it best, it should be out soon though.
James |
#39
|
||||
|
||||
I've read thru this thread again and I'm still not clear whether anyone has resolved the private forum issue? Can anyone clarify this as I'd love to have a translation option but I have FireFly's hack and that doesn't work for private forums. Thanks!
|
#40
|
|||
|
|||
I have been waiting as well for this hack to be resolved.
As of yet, no there is still an issue with this. I hope someone can resolve it soon or I will have to uninstall this puppy. |
#41
|
||||
|
||||
If this helps anyone, this is what I put on mine (took a little searching...)
I doubt it's even correct HTML, but it works. Code:
<table cellpadding="0" cellspacing="0" border="0"> <tr><td> <font face="Verdana,Arial" size="1"> Translate thread:</font><br> <FORM name=texur action=http://www.tranexp.com:2000/InterTran method=post> <P><FONT size=2><STRONG> <input onblur=dudeurl() type="hidden" name="url" value="http://forum.racesimcentral.com/showthread.php?threadid=$threadid"> <BR><SELECT name=from style="font-family: Verdana, Arial; font-size: 8pt" size="1"> <OPTION value=eng selected>English<OPTION value=spa>Spanish<OPTION value=fre>French<OPTION value=ger>German<OPTION value=ita>Italian<OPTION value=poe>Portuguese<OPTION value=pob>Brazilian Portuguese<OPTION value=cro>Croatian (CP 1250)<OPTION value=che>Czech (CP 1250)<OPTION value=dan>Danish<OPTION value=dut>Dutch<OPTION value=spe>European Spanish<OPTION value=fin>Finnish<OPTION value=grk>Greek<OPTION value=hun>Hungarian (CP 1250)<OPTION value=ice>Icelandic<OPTION value=jpn>Japanese (Shift JIS)<OPTION value=spl>Latin American Spanish<OPTION value=nor>Norwegian<OPTION value=pol>Polish (CP 1250)<OPTION value=rus>Russian (CP 1251)<OPTION value=sel>Serbian (Latin)<OPTION value=slo>Slovenian (CP 1250)<OPTION value=swe>Swedish<OPTION value=wel>Welsh</OPTION></SELECT> <BR><SELECT name=to style="font-family: Verdana, Arial; font-size: 8pt" size="1"> <OPTION value=spa selected>Spanish<OPTION value=eng>English<OPTION value=fre>French<OPTION value=ger>German<OPTION value=ita>Italian<OPTION value=poe>Portuguese<OPTION value=pob>Brazilian Portuguese<OPTION value=cro>Croatian (CP 1250)<OPTION value=che>Czech (CP 1250)<OPTION value=dan>Danish<OPTION value=dut>Dutch<OPTION value=spe>European Spanish<OPTION value=fin>Finnish<OPTION value=grk>Greek<OPTION value=hun>Hungarian (CP 1250)<OPTION value=ice>Icelandic<OPTION value=jpn>Japanese (Shift JIS)<OPTION value=spl>Latin American Spanish<OPTION value=nor>Norwegian<OPTION value=pol>Polish (CP 1250)<OPTION value=rus>Russian (CP 1251)<OPTION value=sel>Serbian (Latin)<OPTION value=slo>Slovenian (CP 1250)<OPTION value=swe>Swedish<OPTION value=wel>Welsh</OPTION></SELECT><INPUT type=submit value=Go style="font-family: Verdana, Arial; font-size: 8pt"></STRONG><INPUT type=hidden value=yes name=topframe> </FONT></P></FORM> </td></tr> </table> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|