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

memberlist_view.html: including admin defined profile fields doesnt work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0.11-RC1
    • 3.0.10
    • None
    • MySQL(i) 5.1.33; PHP 5.3.8
      prosilver

      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.

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

              Created:
              Updated:
              Resolved: