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
  #52  
Old 02-21-2002, 11:15 PM
jamesdasher jamesdasher is offline
 
Join Date: Oct 2001
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry, feel awful about that, yes I am here, but I have been busy and have not been able to package it. If someone else wants to do it, go ahead, if I have the time coming up I will, but no promises, hopefully I will find the time sometime though

Sorry,

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

I said "the area". I'll be explicit:Both of your / must be changed to %2F as per the original instructions.
:supwink:

Quote:
Originally posted by Psychdrone

O I know, I just didn't want to put my site there duh I am not that stupid

whats the problem thu, its not that
Reply With Quote
  #54  
Old 02-22-2002, 01:49 AM
Stretchr's Avatar
Stretchr Stretchr is offline
 
Join Date: Dec 2001
Location: Georgia, USA
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using Jame's Lycos version of this hack and now, even pages that don't require you to be logged in are giving me the translated login page. Anyone else have this or know how to correct it?

Still no luck getting Member Only pages to load, even after trying all the suggestions.

Thanks
Reply With Quote
  #55  
Old 02-27-2002, 06:13 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works. Thanks!
Reply With Quote
  #56  
Old 02-27-2002, 07:58 AM
Lucky Lucky is offline
 
Join Date: Dec 2001
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Erwin Loh
It works. Thanks!
Are you saying that it works for you for members that have to be logged in your forum?
Reply With Quote
  #57  
Old 03-04-2002, 07:43 PM
mattshania mattshania is offline
 
Join Date: Nov 2001
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this only translate the first page within a thread?
Reply With Quote
  #58  
Old 03-09-2002, 02:17 PM
RobAC RobAC is offline
 
Join Date: Oct 2001
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just an FYI, this does not render properly in Netscape 4.78 or 4.79.
Reply With Quote
  #59  
Old 03-14-2002, 12:25 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Lucky


Are you saying that it works for you for members that have to be logged in your forum?
It works for anyone for threads that are in public forums - will not work for private forums.
Reply With Quote
  #60  
Old 03-14-2002, 07:10 PM
Lucky Lucky is offline
 
Join Date: Dec 2001
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok.

My board is not like this site. My users must be registered to view my board, so as a registered member can members use the translate feature now.

This is what I am wondering.
Reply With Quote
  #61  
Old 03-14-2002, 10:35 PM
jamesdasher jamesdasher is offline
 
Join Date: Oct 2001
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no clue, Lucky sorry

James
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 01:42 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.04843 seconds
  • Memory Usage 2,307KB
  • 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
  • (2)bbcode_code
  • (3)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
  • (3)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