Version: , by Admin (Coder)
Developer Last Online: Nov 2024
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.
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?
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?
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)">