|
@@ -30,7 +30,7 @@ CREATE TABLE IF NOT EXISTS `bx_reviews_reviews` (
|
|
|
`allow_view_to` varchar(16) NOT NULL DEFAULT '3',
|
|
`allow_view_to` varchar(16) NOT NULL DEFAULT '3',
|
|
|
`reviewed_profile` int(11) NOT NULL DEFAULT '0',
|
|
`reviewed_profile` int(11) NOT NULL DEFAULT '0',
|
|
|
`product` varchar(255) NOT NULL,
|
|
`product` varchar(255) NOT NULL,
|
|
|
- `disable_comments` tinyint(4) NOT NULL DEFAULT '0',
|
|
|
|
|
|
|
+ `allow_comments` tinyint(4) NOT NULL DEFAULT '1',
|
|
|
`status` enum('active','awaiting','failed','hidden') NOT NULL DEFAULT 'active',
|
|
`status` enum('active','awaiting','failed','hidden') NOT NULL DEFAULT 'active',
|
|
|
`status_admin` enum('active','hidden','pending') NOT NULL DEFAULT 'active',
|
|
`status_admin` enum('active','hidden','pending') NOT NULL DEFAULT 'active',
|
|
|
PRIMARY KEY (`id`),
|
|
PRIMARY KEY (`id`),
|
|
@@ -456,7 +456,7 @@ INSERT INTO `sys_form_inputs`(`object`, `module`, `name`, `value`, `values`, `ch
|
|
|
('bx_reviews', 'bx_reviews', 'attachments', '', '', 0, 'custom', '_bx_reviews_form_entry_input_sys_attachments', '', '', 0, 0, 0, '', '', '', '', '', '', '', '', 1, 0),
|
|
('bx_reviews', 'bx_reviews', 'attachments', '', '', 0, 'custom', '_bx_reviews_form_entry_input_sys_attachments', '', '', 0, 0, 0, '', '', '', '', '', '', '', '', 1, 0),
|
|
|
('bx_reviews', 'bx_reviews', 'labels', '', '', 0, 'custom', '_sys_form_input_sys_labels', '_sys_form_input_labels', '', 0, 0, 0, '', '', '', '', '', '', '', '', 1, 0),
|
|
('bx_reviews', 'bx_reviews', 'labels', '', '', 0, 'custom', '_sys_form_input_sys_labels', '_sys_form_input_labels', '', 0, 0, 0, '', '', '', '', '', '', '', '', 1, 0),
|
|
|
('bx_reviews', 'bx_reviews', 'anonymous', '', '', 0, 'switcher', '_sys_form_input_sys_anonymous', '_sys_form_input_anonymous', '', 0, 0, 0, '', '', '', '', '', '', '', '', 1, 0),
|
|
('bx_reviews', 'bx_reviews', 'anonymous', '', '', 0, 'switcher', '_sys_form_input_sys_anonymous', '_sys_form_input_anonymous', '', 0, 0, 0, '', '', '', '', '', '', '', '', 1, 0),
|
|
|
-('bx_reviews', 'bx_reviews', 'disable_comments', '1', '', 0, 'switcher', '_bx_reviews_form_entry_input_sys_disable_comments', '_bx_reviews_form_entry_input_disable_comments', '', 0, 0, 0, '', '', '', '', '', '', 'Int', '', 1, 0),
|
|
|
|
|
|
|
+('bx_reviews', 'bx_reviews', 'allow_comments', '1', '', 1, 'switcher', '_bx_reviews_form_entry_input_sys_allow_comments', '_bx_reviews_form_entry_input_allow_comments', '', 0, 0, 0, '', '', '', '', '', '', 'Int', '', 1, 0),
|
|
|
('bx_reviews', 'bx_reviews', 'voting_options', '', '', 0, 'custom', '_bx_reviews_form_entry_input_sys_voting_options', '_bx_reviews_form_entry_input_voting_options', '', 0, 0, 0, '', '', '', '', '', '', 'VotingOptions', '', 1, 0),
|
|
('bx_reviews', 'bx_reviews', 'voting_options', '', '', 0, 'custom', '_bx_reviews_form_entry_input_sys_voting_options', '_bx_reviews_form_entry_input_voting_options', '', 0, 0, 0, '', '', '', '', '', '', 'VotingOptions', '', 1, 0),
|
|
|
('bx_reviews', 'bx_reviews', 'reviewed_profile', '', '', 0, 'custom', '_bx_reviews_form_entry_input_sys_reviewed_profile', '_bx_reviews_form_entry_input_reviewed_profile', '', 0, 0, 0, '', '', '', '', '', '', 'OneIntArray', '', 1, 0),
|
|
('bx_reviews', 'bx_reviews', 'reviewed_profile', '', '', 0, 'custom', '_bx_reviews_form_entry_input_sys_reviewed_profile', '_bx_reviews_form_entry_input_reviewed_profile', '', 0, 0, 0, '', '', '', '', '', '', 'OneIntArray', '', 1, 0),
|
|
|
('bx_reviews', 'bx_reviews', 'product', '', '', 0, 'text', '_bx_reviews_form_entry_input_sys_product', '_bx_reviews_form_entry_input_product', '', 0, 0, 0, '', '', '', '', '', '', 'Xss', '', 1, 0);
|
|
('bx_reviews', 'bx_reviews', 'product', '', '', 0, 'text', '_bx_reviews_form_entry_input_sys_product', '_bx_reviews_form_entry_input_product', '', 0, 0, 0, '', '', '', '', '', '', 'Xss', '', 1, 0);
|
|
@@ -478,7 +478,7 @@ INSERT INTO `sys_form_display_inputs`(`display_name`, `input_name`, `visible_for
|
|
|
('bx_reviews_entry_add', 'covers', 2147483647, 1, 12),
|
|
('bx_reviews_entry_add', 'covers', 2147483647, 1, 12),
|
|
|
('bx_reviews_entry_add', 'allow_view_to', 2147483647, 1, 13),
|
|
('bx_reviews_entry_add', 'allow_view_to', 2147483647, 1, 13),
|
|
|
('bx_reviews_entry_add', 'location', 2147483647, 0, 14),
|
|
('bx_reviews_entry_add', 'location', 2147483647, 0, 14),
|
|
|
-('bx_reviews_entry_add', 'disable_comments', 192, 0, 15),
|
|
|
|
|
|
|
+('bx_reviews_entry_add', 'allow_comments', 192, 0, 15),
|
|
|
('bx_reviews_entry_add', 'do_submit', 2147483647, 1, 20),
|
|
('bx_reviews_entry_add', 'do_submit', 2147483647, 1, 20),
|
|
|
|
|
|
|
|
('bx_reviews_entry_delete', 'delete_confirm', 2147483647, 1, 1),
|
|
('bx_reviews_entry_delete', 'delete_confirm', 2147483647, 1, 1),
|
|
@@ -498,7 +498,7 @@ INSERT INTO `sys_form_display_inputs`(`display_name`, `input_name`, `visible_for
|
|
|
('bx_reviews_entry_edit', 'covers', 2147483647, 1, 12),
|
|
('bx_reviews_entry_edit', 'covers', 2147483647, 1, 12),
|
|
|
('bx_reviews_entry_edit', 'allow_view_to', 2147483647, 1, 13),
|
|
('bx_reviews_entry_edit', 'allow_view_to', 2147483647, 1, 13),
|
|
|
('bx_reviews_entry_edit', 'location', 2147483647, 0, 14),
|
|
('bx_reviews_entry_edit', 'location', 2147483647, 0, 14),
|
|
|
-('bx_reviews_entry_edit', 'disable_comments', 192, 0, 15),
|
|
|
|
|
|
|
+('bx_reviews_entry_edit', 'allow_comments', 192, 0, 15),
|
|
|
('bx_reviews_entry_edit', 'do_submit', 2147483647, 1, 17),
|
|
('bx_reviews_entry_edit', 'do_submit', 2147483647, 1, 17),
|
|
|
|
|
|
|
|
('bx_reviews_entry_view', 'cat', 2147483647, 1, 1),
|
|
('bx_reviews_entry_view', 'cat', 2147483647, 1, 1),
|