![]() |
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> 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. |
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? |
Yup, if that site goes down the translator won't work.
And no, I don't know of another site that offers this server. |
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?
|
Quote:
http://translation.lycos.com/ http://babelfish.altavista.com/ |
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 |
Quote:
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: |
Quote:
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)"> |
i too have the same problem :( .. think it must have to check username and pass in the database but how do you do that?..
|
tried that.. but still the same. :(
|
Quote:
|
Quote:
Still does not work. Any more ideas? |
Neat! Thanks.
|
Any chance the "go" button could be incorporated into this? I know it would serve little purpose, since making a selection automatically changes the page, but it looks weird with all the other drop-down menus having one and this not.
|
Quote:
You can try adding "&loginusername=test&loginpassword=test", and then create a user named 'test' with a password 'test'. It might work, not sure though. Brian Cruze, you can just stick $gobutton in there to show the go button... not that it'll work or anything. ;) |
Quote:
Still don't work. |
On another note I tried using the password test as encrypted but still a no go.
Any other ideas buddy:) |
Any more thoughts on this (returning to sign on)?
|
Geee, Sorry for the "getting it started", thought this may have been something that was fixed already that i might have missed. It would be an incredible resource to have but, if it is not feasable than i will just put a link to a translation board that people can coppy and past to. Hope someone figures out a "key" for this, but until then,....Have a nice day :pleased:
|
Here is another option for this, don't know if it will fix people's problems, but it is available.
Warning: This option is not as 'integrated' as FireFly's (because of the company that does the translation) Warning: One many of the 'character languages' (like Chinese, Korean, etc.) the translation takes quite some time, but it is working, it is just a tedious process because of the language. Warning: You can't translate the same page twice in a row (in the Babelfish frames). The frames generated by babelfish kills it. Warning: You cannot access a page in your site once translated if that page has a user base to it (the user cp, etc.) you can access pages such as calendar which is not dependent on the user being logged in. Okay, this option uses AltaVista's translation service (Babelfish) so hopefully it is a bit more stable as well. Insert the following: Code:
<td align="center"><table cellpadding="0" cellspacing="0" border="0"><tr><td> Code:
<td>$forumjump</td> James |
I wish I could report that this was a success, but it did not help any with the password problem, it still comes back to a translated login sreen for me. :cry:
|
I had the login error as well, so I fiddled around with jamesdasher's script and it now works. It works for me and my users aren't getting the logon screen. CAVEAT: Besides the fact that some tiny changes were made, I have NO idea what I did to fix this (i.e. it might not work for you).
In SHOWTHREAD.PHP AFTER THIS: Quote:
Quote:
Request: Anyone know how I can alter this to work on any page on the forums? It would be awesome if this could be added to the header. |
This too unforuneately did not work for me, in fact I am curious as to what else you may have done because the only code changes I see in your scipt vs the original altavista script are superficial, centering tag gone, button type, and text display wording.
This is what i see as being the problem and I need the input of a techie type to try and figure it out: <input type="hidden" name=url value="http://www.yoursite.com/showthread.php?threadid=$threadid"> The question is, what can be added to this line to force the translator to identify the user's "cookie" for the bb site rather than the translator site? Think this is possible? GI |
is this server intensive? bandwidth high etc?
|
I don't see any reason why it would be in anyway server intensive, as it all takes place on another site (though I could be wrong as I am not the most advanced in this stuff :))
|
Okay, not exactly sure what your problem is so I can't promise this will help at all...but you could try changing the hidden form element with the link to:
Code:
<input type="hidden" name="url" value="http://www.yoursite.com/showthread.php?s=$session[sessionhash]&threadid=$threadid"> James |
<I wasn't totally accurate here, read my last 'warning' on my version>
|
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.
pretty much the same just a different system (so some different elements in the form. same basic instructions just different code Code:
<td align="center"><table cellpadding="0" cellspacing="0" border="0"><tr><td> |
<didn't work, actually, sorry>
|
GREAT TEMPLATE CUSTOMIZATION, Chen !!!
;) I always have been searchin! Just a hack-oriented question :stoned: : could I made that combo-box displayed ONLY on some forum (for example, configurable in AdminCP within new/edit forum with a new field in db like 'multilanguage' area ? Because I have a couple of international areas, so I'd prefer put that bit only in those ones. Thanks a lot |
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. |
Hi, Brian, don't know probably is the 'automatic' change is just javascript, I will try to look into it...
|
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 |
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 |
Sounds good!
I'll be waiting! |
Quote:
Thanks a lot. Well, std.by.... |
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 |
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!
|
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. |
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"> |
All times are GMT. The time now is 10:34 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|