Set default theme in PHPBB3, explain impact in docs

The default theme in PHPBB3 needs to be set or users cannot see the forum, this is needed because AA creates users without a theme set.

Docs explain impact and how to avoid when changing theme later on.
This commit is contained in:
soratidus999 2018-11-15 17:45:33 +10:00
parent d429c8b59a
commit 8dee61fd39

View File

@ -144,5 +144,15 @@ You can allow members to overwrite the portrait with a custom image if desired.
![location of change avatar setting](/_static/images/installation/services/phpbb3/avatar_permissions.png) ![location of change avatar setting](/_static/images/installation/services/phpbb3/avatar_permissions.png)
## Setting the default theme
Users generated via Alliance Auth do not have a default theme set. You will need to set this on the phpbb_users table in SQL
mysql -u root -p
use alliance_forum;
alter table phpbb_users change user_style user_style int not null default 1
If you would like to use a theme that is NOT prosilver or theme "1". You will need to deactivate prosilver, this will then fall over to the set forum wide default.
### Prepare Auth ### Prepare Auth
Once settings have been configured, run migrations and restart Gunicorn and Celery. Once settings have been configured, run migrations and restart Gunicorn and Celery.