The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Dice Roller Hack [BBCode] Details »» | ||||||||||||||||||||||||||
Dice Roller Hack [BBCode]
RPG Dice is currently a updated version Another updated version Note: Updated package includes only the correct XML. This hack is a port of: Dice Roll for vB3 and permissions was given to port by the following statement. Quote:
The basic bbcode format is: [dice=X]Y[/dice] X - The number of dice to roll, This cannot be larger then 5 currently, this may change later with demand. Y - The number of sides on the dice. so [dice=1]6[/dice] Roll's 1, 6 sided dice. The only limit that I have noticed so far is that dice will not apear correctly when rolled from the create thread editor. I am unsure as to why this is still and am working on this issue. However aside from this it is working as need be. This hack is mainly useful to Game websites that require dice rollers for gambling or roleplaying games. It can add an element of fun to a forum and is adapatable to most dice require situations. If enough demand is displayed I will work on removing the 5 roll limit or making it larger. The current maximum sides one can roll is 30. If you enjoy this hack or have it installed, then please click the install button so that you can remain informed when updates occur. As the original author said, You do not need to ask permission to update or do anything to this hack and can redistribute it if you feel you have made a great contribution to it. If someone does make new dice images and wishes to have them as part of the package then either post here or PM me and I will get them in there with full rights going to the sender for the images. Updates:
This hack was requested from: https://vborg.vbsupport.ru/showthread.php?t=97775 -Eikinskjaldi- Original Screenshots: https://vborg.vbsupport.ru/attachmen...3&d=1078098688 https://vborg.vbsupport.ru/attachmen...4&d=1078098702 Show Your Support
|
Comments |
#42
|
||||
|
||||
Wanted to ask same
|
#43
|
|||
|
|||
ugh, some a****** stole my gmail addy and I'm locked out of it... which is the addy I used for my ORIGINAL username here... Rukbat... so if there have been any posts since May 12 attributed to the Rukbat i.d. it is NOT me, they hacked my groups website that I administer AND my static IP also, that's getting reassigned tomorrow, it's been a nightmare getting everything kinda straight.
If anyone has a request for specific colors/shapes of dice for this mod, either post here or pm me with this, my new, username. |
#44
|
|||
|
|||
nice hack!
Is is possible to create a bbcode within a bbcode? Example, if I want to create a bb code called "roll" (and an accompanying button for it), and I want it to automatically roll 5 dice with 1-6 options, how can I do that? Theoretically this is what I want: my member would type (or hit the roll button and get this): [roll][/roll] but the code would execute as: [roll][dice=5]6[/dice][/roll] Anyway to do that? The reason is...my members are low tech and having them input all the variables is too complex. Just want a simple roll button that they can click and it's all set up for them. Can do? |
#45
|
|||
|
|||
Quote:
|
#46
|
|||
|
|||
How long do you think it will be before there is a solid/stable version of this dice roller I like it a lot just a few too many minor bugs with it for the time being.
|
#47
|
|||
|
|||
can I try another question? I'm trying to simplify the dice roll for my members...trust me, inputting [dice=5]6[/dice] is beyond most of them.
Ideally, it would be great if I could add a clickable button on the quickreply toolbar menu that automatically inserts a pre-determined text string into the reply box (in this case, the actual bbcode I want them to use, which is [dice=5]6[/dice] ... that way they don't have to type it themselves). Is there any way to do this? I've been searching around the net for a few hours and I can't find anything (I'm no coder). Any help really appreciated. |
#48
|
||||
|
||||
I think Emmy2 idea is good.
Why not having in the editor tool bar a collpase icon showing a different choice of dice : dice 4 ; dice 6 ; dice 10 ; dice 12 ; dice 20. RPG gamers will love that ! The php code sould also be rewritten. Because i'm not a php coder, i can't do that. But i've already developped the different dice pictures I think you will like them In the joined archive, you will find png pictures (better for transparency) et adobe psd file. Tell us if you think you can make our wishes become true :banana: |
#49
|
|||
|
|||
I'm still wrestling with the database.
how was ZIKI's problem solved? I don't know where to alter the database and alter it with what. |
#50
|
||||
|
||||
I personally was in a hurry with this and I have made no plans to work on it. I ported it per request when I had some free time, but as it stands my free time might not be coming back for awhile, iv got 6 projects lined up in my future. So if another coder wants to take and mod this then its free game as I just don't have time for it.
If it doesnt not work for you then you may need to use phpmyadmin and manually add the database iformation, it is all in the install code that can be found in the product by hitting edit. I don't have it handy but it is basic field adding. |
#51
|
|||
|
|||
Zowners, I don't know if this will help you but let me relate my installation experience. I just installed this a few days ago. I noticed in the unzipped file that there were TWO product xml files, named:
Eiken-DiceRoller-0_1 Eiken-DiceRoller-1_0 I assumed the 1_0 was the newer one and tried to import that one. However, I got database errors, the product wasn't installing into the dabatase correctly (maybe like you are getting now). So I UNINSTALLED that one, and installed the other product...the Eiken-DiceRoller-0_1 file. That one worked and the version listed for it in the admin panel is "1.0" (even though the file is named 0_1). I have no idea why there are two files, why one works and one doesn't, but I thought I'd relay that in case you are having the same problem I did. As for creating a button for the dice roll...I'll go ask in a general coding forum to see if anyone can assist. It's not necessarily just a function of the dice roll, but a button to input ANY pre-defined text into the reply box, so maybe someone can help. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|