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

[Template] viewtopic_body_post_author_before/after

    XMLWordPrintable

Details

    • Improvement
    • Status: Unverified Fix (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.1.2
    • 3.1.3-RC1
    • Events
    • 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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: