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.

No avatars when disabling "avatars uploading"

Description: When you disable the avatars uploading form machine or from a link to your server option,all the avatars that have already been uploaded,don't show anymore. Solution is here.

In Categories:

Link to this article: Select All
[url=]Knowledge Base - No avatars when disabling "avatars uploading"[/url]

When you disable avatar uploading or remote avatars in the ACP, all of the existing avatars will no longer be visible.

In order to fix this, please follow the instructions below.

Open: /includes/functions_display.php

Find and remove:

Code: Select all

         if (!$config['allow_avatar_upload'] && !$ignore_config)
            return '';

Please make sure you save a backup before you edit, as well as read the following article:
[kb=phpbb3-and-utf-8-without-bom]phpBB3 and UTF-8 without BOM[/kb]

After this edit is made, the existing avatars will be visible after you disable the above mentioned options in the ACP

Slightly re-written, as well as spelling fixes - Sinom