[ABD] DICEK BBCode

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
Locked
koutogima
Registered User
Posts: 64
Joined: Wed Jun 10, 2015 12:58 pm

[ABD] DICEK BBCode

Post by koutogima » Tue Jul 07, 2015 2:43 am

DICEK BBCode

For more advance dice please visit hanelyp fancy dice extension. DICEK only works with integer and no more.

The difference: My extension saves the dice result into the database so that the user cannot cheat by re-dicing.

Usage:

The code:

Code: Select all

[dicek]max1-max2-max3-...-maxn[/dicek]
For example: [dicek]10-20-30[/dicek] or [dicek]3[/dicek]

The result:
[a random number from 1 to max1]-[a random number from 1 to max2]-...-[a random number from 1 to maxn]
For example:
[dicek]10-20-30-20[/dicek] => 8-11-25-5
[dicek]3[/dicek] => 2

Note:

Once you submit the post with [dicek]10-20-30-20[/dicek], you can later edit the post into:

Code: Select all

First dicek with 30 max: [dicek]30[/dicek]
First dicek with 20 max: [dicek]20[/dicek]
Second dicek with 20 max: [dicek]20[/dicek]
So the result will be:
First dicek with 30 max: 25
First dicek with 20 max: 11
Second dicek with 20 max: 5
Download / Repository: GitHub
Please try to cheat it and tell me how you cheated. If possible, please tell me if this extension slows down your forum. Thank you very much!

koutogima
Registered User
Posts: 64
Joined: Wed Jun 10, 2015 12:58 pm

Re: [DEV] DICEK BBCode

Post by koutogima » Fri Jul 10, 2015 12:25 am

Update: CHECKDICEK BBCode. This is used to quickly check what is the dice range and dice result of a post, especially in the case the user has deleted the dice result.

Code: Select all

[checkdicek][/checkdicek]
POST ID: <ID of the container post>
Dice Range: <if have>
Corresponding Dice Result: <if have>
For example, your container post has been diced like this:

[dicek]10-20-30-20[/dicek] => 8-11-25-5

Then the result of [checkdicek][/checkdicek] of that post will be:

POST ID: <ID of the container post>
Dice Range: 10-20-30-20
Corresponding Dice Result: 8-11-25-5

However, that is not the solely available syntax:

Code: Select all

[checkdicek]<post ID>[/checkdicek]
This will result in:
POST ID: <post ID>
Dice Range: <if have>
Corresponding Dice Result: <if have>
Have fun.

koutogima
Registered User
Posts: 64
Joined: Wed Jun 10, 2015 12:58 pm

Re: [DEV] DICEK BBCode

Post by koutogima » Fri Jul 10, 2015 3:07 am

Update the ability to view checkdicek bbcode at the preview mode. Note that if you use [checkdicek][/checkdicek] bbcode with this quickreply extension, you may meet the error:
Something went wrong with the request and the server returned an invalid reply.
In that case, just remove the [checkdicek][/checkdicek] bbcode in your post. (However, the [checkdicek]<post id>[/checkdicek] syntax should work fine in all the cases.)

koutogima
Registered User
Posts: 64
Joined: Wed Jun 10, 2015 12:58 pm

Re: [DEV] DICEK BBCode

Post by koutogima » Fri Jul 10, 2015 3:13 am

koutogima wrote:Update the ability to view checkdicek bbcode at the preview mode. Note that if you use [checkdicek][/checkdicek] bbcode with this quickreply extension, you may meet the error:
Something went wrong with the request and the server returned an invalid reply.
In that case, just remove the [checkdicek][/checkdicek] bbcode in your post. (However, the [checkdicek]<post id>[/checkdicek] syntax should work fine in all the cases.)
Never mind. I have just fixed that error.

Also, a little forgotten echo message has been removed.

koutogima
Registered User
Posts: 64
Joined: Wed Jun 10, 2015 12:58 pm

Re: [DEV] DICEK BBCode

Post by koutogima » Wed Jul 06, 2016 3:28 am

I have had an important update on this BBCode. Now it can be parsed in many situations (except previewing, of course).

koutogima
Registered User
Posts: 64
Joined: Wed Jun 10, 2015 12:58 pm

Re: [DEV] DICEK BBCode

Post by koutogima » Wed Jul 06, 2016 1:10 pm

Fix the inconsistent result display on search page.

User avatar
Willowmore
Registered User
Posts: 12
Joined: Fri Jul 29, 2016 10:39 am

Re: [DEV] DICEK BBCode

Post by Willowmore » Fri Jul 29, 2016 11:01 am

This is really really awesome, I desperately needed someting like this and I'm happy I found it ^^
Is this going to work in 3.2?

Is it possible to add a button to the other bbcodes so I can choose whether the users can see it among the others when posting? And perhaps a possibility to be able to name the bbcode differently (e.g. my language), so they'd see something like [throw]6[/throw]? Since this is a bbcode, I think it would be really neat...

User avatar
Galixte de EzCom
Registered User
Posts: 804
Joined: Mon Oct 04, 2004 11:14 pm
Location: France
Name: Raphaël M.
Contact:

Re: [DEV] DICEK BBCode

Post by Galixte de EzCom » Sun Aug 27, 2017 8:02 pm

Is this extension still in development? I don’t think so.
Communau EzCom
Image « Traductions d’extensions & styles pour phpBB 3.1.x & 3.2.x ».
ImageLists of all extensions identified for phpBB 3.1.x & 3.2.x.
ImageLists of all styles identified for phpBB 3.1.x & 3.2.x.

User avatar
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 23696
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [ABD] DICEK BBCode

Post by Paul » Sun Aug 27, 2017 8:22 pm

This topic has been marked as [ABD] - Abandoned as the extension author has not been active recently. If the extension author wishes to continue development, please PM anyone on the Extension Customisations Team to request this topic be unlocked.

Notice!
We do not recommend that a user of the phpBB software install this extension, or any other extension that is marked as “abandoned” or “in development”, on a live forum. Doing so may cause your forum to not perform in the manner it should.


Thank you,
The phpBB Extension Customisations Team
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

Locked

Return to “Abandoned Extensions”

Who is online

Users browsing this forum: No registered users and 5 guests