This is my values:
phpbb3_config` (`config_name`, `config_value`, `is_dynamic`) VALUES
('fancyDiceMacro_1', '{"d":"@[1_>]"}', 0),
('fancyDiceMacro_2', '{"p":"@[\\"*\\", \\"**\\", \\"***\\", \\"****\\", \\"*****\\",\\"******\\"]"}', 0),
('fancyDicePresent', '<div class="dicebox">קוביות: {SPEC}<Br>תוצאות הגלגול: {DICE}. סך-הכל: {TOTAL} {VALID}</div>', 1),
('fancyDiceSecure', '648067114', 0);
This is my migrations table
Code: Select all
\hanelyp\fancydice\migrations\acp
a:0:{}
This is my bbcode table
Code: Select all
INSERT INTO `phpbb3_bbcodes` (`bbcode_id`, `bbcode_tag`, `bbcode_helpline`, `display_on_posting`, `bbcode_match`, `bbcode_tpl`, `first_pass_match`, `first_pass_replace`, `second_pass_match`, `second_pass_replace`) VALUES
(17, 'dice', '[dice]3d6+1[/dice]', 1, '#[dice\\s+seed={number}\\s+secure={simpletext}]{text}[/dice]#ie', '<blockquote>hanelyp\\fancydice\\event\\main_listener::singlet()->replace_dice("{text}",{number},"{simpletext}")</blockquote>', '#\\[dice\\](.+)\\[/dice\\]#ie', 'hanelyp\\fancydice\\event\\main_listener::singlet()->bb_prep_dice("$1","$uid")', '#\\[dice\\s+seed=(\\d+)\\s+secure=(\\w+):?\\w*\\](.+)\\[/dice\\]#ie', 'hanelyp\\fancydice\\event\\main_listener::singlet()->bb_replace_dice("$3",$1,"$2")');
From phpbb_ext
Code: Select all
INSERT INTO `phpbb3_ext` (`ext_name`, `ext_active`, `ext_state`) VALUES
('hanelyp/fancydice', 1, 'b:0;');
I didn't see any table related to fancydice, should there be one?
EDIT: I have deleted the fancydicepresent field from phpbb_config and submitted it again from the ACP -no change.