PDA

View Full Version : How?


assassingod
11-11-2002, 05:32 PM
How would I come accross to editing certain fields in the 'Additional Information' area in your usercp (editing Profile)

I want to edit the HTML code for Biography and Interest's. I tried search for specific templates (register_customfields etc.) but none seem to be able to change this. My last option was to edit member.php to see if I can change something there. No luck

Anyone got any ideas?

N!ck
11-11-2002, 07:52 PM
i'd install Logician's conditionals hack and do something like this in your register_customfields template:


[[($profilefield[profilefieldid]!=xx)]]
<tr>
<td bgcolor="$bgcolor"><normalfont><b>$profilefield[title]:</b></normalfont><br>
<smallfont>$profilefield[description]</smallfont></td>
<td bgcolor="$bgcolor"><normalfont><input type="text" class="bginput" name="$profilefieldname" value="$bbuserinfo[$profilefieldname]" size="$profilefield[size]" maxlength="$profilefield[maxlength]"></normalfont></td>
</tr>
[[/($profilefield[profilefieldid]!=xx)]]
[[($profilefield[profilefieldid]==xx)]]
<tr>
<td bgcolor="$bgcolor"><normalfont><b>$profilefield[title]:</b></normalfont><br>
<smallfont>$profilefield[description]</smallfont></td>
<td bgcolor="$bgcolor"><normalfont><select class="bginput" name="$profilefieldname"><option value="xx">Blah</option><option value="xx">Blah2</option></select></normalfont></td>
</tr>
[[/($profilefield[profilefieldid]==xx)]]