primo commit

This commit is contained in:
2024-12-17 17:34:10 +01:00
commit e650f8df99
16435 changed files with 2451012 additions and 0 deletions

View File

@ -0,0 +1 @@
<!DOCTYPE html><title></title>

View File

@ -0,0 +1,557 @@
CREATE TABLE IF NOT EXISTS `#__jem_events` (
`id` int(11) unsigned NOT NULL auto_increment,
`locid` int(11) unsigned NOT NULL DEFAULT '0',
`dates` date NULL DEFAULT NULL,
`enddates` date NULL DEFAULT NULL,
`times` time NULL DEFAULT NULL,
`endtimes` time NULL DEFAULT NULL,
`title` varchar(255) NOT NULL DEFAULT '',
`alias` varchar(255) NOT NULL DEFAULT '',
`created_by` int(11) unsigned NOT NULL DEFAULT '0',
`modified` datetime NULL DEFAULT NULL,
`modified_by` int(11) unsigned NOT NULL DEFAULT '0',
`version` int(11) unsigned NOT NULL DEFAULT '0',
`author_ip` varchar(15) NOT NULL DEFAULT '',
`created` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`introtext` mediumtext NOT NULL,
`meta_keywords` varchar(200) DEFAULT NULL,
`meta_description` varchar(255) DEFAULT NULL,
`recurrence_first_id` int(11) NOT NULL DEFAULT '0',
`recurrence_number` int(2) NOT NULL DEFAULT '0',
`recurrence_type` int(2) NOT NULL DEFAULT '0',
`recurrence_counter` int(11) NOT NULL DEFAULT '0',
`recurrence_limit` int(11) NOT NULL DEFAULT '0',
`recurrence_limit_date` date NULL DEFAULT NULL,
`recurrence_byday` varchar(20) NULL DEFAULT NULL,
`datimage` varchar(100) NOT NULL DEFAULT '',
`checked_out` int(11) UNSIGNED NULL DEFAULT NULL,
`checked_out_time` datetime NULL DEFAULT NULL,
`registra` tinyint(1) NOT NULL DEFAULT '0',
`unregistra` tinyint(1) NOT NULL DEFAULT '0',
`unregistra_until` int(11) NOT NULL DEFAULT '0',
`maxplaces` int(11) NOT NULL DEFAULT '0',
`waitinglist` tinyint(1) NOT NULL DEFAULT '0',
`hits` int(11) unsigned NOT NULL DEFAULT '0',
`published` tinyint(1) NOT NULL DEFAULT '0',
`contactid` int(10) NOT NULL DEFAULT '0',
`custom1` varchar(200) NOT NULL DEFAULT '',
`custom2` varchar(200) NOT NULL DEFAULT '',
`custom3` varchar(100) NOT NULL DEFAULT '',
`custom4` varchar(100) NOT NULL DEFAULT '',
`custom5` varchar(100) NOT NULL DEFAULT '',
`custom6` varchar(100) NOT NULL DEFAULT '',
`custom7` varchar(100) NOT NULL DEFAULT '',
`custom8` varchar(100) NOT NULL DEFAULT '',
`custom9` varchar(100) NOT NULL DEFAULT '',
`custom10` varchar(100) NOT NULL DEFAULT '',
`fulltext` mediumtext NOT NULL,
`created_by_alias` varchar(255) NOT NULL,
`access` int(10) UNSIGNED NOT NULL DEFAULT '0',
`metadata` text NOT NULL,
`featured` tinyint(3) unsigned NOT NULL DEFAULT '0',
`attribs` varchar(5120) NOT NULL DEFAULT '',
`language` char(7) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `idx_venue` (`locid`),
KEY `idx_access` (`access`),
KEY `idx_checkout` (`checked_out`),
KEY `idx_pubstate` (`published`),
KEY `idx_createdby` (`created_by`),
KEY `idx_language` (`language`)
) ENGINE=MyISAM CHARACTER SET `utf8mb4` COLLATE `utf8mb4_unicode_ci`;
CREATE TABLE IF NOT EXISTS `#__jem_venues` (
`id` int(11) unsigned NOT NULL auto_increment,
`venue` varchar(100) NOT NULL DEFAULT '',
`alias` varchar(100) NOT NULL DEFAULT '',
`url` varchar(200) NOT NULL DEFAULT '',
`street` varchar(50) DEFAULT NULL,
`postalCode` varchar(20) DEFAULT NULL,
`city` varchar(50) DEFAULT NULL,
`state` varchar(50) DEFAULT NULL,
`country` varchar(2) DEFAULT NULL,
`latitude` float(10,6) DEFAULT NULL,
`longitude` float(10,6) DEFAULT NULL,
`locdescription` mediumtext DEFAULT NULL,
`meta_keywords` text DEFAULT NULL,
`meta_description` text DEFAULT NULL,
`locimage` varchar(100) NOT NULL DEFAULT '',
`map` tinyint(4) NOT NULL DEFAULT '0',
`created_by` int(11) unsigned NOT NULL DEFAULT '0',
`author_ip` varchar(15) NOT NULL DEFAULT '',
`created` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`modified` datetime NULL DEFAULT NULL,
`modified_by` int(11) unsigned NOT NULL DEFAULT '0',
`version` int(11) unsigned NOT NULL DEFAULT '0',
`published` tinyint(1) NOT NULL DEFAULT '0',
`checked_out` int(11) UNSIGNED NULL DEFAULT NULL,
`checked_out_time` datetime NULL DEFAULT NULL,
`ordering` int(11) NOT NULL DEFAULT '0',
`publish_up` datetime NULL DEFAULT NULL,
`publish_down` datetime NULL DEFAULT NULL,
`access` int(10) UNSIGNED NOT NULL DEFAULT '0',
`custom1` varchar(200) NOT NULL DEFAULT '',
`custom2` varchar(200) NOT NULL DEFAULT '',
`custom3` varchar(100) NOT NULL DEFAULT '',
`custom4` varchar(100) NOT NULL DEFAULT '',
`custom5` varchar(100) NOT NULL DEFAULT '',
`custom6` varchar(100) NOT NULL DEFAULT '',
`custom7` varchar(100) NOT NULL DEFAULT '',
`custom8` varchar(100) NOT NULL DEFAULT '',
`custom9` varchar(100) NOT NULL DEFAULT '',
`custom10` varchar(100) NOT NULL DEFAULT '',
`attribs` varchar(5120) DEFAULT NULL,
`language` char(7) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_access` (`access`),
KEY `idx_checkout` (`checked_out`),
KEY `idx_pubstate` (`published`),
KEY `idx_createdby` (`created_by`),
KEY `idx_language` (`language`)
) ENGINE=MyISAM CHARACTER SET `utf8mb4` COLLATE `utf8mb4_unicode_ci`;
CREATE TABLE IF NOT EXISTS `#__jem_categories` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`parent_id` int(11) unsigned NOT NULL DEFAULT '0',
`catname` varchar(100) NOT NULL DEFAULT '',
`alias` varchar(100) NOT NULL DEFAULT '',
`description` mediumtext DEFAULT NULL,
`meta_keywords` text DEFAULT NULL,
`meta_description` text DEFAULT NULL,
`image` varchar(100) NOT NULL DEFAULT '',
`color` varchar(20) NOT NULL DEFAULT '',
`published` tinyint(1) NOT NULL DEFAULT '0',
`checked_out` int(11) UNSIGNED NULL DEFAULT NULL,
`checked_out_time` datetime NULL DEFAULT NULL,
`access` int(11) unsigned NOT NULL DEFAULT '0',
`groupid` int(11) NOT NULL DEFAULT '0',
`ordering` int(11) NOT NULL DEFAULT '0',
`title` varchar(255) NOT NULL,
`note` varchar(255) DEFAULT NULL,
`lft` int(11) NOT NULL DEFAULT '0',
`rgt` int(11) NOT NULL DEFAULT '0',
`level` int(10) unsigned NOT NULL DEFAULT '1',
`language` varchar(7) DEFAULT NULL,
`created_user_id` int(10) unsigned NOT NULL DEFAULT '0',
`created_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`path` varchar(255) DEFAULT NULL,
`metadata` varchar(2048) DEFAULT NULL,
`modified_time` datetime NULL DEFAULT NULL,
`modified_user_id` int(10) unsigned NOT NULL DEFAULT '0',
`email` varchar(200) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM CHARACTER SET `utf8mb4` COLLATE `utf8mb4_unicode_ci`;
CREATE TABLE IF NOT EXISTS `#__jem_cats_event_relations` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`catid` int(11) NOT NULL DEFAULT '0',
`itemid` int(11) NOT NULL DEFAULT '0',
`ordering` tinyint(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `category event relation` (`catid`,`itemid`),
KEY `catid` (`catid`),
KEY `itemid` (`itemid`)
) ENGINE=MyISAM CHARACTER SET `utf8mb4` COLLATE `utf8mb4_unicode_ci`;
CREATE TABLE IF NOT EXISTS `#__jem_register` (
`id` int(11) unsigned NOT NULL auto_increment,
`event` int(11) NOT NULL DEFAULT '0',
`uid` int(11) NOT NULL DEFAULT '0',
`uregdate` varchar(50) NOT NULL DEFAULT '',
`uip` varchar(15) NOT NULL DEFAULT '',
`waiting` tinyint(1) NOT NULL DEFAULT '0',
`status` tinyint(3) NOT NULL DEFAULT '1',
`comment` varchar(255) DEFAULT '',
PRIMARY KEY (`id`),
UNIQUE KEY `idx_user_event` (`uid`,`event`),
KEY `idx_event` (`event`),
KEY `idx_event_status` (`event`,`status`),
KEY `idx_user` (`uid`)
) ENGINE=MyISAM CHARACTER SET `utf8mb4` COLLATE `utf8mb4_unicode_ci`;
CREATE TABLE IF NOT EXISTS `#__jem_groups` (
`id` int(11) unsigned NOT NULL auto_increment,
`name` varchar(150) NOT NULL DEFAULT '',
`description` mediumtext DEFAULT NULL,
`checked_out` int(11) UNSIGNED NULL DEFAULT NULL,
`checked_out_time` datetime NULL DEFAULT NULL,
`addvenue` int(11) NOT NULL,
`addevent` int(11) NOT NULL,
`publishvenue` int(11) NOT NULL,
`editvenue` int(11) NOT NULL,
`publishevent` int(11) NOT NULL,
`editevent` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM CHARACTER SET `utf8mb4` COLLATE `utf8mb4_unicode_ci`;
CREATE TABLE IF NOT EXISTS `#__jem_groupmembers` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`group_id` int(11) NOT NULL DEFAULT '0',
`member` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_group` (`group_id`),
KEY `idx_user` (`member`)
) ENGINE=MyISAM CHARACTER SET `utf8mb4` COLLATE `utf8mb4_unicode_ci`;
CREATE TABLE IF NOT EXISTS `#__jem_config` (
`keyname` varchar(100) NOT NULL,
`value` text,
`access` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'rfu',
PRIMARY KEY (`keyname`),
KEY `idx_access` (`access`)
) ENGINE=MyISAM CHARACTER SET `utf8mb4` COLLATE `utf8mb4_unicode_ci`;
CREATE TABLE IF NOT EXISTS `#__jem_attachments` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`object` varchar(255) NOT NULL,
`file` varchar(255) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`description` varchar(255) DEFAULT NULL,
`icon` varchar(255) DEFAULT NULL,
`frontend` tinyint(1) NOT NULL DEFAULT '1',
`access` int(10) UNSIGNED NOT NULL DEFAULT '0',
`ordering` int(11) NOT NULL DEFAULT '0',
`added` datetime NULL DEFAULT NULL,
`added_by` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM CHARACTER SET `utf8mb4` COLLATE `utf8mb4_unicode_ci`;
CREATE TABLE IF NOT EXISTS `#__jem_countries` (
`id` int(11) unsigned NOT NULL auto_increment,
`continent` varchar(2) NOT NULL,
`iso2` varchar(2) NOT NULL,
`iso3` varchar(3) NOT NULL,
`un` int(11) NOT NULL,
`name` varchar(100) NOT NULL,
PRIMARY KEY (`id`),
KEY `iso2` (`iso2`)
) ENGINE=MyISAM CHARACTER SET `utf8mb4` COLLATE `utf8mb4_unicode_ci`;
INSERT IGNORE INTO #__jem_config (`keyname`, `value`) VALUES
('oldevent', '2'),
('minus', '1'),
('showtime', '1'),
('showtitle', '1'),
('showlocate', '1'),
('showcity', '1'),
('tablewidth', ''),
('datewidth', '20%'),
('datemode', '1'),
('titlewidth', '20%'),
('locationwidth', '15%'),
('citywidth', '15%'),
('formatdate', 'D, j. F Y'),
('formatShortDate', 'd.m.y'),
('formattime', 'H:i'),
('formathour', 'H'),
('timename', 'h'),
('showdetails', '1'),
('showlinkvenue', '1'),
('delivereventsyes', '-2'),
('datdesclimit', '1000'),
('autopubl', '-2'),
('deliverlocsyes', '-2'),
('autopublocate', '-2'),
('showcat', '1'),
('catfrowidth', '15%'),
('image_filetypes', 'jpg,gif,png,webp'),
('sizelimit', '100'),
('imagehight', '100'),
('imagewidth', '100'),
('gddisabled', '1'),
('imageenabled', '1'),
('attachmentenabled', '0'),
('frontendpublish','0'),
('catlinklist', '1'),
('showfroregistra', '2'),
('showfrounregistra', '2'),
('eventedit', '-2'),
('eventowner', '0'),
('venueedit', '-2'),
('venueowner', '0'),
('lightbox', '1'),
('meta_keywords', '[title], [a_name], [categories], [times]'),
('meta_description', 'The event titled [title] starts on [dates]!'),
('showstate', '1'),
('showeventimage', '0'),
('statewidth', '15%'),
('storeip', '0'),
('lastupdate', '0'),
('tableeventimagewidth', '10%'),
('display_num', '10'),
('discatheader', '1'),
('showatte', '0'),
('attewidth', '10%'),
('weekdaystart', '1'),
('ical_tz', '1'),
('attachments_path', 'media/com_jem/attachments'),
('attachments_maxsize', '1000'),
('attachments_types', 'txt,pdf,jpg,jpeg,gif,png,zip,tar.gz'),
('recurrence_anticipation', '60'),
('ical_max_items', '100'),
('DEFAULTCountry', ''),
('csv_separator', ';'),
('csv_delimiter', '"'),
('csv_bom', '1'),
('globalattribs', ''),
('css', '{"css_backend_usecustom":"1","css_backend_customfile":"","css_calendar_usecustom":"0","css_calendar_customfile":"","css_colorpicker_usecustom":"0","css_colorpicker_customfile":"","css_geostyle_usecustom":"0","css_geostyle_customfile":"","css_googlemap_usecustom":"0","css_googlemap_customfile":"","css_jem_usecustom":"0","css_jem_customfile":"","css_print_usecustom":"0","css_print_customfile":"","css_color_bg_filter":"","css_color_bg_h2":"","css_color_bg_jem":"","css_color_bg_table_th":"","css_color_bg_table_td":"","css_color_bg_table_tr_entry2":"","css_color_bg_table_tr_hover":"","css_color_bg_table_tr_featured":"","css_color_border_filter":"","css_color_border_h2":"","css_color_border_table_th":"","css_color_border_table_td":"","css_color_font_h2":"","css_color_font_table_th":"","css_color_font_table_td":"","css_color_font_table_td_a":""}'),
('regallowcomments', '0'),
('regallowinvitation', '0'),
('layoutstyle', '1'),
('useiconfont', '1');
INSERT IGNORE INTO `#__jem_countries` (`id`, `continent`, `iso2`, `iso3`, `un`, `name`) VALUES
(1, 'AS', 'AF', 'AFG', 4, 'Afghanistan, Islamic Republic of'),
(2, 'EU', 'AX', 'ALA', 248, 'Aland Islands'),
(3, 'EU', 'AL', 'ALB', 8, 'Albania, Republic of'),
(4, 'AF', 'DZ', 'DZA', 12, 'Algeria, People''s Democratic Republic of'),
(5, 'OC', 'AS', 'ASM', 16, 'American Samoa'),
(6, 'EU', 'AD', 'AND', 20, 'Andorra, Principality of'),
(7, 'AF', 'AO', 'AGO', 24, 'Angola, Republic of'),
(8, 'NA', 'AI', 'AIA', 660, 'Anguilla'),
(9, 'AN', 'AQ', 'ATA', 10, 'Antarctica'),
(10, 'NA', 'AG', 'ATG', 28, 'Antigua and Barbuda'),
(11, 'SA', 'AR', 'ARG', 32, 'Argentina, Argentine Republic'),
(12, 'AS', 'AM', 'ARM', 51, 'Armenia, Republic of'),
(13, 'NA', 'AW', 'ABW', 533, 'Aruba'),
(14, 'OC', 'AU', 'AUS', 36, 'Australia, Commonwealth of'),
(15, 'EU', 'AT', 'AUT', 40, 'Austria, Republic of'),
(16, 'AS', 'AZ', 'AZE', 31, 'Azerbaijan, Republic of'),
(17, 'NA', 'BS', 'BHS', 44, 'Bahamas, Commonwealth of The'),
(18, 'AS', 'BH', 'BHR', 48, 'Bahrain, Kingdom of'),
(19, 'AS', 'BD', 'BGD', 50, 'Bangladesh, People''s Republic of'),
(20, 'NA', 'BB', 'BRB', 52, 'Barbados'),
(21, 'EU', 'BY', 'BLR', 112, 'Belarus, Republic of'),
(22, 'EU', 'BE', 'BEL', 56, 'Belgium, Kingdom of'),
(23, 'NA', 'BZ', 'BLZ', 84, 'Belize'),
(24, 'AF', 'BJ', 'BEN', 204, 'Benin, Republic of'),
(25, 'NA', 'BM', 'BMU', 60, 'Bermuda, Bermuda Islands'),
(26, 'AS', 'BT', 'BTN', 64, 'Bhutan, Kingdom of'),
(27, 'SA', 'BO', 'BOL', 68, 'Bolivia, Plurinational State of Bolivia'),
(28, 'EU', 'BA', 'BIH', 70, 'Bosnia and Herzegovina'),
(29, 'AF', 'BW', 'BWA', 72, 'Botswana, Republic of'),
(30, 'AN', 'BV', 'BVT', 74, 'Bouvet Island'),
(31, 'SA', 'BR', 'BRA', 76, 'Brazil, Federative Republic of'),
(32, 'AS', 'IO', 'IOT', 86, 'British Indian Ocean Territory'),
(33, 'NA', 'VG', 'VGB', 92, 'Virgin Islands (British), British Virgin Islands'),
(34, 'AS', 'BN', 'BRN', 96, 'Brunei Darussalam'),
(35, 'EU', 'BG', 'BGR', 100, 'Bulgaria, Republic of'),
(36, 'AF', 'BF', 'BFA', 854, 'Burkina Faso'),
(37, 'AF', 'BI', 'BDI', 108, 'Burundi, Republic of'),
(38, 'AS', 'KH', 'KHM', 116, 'Cambodia, Kingdom of'),
(39, 'AF', 'CM', 'CMR', 120, 'Cameroon, Republic of'),
(40, 'NA', 'CA', 'CAN', 124, 'Canada'),
(41, 'AF', 'CV', 'CPV', 132, 'Cape Verde, Republic of'),
(42, 'NA', 'KY', 'CYM', 136, 'Cayman Islands, The'),
(43, 'AF', 'CF', 'CAF', 140, 'Central African Republic'),
(44, 'AF', 'TD', 'TCD', 148, 'Chad, Republic of'),
(45, 'SA', 'CL', 'CHL', 152, 'Chile, Republic of'),
(46, 'AS', 'CN', 'CHN', 156, 'China, People''s Republic of'),
(47, 'AS', 'CX', 'CXR', 162, 'Christmas Island'),
(48, 'AS', 'CC', 'CCK', 166, 'Cocos (Keeling) Islands'),
(49, 'SA', 'CO', 'COL', 170, 'Colombia, Republic of'),
(50, 'AF', 'KM', 'COM', 174, 'Comoros, Union of the'),
(51, 'AF', 'CD', 'COD', 180, 'Congo, Democratic Republic of the'),
(52, 'AF', 'CG', 'COG', 178, 'Congo, Republic of the'),
(53, 'OC', 'CK', 'COK', 184, 'Cook Islands'),
(54, 'NA', 'CR', 'CRI', 188, 'Costa Rica, Republic of'),
(55, 'AF', 'CI', 'CIV', 384, 'Cote d''Ivoire (Ivory Coast), Republic of'),
(56, 'EU', 'HR', 'HRV', 191, 'Croatia, Republic of'),
(57, 'NA', 'CU', 'CUB', 192, 'Cuba, Republic of'),
(58, 'AS', 'CY', 'CYP', 196, 'Cyprus, Republic of'),
(59, 'EU', 'CZ', 'CZE', 203, 'Czech Republic'),
(60, 'EU', 'DK', 'DNK', 208, 'Denmark, Kingdom of'),
(61, 'AF', 'DJ', 'DJI', 262, 'Djibouti, Republic of'),
(62, 'NA', 'DM', 'DMA', 212, 'Dominica, Commonwealth of'),
(63, 'NA', 'DO', 'DOM', 214, 'Dominican Republic'),
(64, 'SA', 'EC', 'ECU', 218, 'Ecuador, Republic of'),
(65, 'AF', 'EG', 'EGY', 818, 'Egypt, Arab Republic of'),
(66, 'NA', 'SV', 'SLV', 222, 'El Salvador, Republic of'),
(67, 'AF', 'GQ', 'GNQ', 226, 'Equatorial Guinea, Republic of'),
(68, 'AF', 'ER', 'ERI', 232, 'Eritrea, State of'),
(69, 'EU', 'EE', 'EST', 233, 'Estonia, Republic of'),
(70, 'AF', 'ET', 'ETH', 231, 'Ethiopia, Federal Democratic Republic of'),
(71, 'EU', 'FO', 'FRO', 234, 'Faroe Islands, The'),
(72, 'SA', 'FK', 'FLK', 238, 'Falkland Islands (Malvinas), The'),
(73, 'OC', 'FJ', 'FJI', 242, 'Fiji, Republic of the Fiji'),
(74, 'EU', 'FI', 'FIN', 246, 'Finland, Republic of'),
(75, 'EU', 'FR', 'FRA', 250, 'France, French Republic'),
(76, 'SA', 'GF', 'GUF', 254, 'French Guiana'),
(77, 'OC', 'PF', 'PYF', 258, 'French Polynesia'),
(78, 'AN', 'TF', 'ATF', 260, 'French Southern Territories'),
(79, 'AF', 'GA', 'GAB', 266, 'Gabon, Gabonese Republic'),
(80, 'AF', 'GM', 'GMB', 270, 'Gambia, Republic of The'),
(81, 'AS', 'GE', 'GEO', 268, 'Georgia'),
(82, 'EU', 'DE', 'DEU', 276, 'Germany, Federal Republic of'),
(83, 'AF', 'GH', 'GHA', 288, 'Ghana, Republic of'),
(84, 'EU', 'GI', 'GIB', 292, 'Gibraltar'),
(85, 'EU', 'GR', 'GRC', 300, 'Greece, Hellenic Republic'),
(86, 'NA', 'GL', 'GRL', 304, 'Greenland'),
(87, 'NA', 'GD', 'GRD', 308, 'Grenada'),
(88, 'NA', 'GP', 'GLP', 312, 'Guadeloupe'),
(89, 'OC', 'GU', 'GUM', 316, 'Guam'),
(90, 'NA', 'GT', 'GTM', 320, 'Guatemala, Republic of'),
(91, 'EU', 'GG', 'GGY', 831, 'Guernsey'),
(92, 'AF', 'GN', 'GIN', 324, 'Guinea, Republic of'),
(93, 'AF', 'GW', 'GNB', 624, 'Guinea-Bissau, Republic of'),
(94, 'SA', 'GY', 'GUY', 328, 'Guyana, Co-operative Republic of'),
(95, 'NA', 'HT', 'HTI', 332, 'Haiti, Republic of'),
(96, 'AN', 'HM', 'HMD', 334, 'Heard Island and McDonald Isla'),
(97, 'EU', 'VA', 'VAT', 336, 'Vatican City, State of the Vatican City'),
(98, 'NA', 'HN', 'HND', 340, 'Honduras, Republic of'),
(99, 'AS', 'HK', 'HKG', 344, 'Hong Kong'),
(100, 'EU', 'HU', 'HUN', 348, 'Hungary'),
(101, 'EU', 'IS', 'ISL', 352, 'Iceland, Republic of'),
(102, 'AS', 'IN', 'IND', 356, 'India, Republic of'),
(103, 'AS', 'ID', 'IDN', 360, 'Indonesia, Republic of'),
(104, 'AS', 'IR', 'IRN', 364, 'Iran, Islamic Republic of'),
(105, 'AS', 'IQ', 'IRQ', 368, 'Iraq, Republic of'),
(106, 'EU', 'IE', 'IRL', 372, 'Ireland'),
(107, 'EU', 'IM', 'IMN', 833, 'Isle of Man'),
(108, 'AS', 'IL', 'ISR', 376, 'Israel, State of'),
(109, 'EU', 'IT', 'ITA', 380, 'Italy, Italian Republic'),
(110, 'NA', 'JM', 'JAM', 388, 'Jamaica'),
(111, 'AS', 'JP', 'JPN', 392, 'Japan'),
(112, 'EU', 'JE', 'JEY', 832, 'Jersey, Bailiwick of'),
(113, 'AS', 'JO', 'JOR', 400, 'Jordan, Hashemite Kingdom of'),
(114, 'AS', 'KZ', 'KAZ', 398, 'Kazakhstan, Republic of'),
(115, 'AF', 'KE', 'KEN', 404, 'Kenya, Republic of'),
(116, 'OC', 'KI', 'KIR', 296, 'Kiribati, Republic of'),
(117, 'AS', 'KP', 'PRK', 408, 'North Korea, Democratic People''s Republic of Korea'),
(118, 'AS', 'KR', 'KOR', 410, 'South Korea, Republic of Korea'),
(119, 'AS', 'KW', 'KWT', 414, 'Kuwait, State of'),
(120, 'AS', 'KG', 'KGZ', 417, 'Kyrgyzstan, Kyrgyz Republic'),
(121, 'AS', 'LA', 'LAO', 418, 'Laos, Lao People''s Democratic Republic'),
(122, 'EU', 'LV', 'LVA', 428, 'Latvia, Republic of'),
(123, 'AS', 'LB', 'LBN', 422, 'Lebanon, Republic of'),
(124, 'AF', 'LS', 'LSO', 426, 'Lesotho, Kingdom of'),
(125, 'AF', 'LR', 'LBR', 430, 'Liberia, Republic of'),
(126, 'AF', 'LY', 'LBY', 434, 'Libya'),
(127, 'EU', 'LI', 'LIE', 438, 'Liechtenstein, Principality of'),
(128, 'EU', 'LT', 'LTU', 440, 'Lithuania, Republic of'),
(129, 'EU', 'LU', 'LUX', 442, 'Luxembourg, Grand Duchy of'),
(130, 'AS', 'MO', 'MAC', 446, 'Macao, The Macao Special Administrative Region'),
(131, 'EU', 'MK', 'MKD', 807, 'Macedonia, The Former Yugoslav Republic of'),
(132, 'AF', 'MG', 'MDG', 450, 'Madagascar, Republic of'),
(133, 'AF', 'MW', 'MWI', 454, 'Malawi, Republic of'),
(134, 'AS', 'MY', 'MYS', 458, 'Malaysia'),
(135, 'AS', 'MV', 'MDV', 462, 'Maldives, Republic of'),
(136, 'AF', 'ML', 'MLI', 466, 'Mali, Republic of'),
(137, 'EU', 'MT', 'MLT', 470, 'Malta, Republic of'),
(138, 'OC', 'MH', 'MHL', 584, 'Marshall Islands, Republic of the'),
(139, 'NA', 'MQ', 'MTQ', 474, 'Martinique'),
(140, 'AF', 'MR', 'MRT', 478, 'Mauritania, Islamic Republic of'),
(141, 'AF', 'MU', 'MUS', 480, 'Mauritius, Republic of'),
(142, 'AF', 'YT', 'MYT', 175, 'Mayotte'),
(143, 'NA', 'MX', 'MEX', 484, 'Mexico, United Mexican States'),
(144, 'OC', 'FM', 'FSM', 583, 'Micronesia, Federated States of'),
(145, 'EU', 'MD', 'MDA', 498, 'Moldova, Republic of'),
(146, 'EU', 'MC', 'MCO', 492, 'Monaco, Principality of'),
(147, 'AS', 'MN', 'MNG', 496, 'Mongolia'),
(148, 'EU', 'ME', 'MNE', 499, 'Montenegro'),
(149, 'NA', 'MS', 'MSR', 500, 'Montserrat'),
(150, 'AF', 'MA', 'MAR', 504, 'Morocco, Kingdom of'),
(151, 'AF', 'MZ', 'MOZ', 508, 'Mozambique, Republic of'),
(152, 'AS', 'MM', 'MMR', 104, 'Myanmar (Burma), Republic of the Union of Myanmar'),
(153, 'AF', 'NA', 'NAM', 516, 'Namibia, Republic of'),
(154, 'OC', 'NR', 'NRU', 520, 'Nauru, Republic of'),
(155, 'AS', 'NP', 'NPL', 524, 'Nepal, Federal Democratic Republic of'),
(157, 'EU', 'NL', 'NLD', 528, 'Netherlands, Kingdom of the'),
(158, 'OC', 'NC', 'NCL', 540, 'New Caledonia'),
(159, 'OC', 'NZ', 'NZL', 554, 'New Zealand'),
(160, 'NA', 'NI', 'NIC', 558, 'Nicaragua, Republic of'),
(161, 'AF', 'NE', 'NER', 562, 'Niger, Republic of'),
(162, 'AF', 'NG', 'NGA', 566, 'Nigeria, Federal Republic of'),
(163, 'OC', 'NU', 'NIU', 570, 'Niue'),
(164, 'OC', 'NF', 'NFK', 574, 'Norfolk Island'),
(165, 'OC', 'MP', 'MNP', 580, 'Northern Mariana Islands'),
(166, 'EU', 'NO', 'NOR', 578, 'Norway, Kingdom of'),
(167, 'AS', 'OM', 'OMN', 512, 'Oman, Sultanate of'),
(168, 'AS', 'PK', 'PAK', 586, 'Pakistan, Islamic Republic of'),
(169, 'OC', 'PW', 'PLW', 585, 'Palau, Republic of'),
(170, 'AS', 'PS', 'PSE', 275, 'Palestine, State of Palestine (or Occupied Palestinian Territory)'),
(171, 'NA', 'PA', 'PAN', 591, 'Panama, Republic of'),
(172, 'OC', 'PG', 'PNG', 598, 'Papua New Guinea, Independent State of'),
(173, 'SA', 'PY', 'PRY', 600, 'Paraguay, Republic of'),
(174, 'SA', 'PE', 'PER', 604, 'Peru, Republic of'),
(175, 'AS', 'PH', 'PHL', 608, 'Philippines, Republic of the'),
(176, 'OC', 'PN', 'PCN', 612, 'Pitcairn'),
(177, 'EU', 'PL', 'POL', 616, 'Poland, Republic of'),
(178, 'EU', 'PT', 'PRT', 620, 'Portugal, Portuguese Republic'),
(179, 'NA', 'PR', 'PRI', 630, 'Puerto Rico, Commonwealth of'),
(180, 'AS', 'QA', 'QAT', 634, 'Qatar, State of'),
(181, 'AF', 'RE', 'REU', 638, 'Reunion'),
(182, 'EU', 'RO', 'ROU', 642, 'Romania'),
(183, 'EU', 'RU', 'RUS', 643, 'Russia, Russian Federation'),
(184, 'AF', 'RW', 'RWA', 646, 'Rwanda, Republic of'),
(185, 'NA', 'BL', 'BLM', 652, 'Saint Barthelemy'),
(186, 'AF', 'SH', 'SHN', 654, 'Saint Helena, Ascension and Tristan da Cunha'),
(187, 'NA', 'KN', 'KNA', 659, 'Saint Kitts and Nevis, Federation of Saint Christopher and Nevis'),
(188, 'NA', 'LC', 'LCA', 662, 'Saint Lucia'),
(189, 'NA', 'MF', 'MAF', 663, 'Saint Martin'),
(190, 'NA', 'PM', 'SPM', 666, 'Saint Pierre and Miquelon'),
(191, 'NA', 'VC', 'VCT', 670, 'Saint Vincent and the Grenadines'),
(192, 'OC', 'WS', 'WSM', 882, 'Samoa, Independent State of'),
(193, 'EU', 'SM', 'SMR', 674, 'San Marino, Republic of'),
(194, 'AF', 'ST', 'STP', 678, 'Sao Tome and Principe, Democratic Republic of'),
(195, 'AS', 'SA', 'SAU', 682, 'Saudi Arabia, Kingdom of'),
(196, 'AF', 'SN', 'SEN', 686, 'Senegal, Republic of'),
(197, 'EU', 'RS', 'SRB', 688, 'Serbia, Republic of'),
(198, 'AF', 'SC', 'SYC', 690, 'Seychelles, Republic of'),
(199, 'AF', 'SL', 'SLE', 694, 'Sierra Leone, Republic of'),
(200, 'AS', 'SG', 'SGP', 702, 'Singapore, Republic of'),
(201, 'EU', 'SK', 'SVK', 703, 'Slovakia, Slovak Republic'),
(202, 'EU', 'SI', 'SVN', 705, 'Slovenia, Republic of'),
(203, 'OC', 'SB', 'SLB', 90, 'Solomon Islands'),
(204, 'AF', 'SO', 'SOM', 706, 'Somalia, Somali Republic'),
(205, 'AF', 'ZA', 'ZAF', 710, 'South Africa, Republic of'),
(206, 'AN', 'GS', 'SGS', 239, 'South Georgia and the South Sandwich Islands'),
(207, 'EU', 'ES', 'ESP', 724, 'Spain'),
(208, 'AS', 'LK', 'LKA', 144, 'Sri Lanka, Democratic Socialist Republic of'),
(209, 'AF', 'SD', 'SDN', 736, 'Sudan, Republic of the'),
(210, 'SA', 'SR', 'SUR', 740, 'Suriname, Republic of'),
(211, 'EU', 'SJ', 'SJM', 744, 'Svalbard and Jan Mayen'),
(212, 'AF', 'SZ', 'SWZ', 748, 'Swaziland, Kingdom of'),
(213, 'EU', 'SE', 'SWE', 752, 'Sweden, Kingdom of'),
(214, 'EU', 'CH', 'CHE', 756, 'Switzerland, Swiss Confederation'),
(215, 'AS', 'SY', 'SYR', 760, 'Syria, Syrian Arab Republic'),
(216, 'AS', 'TW', 'TWN', 158, 'Taiwan, Republic of China (Taiwan)'),
(217, 'AS', 'TJ', 'TJK', 762, 'Tajikistan, Republic of'),
(218, 'AF', 'TZ', 'TZA', 834, 'Tanzania, United Republic of'),
(219, 'AS', 'TH', 'THA', 764, 'Thailand, Kingdom of'),
(220, 'AS', 'TL', 'TLS', 626, 'Timor-Leste (East Timor), Democratic Republic of'),
(221, 'AF', 'TG', 'TGO', 768, 'Togo, Togolese Republic'),
(222, 'OC', 'TK', 'TKL', 772, 'Tokelau'),
(223, 'OC', 'TO', 'TON', 776, 'Tonga, Kingdom of'),
(224, 'NA', 'TT', 'TTO', 780, 'Trinidad and Tobago, Republic '),
(225, 'AF', 'TN', 'TUN', 788, 'Tunisia, Republic of'),
(226, 'AS', 'TR', 'TUR', 792, 'Turkey, Republic of'),
(227, 'AS', 'TM', 'TKM', 795, 'Turkmenistan'),
(228, 'NA', 'TC', 'TCA', 796, 'Turks and Caicos Islands'),
(229, 'OC', 'TV', 'TUV', 798, 'Tuvalu'),
(230, 'AF', 'UG', 'UGA', 800, 'Uganda, Republic of'),
(231, 'EU', 'UA', 'UKR', 804, 'Ukraine'),
(232, 'AS', 'AE', 'ARE', 784, 'United Arab Emirates'),
(233, 'EU', 'GB', 'GBR', 826, 'United Kingdom, United Kingdom of Great Britain and Northern Ireland'),
(234, 'NA', 'US', 'USA', 840, 'United States, United States of America'),
(235, 'OC', 'UM', 'UMI', 581, 'United States Minor Outlying Islands'),
(236, 'NA', 'VI', 'VIR', 850, 'Virgin Islands (US), Virgin Islands of the United States'),
(237, 'SA', 'UY', 'URY', 858, 'Uruguay, Eastern Republic of'),
(238, 'AS', 'UZ', 'UZB', 860, 'Uzbekistan, Republic of'),
(239, 'OC', 'VU', 'VUT', 548, 'Vanuatu, Republic of'),
(240, 'SA', 'VE', 'VEN', 862, 'Venezuela, Bolivarian Republic'),
(241, 'AS', 'VN', 'VNM', 704, 'Vietnam, Socialist Republic of'),
(242, 'OC', 'WF', 'WLF', 876, 'Wallis and Futuna'),
(243, 'AF', 'EH', 'ESH', 732, 'Western Sahara'),
(244, 'AS', 'YE', 'YEM', 887, 'Yemen, Republic of'),
(245, 'AF', 'ZM', 'ZMB', 894, 'Zambia, Republic of'),
(246, 'AF', 'ZW', 'ZWE', 716, 'Zimbabwe, Republic of'),
(247, 'NA', 'BQ', 'BES', 535, 'Bonaire, Sint Eustatius and Saba'),
(248, 'NA', 'CW', 'CUW', 531, 'Curacao'),
(249, 'NA', 'SX', 'SXM', 534, 'Sint Maarten'),
(250, 'AF', 'SS', 'SSD', 728, 'South Sudan, Republic of'),
(251, 'EU', 'XK', 'XKX', '', 'Kosovo, Republic of');
INSERT IGNORE INTO `#__jem_categories` (`id`, `parent_id`, `lft`, `rgt`, `level`, `catname`, `alias`, `access`, `published`, `created_time` ) VALUES
(1, 0, 0, 1, 0, 'root', 'root', 1, 1, now());

View File

@ -0,0 +1,44 @@
-- update all JEM table from v.2.3.13 to v.2.3.14 to new JEM version with support Joomla 4
ALTER TABLE #__jem_attachments
MODIFY added datetime NULL DEFAULT null;
ALTER TABLE #__jem_categories
MODIFY description mediumtext NULL DEFAULT null
, MODIFY meta_keywords text NULL DEFAULT null
, MODIFY meta_description text NULL DEFAULT null
, MODIFY checked_out_time datetime NULL DEFAULT null
, MODIFY note varchar(255) NULL DEFAULT null
, MODIFY language varchar(7) NULL DEFAULT null
, MODIFY created_time datetime NOT NULL DEFAULT current_timestamp()
, MODIFY path varchar(255) NULL DEFAULT null
, MODIFY metadata varchar(2048) NULL DEFAULT null
, MODIFY modified_time datetime NULL DEFAULT null
, MODIFY email varchar(200) NULL DEFAULT null;
ALTER TABLE #__jem_cats_event_relations
MODIFY ordering tinyint(11) NOT NULL DEFAULT 0;
ALTER TABLE #__jem_events
MODIFY modified datetime NULL DEFAULT null
, MODIFY created datetime NOT NULL DEFAULT current_timestamp()
, MODIFY meta_keywords varchar(200) NULL DEFAULT null
, MODIFY meta_description varchar(255) NULL DEFAULT null
, MODIFY checked_out_time datetime NULL DEFAULT null
, MODIFY attribs varchar(5120) NOT NULL DEFAULT ''''
, MODIFY language char(7) NOT NULL DEFAULT '''';
ALTER TABLE #__jem_groups
MODIFY description mediumtext NULL DEFAULT null
, MODIFY checked_out_time datetime NULL DEFAULT null;
ALTER TABLE #__jem_venues
MODIFY locdescription mediumtext NULL DEFAULT null
, MODIFY meta_keywords text NULL DEFAULT null
, MODIFY meta_description text NULL DEFAULT null
, MODIFY created datetime NOT NULL DEFAULT current_timestamp()
, MODIFY modified datetime NULL DEFAULT null
, MODIFY checked_out_time datetime NULL DEFAULT null
, MODIFY publish_up datetime NULL DEFAULT null
, MODIFY publish_down datetime NULL DEFAULT null
, MODIFY attribs varchar(5120) NULL DEFAULT null
, MODIFY language char(7) NULL DEFAULT null;

View File

@ -0,0 +1 @@
-- update all JEM table from v.2.3.14 to v.2.3.15 to new JEM version with support Joomla 4

View File

@ -0,0 +1,5 @@
-- update all JEM table from v.2.3.15 to v.2.3.16 to new JEM version with support Joomla 4
UPDATE #__jem_config SET value = 'H:i' WHERE keyname = 'formattime';
UPDATE #__jem_config SET value = 'H' WHERE keyname = 'formathour';
UPDATE #__jem_config SET value = '{"css_backend_usecustom":"0","css_backend_customfile":"","css_calendar_usecustom":"0","css_calendar_customfile":"","css_colorpicker_usecustom":"0","css_colorpicker_customfile":"","css_geostyle_usecustom":"0","css_geostyle_customfile":"","css_googlemap_usecustom":"0","css_googlemap_customfile":"","css_jem_usecustom":"0","css_jem_customfile":"","css_print_usecustom":"0","css_print_customfile":"","css_color_bg_filter":"","css_color_bg_h2":"","css_color_bg_jem":"","css_color_bg_table_th":"","css_color_bg_table_td":"","css_color_bg_table_tr_entry2":"","css_color_bg_table_tr_hover":"","css_color_bg_table_tr_featured":"","css_color_border_filter":"","css_color_border_h2":"","css_color_border_table_th":"","css_color_border_table_td":"","css_color_font_h2":"","css_color_font_table_th":"","css_color_font_table_td":"","css_color_font_table_td_a":""}' WHERE keyname ='css';

View File

@ -0,0 +1,2 @@
-- update all JEM table from v.2.3.16 to v.2.3.17 to new JEM version with support Joomla 4
UPDATE #__jem_config SET value = 'jpg,gif,png,webp' WHERE keyname = 'image_filetypes';

View File

@ -0,0 +1,3 @@
-- insert new config values
ALTER TABLE `#__jem_categories` ADD COLUMN `emailacljl` TINYINT NOT NULL DEFAULT '0' AFTER `email`;
INSERT INTO `#__jem_config` (`keyname`, `value`, `access`) VALUES ('flagicons_path', 'media/com_jem/images/flags/w20-png/', '0');

View File

@ -0,0 +1,5 @@
-- insert new config values
ALTER TABLE `#__jem_events` ADD COLUMN `minbookeduser` INT NOT NULL DEFAULT '0' AFTER `maxplaces`;
ALTER TABLE `#__jem_events` ADD COLUMN `maxbookeduser` INT NOT NULL DEFAULT '1' AFTER `minbookeduser`;
ALTER TABLE `#__jem_events` ADD COLUMN `reservedplaces` INT NOT NULL DEFAULT '1' AFTER `maxbookeduser`;
ALTER TABLE `#__jem_register` ADD COLUMN `places` INT NOT NULL DEFAULT '1' AFTER `uid`;

View File

@ -0,0 +1,33 @@
-- insert new config values
ALTER TABLE `#__jem_events` MODIFY `author_ip` varchar(39);
ALTER TABLE `#__jem_venues` MODIFY `author_ip` varchar(39);
ALTER TABLE `#__jem_events` ADD COLUMN `requestanswer` TINYINT(1) NOT NULL DEFAULT '0' AFTER `waitinglist`;
ALTER TABLE `#__jem_events` MODIFY `recurrence_limit_date` date NULL DEFAULT null;
ALTER TABLE `#__jem_events` MODIFY `checked_out` INT(11) UNSIGNED NULL DEFAULT NULL;
ALTER TABLE `#__jem_venues` MODIFY `checked_out` INT(11) UNSIGNED NULL DEFAULT NULL;
ALTER TABLE `#__jem_categories` MODIFY `checked_out` INT(11) UNSIGNED NULL DEFAULT NULL;
ALTER TABLE `#__jem_groups` MODIFY `checked_out` INT(11) UNSIGNED NULL DEFAULT NULL;
UPDATE `#__jem_categories` SET `modified_time` = null WHERE `modified_time` LIKE '%0000-00-00%';
UPDATE `#__jem_categories` SET `checked_out_time` = null WHERE `checked_out_time` LIKE '%0000-00-00%';
UPDATE `#__jem_categories` SET `created_time` = now() WHERE `created_time` LIKE '%0000-00-00%';
UPDATE `#__jem_events` SET `created` = now() WHERE `created` LIKE '%0000-00-00%';
UPDATE `#__jem_events` SET `modified` = null WHERE `modified` LIKE '%0000-00-00%';
UPDATE `#__jem_events` SET `checked_out_time` = null WHERE `checked_out_time` LIKE '%0000-00-00%';
UPDATE `#__jem_events` SET `recurrence_limit_date` = null WHERE `recurrence_limit_date` LIKE '%0000-00-00%';
UPDATE `#__jem_groups` SET `checked_out_time` = null WHERE `checked_out_time` LIKE '%0000-00-00%';
UPDATE `#__jem_venues` SET `created` = now() WHERE `created` LIKE '%0000-00-00%';
UPDATE `#__jem_venues` SET `modified` = null WHERE `modified` LIKE '%0000-00-00%';
UPDATE `#__jem_venues` SET `checked_out_time` = null WHERE `checked_out_time` LIKE '%0000-00-00%';
UPDATE `#__jem_venues` SET `publish_up` = null WHERE `publish_up` LIKE '%0000-00-00%';
UPDATE `#__jem_venues` SET `publish_down` = null WHERE `publish_down` LIKE '%0000-00-00%';
UPDATE `#__jem_attachments` SET `added` = null WHERE `added` LIKE '%0000-00-00%';
UPDATE `#__jem_events` SET `checked_out` = null WHERE `checked_out` = 0;
UPDATE `#__jem_categories` SET `checked_out` = null WHERE `checked_out` = 0;
UPDATE `#__jem_venues` SET `checked_out` = null WHERE `checked_out` = 0;
UPDATE `#__jem_groups` SET `checked_out` = null WHERE `checked_out` = 0;
UPDATE `#__jem_config` SET `value` = 'H:i' WHERE `keyname` = 'formattime';
UPDATE `#__jem_config` SET `value` = 'H' WHERE `keyname` = 'formathour';
INSERT INTO `#__jem_config` (`keyname`, `value`, `access`) VALUES ('flyer', '0', '0');

View File

@ -0,0 +1,4 @@
-- insert new config values
INSERT INTO `#__jem_config` (`keyname`, `value`, `access`) VALUES ('event_show_venue', '1', '0');
INSERT INTO `#__jem_config` (`keyname`, `value`, `access`) VALUES ('event_show_registration', '1', '0');
INSERT INTO `#__jem_config` (`keyname`, `value`, `access`) VALUES ('event_show_registration_counters', '1', '0');

View File

@ -0,0 +1,11 @@
-- insert new config values
ALTER TABLE `#__jem_attachments` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `#__jem_categories` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `#__jem_cats_event_relations` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `#__jem_config` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `#__jem_countries` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `#__jem_events` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `#__jem_groupmembers` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `#__jem_groups` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `#__jem_register` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `#__jem_venues` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

View File

@ -0,0 +1,2 @@
-- update values
UPDATE `#__extensions` SET `element` = 'jem' WHERE `element` = 'jemquickicon';

View File

@ -0,0 +1,17 @@
-- delete values
DELETE FROM `#__jem_config` WHERE `keyname` = 'recurrence_anticipation';
-- new values
INSERT IGNORE INTO `#__jem_config` (`keyname`, `value`, `access`) VALUES ('recurrence_anticipation_day', '3', '0');
INSERT IGNORE INTO `#__jem_config` (`keyname`, `value`, `access`) VALUES ('recurrence_anticipation_week', '12', '0');
INSERT IGNORE INTO `#__jem_config` (`keyname`, `value`, `access`) VALUES ('recurrence_anticipation_month', '60', '0');
INSERT IGNORE INTO `#__jem_config` (`keyname`, `value`, `access`) VALUES ('recurrence_anticipation_year', '180', '0');
-- change values
ALTER TABLE `#__jem_events` ADD COLUMN `singlebooking` INT(1) NOT NULL DEFAULT '0' AFTER `requestanswer`;
ALTER TABLE `#__jem_events` ADD COLUMN `seriesbooking` INT(1) NOT NULL DEFAULT '0' AFTER `requestanswer`;
-- update values
UPDATE `#__jem_events` SET `recurrence_number` = 7 WHERE `recurrence_number` = 6 AND `recurrence_type` = 4;
UPDATE `#__jem_events` SET `recurrence_number` = 6 WHERE `recurrence_number` = 5 AND `recurrence_type` = 4;
UPDATE `#__jem_config` SET `value` = '15%' WHERE keyname = 'catfrowidth' AND value='';

View File

@ -0,0 +1,12 @@
-- delete values
-- new values
ALTER TABLE `#__jem_events` ADD COLUMN `registra_until` datetime DEFAULT NULL AFTER `registra`;
ALTER TABLE `#__jem_events` ADD COLUMN `registra_from` datetime DEFAULT NULL AFTER `registra`;
ALTER TABLE `#__jem_events` ADD COLUMN `reginvitedonly` INT(1) NOT NULL DEFAULT '0' AFTER `unregistra_until`;
-- change values
ALTER TABLE `#__jem_events` CHANGE `unregistra_until` `unregistra_until` datetime DEFAULT NULL;
-- update values