The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Editing Memberlist.

View previous topic View next topic Go down

Editing Memberlist.

Post by fAIL gRAMMAR on Fri 2 Mar - 23:00

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:
Spoiler:
Code:

      <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>

and

Spoiler:
Code:
      <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

Cheers,

fAIL gRAMMAR.

fAIL gRAMMAR
New Member

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

http://gopaddict.forumsfree.org/index.htm

Back to top Go down

Re: Editing Memberlist.

Post by LGforum on Sat 3 Mar - 4:24

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.

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

View previous topic View next topic Back to top


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