PlanetVampire.com Forum

General Category => Feedback => Topic started by: Radical21 on October 16, 2010, 03:19:01 PM

Title: Diceroller script?
Post by: Radical21 on October 16, 2010, 03:19:01 PM
Can you please add this mod to the forum?
http://custom.simplemachines.org/mods/index.php?mod=2032 (http://custom.simplemachines.org/mods/index.php?mod=2032)

Title: Re: Diceroller script?
Post by: Radical21 on October 16, 2010, 06:00:59 PM
....
Title: Re: Diceroller script?
Post by: Javokis on October 17, 2010, 04:10:12 AM
(https://forums.planetvampire.com/Themes/Catamosphere2/images/dice_warn.gif) This dice roll has been tampered with!
Rolled 5d10 : 7, 1, 6, 2, 10, total 26

Installed, but it's gray on gray. Lovely. Now I got to pull out the damn css and find out how the hell...

It's not gray on gray after you edit your post.
Title: Re: Diceroller script?
Post by: Javokis on October 17, 2010, 04:45:01 AM
testing...

[blockquote]Rolled 3d10 : 9, 10, 8, total 27[/blockquote]
Title: Re: Diceroller script?
Post by: Radical21 on October 17, 2010, 05:41:13 AM
Not bad, 3 successes

Seems to be working, all you have to do is highlight the text to see it , prevents spoilers   :razz:

[blockquote]Rolled 5d10 : 6, 2, 1, 7, 6, total 22[/blockquote]
Title: Re: Diceroller script?
Post by: Javokis on October 17, 2010, 04:45:00 PM
Looking over the code, it's displayed as a div object with a style already defined. Nothing I can do in css anyway.
Title: Re: Diceroller script?
Post by: Radical21 on October 17, 2010, 05:55:22 PM
Looking over the code, it's displayed as a div object with a style already defined. Nothing I can do in css anyway.

From what they say in the support forums for this mod the solution is in subs.php, you can find the specifics on the mod/plugin's support forum but if it requires changing the style of the regular forum posts its not worth it IMO.
Title: Re: Diceroller script?
Post by: Javokis on October 18, 2010, 01:53:59 AM
Thanks. Found it. Fixed now.
Title: Re: Diceroller script?
Post by: Radical21 on October 18, 2010, 02:03:46 AM
Cool thanks, now it would be fairly easy to run PbP games on the forum.
Title: Re: Diceroller script?
Post by: cadmiumcadamium on November 03, 2010, 11:01:30 AM
How does one add this script to one's posts?
Title: Re: Diceroller script?
Post by: Radical21 on November 03, 2010, 11:54:19 AM
There is a dice button and inside the brackets you write something like 5d10 or 7d10 and so on , its pretty simple really but once you edit your post people can see so you cant cheat it.
Title: Re: Diceroller script?
Post by: cadmiumcadamium on November 03, 2010, 01:54:40 PM
testing

[blockquote]Rolled 5d10 : 5, 2, 3, 10, 3, total 23[/blockquote]