Skip to content

[2.1 & 3.0]: User/admin cannot change use_image_buttons theme setting #9068

@sbulen

Description

@sbulen

Basic Information

This setting has been around a while. It is set in the installer. The upgrader might set it - when upgrading to version 1.0, it is converted from a YaBBSE system setting to a theme setting.

But I cannot find where to set it within the app.

Interestingly, it only needs to be set once, as a default, and all themes use the setting.

This setting determines whether the profile icons (e.g., for websites) are displayed as images (e.g., little globes) or as text (e.g., "WWW"):

<li><a href="', $message['member']['website']['url'], '" title="' . $message['member']['website']['title'] . '" target="_blank" rel="noopener">', (Theme::$current->settings['use_image_buttons'] ? '<span class="main_icons www centericon" title="' . $message['member']['website']['title'] . '"></span>' : Lang::getTxt('www', file: 'General')), '</a></li>';

It's possible I missed something, but I cannot find a place to set or change this setting if it is somehow missing or incorrect.

More here:
https://www.simplemachines.org/community/index.php?msg=4197066

Image

This is very minor. Possibly not a priority for 2.1.x.

Steps to reproduce

  1. Try to update the use_image_buttons theme setting.

Expected result

The ability edit it under the "Current Theme" or possibly the "Member Options" screen in the admin panel.

Actual result

Not found

Version/Git revision

3.0 current & 2.1 current

Database Engine

All

Database Version

8.4.4

PHP Version

8.4.5

Logs

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions