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

[Template] viewtopic_body_post_author_before/after

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.3-RC1
    • 3.1.2
    • Events
    • None

      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

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

              Created:
              Updated:
              Resolved: