2013-12-31, 04:12 PM
Hello guys,
I added some custom profile fields to my board. I wanted to sort them by categories so I made tabs in "edit profile" in UCP.
In this case I have to add all these fields manually. I used this code (example):
It works but when I refresh "edit profile" page the field is empty. I thought it is something wrong with value so I checked in usercp.php how custom fields are being added. So I added {$val} to value:
Unfortulately this hasn't solved my problem. How to add custom profile fields in "edit profile" in UCP manually?
Btw. Happy new year!
I added some custom profile fields to my board. I wanted to sort them by categories so I made tabs in "edit profile" in UCP.
In this case I have to add all these fields manually. I used this code (example):
<td><input class="textbox" type="text" value="" size="0" name="profile_fields[fid8]" style="width:230px;"></input></td>
It works but when I refresh "edit profile" page the field is empty. I thought it is something wrong with value so I checked in usercp.php how custom fields are being added. So I added {$val} to value:
<td><input class="textbox" type="text" value="{$val}" size="0" name="profile_fields[fid8]" style="width:230px;"></input></td>
Unfortulately this hasn't solved my problem. How to add custom profile fields in "edit profile" in UCP manually?
Btw. Happy new year!