[Request] Adapt mod Dice phpBB2 to phpBB3

Discuss the development of future releases of phpBB (phpBB 3.x minor releases) and MODing/Coding related questions.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Dakin Quelia
New member
New member
Posts: 49
Joined: 12 Nov 2008, 01:26
Real name: Daniel
Location: Belgique
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

[Request] Adapt mod Dice phpBB2 to phpBB3

Postby Dakin Quelia » 17 Aug 2009, 16:41

Last edited by Dakin Quelia on 05 Nov 2009, 03:11, edited 1 time in total.

User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: [Request] Adapt mod Dice phpBB2 to phpBB3

Postby Obsidian » 18 Aug 2009, 01:42

Uh, did you write a function for ?

Dakin Quelia
New member
New member
Posts: 49
Joined: 12 Nov 2008, 01:26
Real name: Daniel
Location: Belgique
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: [Request] Adapt mod Dice phpBB2 to phpBB3

Postby Dakin Quelia » 18 Aug 2009, 01:59

No. I justly need your help. ;)

Dakin Quelia
New member
New member
Posts: 49
Joined: 12 Nov 2008, 01:26
Real name: Daniel
Location: Belgique
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: [Request] Adapt mod Dice phpBB2 to phpBB3

Postby Dakin Quelia » 03 Nov 2009, 03:18


Dakin Quelia
New member
New member
Posts: 49
Joined: 12 Nov 2008, 01:26
Real name: Daniel
Location: Belgique
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: [Request] Adapt mod Dice phpBB2 to phpBB3

Postby Dakin Quelia » 04 Nov 2009, 19:05


User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: [Request] Adapt mod Dice phpBB2 to phpBB3

Postby Obsidian » 04 Nov 2009, 21:14

Hmm. I couldn't say what the exact problem is, but I can say that I saw this: http://www.phpbb.com/community/viewtopi ... &t=1816135
Looks like an alpha version for a dice MOD, in phpBB3. You may want to take a look at how that author is coding it, and do a compare/contrast with your code to see where your code could be having issues.

Dakin Quelia
New member
New member
Posts: 49
Joined: 12 Nov 2008, 01:26
Real name: Daniel
Location: Belgique
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: [Request] Adapt mod Dice phpBB2 to phpBB3

Postby Dakin Quelia » 04 Nov 2009, 21:15

I saw it but I don't want this mod. This mod uses a SQL Table. The phpBB2 Dice Mod doesn't use SQL Table. ;)

I'd like adapt dice mod phpBB2 to phpBB3. I like his functionning. :D

User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: [Request] Adapt mod Dice phpBB2 to phpBB3

Postby Obsidian » 04 Nov 2009, 21:34

I recommend that you at least open up the other author's MOD and learn how the other author integrated their code into the BBcodes system -- that's the best thing you can do here, and it allows you to see what you could be doing wrong.

Dakin Quelia
New member
New member
Posts: 49
Joined: 12 Nov 2008, 01:26
Real name: Daniel
Location: Belgique
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: [Request] Adapt mod Dice phpBB2 to phpBB3

Postby Dakin Quelia » 04 Nov 2009, 21:59

I'm sorry but I didn't found MODs using the BBCode System. :?

I watched Hide BBCode. I'm searching...

-Edit by Dakin Quelia-
Reason: Finally, I decided to adapt this [url=http://www.phpbb.com/community/viewtopic.php?f=70&t=545565]Dice Mod[/url].

Here are result:
[img]http://image-heberg.fr.cr/files/1257391421323222.png[/img]

Thank you very much. ;)


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “phpBB Development discussion”

Who is online

Users browsing this forum: No registered users and 3 guests