This section contains detailed articles elaborating on some of the common issues phpBB users encounter while using the product. Articles submitted by members of the community are checked for accuracy by the relevant phpBB Team. If you do not find the answer to your question here, we recommend looking through the Support Section as well as using the Site Wide Search.

Disable Language Selection

Description: This option will hide the Language choosing in UCP and Register form.

In Categories:

Link to this article: Select All
[url=https://www.phpbb.com/support/docs/en/3.0/kb/article/disable-language-selection/]Knowledge Base - Disable Language Selection[/url]

Open styles/prosilver/template/ucp_prefs_personal.html
Find and delete

Code: Select all

<dl>
   <dt><label for="lang">{L_BOARD_LANGUAGE}:</label></dt>
   <dd><select name="lang" id="lang">{S_LANG_OPTIONS}</select></dd>
</dl>

Open styles/prosilver/template/ucp_register.html
Find and delete

Code: Select all

<dl>
   <dt><label for="lang">{L_LANGUAGE}:</label></dt>
   <dd><select name="lang" id="lang" onchange="change_language(this.value); return false;" tabindex="6" title="{L_LANGUAGE}">{S_LANG_OPTIONS}</select></dd>
</dl>

Make sure you refresh your template / clear the cache.