vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Free Thread Translator (https://vborg.vbsupport.ru/showthread.php?t=34110)

Admin 01-14-2002 12:02 PM

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.

Lucky 01-14-2002 12:24 PM

Hey buddy,

I take it that if that server goes down so does the translation.
I got on an hr ago with yours but their site must be down. hehe.

Is there an alternative site to go to if this one should go down?

Admin 01-14-2002 01:01 PM

Yup, if that site goes down the translator won't work.
And no, I don't know of another site that offers this server.

GrphicImprssion 01-14-2002 03:39 PM

Firefly, have a question my bb is completely password potected,..you can not view my forums without being logged in as a registered user,...can this hack be modified to account for that? I installed it and everythime i tried to use it , i was returned to my bb login screen translated into whatever language i selected??? maybe? hopefully?

eva2000 01-14-2002 03:54 PM

Quote:

Originally posted by FireFly
Yup, if that site goes down the translator won't work.
And no, I don't know of another site that offers this server.

how about

http://translation.lycos.com/

http://babelfish.altavista.com/

eva2000 01-14-2002 03:58 PM

and looks like freetranslation is load balanced or using round robin dns on several servers

fets1.freetranslation.com
fets2.freetranslation.com
fets3.freetranslation.com
fets4.freetranslation.com
fets5.freetranslation.com

Lucky 01-15-2002 02:53 AM

Quote:

Originally posted by GrphicImprssion
Firefly, have a question my bb is completely password potected,..you can not view my forums without being logged in as a registered user,...can this hack be modified to account for that? I installed it and everythime i tried to use it , i was returned to my bb login screen translated into whatever language i selected??? maybe? hopefully?
I am having this same problem.
Even me the administrator.
You would think that when your users are logged in that they would be able to use this service:
http://fets3.freetranslation.com:508...showthread.php

Any one who can help me with this is appreciated.
:confused:

okrogius 01-15-2002 05:31 PM

Quote:

Originally posted by GrphicImprssion
Firefly, have a question my bb is completely password potected,..you can not view my forums without being logged in as a registered user,...can this hack be modified to account for that? I installed it and everythime i tried to use it , i was returned to my bb login screen translated into whatever language i selected??? maybe? hopefully?

Modify whats after the red in that line from
%2Fshowthread.php%3Fs%3D%26threadid%3D$threadid&Se quence=core&Language='+this.options[this.selectedIndex].value)">

to
%2Fshowthread.php%3Fs%3D$session[sessionhash]%26threadid%3D$threadid&Sequence=core&Language='+t his.options[this.selectedIndex].value)">

kermit 01-15-2002 05:32 PM

i too have the same problem :( .. think it must have to check username and pass in the database but how do you do that?..

kermit 01-15-2002 05:40 PM

tried that.. but still the same. :(


All times are GMT. The time now is 07:47 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.01177 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_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
  • (10)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