Log in

View Full Version : Checkbox profile fields (Showing in a thread makes it show '118' or '3' instead...)


toonysnn
07-23-2007, 08:22 PM
I'm working on a custom skin for my friends site and I don't know how to get the numbers to turn into words (The text set for it via ACP) instead so that people won't have to have a guide to what number is what.

I think I know a way of fixing it but it would take a lot of extra code using if's, anyone have a shorter method?
Thanks.
SNN

<fieldset class="fieldset">
<legend><B>Custom Profile Fields</b></legend>
<div class=smallfont>
<B>Games I play</b>:
$post[field5] (This is the code that shows '118' or '3')
<if condition="$post[field6]"><BR>
<B>Shout outs</B>:
$post[field6]</if>
<if condition="$post[field7]"><BR>
<B>Character Name(s)</B>: $post[field7]</if>
</div>
</fieldset>