Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by Admin (Coder) Admin is offline
Developer Last Online: Nov 2024 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 01-14-2002 Last Update: Never Installs: 0
 
No support by the author.

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>
right before this:
Code:
	<td align="center">$adminoptions</td>
in your showthread template.

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

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

Comments
  #32  
Old 01-19-2002, 03:23 PM
Brian Cruz's Avatar
Brian Cruz Brian Cruz is offline
 
Join Date: Nov 2001
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by jamesdasher
if for some reason the babelfish script is messing up your layout a lot (it was for me quite a bit)...you can try the following which is a script for http://translation.lycos.com.
Thanks James, my users like this Lycos translation much more than freetranslations.com. And you got to go button in there too.

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.
Reply With Quote
  #33  
Old 01-19-2002, 05:00 PM
jamesdasher jamesdasher is offline
 
Join Date: Oct 2001
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, Brian, don't know probably is the 'automatic' change is just javascript, I will try to look into it...
Reply With Quote
  #34  
Old 01-19-2002, 05:42 PM
jamesdasher jamesdasher is offline
 
Join Date: Oct 2001
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #35  
Old 01-19-2002, 05:59 PM
jamesdasher jamesdasher is offline
 
Join Date: Oct 2001
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #36  
Old 01-20-2002, 02:08 AM
Lucky Lucky is offline
 
Join Date: Dec 2001
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds good!

I'll be waiting!
Reply With Quote
  #37  
Old 01-20-2002, 09:47 AM
Jawelin Jawelin is offline
 
Join Date: Nov 2001
Posts: 557
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by jamesdasher
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
BOUNCE!
Thanks a lot.
Well, std.by....
Reply With Quote
  #38  
Old 01-20-2002, 10:45 PM
jamesdasher jamesdasher is offline
 
Join Date: Oct 2001
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #39  
Old 01-22-2002, 11:40 AM
Stretchr's Avatar
Stretchr Stretchr is offline
 
Join Date: Dec 2001
Location: Georgia, USA
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #40  
Old 01-22-2002, 12:08 PM
Lucky Lucky is offline
 
Join Date: Dec 2001
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #41  
Old 02-02-2002, 04:57 AM
Tim Wheatley's Avatar
Tim Wheatley Tim Wheatley is offline
 
Join Date: Nov 2001
Location: England
Posts: 489
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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">
                              &nbsp;<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>
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 02:21 PM.


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.04823 seconds
  • Memory Usage 2,323KB
  • 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
  • (3)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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