Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-9758

Make users avatar available to the template

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.0-b3
    • 3.1.0-a3
    • Styles

      Current available global avatar template variables are:

      T_AVATAR_PATH
      T_AVATAR_GALLERY_PATH

      My question is. Where is the current avatar variable? For example:

      T_CURRENT_USER_AVATAR

      There should be a template variable to display user avatar anywhere on the forum. Not only in the post view or UCP.

      It would be very useful for template developers to have AVATAR variable enabled by default on ALL pages and subpages.
      We can then create navigation panels with avatar displayed, memberlists with small avatars and a lot of other possibilities. It would be very nice improvement.

      I know that can be done easily by installing mods, or modifying a bit php files, even including short php code. Thing is that you can't do that if you want to have your template validated.

      I hope that you guys really take care for that small improvement. It will make life of the template developers a lot easier.

            nickvergessen Joas Schilling
            hexplor hexplor [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: