I am working on an extension: https://github.com/phpbb-de/phpbb-ext-tou (branch: 3.2.x) and I have one bug, I cannot solve at the moment, ideas welcome.
When the user is on:
http://www.example.org/app.php/tou/because he opens this link or the extensions forces him to open it and agree to the terms, there is on the right top corner a dropdown-menu to select other languages (if there are at least 2 installed). But if you select another language, the page reloads, but the Terms or Privacy do not change.
How to reproduce:
Use a phpBB 3.2.10 or 3.3.1 with at least two languages available. Activate the extension. Don't use the extension's custom ToU or PP. Go back to the board index with a non-founder-account, you are redirected to
http://www.example.org/app.php/tou/and now you can switch the language on the right top corner or go directly to
Probably helpful files
- Template: https://github.com/phpbb-de/phpbb-ext-t ... _body.html
- Controller: https://github.com/phpbb-de/phpbb-ext-t ... r/main.php
Thanks for your help.
It looks like that the user language is always overwritten by the UCP language, so only the switch is possible for guests. This fact and the lack of benefits for this function led to the case, that i've removed that feature from the extension.