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

Make users avatar available to the template

    Details

    • Type: Improvement
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-a3
    • Fix Version/s: 3.1.0-b3
    • Component/s: Styles
    • Labels:

      Description

      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.

        Issue Links

          Activity

          Hide
          hexplor hexplor added a comment -

          I think that code might be useful.

          Show
          hexplor hexplor added a comment - I think that code might be useful.
          Hide
          A_Jelly_Doughnut A_Jelly_Doughnut added a comment -

          That patch was against phpBB2 and is irrelevant here.

          Show
          A_Jelly_Doughnut A_Jelly_Doughnut added a comment - That patch was against phpBB2 and is irrelevant here.
          Hide
          Crizzo Crizzo added a comment -

          New patch to develop!

          Show
          Crizzo Crizzo added a comment - New patch to develop!

            People

            • Assignee:
              nickvergessen Joas Schilling
              Reporter:
              hexplor hexplor
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development