This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| joomla:j38mig [2019/04/01 00:01] – [Bethico Component] Bernard Condrau | joomla:j38mig [2026/09/21 11:12] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Migration ====== | ||
| - | Before starting to migrate, make sure that table %%# | ||
| - | ===== Users ===== | ||
| - | - Make sure the first user id (Super User) of the new site is identical to the one of the old site. See [[joomla: | ||
| - | - Select "Users -> Users" in SPupgrade and select " | ||
| - | - User Groups will not be assigned during or after the transfer automatically, | ||
| - | - Within the core, go to //Users -> Manage//, then click on every user's name, select tab " | ||
| - | - Within Bethico League, go to // | ||
| - | ===== Articles ===== | ||
| - | - Create categories in new site first | ||
| - | - Select " | ||
| - | - Open mysql on the command line, select the old site db< | ||
| - | use db</ | ||
| - | - Run the following query and copy the result into the brackets of the IN-statement of the query to be run on the new site db (through phpMyAdmin)< | ||
| - | UPDATE ipl_content SET catid=11 WHERE id IN ()</ | ||
| - | - catid' | ||
| - | - Repeat for all categories | ||
| - | - Run the UPDATE query for all remaining catid' | ||
| - | - Go to the Category manager, Select all categories and click the rebuild button. | ||
| - | - Open all categories and save them, this will insert the appropriate assets tables associations for all categories. | ||
| - | ==== Categories ==== | ||
| - | ^ Category ^ Joomla 1.5 ^ Joomla 3.9 ^ | ||
| - | | News | 1 | 10 | | ||
| - | | Announcements | 2 | 11 | | ||
| - | | Info | 3 | 12 | | ||
| - | | Meeting | 4 | 13 | | ||
| - | | Hall of fame | 6 | 14 | | ||
| - | | About | 7 | 15 | | ||
| - | | Uncategorized | ? | 2 | | ||
| - | |||
| - | ===== Featured Articles ===== | ||
| - | - Choose the Menu Item which contains the Featured Articles. Go to the " | ||
| - | - In item " | ||
| - | - In item " | ||
| - | [[http:// | ||
| - | |||
| - | ===== Forum ===== | ||
| - | We migrate CCB Forum to Kunena Forum. CCB was not very popular, there exist no migration tools, however I found that the people who developed Kunena must have taken CCB as a basis for the development. Too many field names and structure are identical, so the task is doable without developing a complicated migration tool. | ||
| - | |||
| - | ==== Prepare categories ==== | ||
| - | - Table %%# | ||
| - | - Set up Kunena forum in the new site with all desired sections and categories. Take a note on the category ids. | ||
| - | |||
| - | ==== Migrate topics ==== | ||
| - | - Copy table %%# | ||
| - | - Update all //old// forum ids with the //new// category ids for Kunena< | ||
| - | - Dump the table | ||
| - | - Modify the INSERT INTO statement from the first line to the second line below< | ||
| - | INSERT INTO `# | ||
| - | - Import the resulting file into %%# | ||
| - | - Delete the dummy field contents. They were needed to copy fields from CCB which are not used in Kunena.< | ||
| - | UPDATE `# | ||
| - | UPDATE `# | ||
| - | |||
| - | ==== Migrate posts ==== | ||
| - | - Copy table %%# | ||
| - | - Update all //old// forum ids with the //new// category ids for Kunena< | ||
| - | - Remove column post_text from %%# | ||
| - | - Remove all columns but id and post_text from %%# | ||
| - | - Modify the INSERT INTO statement from the first line to the second line below< | ||
| - | INSERT INTO `ipl_kunena_messages` (`id`, `thread`, `catid`, `subject`, `userid`, `time`, `ip`, `hold`, `modified_by`, | ||
| - | - Import the resulting file into %%# | ||
| - | - Modify the INSERT INTO statement from the first line to the second line below< | ||
| - | INSERT INTO `ipl_kunena_messages_text` (`mesid`, `message`) VALUES</ | ||
| - | - Replace all \r\n: Replace **\\r\\n** with **\r\n**. Finally, select search mode Extended (\r, \n, \t, \x..., \0) and click " | ||
| - | - Sanitize all <tr ...> with Regex: Replace **%%(?< | ||
| - | - Sanitize all <span ...> with Regex: Replace **%%(?< | ||
| - | - Sanitize all <table ...> with Regex: Replace **%%(?< | ||
| - | - Sanitize all <p ...> with Regex: Replace **%%(?< | ||
| - | - Sanitize all <th ...> with Regex: Replace **%%(?< | ||
| - | - Sanitize all <td ...> with Regex: Replace **%%(?< | ||
| - | - Sanitize all <font ...> with Regex: Replace **%%(?< | ||
| - | - Sanitize all <br ...> with Regex: Replace **%%(?< | ||
| - | - Replace all tags, including <tr>, <th>, <td>, <b>, <i>, <u>, < | ||
| - | - Remove unused tags, including <p>, <em>, <h1>, <h2>, <h3>, <h4>, <h5>, <h6> | ||
| - | - Replace all html entities, including > & | ||
| - | - Search for all remaining < and manually replace those | ||
| - | - Import the resulting file into %%# | ||
| - | |||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | |||
| - | ==== Update stats ==== | ||
| - | - Query table %%# | ||
| - | - Find the latest post in %%# | ||
| - | - Update %%# | ||
| - | ==== Attachments ==== | ||
| - | ===== Bethico Component ===== | ||
| - | |||
| - | To migrate the betico league tables, export them according to the table below from the old db, then import into the new db. Not all tables need to be transferred, | ||
| - | ^ table name 1.5 ^ table name 3.9 ^ modifications ^ multi-league\\ unified ratings ^ multi-league\\ separate ratings ^ | ||
| - | | ipl_ipl_access | // | ||
| - | | ipl_ipl_arbitrary | btc_bethico_arbitrary | | | ||
| - | | ipl_ipl_bar | btc_bethico_bar | | view | view | | ||
| - | | ipl_ipl_brackets | btc_bethico_brackets | | | ||
| - | | //new// | btc_bethico_calc_config | | | ||
| - | | //new// | btc_bethico_calc_points | | | ||
| - | | ipl_ipl_comment | btc_bethico_comment | | | ||
| - | | ipl_ipl_config | btc_bethico_config | dart_league -> league\\ file_suffix -> league_code | | ||
| - | | ipl_ipl_contactus | btc_bethico_contactus | | | ||
| - | | ipl_ipl_date | btc_bethico_date | | view | view | | ||
| - | | ipl_ipl_division | btc_bethico_division | | | ||
| - | | //new// | btc_bethico_function | | | ||
| - | | ipl_ipl_forum | // | ||
| - | | ipl_ipl_game | btc_bethico_game | | view | | | ||
| - | | ipl_ipl_league | btc_bethico_league | | | ||
| - | | ipl_ipl_map | btc_bethico_map | | view | view | | ||
| - | | ipl_ipl_marks | btc_bethico_marks | | | ||
| - | | ipl_ipl_match | btc_bethico_match | | view | | | ||
| - | | ipl_ipl_menu | // | ||
| - | | ipl_ipl_olddb_player | btc_bethico_olddb_player | | | ||
| - | | ipl_ipl_olddb_team | btc_bethico_olddb_team | | | ||
| - | | ipl_ipl_player | btc_bethico_player | new: function_id | view | view | | ||
| - | | ipl_ipl_player_game | btc_bethico_player_game | | view | | | ||
| - | | ipl_ipl_player_team_season | btc_bethico_player_team_season | | | ||
| - | | ipl_ipl_playoff | btc_bethico_playoff | | | ||
| - | | ipl_ipl_season | btc_bethico_season | | view | view | | ||
| - | | ipl_ipl_site | btc_bethico_site | | view | | ||
| - | | ipl_ipl_team | btc_bethico_team | | | ||
| - | | ipl_ipl_team_season | btc_bethico_team_season | new: captain_id | | ||
| - | | ipl_ipl_tournament | btc_bethico_tournament | | view | | | ||
| - | | ipl_users | ipl_users | | view | view | | ||
| - | | ipl_session | ||
| - | | ipl_stats_agents | ||
| - | | ipl_core_acl_aro | ||
| - | | ipl_core_acl_aro_groups | ||
| - | | ipl_core_acl_aro_map | ||
| - | | ipl_core_acl_aro_sections | ||
| - | | ipl_core_acl_groups_aro_map | ||
| - | |||
| - | * [[https:// | ||
| - | |||
| - | ===== Trouble Shooting ===== | ||
| - | * [[https:// | ||