Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-9807

Avatar tab displays when avatars are disabled

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.7-PL1
    • Fix Version/s: 3.0.8-RC1
    • Labels:
      None

      Description

      When you go to the UCP while avatars are disabled (default setting), the avatar tab will still display. When navigating to it, it will tell you that the feature has been disabled. This is awful for usability.

        Activity

        Hide
        igorw Igor Wiedler [X] (Inactive) added a comment -

        Not sure if this should be added to database_update.php as well, opinions?

        Show
        igorw Igor Wiedler [X] (Inactive) added a comment - Not sure if this should be added to database_update.php as well, opinions?
        Hide
        nickvergessen Joas Schilling added a comment -

        yes, that needs to go into the database_update.php aswell, to update already existing modules...

        Or we add it in the ucp.php just like

        // Do not display subscribed topics/forums if not allowed
        if (!$config['allow_topic_notify'] && !$config['allow_forum_notify'])
        {
            $module->set_display('main', 'subscribed', false);
        }

        Show
        nickvergessen Joas Schilling added a comment - yes, that needs to go into the database_update.php aswell, to update already existing modules... Or we add it in the ucp.php just like // Do not display subscribed topics/forums if not allowed if (!$config['allow_topic_notify'] && !$config['allow_forum_notify']) { $module->set_display('main', 'subscribed', false); }
        Hide
        igorw Igor Wiedler [X] (Inactive) added a comment -

        Added changes to database_update, still needs testing.

        Show
        igorw Igor Wiedler [X] (Inactive) added a comment - Added changes to database_update, still needs testing.
        Hide
        igorw Igor Wiedler [X] (Inactive) added a comment -

        And works.

        Show
        igorw Igor Wiedler [X] (Inactive) added a comment - And works.
        Hide
        RMcGirr83 Rich McGirr added a comment -

        Fix is verified

        Show
        RMcGirr83 Rich McGirr added a comment - Fix is verified

          People

          • Assignee:
            igorw Igor Wiedler [X] (Inactive)
            Reporter:
            igorw Igor Wiedler [X] (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development