loop
statement just below it, looping through all the custom fields aswell and displaying them.
Code: Select all
<!-- EVENT viewtopic_body_postrow_custom_fields_before -->
<!-- BEGIN custom_fields -->
<!-- IF not postrow.custom_fields.S_PROFILE_CONTACT -->
<dd class="profile-custom-field profile-{postrow.custom_fields.PROFILE_FIELD_IDENT}"><strong>{postrow.custom_fields.PROFILE_FIELD_NAME}{L_COLON}</strong> {postrow.custom_fields.PROFILE_FIELD_VALUE}</dd>
<!-- ENDIF -->
<!-- END custom_fields -->
<!-- EVENT viewtopic_body_postrow_custom_fields_after -->
Code: Select all
<!-- IF postrow.S_PROFILE_PHPBB_LOCATION -->
<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
<dd><strong><i class="fa fa-location-arrow" aria-hidden="true"></i> {postrow.PROFILE_PHPBB_LOCATION_NAME}{L_COLON}</strong> {postrow.PROFILE_PHPBB_LOCATION_VALUE}</dd>
<!-- ENDIF -->
<!-- IF postrow.S_PROFILE_REPUTATIE -->
<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
<dd><strong><i class="fa fa-shield" aria-hidden="true"></i> {postrow.PROFILE_REPUTATIE_NAME}{L_COLON}</strong> {postrow.PROFILE_REPUTATIE_VALUE}</dd>
<!-- ENDIF -->
<!-- IF postrow.S_PROFILE_STATUS -->
<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
<dd><strong><i class="fa fa-text-height fa-fw" aria-hidden="true"></i> {postrow.PROFILE_STATUS_NAME}{L_COLON}</strong> {postrow.PROFILE_STATUS_VALUE}</dd>
<!-- ENDIF -->
<!-- IF postrow.S_PROFILE_SERVERMETIN -->
<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
<dd><strong><i class="fa fa-server fa-fw" aria-hidden="true"></i> {postrow.PROFILE_SERVERMETIN_NAME}{L_COLON}</strong> {postrow.PROFILE_SERVERMETIN_VALUE}</dd>
<!-- ENDIF -->
<!-- IF postrow.S_PROFILE_REGAT -->
<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
<dd><strong><i class="fa fa-flag" aria-hidden="true"></i> {postrow.PROFILE_REGAT_NAME}{L_COLON}</strong> {postrow.PROFILE_REGAT_VALUE}</dd>
<!-- ENDIF -->
<!-- EVENT viewtopic_body_postrow_custom_fields_before -->
<!-- BEGIN custom_fields -->
<!-- IF not postrow.S_PROFILE_PHPBB_LOCATION or not postrow.S_PROFILE_REPUTATIE or not postrow.S_PROFILE_STATUS or not postrow.S_PROFILE_SERVERMETIN or not postrow.S_PROFILE_REGAT -->
<dd class="profile-custom-field profile-{postrow.custom_fields.PROFILE_FIELD_IDENT}"><strong>{postrow.custom_fields.PROFILE_FIELD_NAME}{L_COLON}</strong> {postrow.custom_fields.PROFILE_FIELD_VALUE}</dd>
<!-- ENDIF -->
<!-- END custom_fields -->
<!-- EVENT viewtopic_body_postrow_custom_fields_after -->
And how can I do that?
Code: Select all
<!-- IF postrow.S_PROFILE_PHPBB_LOCATION -->
<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
<dd><strong><i class="fa fa-location-arrow" aria-hidden="true"></i> {postrow.PROFILE_PHPBB_LOCATION_NAME}{L_COLON}</strong> {postrow.PROFILE_PHPBB_LOCATION_VALUE}</dd>
<!-- ENDIF -->
<!-- IF postrow.S_PROFILE_REPUTATIE -->
<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
<dd><strong><i class="fa fa-shield" aria-hidden="true"></i> {postrow.PROFILE_REPUTATIE_NAME}{L_COLON}</strong> {postrow.PROFILE_REPUTATIE_VALUE}</dd>
<!-- ENDIF -->
<!-- IF postrow.S_PROFILE_STATUS -->
<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
<dd><strong><i class="fa fa-text-height fa-fw" aria-hidden="true"></i> {postrow.PROFILE_STATUS_NAME}{L_COLON}</strong> {postrow.PROFILE_STATUS_VALUE}</dd>
<!-- ENDIF -->
<!-- IF postrow.S_PROFILE_SERVERMETIN -->
<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
<dd><strong><i class="fa fa-server fa-fw" aria-hidden="true"></i> {postrow.PROFILE_SERVERMETIN_NAME}{L_COLON}</strong> {postrow.PROFILE_SERVERMETIN_VALUE}</dd>
<!-- ENDIF -->
<!-- IF postrow.S_PROFILE_REGAT -->
<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
<dd><strong><i class="fa fa-flag" aria-hidden="true"></i> {postrow.PROFILE_REGAT_NAME}{L_COLON}</strong> {postrow.PROFILE_REGAT_VALUE}</dd>
<!-- ENDIF -->
<!-- EVENT viewtopic_body_postrow_custom_fields_before -->
<!-- BEGIN custom_fields -->
<!-- IF not postrow.custom_fields.S_PROFILE_PHPBB_LOCATION or not postrow.custom_fields.S_PROFILE_REPUTATIE or not postrow.custom_fields.S_PROFILE_STATUS or not postrow.custom_fields.S_PROFILE_SERVERMETIN or not postrow.custom_fields.S_PROFILE_REGAT -->
<dd class="profile-custom-field profile-{postrow.custom_fields.PROFILE_FIELD_IDENT}"><strong>{postrow.custom_fields.PROFILE_FIELD_NAME}{L_COLON}</strong> {postrow.custom_fields.PROFILE_FIELD_VALUE}</dd>
<!-- ENDIF -->
<!-- END custom_fields -->
<!-- EVENT viewtopic_body_postrow_custom_fields_after -->