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

Add new event to: ucp_pm_viewmessage.html

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0.0-a1, 3.3.16-RC1
    • 3.3.16-RC1
    • None
    • None

      In the message field in viewmessage there is an event missing to hook into.

       

      Add new event to: ucp_pm_viewmessage.html

      Search:

       

             <p class="author">
                  <strong>{{ lang('SENT_AT') }}{{ lang('COLON') }}</strong> {{ SENT_DATE }}
                  <br /><strong>{{ lang('PM_FROM') }}{{ lang('COLON') }}</strong> {{ MESSAGE_AUTHOR_FULL }}
                  {% if S_TO_RECIPIENT %}<br /><strong>{{ lang('TO') }}{{ lang('COLON') }}</strong> {% for to_recipient in loops.to_recipient %}
      {% if to_recipient.NAME_FULL %}
      {{ to_recipient.NAME_FULL }}{% else %}<a href="{{ to_recipient.U_VIEW }}"{% if to_recipient.COLOUR %} style="color:{{ to_recipient.COLOUR }};"{% endif %}><strong>{{ to_recipient.NAME }}</strong></a>{% endif %} {% endfor %}
      {% endif %}
                  {% if S_BCC_RECIPIENT %}<br /><strong>{{ lang('BCC') }}{{ lang('COLON') }}</strong> {% for bcc_recipient in loops.bcc_recipient %}{% if bcc_recipient.NAME_FULL %}{{ bcc_recipient.NAME_FULL }}{% else %}<a href="{{ bcc_recipient.U_VIEW }}"{% if bcc_recipient.COLOUR %} style="color:{{ bcc_recipient.COLOUR }};"{% endif %}><strong>{{ bcc_recipient.NAME }}</strong></a>{% endif %} {% endfor %}{% endif %}
       
              </p>
       
      

       

      place below on a new line:

      <!-- EVENT ucp_pm_viewmessage_content_before -->

            Marc Marc
            bennybernaer bennybernaer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: