Editing Memberlist.

Go down

Editing Memberlist.

Post by fAIL gRAMMAR on March 2nd 2012, 10:00 pm

Hello Folks! Hello

So I want to edit my memberlist so that instead of "humour" being listed there, it shows a different profile field (one that is required on registration and was manually made).

I know where in the Template to alter this and what the Profile ID is, which is... "profile_field_13_1" <-- I believe that is correct from reading through the Page Source. bounce

However when I go to change it, it doesn't seem to be working. :l Am I doin something wrong? Here is a code liftout of the lines I changed:

      <th class="thCornerL" nowrap="nowrap" height="25">#</th>
      <th class="thTop" nowrap="nowrap">{L_AVATAR}</th>
      <th class="thTop" nowrap="nowrap">{L_USERNAME}</th>
      <!-- BEGIN switch_th_group -->
      <th class="thTop" nowrap="nowrap">{L_GROUPS}</th>
      <!-- END switch_th_group -->
      <th class="thTop" nowrap="nowrap">{L_profile_field_13_1}</th>
      <th class="thTop" nowrap="nowrap">{L_JOINED}</th>
      <th class="thTop" nowrap="nowrap">{L_VISITED}</th>
      <th class="thTop" nowrap="nowrap">{L_POSTS}</th>
      <th class="thTop" nowrap="nowrap">{L_PM}</th>
      <th class="thCornerR" nowrap="nowrap">{L_WEBSITE}</th>


      <td class="{memberrow.ROW_CLASS}" align="center"><span class="gen"> {memberrow.ROW_NUMBER} </span></td>
      <td class="{memberrow.ROW_CLASS}" align="center"><div class="avatar mini"><a href="{memberrow.U_VIEWPROFILE}">{memberrow.AVATAR_IMG}</a></div></td>
      <td class="{memberrow.ROW_CLASS}" align="center"><span class="gen"><a class="gen" href="{memberrow.U_VIEWPROFILE}">{memberrow.USERNAME}</a></span></td>
      <!-- BEGIN switch_td_group -->
      <td class="{memberrow.ROW_CLASS}" align="center"><span class="gen">{memberrow.GROUPS}</span></td>
      <!-- END switch_td_group -->
      <td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.profile_13_1}</span></td>
      <td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gensmall">{memberrow.JOINED}</span></td>
      <td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gensmall">{memberrow.LASTVISIT}</span></td>
      <td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.POSTS}</span></td>
      <td class="{memberrow.ROW_CLASS}" align="center"> {memberrow.PM_IMG} </td>
      <td class="{memberrow.ROW_CLASS}" align="center"> {memberrow.WWW_IMG} </td>

Thanks a lot if you can clear this up for me as I'm not sure if I'm looking for the wrong ID or if its not possible to add admin-created profile fields to a memberlist. :l



New Member

Male Posts : 19
Reputation : 0
Language : fAYLED iNGLESH :D
Location : Your Closet.


Back to top Go down

Re: Editing Memberlist.

Post by LGforum on March 3rd 2012, 3:24 am

The placeholders in the templates can not be changed as they must be parsed by the template engine server-side. Your custom field doesn't a get parsed and therefor will not change on that page.

Male Posts : 2263
Reputation : 260
Language : English
Location : UK


Back to top Go down

Back to top

Permissions in this forum:
You cannot reply to topics in this forum