Author |
Message |
JointComms
WebHelper
Joined: 03 May 2002
Posts: 79
Location: Windsor, CANADA
|
Posted:
Tue Sep 24, 2002 11:51 am (21 years, 7 months ago) |
|
Where can I get the translate mod that's at the bottom of the this forum.
Thanks |
|
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Tue Sep 24, 2002 5:03 pm (21 years, 7 months ago) |
|
Sorry, I was unable to find it at phpBB.com
It's just a simple form which sends the URL of the page and the language to translate to, to lycos.com though... |
________________________________
|
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Tue Sep 24, 2002 5:46 pm (21 years, 7 months ago) |
|
Here's part of the code to go in viewtopic_body.tpl:
Quote: | <tr>
<td colspan="2" valign="top" nowrap="nowrap" align="right">
<br />
<span class="gensmall"><form action="http://translation.lycos.com/" method="post">
<input type="hidden" name="urltext" value="http://www.4webhelp.net/forums/{U_VIEW_TOPIC}">
<span class="gensmall">Translate Topic into:
<select name="lp">
<option value="-1" selected>Please select a language:</option>
<option value="en_de">German</option>
<option value="en_es">Spanish</option>
<option value="en_fr">French</option>
<option value="en_it">Italian</option>
<option value="en_pt">Portuguese</option>
</select>
<input type="submit" value="Translate" class="liteoption">
</form></span>
</td>
</tr>
|
Here's the code for U_VIEW_TOPIC in viewtopic.php:
Quote: | 'U_VIEW_TOPIC' => append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&start=$start&postdays=$post_days&postorder=$post_order&highlight=" . $HTTP_GET_VARS['highlight']), |
|
________________________________
|
|
|
|
JointComms
WebHelper
Joined: 03 May 2002
Posts: 79
Location: Windsor, CANADA
|
Posted:
Wed Sep 25, 2002 1:23 pm (21 years, 7 months ago) |
|
Thanks Daniel. Does
Quote: | Here's part of the code to go in viewtopic_body.tpl:
|
mean there's more to it? |
|
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Wed Sep 25, 2002 1:59 pm (21 years, 7 months ago) |
|
Not AFAIK. It just means there's other stuff in the file, and you might want to put that cell somewhere else on the page (we put it at the bottom of the page, but you may not want it there). |
________________________________
|
|
|
|
JointComms
WebHelper
Joined: 03 May 2002
Posts: 79
Location: Windsor, CANADA
|
Posted:
Wed Sep 25, 2002 2:12 pm (21 years, 7 months ago) |
|
Done. I modified the viewtopic_body.tpl
The viewtopic.php already included the code
Quote: | 'U_VIEW_TOPIC' => append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&start=$start&postdays=$post_days&postorder=$post_order&highlight=" . $HTTP_GET_VARS['highlight']), |
What I have found however is that the text window/screen is extended to the right and,
Unless you use the browser back button you're gonna get the Lycos heading repeating itself each time you translate - THIS ALSO HAPPENS HERE ON THE 4WH.
Thanks |
|
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Wed Sep 25, 2002 2:33 pm (21 years, 7 months ago) |
|
Can't think of any way to prevent that |
________________________________
|
|
|
|
JointComms
WebHelper
Joined: 03 May 2002
Posts: 79
Location: Windsor, CANADA
|
Posted:
Wed Sep 25, 2002 2:43 pm (21 years, 7 months ago) |
|
Thanks for your help Daniel |
|
|
|
|
|
Page generation time: 0.161267 seconds :: 18 queries executed :: All Times are GMT
Powered by
phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme