![]() |
Now that I'm not so tired I thought of another question regarding my error message above. What MySQL d/b changes were made? Which table needs new fields and what would the names be to look for to be sure they are there?
EDIT 9:07 CDT Okay, I went into phpMyAdmin and checked my forum tables '******_thread' and '******_post' and neither table has a 'dice' field. so do I edit the xml file and change Code:
<codes> Code:
<codes> EDIT: 9:46am CDT That didn't work, BUT, once i went in to phpMyAdmin and added the fields to the two tables it works GREAT! :D so I guess there's something in the code in the xml file that didn't actually ALTER my tables.... or was there something else in the xml file that i didn't find where I should have typed in the name of the d/b? I assumed since it was imported/installed using the vB AdminCP that it would 'know' that was the d/b to alter the tables in...... |
I'm working on making some new images for the die, playing with colors
examples below |
I got this error
Quote:
|
Ziki-set,
I was having the same problem. For some reason the installer isn't altering your forum database tables (_thread & _post). You need to go into your database and physically add the 'dice' field (mediumtext not null) to those two tables. That fixed the problem for me. Also, before installing I corrected some wording in the xml file to correct 'dices' to 'die' because it 'bugged' me: FIND Code:
<td><smallfont><b>Dice roll with $dicesno dices of $dicesfaces faces: $dicepoints points</b></smallfont></td> Code:
<td><smallfont><b>Dice roll with $dicesno die of $dicesfaces faces: $dicepoints points</b></smallfont></td> FIND Code:
if ($faces[$i] >= 2 && $faces[$i] <= 30) Code:
if ($faces[$i] >= 2 && $faces[$i] <= 100) Hope this helps :D EDIT: 3:30pm CDT hmmmm, that works up to '99' faces but can't get it to work for '100'..... *wanders off to ponder a bit* EDIT: 3:47pm CDT got it to work FIND: Code:
preg_match_all("/\[dice=([1-5])\]([0-9]?[0-9])\[\/dice\]/",$post['message'],$diceresult); Code:
preg_match_all("/\[dice=([1-5])\]([0-9]?[0-9]?[0-9])\[\/dice\]/",$post['message'],$diceresult); |
Ya, the install code seems to be errored, I'll work on it and upload the right installer, Thanks rukbat for posting the little mods for others. I might have messed that part up as well.
EDIT: Upload XML fixed with the correct queries. Sorry about that. |
Now it doesn't show the dices.I imported it and it doesn't show the dices but only the [dice=2]5[/dice]
|
Did you FTP the dice images into a 'dice' folder in images at your site?
Also, go into your PlugIn Manager in your vB admincp, look to be sure all the plug-ins for 'Dice Roller' are checked as 'active'. Did you 'unistall' via product manager before installing again? |
oops also, you can't create a thread with a post that includes a dice roll
only replies can include the dice roll easy solution: create a new thread i.e. title: dice roller test text in post: this thread is to test the dice rollersubmit the new thread then post a reply/quick reply to it, including the dice roll bbcode |
Yes, I need to find the right place to inser the code for the first post, I looked in my quick porting of the hack but didn't find it. It's as simple a fix as inserting the code before the first post is output.
|
Don't know how high you would be able to go, but here's one vote for more than 5 dice.
|
All times are GMT. The time now is 03:38 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:
|