Archived Boards and Threads... > SMF Feedback and Discussion
I apologize for the absurd question, but...
Arantor:
Yes, most mods will work. Except they need to be removed first before doing the upgrade because with hooks, it's possible things will be left behind that shouldn't be and so on.
It's a complicated, and slightly messy, situation.
Kindred:
hmmmmmm... I thought that the upgrade.php removed installed mods and hooks during the process.... I don't recall removing any mods during my site upgrade.
Arantor:
upgrade.php nukes the installed list but AFAIK it does not clear hooks.
Kindred:
ah...
--- Code: --- echo 'Remove any hooks for the removed mods<br /><br />';
$integrate_columns = array('integrate_actions', 'integrate_admin_areas', 'integrate_bbc_buttons', 'integrate_bbc_codes', 'integrate_core_features', 'integrate_load_permissions', 'integrate_menu_buttons', 'integrate_pre_include', 'integrate_profile_areas');
foreach ($integrate_columns as $column)
$request = $smcFunc['db_query']('', 'DELETE FROM {db_prefix}settings WHERE variable LIKE {string:variable}', array('variable' => $column));
--- End code ---
add this as a php file in your forum directory and run it... that should take care of the hooks
Arantor:
Also send a call to cache_put_data('modsettings', null) while you're at it (or use updateSettings to do it properly)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version