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

[Template] viewtopic_body_post_author_before/after

    Details

    • Type: Improvement
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.2
    • Fix Version/s: 3.1.3-RC1
    • Component/s: Events
    • Labels:
      None

      Description

      I'm developing an extension that adds template data before and after the username in viewtopic_body.html. To achieve this, new events need created. This will allow extension authors to add, for example, images to indicate something special about the username (i.e. an image for administrators, etc).

      Location in prosilver (as of 3.1.2): Line 140
      <!-- IF not postrow.U_POST_AUTHOR --><strong>

      {postrow.POST_AUTHOR_FULL}</strong><!-- ELSE -->{postrow.POST_AUTHOR_FULL}

      <!-- ENDIF -->
      Location in subsilver2 (as of 3.1.2): Line 166
      <b class="postauthor"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color:

      {postrow.POST_AUTHOR_COLOUR}

      "<!-- ENDIF -->>

      {postrow.POST_AUTHOR}

      </b>

      Discussion topic: https://area51.phpbb.com/phpBB/viewtopic.php?f=111&t=46549

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development