RiTz21 wrote:coppro, is there any ways to expedite the creation of the official phpbb3 version of this (the new design you mentionned) - My users are itching to get this!
Can I coerce you into finishing it faster by offering you a 1 year subscription to my product once you release it? I'd be glad to do so if TOS+ would be of any use to you!! (Check it out by clicking on my Signature)
RiTz21
Code: Select all
CREATE TABLE `phpbb_rolls` (
`type` varchar( 10 ) NOT NULL ,
`id` varchar( 31 ) NOT NULL ,
`sides` mediumint( 9 ) NOT NULL ,
`text_index` mediumint( 9 ) NOT NULL ,
`result` mediumint( 9 ) NOT NULL ,
PRIMARY KEY ( `type` , `id` , `sides` , `text_index` )
)
Code: Select all
1.
Copy: root/includes/dice.php
To: includes/dice.php
2.
Copy: root/language/en/mods/dice.php
To: language/en/mods/dice.php
Code: Select all
Create a new BBCode from the admistration panel. The contents and name are completely irrelevant.
Open up your SQL database, and run the query "SELECT bbcode_id FROM phpbb_bbcodes WHERE bbcode_tag = 'your_new_code_name'".
Ex: If I added a code for "[test]{TEXT}[/test]", I would run "SELECT bbcode_id FROM phpbb_bbcodes WHERE bbcode_tag = 'test'"
You should get a single number. Write that number down, then delete the BBCode from the database through the ACP.
Now, open up the file "constants.php". At the bottom, replace the
text "{CHANGEME:DICENUM}" in the define statement with the number you just got.