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

memberlist_view.html: including admin defined profile fields doesnt work

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.10
    • Fix Version/s: 3.0.11-RC1
    • Labels:
      None
    • Environment:
      MySQL(i) 5.1.33; PHP 5.3.8
      prosilver

      Description

      I tried to include admin defined profile fields into the memberlist_view.html like i did in viewtopic_body.html (there it works). Although i followed this advice:

       <!-- IF S_PROFILE_FIELD1 -->
      			<!-- NOTE: Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
      			<dt>{postrow.PROFILE_FIELD1_NAME}:</dt> <dd>{postrow.PROFILE_FIELD1_VALUE}</dd>
      		<!-- ENDIF -->

      and created my own code like this:

       <!-- IF S_PROFILE_OWNTITLE -->
      			<dt>{postrow.PROFILE_OWNTITLE_NAME}:</dt> <dd>{postrow.PROFILE_OWNTITLE_VALUE}</dd>
      			<!-- ENDIF -->

      It just does not appear on the page. Of course I allowed the style in the ACP to use those defined custom-fields.

        Attachments

          Activity

            People

            • Assignee:
              nickvergessen Joas Schilling
              Reporter:
              blackhawk.87 blackhawk.87
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: