![]() |
Alright, I think I have part of the problem then.
You say above that you did not use RPG dice, but the cclaerhout dice were packaged with RPG Dice in post 117. I believe this is part of my confusion. What exactly did you install and in what order? If it's working for you it should for me; but the frenetic nature of this thread is confusing. I have since removed those test threads. But would welcome your input or testing if you wished. Best, A |
This is the xml file I use (attached) BUT before installing you'll have to uninstall the other AND open the xml file and change the ***_post and ***_thread in the 'Alter Table' parts at the beginning to have the *'s reflect the prefix all your vb tables have.
Have been using this on my forum since 4/24 and none of my members have had any problems with just typing the code in... of course I have them trained to be happy with what I give them ;p~ |
Understood.
Thank you for your assistance. Any solution that makes my users type code is not a solution for my users. I was attracted to the system because of the interface and display, not just the function alone. I appreciate your time and effort Eq. You've been kind. I will move my request to the paid forum and work with my existing contractor as well. When I have the solution that's best, I'll share it as open source with the community as I'd suppose the majority of our community owners with games could use this and have it both be functional and pretty. Best, A |
no problem
perhaps one of the others can help here that use the RPG one. the RPG one didn't fit with what 'we' needed to do.. as we use multiple faces and *usually* only 1 die at a time. I'd love a nifty little button to use, but it's beyond my capabilities ;) and pocket book as the site is a free one. My members and I were just thrilled to have *any* dice hack that actually worked for 3.5.4 :D |
Totally with you Eq.
We're free at this time as well (hell we're not open yet) but if I'm ever going to go fee based I need the tools and need to spend the cash. I'll do what I can to get this done and share it off. |
Quote:
Same here Eq, much love to you for saving me from being lynched by my members. :banana: :banana: :banana: Did you see what I posted about marking posts that are edited "fixed" and having the dice rolls from preview to preview be different everytime? |
This hack is very similar to something I had done in phpMyChat and wanted to implement on my vBulletin boards to help the Play-by-Post gaming forums. However, I didn't really have a need for displaying cute dice images or limiting myself on the number of rolls or faces. Plus, the dice roller I'm using in my chat uses the standard AdX+B notation where
A = the number of dice to roll (1 if not present) X = the number of faces on the dice B = represents a modifier, usually a + or - but also a divides or multiply. I also need it to do certain things like, only show the sum/result of the roll or show all the die results and the sum of the roll. I also wanted the ability to do open rolls, e.g. if you roll 6, six sided die, you keep rerolling any dice that come up a 6. So, basically, I have concocted three different bbcodes in one product: [roll][/roll] - for rolling and showing only the results or sum [rollv][/rollv] - for rolling and seeing the result of each dice as well as the sum [rollo][/rollo] - for open rolls Each of these takes and optional label for the roll, to be included in the tag after the '=' sign, e.g. [roll=to hit]4d6[/roll] and so forth. It is, however, optional as the actual notation for the roll is displayed before the results in the final posting. So, for example, you can enter rolls like the following: [roll]4d6[/roll] to get the sum of 4 six sided die. [roll]d%[/roll] for a percentage roll (same as 1d100) [roll]4d6b3[/roll] to roll 4 six sided dice and only sum the "best" three results I took the current XML file on this hack, made some big changes, adapted my Perl dice roller class to PHP and I've put together a product to allow dice rolling in this fashion. See the attachment. If you want to see a better description and see some results you can view my forum thread about this enhancement. I don't want to hijack this thread either, so if I need to provide this product via a new thread, someone just let me know. It seemed related enough that I figured I'd add it here first. There is an INSTALL file in the zip attachment which gives an explanation of the included files and how to install them. If anyone has any questions, just shoot me a PM or I'll check this thread for thoughts. This is installed and working on vBulletin 3.5.4 on my forums. |
okay anyone upgraded to the now available vB 3.6 gold that just became available? will this work with 3.6?
|
I dont see why it shouldnt, vB3.6 isnt to far off from vB3.5, if anything they'd be simple bugs.
|
how can i add a button in postbid for ONLY [dice=2]6[/dice] ?
|
I am having the same problem as Campbell, the images are showing up for the user interface, the small dice icons, but when posting all you see is the [dice0][dice1] etc, no images of the dice at all. I have tried several times to get this to work with no luck. Any ideas?
|
I would suggest pm'ing the person, can't remember who they are, that posted the 'interface' version. Only support I can offer help with is for the 'ORIGINAL' dice hack that is this actual thread...
|
oh and I haven't had ANY problem with the install of this hack even after upgrading from 3.5.4 to 3.6.2
|
Has the dice being rolled from the thread creator glitch been fixed yet?
|
I can roll dice in the first post of a thread with the one I am using (NOT the fancy schmancy interface one... the one with up to 9 dice and 100 faces)
|
is there any way to get any of these to work in the shoutbox?
|
is this working on 3.6.4?
|
mine is working fine... not the fancy interface one that is in the middle of this thread somewhere but the original one :D
|
Couldn't get it to work :(
But the good news is that I got it to work as just a bbcode, with no database changes... https://vborg.vbsupport.ru/showthread.php?t=142475 Of course it is much simpler than the Hack: It doesn't prevent users from editing their posts and changing the dice roll. PS: Since it is a simple bbcode, it works on the shoutbox too :D |
When importing the XML I get this error
Quote:
|
If you have access to your MySQL you can go in and add the 'dice' field to the 'thread' table with the properties of MediumText and Not Null
|
What about fixing the plug-in instead ?
|
Ok,
Im using the RPG dice roll, but when I choose a dice and replies I just get this Quote:
|
Well, i've tested my RPG hack on the newest vB version and it works... Try to do it on a new thread.
|
Awsome hack :O too bad it doesn't work on 3.6.x
I was wondering if anyone could bother to port this to 3.6 :( I had a look at the xml and lits not too long, I would say that the problem is with the instalation code but I don't know. It would be greatly appreciated if someone could ^^ thx |
I installed this way back (not the fancy icon clicking one but the write the bbcode one) several upgrades ago. Running 3.6.7PL right now and having no problem with it. Which one are you trying to use? there are several different versions within this thread.
|
Im running 3.6.7 and have no issues - good hack.
|
I have installed this on vBulletin 3.7.1 and it works perfectly. I used the latest updated version and not the one with buttons and images. How about posting this in the 3.7 Mods forum?
|
I have had this installed on my 3.8.1PL1 vB now and it still works perfectly (the one without the buttons, but there ARE dice images)
|
I have modified the xml and its working on the last version 3.8.4 :
Code:
<?xml version="1.0" encoding="ISO-8859-1"?> |
How to sort the results after a dice roll in a topic ?
|
Has anyone managed to (or would be able to) get tuxz0r's diceroller working on vb4.0.1? My only dilemma ever since I upgraded... is I can't finding a working diceroller anymore for my forums. :erm:
tuxz0r's just bombs out when I try to import it, stating that the vbulletin_thread table no longer exists. I'm guessing it's an issue with differentiating tables b/w vb3 and vb4.. maybe? |
I was hoping this would be updated to work with vB4 as well. I miss my dice!
You could *try* going into phpMyAdmin and creating the table yourself, but I doubt the product would work anyway since vB code and phrases and such has changed so much from 3.x versions. :(( |
Working in 3.8.5 thanks !
|
Quote:
Can anyone resolve this? |
Here's a demo of Tuxz0r's BBCode dice: http://roleplayerguild.com/f3/new-dice-system-52860/. I wanted to contact him but his website isn't online anymore.
I chose it because the AdX+B notation is more useful for play-by-post roleplaying. I also like the minimalism of just text output. To make the dice rolls stand out though, I added some left padding to the roll so I could stick a dice image in there as a background. Screenshot: https://vborg.vbsupport.ru/external/2010/06/52.jpg Simple line of CSS: HTML Code:
.diceroll { https://vborg.vbsupport.ru/external/2010/06/8.gif You'll need to shrink it more to fully display inline with the text of the dice roll unless you add HTML Code:
display: block; The BBCode still doesn't work in the initial post of a thread, unfortunately. My understanding of vBulletin coding is very limited but I'll try to fix it. I know the guys working on the original hack in this thread fixed theirs, so I'll see if I can cross compare the hacks and see what I can change. Thanks for everyone's contributions to this thread. I enjoyed reading yall's collaboration. :) Here's a link to Tuxz0r's hack: https://vborg.vbsupport.ru/showpost....&postcount=167 |
I installed the rpg dice mod and put the dice folder on the ftp in de image folder
but i get this error i guese im just stupid but what to do Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: dice_menu in [path]/includes/functions.php on line 4055 |
The product didn't install any bbcodes. I tried the original and TuxZor's version. What's the replacement text supposed to be?
|
Quote:
The interesting effect of quotes is to that the quoted roll# markers show the rolls associated with the rest of the post, not the rolls of the original nor simple placeholders. |
All times are GMT. The time now is 01:05 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|