попробовал сменить всем юзерам тему на subsilver запросом
Код: Выделить всё
update ***users set user_style='1' where user_style not in (select themes_id from ***themes)
Добавлено спустя 8 часов 44 минуты 41 секунду:
ну не долбить же техсуппорт

Код: Выделить всё
update ***users set user_style='1' where user_style not in (select themes_id from ***themes)
Код: Выделить всё
$sql = "DELETE FROM " . THEMES_TABLE . "
WHERE themes_id = $style_id";
$sql = "DELETE FROM " . THEMES_NAME_TABLE . "
WHERE themes_id = $style_id";
$sql = "UPDATE " . USERS_TABLE . "
SET user_style = " . $board_config['default_style'] . "
WHERE user_style = $style_id";
Код: Выделить всё
UPDATE phpbb_users SET user_style = 1 WHERE user_style <> 1