Hedorah64 wrote: ↑Fri Nov 06, 2020 6:42 pm
...
Anyway, my work around is just to change the name of the style to "prosilver" whenever I need to install a style (having the custom name in ACP doesn't seem to impact already installed styles, just trying to install a new one based on prosilver).
Before trying the following take a backup (of at least the styles_table)
For 3.1.x you could empty the styles_table and then run this sql (change phpbb_ if you're using another prefix)
Code: Select all
INSERT INTO `phpbb_styles` (`style_id`, `style_name`, `style_copyright`, `style_active`, `style_path`, `bbcode_bitfield`, `style_parent_id`, `style_parent_tree`) VALUES (NULL, 'prosilver', '© phpBB Limited', '1', 'prosilver', 'kNg=', '0', '')
For 3.3 it would be:
Code: Select all
INSERT INTO `phpbb_styles` (`style_id`, `style_name`, `style_copyright`, `style_active`, `style_path`, `bbcode_bitfield`, `style_parent_id`, `style_parent_tree`) VALUES (NULL, 'prosilver', '© phpBB Limited', '1', 'prosilver', '//g=', '0', '')
The point of the above = to fill the styles_table with data as if it where a clean installation.
In the config_table , make sure (edit if necessary) that the default style =
1
>>> (which is now prosilver)
In the users_table: set style to
1
for all users (to get rid of any other numbers which are not installed)..
Clear board cache, and after confirming that your board functions properly, install new styles if you want and let you users change their style if they want to (don't bother with doing yourself that for your users).