Version: 1.00, by Kentaurus
Developer Last Online: Jul 2014
Version: 3.0.0
Rating:
Released: 02-28-2004
Last Update: Never
Installs: 21
No support by the author.
Tested in 3.0.7
Update:
The hack has been updated with new instructions, to allow more than one roll per post. If you are updating Please undo the file edits from the previous version before applying the new one. If you are installing this for the first time you're ok.
This hack is most useful to roleplaying communities, but you can also
have fun with it in any forum. It implements a new code, [dice] with which
you can do a dice roll. You can roll as much as 3 dices of 30 faces and as
less as 1 dice of 2 faces.
Once you roll the dice it is stored in the post so you cannot roll again even
if you edit the post or whatever.
Please keep in mind the [img] tag should be disabled in the forum where the dice tag is going to be used. It is not mandatory and the hack will work even with the [img] tag enabled but to prevent cheating I would recommend it.
How to use it:
[dice={dices}]{faces}[/dice]
Example:
[dice=2]25[/dice]
This will roll two dices of 25 faces each one
[dice=1]6[/dice]
This will roll one dice of 6 faces
I am attaching a zip with some sample images.. they are not the best ones but they are dices and show the numbers. If someone could make a new set of dices "prettier" than the ones I got I would be grateful
Info for hackers:
You may modify, improve, upgrade, redistribute this hack, include it
in another hack or yours or translate it provided you do it free of
charge and you distribute it in www.vbulletin.org at least, there is no
need to pm me asking for permission
Some portions of the code are (c) Jelsoft Enterprises Ltd.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Got it. What I don't like is that users can't roll dice more then once per thread. I mean if we're gunna relax and chat. It should be allowed that they can do it. But I must say that it would be easy if you could edit post. But not edit posts that have rolled dice. Like if it wouldn't give you anything to delete. And even if they went and edited the message and deleted everything there. It would still show.
How can I allow users to roll multiple times per post? Think about it - for a few simple dice rolls, members have to post like 3 or 4 times in a thread.
How can I allow users to roll multiple times per post? Think about it - for a few simple dice rolls, members have to post like 3 or 4 times in a thread.
I installed it, everything went smooth, but when I post a reply, the pictures doesnt show up, instead I get the actual code that I put in when I posted.
Like if I post [dice=5]6[/dice], it shows up as [dice=5]6[/dice] in the thread instead of showing the pictures.
I installed it, everything went smooth, but when I post a reply, the pictures doesnt show up, instead I get the actual code that I put in when I posted.
Like if I post [dice=5]6[/dice], it shows up as [dice=5]6[/dice] in the thread instead of showing the pictures.
It works great in vB3.01 - maybe you did not chnage the Code. In the original Code only 3 Dice are allowed. If you enter incorrect Code the BB-Code will still in the Post. After Edit the Post the Dice-BB-Code won't changed.
Is there anyway I can reproduce this hack to roll more dice by means of creating 10 sets of the dice bbcode ([dice1][/dice1], [dice2][/dice2], etc.)? I think thats a perfect solution to the "one roll per post" problem.
I'm trying to install this on 3.0.6. but the code seems to have changed on functions_newpost.php. I'm not handy enough with php to know what to change or how, so if someone can help I'd appreciate it.