3.2 & 3.3 Extensions Database 3.2 / 3.3Knuffel

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
User avatar

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

Knuffel

Post by dmzx »

Extension Name: Knuffel
Author: dmzx

Special thanks to: martin

Extension Description:
With this extension you can add a Knuffel game to your forum Knuffel (Kniffel-Clone, also known as Yahtzee or dicepoker) is a dice game, where it's your aim to roll certain figures and reach a maximum score out of them.




- updated code for php 8.x


- Update code for 3.3.x.
- Twig update.
- Drop support for 3.1.


Made code compatible for 3.2
Code update


Added correct url

Screenshots:
Image
Image
Image
Image
Image

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

User avatar

Jaantje
Users
Users
Posts: 356
Joined: 02 Nov 2014, 21:25
    Windows 10 Chrome

Re: Knuffel

Post by Jaantje »

Thanx U very much guys :buigen:

Knuffel will not start, problem with the dice ?
Image
Last edited by Jaantje on 15 Nov 2015, 19:58, edited 1 time in total.
Grreeetttttzzzzz, Jaantje

User avatar

Peralta
Donator
Donator
Posts: 190
Joined: 13 Dec 2014, 17:04
    Windows 7 Firefox

Re: Knuffel

Post by Peralta »

Thanks, i like this game :thumbup:

It will add support in responsive mode?
I speak spanish. Sorry for my bad english.

User avatar

Jaantje
Users
Users
Posts: 356
Joined: 02 Nov 2014, 21:25
    Windows 10 Chrome

Re: Knuffel

Post by Jaantje »

Problem Solved thanx to dmzx :tumbsyes:

ext\dmzx\knuffel\controller\main.php
Find This may be a partial find and not the whole line

Code: Select all

		$this->template->assign_vars(array(
			'KNUFFEL_VERS'		=> $version,
		));
Replace with Replace the preceding lines with the following

Code: Select all

      $board_url = generate_board_url() . '/';
      $this->template->assign_vars(array(
         'KNUFFEL_VERS'      => $version,
      ));

User avatar

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

Re: Knuffel

Post by dmzx »

Peralta wrote:Thanks, i like this game :thumbup:

It will add support in responsive mode?

Yes need to check on that :wink:

User avatar

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

Re: Knuffel

Post by dmzx »

First post updated

User avatar

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

Re: Knuffel

Post by nelflucifer »

Hello everyone! As I promised, post the translation(s):
ru.zip
Very interesting game...
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

sile
Users
Users
Posts: 15
Joined: 31 Mar 2016, 18:32
    Mac OS X iPad

Re: Knuffel

Post by sile »

Thanks for this Game i Love it :dance:

[ Post made via iPad ] Image

User avatar

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

Re: Knuffel

Post by all4phone »

Hi, thx for great ext :tumbsyes:

At the moment I'm working on translation and I have a little problem. I try to translate all messages and descriptions of buttons from a "Roll dice" window, such as: "2nd throw, Final throw, Next round" or "Enter your score!".
I can translate all the required language strings wich are located in knuffel260.js file of course.

What about others languages? Do you know what I mean?

User avatar

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

Re: Knuffel

Post by dmzx »

all4phone wrote: 02 Jun 2016, 21:06 Hi, thx for great ext :tumbsyes:

At the moment I'm working on translation and I have a little problem. I try to translate all messages and descriptions of buttons from a "Roll dice" window, such as: "2nd throw, Final throw, Next round" or "Enter your score!".
I can translate all the required language strings wich are located in knuffel260.js file of course.

What about others languages? Do you know what I mean?
Only translate the EN language and it will be ok.

User avatar

all4phone
Donator
Donator
Posts: 75
Joined: 29 May 2016, 13:33
    Mac OS X Android

Re: Knuffel

Post by all4phone »

I mean about two or thre languages used on the one board :wink:

[ Post made via iPhone ] Image

User avatar

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

Re: Knuffel

Post by dmzx »

all4phone wrote: 02 Jun 2016, 21:15 I mean about two or thre languages used on the one board :wink:

[ Post made via iPhone ] Image
I dont know what you mean, languages in the extension?

User avatar

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

Re: Knuffel

Post by all4phone »

Yes, usually extension has to be translated into several languages.

Let me explain what I mean.
For example: first user has use english language and the second has to use polish language - both users on the same forum/board, on which you can choose your language.

In the ext/dmzx/kneffel/language, there are (for eg.) two language directory (en, pl). It's fine.
But what about ext/dmzx/kneffel/knuffel/script/knuffel260.js file, that contains language strings also (mentioned above) ?

I think, in that case, when Polish-language user will be playing Kneffel, he will have a little bit english language in this game.
Or vice versa, when extension will be translated to polisch language only (I mean knuffel260.js file) then English-language user will have a little bit polish words.

User avatar

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

Re: Knuffel

Post by dmzx »

Yes see what you mean, best would be in JS that it detects the PL language. same as DE now.
Need to think about it.

User avatar

forza sve
Users
Users
Posts: 2
Joined: 07 Feb 2016, 22:09
    Ubuntu Firefox

Re: Knuffel

Post by forza sve »

Hi dmzx,

thx for this great extension.


My Question. We have only a few players at the Knuffel-game. To make the game more interesting for our players, we want to display the best 10 or 20 results in the highscore. So the players can try to place many of his own results in the top ten. Is that possible? (phpbb.com)

Post Reply Previous topicNext topic