News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Dice Roller

Started by Colin, July 30, 2009, 09:52:06 PM

Previous topic - Next topic

OtterlyAdorable

Hey, thanks for your response and sorry that I only just saw this...

How do I add a request?  I'm not super familiar with how GitHub works.

Colin

"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

OtterlyAdorable

Awesome, thanks so much!!

mickie

I tried to install this on a friends forum
their forum is listed as

SMF 2.0.13 | SMF © 2016, Simple Machines
SimplePortal 2.3.6 © 2008-2014, SimplePortal XHTML RSS

I got the following response

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
I know it's not corrupt because it worked on my sandbox which is

SMF 2.0.11 | SMF © 2015

So I am guessing it is not compatible?
Is there something I can do to make it so?

truecrimson

Hello,
I love this mod and used it for years.  However during an upgrade or reinstall it got lost, and I couldn't get it to reinstall.  Some of the chmod settings my host uses were preventing it from installing, and I let it go for a long time.

I just decided to try to manually install it and everything wen well except for one thing.  None of the smileys show up above the text box when making a new post, only the broken link image.  If one puts in smiley code manually then in the post one gets a broken link image and then the smiley code.

Any idea where I went wrong and how I can fix it?

Running 2.0.14

Thanks
Wouldn't you like to be a Llama too?

OtterlyAdorable

Quote from: Colin on May 23, 2017, 12:39:13 AMI'll open a GitHub repo and we can add some features to track.

Still planning on looking into the wishlist items?

Throndir

#166
I updated this mod for 2.1 RC4. Would be nice if the mod author to take a look at update the one on the mod site!


  • Changed images to PNG and resized to 16x16 for dice image.
  • Uses integrate_bbc_buttons, integrate_bbc_codes, integrate_preparsecode for better mod compatibility.
  • Kept modification.xml for the dicemod callback function, was unsure if there's a better way with the new hooks.

[attachment removed per smf mod licenses when no license is present ~ Shadav]

shadav

Quote from: Throndir on August 14, 2021, 09:04:54 PM
I updated this mod for 2.1 RC4. Would be nice if the mod author to take a look at update the one on the mod site!


  • Changed images to PNG and resized to 16x16 for dice image.
  • Uses integrate_bbc_buttons, integrate_bbc_codes, integrate_preparsecode for better mod compatibility.
  • Kept modification.xml for the dicemod callback function, was unsure if there's a better way with the new hooks.

[attachment removed per smf mod licenses when no license is present ~ Shadav]

Please do not upload the mod or an edited version of the mod without the mod creators permission. While this is an old mod and was approved before mods had to have license, it thusly falls under smf's standard mod license and redistributions are not allowed.
You can contact the mod author if they are interested in your version or if they wish to update their mod to include a license that would allow redistributing it.

you can however post instructions on the changes that you made to get the mod to work

Senkusha

Are there any plans to update this mod to SMF 2.1x?  Thank you!
--Senkusha
The Anime Brigade
Anime-style Role Playing Games and Discussion.
(SMF v. 2.1.4, PHP v. 8.0)

Arantor

Quote from: shadav on August 14, 2021, 11:27:45 PM
Quote from: Throndir on August 14, 2021, 09:04:54 PMI updated this mod for 2.1 RC4. Would be nice if the mod author to take a look at update the one on the mod site!

  • Changed images to PNG and resized to 16x16 for dice image.
  • Uses integrate_bbc_buttons, integrate_bbc_codes, integrate_preparsecode for better mod compatibility.
  • Kept modification.xml for the dicemod callback function, was unsure if there's a better way with the new hooks.

[attachment removed per smf mod licenses when no license is present ~ Shadav]

Please do not upload the mod or an edited version of the mod without the mod creators permission. While this is an old mod and was approved before mods had to have license, it thusly falls under smf's standard mod license and redistributions are not allowed.
You can contact the mod author if they are interested in your version or if they wish to update their mod to include a license that would allow redistributing it.

you can however post instructions on the changes that you made to get the mod to work

As far as I'm concerned this mod was made CC0 when I handed it over, so anyone can do anything they like with the original version of the plugin. I don't know exactly what changes were made since I handed it over (likely just version tweaks to package-info.xml) but if that's all... go nuts.
Holder of controversial views, all of which my own.

Senkusha

I've tried to modify the install file to work with the current version of 2.1.2, however, I no longer know enough about the nuts and bolts of how SMF works.  It looks like Package needs to be updated to insert the new BBC tag under something called

call_integration_hook

But I really don't know where to look for that.
--Senkusha
The Anime Brigade
Anime-style Role Playing Games and Discussion.
(SMF v. 2.1.4, PHP v. 8.0)

Arantor

The whole point of integration hooks is that you don't modify them, you register code to be run at those times.

The changes for 2.1 for this mod would be quite drastic at this stage, since it interrupts both parsing and preparsing for its changes.

That said, the fact anyone is still interested, I'll see if I can come up with something - it was a long, long time ago when I originally wrote this.
Holder of controversial views, all of which my own.

Senkusha

Thank you Arantor!  I know there are several forums that use Role Playing and have a need for a good dice roller.  I really appreciate your  hard work. :)
--Senkusha
The Anime Brigade
Anime-style Role Playing Games and Discussion.
(SMF v. 2.1.4, PHP v. 8.0)

Arantor

Dice Roller 2.0

Basically the same mod as before but repackaged into a hooks-only 2.1-ready mod with an updated bbc image and slightly less awful formatting in posts.

Has not been extensively tested.

This version is MIT licensed; technically my original version was CC0 licensed and the original version can stand just fine, this is a new version based on my original code.
Holder of controversial views, all of which my own.

Senkusha

Thank you!!!!!!!! <3  It works wonderfully!
--Senkusha
The Anime Brigade
Anime-style Role Playing Games and Discussion.
(SMF v. 2.1.4, PHP v. 8.0)

Advertisement: