Translation 'hack'

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • John
    Senior Member
    • Apr 2000
    • 4042

    Translation 'hack'

    Thanks to Brian Palik for this.

    Add this somewhere in the showthread template:

    Code:
    <center>
    <FORM NAME="systran" ACTION="http://translator.go.com/" METHOD=POST>
    <input type="hidden" name="input_type" value="url">
    <input type="hidden" name="url" value="$bburl/showthread.php?threadid=$threadid&pagenumber=$pagenumber">
    <FONT SIZE="2" FACE="arial, helvetica"><b>Translate This Page</b></font>
    <BR>
    <SELECT NAME="lp" >
    <OPTION VALUE="en_sp" selected> English to Spanish
    <OPTION VALUE="en_fr"> English to French
    <OPTION VALUE="en_ge"> English to German
    <OPTION VALUE="en_it"> English to Italian
    <OPTION VALUE="en_pt"> English to Portuguese
    </SELECT> <INPUT TYPE="submit" VALUE="Translate"><br>
    <FONT SIZE="2" FACE="arial, helvetica">Powered by <a href="http://www.systransoft.com/english/products/personal/go_personal.html">Systran</a> Translation Software</font></form>
    </center>
    Attached Files
    John Percival

    Artificial intelligence usually beats real stupidity ;)
  • Menno
    Senior Member
    • Apr 2000
    • 1224

    #2
    Wouldn't this fall under the code hacking forum?
    Attached Files
    - Insert viable disclaimer here -

    ArtBeast!

    Comment

    • Stallion
      Senior Member
      • Apr 2000
      • 704

      #3
      Considering that there's no code editing involved? No.

      I have a feeling most of the common UBB hacks can be done through templates (as is with OpenTopic, if you would believe it yourself)
      Attached Files

      Comment

      • Stallion
        Senior Member
        • Apr 2000
        • 704

        #4
        Oh, one more thing...

        I'm planning on making a spiffy new version of the hack which will translate individual posts instead.
        Attached Files

        Comment

        • JonnyQuest
          Senior Member
          • Apr 2000
          • 252

          #5
          Can I see this anywhere...?
          Attached Files

          Comment

          • John
            Senior Member
            • Apr 2000
            • 4042

            #6
            Have a look here:



            (This is Brian's board using basically the same code)
            John Percival

            Artificial intelligence usually beats real stupidity ;)

            Comment

            • bsousa
              Member
              • Aug 2004
              • 31

              #7
              Originally posted by John
              Thanks to Brian Palik for this.

              Add this somewhere in the showthread template:

              Code:
              <center>
              <FORM NAME="systran" ACTION="http://translator.go.com/" METHOD=POST>
              <input type="hidden" name="input_type" value="url">
              <input type="hidden" name="url" value="$bburl/showthread.php?threadid=$threadid&pagenumber=$pagenumber">
              <FONT SIZE="2" FACE="arial, helvetica"><b>Translate This Page</b></font>
              <BR>
              <SELECT NAME="lp" >
              <OPTION VALUE="en_sp" selected> English to Spanish
              <OPTION VALUE="en_fr"> English to French
              <OPTION VALUE="en_ge"> English to German
              <OPTION VALUE="en_it"> English to Italian
              <OPTION VALUE="en_pt"> English to Portuguese
              </SELECT> <INPUT TYPE="submit" VALUE="Translate"><br>
              <FONT SIZE="2" FACE="arial, helvetica">Powered by <a href="http://www.systransoft.com/english/products/personal/go_personal.html">Systran</a> Translation Software</font></form>
              </center>

              Any update on how to make this work in 3.0.3?

              Comment

              • bsousa
                Member
                • Aug 2004
                • 31

                #8
                Not a lot of straight HTML in the 303 showthread.php file...can anyone show me how I can implement this translation hack here?

                Comment

                • Chroder
                  Senior Member
                  • Dec 2002
                  • 1449

                  #9
                  It is a template hack, not a code hack.

                  Comment

                  • bsousa
                    Member
                    • Aug 2004
                    • 31

                    #10
                    So can you tell me how it would work then?

                    Comment

                    Related Topics

                    Collapse

                    Working...
                    😀
                    😂
                    🥰
                    😘
                    🤢
                    😎
                    😞
                    😡
                    👍
                    👎