[3.2][RC] Dice rolls

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
poenn
Registered User
Posts: 34
Joined: Thu Oct 30, 2014 8:40 am

Re: [3.2][RC] Dice rolls

Post by poenn » Sun Sep 08, 2019 7:30 pm

Thanks a lot mrgoldy!

I had found the 2nd option (Advanced Permissions for Registered Users), but I missed the 1st (Enable dice). I had only selected the top forum in order to include all subforums, but there is no Enable dice option there. Thanks to you I learned that I had to select every single forum separately for the option to show up. :oops:

I now see the Dice rolls option when posting in a thread and it works. Do I always have to click this in order to roll a dice? I tried manually entering something like [roll=1]1d6[/roll] in my post, but it will just show up like this: 1d6

Thanks again!

User avatar
3Di
Former Team Member
Posts: 14224
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2][RC] Dice rolls

Post by 3Di » Sun Sep 08, 2019 7:36 pm

Manual input is not taken into consideration, we mimic the Attachments not the BBcodes. ;)

Being not a bbcode you can't use it as such, shortly.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

poenn
Registered User
Posts: 34
Joined: Thu Oct 30, 2014 8:40 am

Re: [3.2][RC] Dice rolls

Post by poenn » Sun Sep 08, 2019 8:09 pm

Ah, okay. If I understand correctly this means that I’m also out of luck with being able to roll the dice in mChat?

User avatar
3Di
Former Team Member
Posts: 14224
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2][RC] Dice rolls

Post by 3Di » Sun Sep 08, 2019 8:11 pm

3Di wrote:
Sun Sep 08, 2019 7:36 pm
Being not a bbcode you can't use it as such.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

poenn
Registered User
Posts: 34
Joined: Thu Oct 30, 2014 8:40 am

Re: [3.2][RC] Dice rolls

Post by poenn » Mon Sep 09, 2019 5:41 am

3Di, thank you for clarification! :idea:

Crew
Registered User
Posts: 31
Joined: Tue Mar 11, 2008 7:52 pm

Re: [3.2][RC] Dice rolls

Post by Crew » Mon Sep 16, 2019 11:23 am

Thank you for your great job! But I have one question.
Fresh forum installation, only one extension installed (dice itself), enabled per forum. Looks like all OK. But and on dice manual page and on forum pages I can use and see only one skin - Bajahs_red. All skins are enabled, but it looks like other default skins are just ignored at all.

Image
Image
Image

Can you tell me what I did wrong?

User avatar
mrgoldy
Jr. Extension Validator
Posts: 1161
Joined: Tue Oct 06, 2009 7:34 pm
Location: The Netherlands
Name: Gijs
Contact:

Re: [3.2][RC] Dice rolls

Post by mrgoldy » Mon Sep 16, 2019 1:19 pm

You actually did nothing wrong, this is a bit odd on our end.
The dice style that is being displayed is the one you have defined in your User Control Panel.
And you have the permission to 'override' the defined dice style, so the one defined in your UCP, is the one that always shows up.
That is perfectly fine for all the forums but a bit odd for the 'manual page', where it should just use what ever is selected..

Thanks for letting us know.

Crew
Registered User
Posts: 31
Joined: Tue Mar 11, 2008 7:52 pm

Re: [3.2][RC] Dice rolls

Post by Crew » Mon Sep 16, 2019 1:48 pm

OK. I got that.
Another questions. As I said before - I allow your mod in ACP for selected forum. But every time I adding roll to post I got only roll definition itself:

Image
Image

And if I'm trying to remove roll I got an error:

Image
and error in my logs:

Code: Select all

176.97.38.14 - - [16/Sep/2019:16:42:49 +0300] "POST /dice/del/13&_=1568641378119?sid=0e3c0b1d8fb305631d55ad4ece9d3a41&confirm_key=5DPMDR1IGH&confirm_uid=2&sess=0e3c0b1d8fb305631d55ad4ece9d3a41&sid=0e3c0b1d8fb305631d55ad4ece9d3a41 HTTP/1.1" 404 63 "http://test.reorn.ru/posting.php?mode=edit&f=53&p=487&sid=0e3c0b1d8fb305631d55ad4ece9d3a41" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
Could this be because I'm trying to make forum run on nginx, which is rather new for me, and there is some problem with server configuration?

User avatar
3Di
Former Team Member
Posts: 14224
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2][RC] Dice rolls

Post by 3Di » Tue Sep 17, 2019 2:51 am

Crew wrote:
Mon Sep 16, 2019 1:48 pm
Could this be because I'm trying to make forum run on nginx, which is rather new for me, and there is some problem with server configuration?
Could be indeed a problem...
Crew wrote:
Mon Sep 16, 2019 1:48 pm
... /dice/del/13&_=1568641378119?sid=0e3c0b1d8fb305631d55ad4ece9d3a41&confirm_key=5DPMDR1IGH&confirm_uid=2&sess=0e3c0b1d8fb305631d55ad4ece9d3a41&sid=0e3c0b1d8fb305631d55ad4ece9d3a41 ....
What I see is you have a duplicated SID and some odd chars there, where the red ones shouldn't be there.

This is what it should look like (my live test)
... /dice/del/28?_=1568688229572&confirm_key=3M70LCDTPD&confirm_uid=2&sess=47cf41e787cd702fe1d35b070b222c9d&sid=47cf41e787cd702fe1d35b070b222c9d
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

Crew
Registered User
Posts: 31
Joined: Tue Mar 11, 2008 7:52 pm

Re: [3.2][RC] Dice rolls

Post by Crew » Tue Sep 17, 2019 8:15 am

3Di wrote:
Tue Sep 17, 2019 2:51 am
Could be indeed a problem...
OK. I purged all, and made fresh install with old apache. And i still have one problem - forum setting "Override dice skin..." doesn't affect anything. ) On posting user see skin, which he set in UCP, but not the one that admin set for current forum.

User avatar
mrgoldy
Jr. Extension Validator
Posts: 1161
Joined: Tue Oct 06, 2009 7:34 pm
Location: The Netherlands
Name: Gijs
Contact:

Re: [3.2][RC] Dice rolls

Post by mrgoldy » Tue Sep 17, 2019 9:16 am

That's the same permission I told you earlier about.
By default users have the permission to 'ignore' the forum skin.
However, you can remove that permission from individual users / groups.
Have a look at this post aswell: viewtopic.php?f=456&t=2499521&start=30#p15264231

Crew
Registered User
Posts: 31
Joined: Tue Mar 11, 2008 7:52 pm

Re: [3.2][RC] Dice rolls

Post by Crew » Tue Sep 17, 2019 10:17 am

Oh. Sorry. It looks like I was not very attentive for the first time.

User avatar
mrgoldy
Jr. Extension Validator
Posts: 1161
Joined: Tue Oct 06, 2009 7:34 pm
Location: The Netherlands
Name: Gijs
Contact:

Re: [3.2][RC] Dice rolls

Post by mrgoldy » Tue Sep 17, 2019 10:20 am

No worries, hope you've got it all figured out now! :)
That's always a downfall with making everything highly customisable, there are a lot of options, settings, permissions, that all work with each other (and sometimes against eachother :P )

Crew
Registered User
Posts: 31
Joined: Tue Mar 11, 2008 7:52 pm

Re: [3.2][RC] Dice rolls

Post by Crew » Tue Sep 17, 2019 6:38 pm

mrgoldy wrote:
Tue Sep 17, 2019 10:20 am
....and sometimes against eachother :P )
Oh! You are so right! )
Guess what?! I have a new question! Now it's about mod's compatibility. Is there any way to make your mod working with rxu/PostsMerging mod? Because now I have this situation :(

Image

User avatar
3Di
Former Team Member
Posts: 14224
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2][RC] Dice rolls

Post by 3Di » Tue Sep 17, 2019 7:03 pm

No, we are interested in releasing our EXT (not mod) in the CDB.
We will not add code where not strictly needed by the ext itself, sorry.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

Post Reply

Return to “Extensions in Development”