[TIP/TRICK] How to show Custom Profile Fields in the Members List (with mod

Started by thezkitten, June 09, 2009, 04:55:58 PM

Previous topic - Next topic

rpd1960

It works  ;D

I knew it had to be one of my mistakes  ::)

Thank You very much  ;)

valkyrja

I tried this one in the version 2.0 and it works perfectly, my problem is that the image I want to show depends of the user's choice and as I am a very begginer in php I dont really find how to do it.
My code is this:

<td class="windowbg" align="center">', $member['options']['cust_soy'] ,'&nbsp;', $member['options']['cust_quebus'] ,'&nbsp;', $member['options']['cust_3'], '</td>


where: cust_soy, cust_quebus and cust_3 are my custom fields and right now what is showing is the text, I would like to show the image; I tried to use

for ex, for the cust_field
<td class="windowbg2">', !empty($member['options']['cust_soy']) != '' ? '<a href="' . $member['options']['cust_soy'] . '" target="_blank"><img src="myweburl/{INPUT}.png"></a>' : '', '</td>

but the image doesn't show.

Does anyone has the idea what am I doing wrong? Thanks!

Advertisement: