4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 Translate Mod
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
JointComms
WebHelper
WebHelper


Joined: 03 May 2002
Posts: 79
Location: Windsor, CANADA

PostPosted: Tue Sep 24, 2002 11:51 am (15 years, 2 months ago) Reply with QuoteBack to Top

Where can I get the translate mod that's at the bottom of the this forum.

Thanks
OfflineView User's ProfileFind all posts by JointCommsSend Personal MessageSend email
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Tue Sep 24, 2002 5:03 pm (15 years, 2 months ago) Reply with QuoteBack to Top

Sorry, I was unable to find it at phpBB.com Sad

It's just a simple form which sends the URL of the page and the language to translate to, to lycos.com though...

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Tue Sep 24, 2002 5:46 pm (15 years, 2 months ago) Reply with QuoteBack to Top

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&amp;start=$start&amp;postdays=$post_days&amp;postorder=$post_order&amp;highlight=" . $HTTP_GET_VARS['highlight']),

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
JointComms
WebHelper
WebHelper


Joined: 03 May 2002
Posts: 79
Location: Windsor, CANADA

PostPosted: Wed Sep 25, 2002 1:23 pm (15 years, 2 months ago) Reply with QuoteBack to Top

Thanks Daniel. Does

Quote:
Here's part of the code to go in viewtopic_body.tpl:


mean there's more to it?
OfflineView User's ProfileFind all posts by JointCommsSend Personal MessageSend email
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Wed Sep 25, 2002 1:59 pm (15 years, 2 months ago) Reply with QuoteBack to Top

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).

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
JointComms
WebHelper
WebHelper


Joined: 03 May 2002
Posts: 79
Location: Windsor, CANADA

PostPosted: Wed Sep 25, 2002 2:12 pm (15 years, 2 months ago) Reply with QuoteBack to Top

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&amp;start=$start&amp;postdays=$post_days&amp;postorder=$post_order&amp;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
OfflineView User's ProfileFind all posts by JointCommsSend Personal MessageSend email
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Wed Sep 25, 2002 2:33 pm (15 years, 2 months ago) Reply with QuoteBack to Top

Can't think of any way to prevent that Sad

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
JointComms
WebHelper
WebHelper


Joined: 03 May 2002
Posts: 79
Location: Windsor, CANADA

PostPosted: Wed Sep 25, 2002 2:43 pm (15 years, 2 months ago) Reply with QuoteBack to Top

Thanks for your help Daniel
OfflineView User's ProfileFind all posts by JointCommsSend Personal MessageSend email
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot edit your posts in this forum.
You cannot delete your posts in this forum.
You cannot vote in polls in this forum.


Page generation time: 0.061107 seconds :: 17 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme