3.1.x Extensions Database 3.1 / 3.2Sinkship

<span class="qte-attr qte_31_32-qte">3.1.x &amp; 3.2.x</span>
User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Windows 10 Firefox

Sinkship

Post by dmzx »

Extension Name: Sinkship
Author: dmzx

Special thanks to: martin

Extension Description:
Play a little Javascript game sinkship



Screenshot:
Image
Image

Extension Download:
Download-link
Sinkship v1.0.0
Installation:
  1. Download the latest release.
  2. Unzip the downloaded release, and change the name of the folder to `sinkship`.
  3. In the `ext` directory of your phpBB board, create a new directory named `dmzx` (if it does not already exist).
  4. Copy the `sinkship` folder to `/ext/dmzx/` if done correctly, you'll have the main extension class at (your forum root)/ext/dmzx/sinkship/composer.json
  5. Navigate in the ACP to `Customise -> Manage extensions`
  6. Look for `Sinkship` under the Disabled Extensions list, and click its `Enable` link.

User avatar

Null
Users
Users
Posts: 125
Joined: 09 Oct 2015, 06:03
    Windows 7 Chrome

Re: Sinkship

Post by Null »

Translations to Spanish and Portuguese-Brazil: Download sinkship.rar from Sendspace.com - send big files the easy way
Last edited by Null on 18 Oct 2015, 02:41, edited 1 time in total.

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Windows 8 Firefox

Re: Sinkship

Post by dmzx »

Null wrote:Translations to Spanish and Portuguese-Brazil: Download sinkship.rar from Sendspace.com - send big files the easy way
Added :thumbup:

User avatar

Null
Users
Users
Posts: 125
Joined: 09 Oct 2015, 06:03
    Windows 7 Chrome

Re: Sinkship

Post by Null »

In github its said "pt-br Spanish translation" but should be "pt-br Portuguese-Brazil translation": Sinkship/language at master · dmzx/Sinkship · GitHub
Last edited by Null on 18 Oct 2015, 17:07, edited 1 time in total.

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Mac OS X iPhone

Re: Sinkship

Post by martin »

Broke on mobile must be script in iframe the other games are good

[ Post made via iPhone ] Image
Image

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Windows 8 Firefox

Re: Sinkship

Post by dmzx »

Null wrote:In github its said "pt-br Spanish translation" but should be "pt-br Portuguese-Brazil translation": Sinkship/language at master · dmzx/Sinkship · GitHub
Changed!

User avatar

nelflucifer
Users
Users
Posts: 70
Joined: 03 Jan 2016, 12:24
    Windows 7 Opera

Re: Sinkship

Post by nelflucifer »

Simple and interesting.
ru.zip
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
Image
Learn to read people's thoughts, not forgetting about their.
The extension translate from English to Russian...
English Forums
Available 251 extension with translation into Russian language...

User avatar

all4phone
Donator
Donator
Posts: 75
Joined: 29 May 2016, 13:33
    Windows 7 Firefox

Re: Sinkship

Post by all4phone »

Polish translation v 1.0.0

pl.zip
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Windows 10 Firefox

Re: Sinkship

Post by dmzx »

Thanks both for the translation :thumbup:

User avatar

mjezek
Users
Users
Posts: 5
Joined: 17 Nov 2016, 13:10
    Windows 8 Chrome

Re: Sinkship

Post by mjezek »

Czech translation:
cs.zip
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
Last edited by mjezek on 01 Dec 2016, 18:25, edited 3 times in total.

User avatar

Scanialady
Users
Users
Posts: 310
Joined: 06 Apr 2015, 18:04
    Windows 10 Chrome

Re: Sinkship

Post by Scanialady »

German translation
sinkship_1_0_0_dmzx_lang_de.zip
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
-
If you want to get German translations for extensions: ask me.

User avatar

Scanialady
Users
Users
Posts: 310
Joined: 06 Apr 2015, 18:04
    Windows 10 Firefox

Re: Sinkship

Post by Scanialady »

Will this work on 3.2.x?

User avatar

eumelchen
Users
Users
Posts: 6
Joined: 12 Aug 2016, 16:26
    Windows 10 Firefox

Re: Sinkship

Post by eumelchen »

Hello,
for me, the extension runs with phpBB 3.2.1 and PHP 7, but I have another question:
Is there a way to make the extension responsive?
I would be enough if I knew how to display the areas "Computer Fleet" and "Your Fleet" among themselves.
Excuse my bad english, my native language is german.

Greetings Rolf (eumelchen)

User avatar

eumelchen
Users
Users
Posts: 6
Joined: 12 Aug 2016, 16:26
    Windows 10 Firefox

Re: Sinkship

Post by eumelchen »

Hello,

does nobody have an idea what I could do there?

Regards Rolf (eumelchen)

User avatar

Posey
Users
Users
Posts: 84
Joined: 20 Oct 2015, 11:43
    Windows 10 Chrome

Re: Sinkship

Post by Posey »

eumelchen wrote: 24 Feb 2018, 10:58 Hello,

does nobody have an idea what I could do there?

Regards Rolf (eumelchen)
It's possible, it's just not a 'clean' way.
in dm_sinkship_body.html change the iframe height to 600.
<iframe frameborder="0" height="600" width="720" scrolling="no" src="{BOARD_URL}ext/dmzx/sinkship/styles/prosilver/template/dm_sinkship_script.html"></iframe>


and in dmzx_sinkship_script:
Find: // document.write
Replace that line all the way to the end with:

Code: Select all

// document.write("<br /><br /><center><table><tr><td align=center><p class='heading'>Computer Fleet</p></td><td align=center><p class='heading'>Your Fleet</p></td></tr><tr><td>");
document.write("<br /><br />");
if (window.outerWidth >= 700) { document.write("<center>"); }
document.write("<table><tr><td align=center><p class='heading'>"+languages['Computer_Fleet']+"</p></td>");
if (window.outerWidth >= 700) { document.write("<td align=center><p class='heading'>"+languages['Your_Fleet']+"</p></td></tr><tr><td>"); } else { document.write("</tr><tr><td>"); }
showGrid(true);
document.write("</td>");
if (window.outerWidth < 700) { document.write("</tr><tr><td align=center><p class='heading'>"+languages['Your_Fleet']+"</p></td></tr><tr>"); }
document.write("<td>");
showGrid(false);
document.write("</td></tr></table>");
if (window.outerWidth >= 700) { document.write("<center>"); }
updateStatus();
setInterval("setStatus();", 500);
// End -->
</script>

</head>
</html>
''I'm pretty sure there's a lot more to life than being really, really, ridiculously good looking.
And I plan on finding out what that is.''

posey

Post Reply Previous topicNext topic