phpBB Gallery - Bug tracker

Don't display custom fields (new)

 

The problem that I have the custom fields is not showing in viewimage

This is the code on viewimage_body.html

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

         <!-- BEGIN custom_fields -->
            <dd><strong>{custom_fields.PROFILE_FIELD_NAME}:</strong> {custom_fields.PROFILE_FIELD_VALUE}</dd>
         <!-- END custom_fields -->


And

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

            <!-- BEGIN custom_fields -->
               <dd><strong>{commentrow.custom_fields.PROFILE_FIELD_NAME}:</strong> {commentrow.custom_fields.PROFILE_FIELD_VALUE}</dd>
            <!-- END custom_fields -->


http://www.imprime-recorta-pega.com/gal ... ge_id=1581

I left you a link to one image where my Profile appear, because I'm the only one who have a custom field. The style that I have is an ProsilverSE based style, so it does not needed to be edited.

I upgraded from 1.0.4

Thank you

Comments

Posted by nickvergessen » Mon Dec 12, 2011 7:01 pm

As this needs some big changes I'm putting it to 1.2-A1 right now.

Ticket details