cotonti.com : Fix: User extrafields title https://www.cotonti.com Последние сообщения в теме Cotonti en Fri, 15 May 2026 05:29:24 -0000 Trustmaster ср, 04 фев 2009 23:01:48 -0000 medar
But this may be done in next release for reasons of compatibility..]]>
ср, 04 фев 2009 19:31:42 -0000
GHengeveld ср, 04 фев 2009 19:11:31 -0000 Kilandor ср, 04 фев 2009 19:06:17 -0000 GHengeveld ср, 04 фев 2009 18:59:12 -0000 Trustmaster ср, 04 фев 2009 01:59:16 -0000 GHengeveld
For example, I could make an extra input field named 'firstname', with description 'First name'. The module would make a tag {USERS_PROFILE_FIRSTNAME}, which in users.profile.tpl will be replaced by the HTML code for an input field. What is missing here is the tag {USERS_PROFILE_FIRSTNAME_TITLE}, which would be replaced by the description for this field, so 'First name'. My 3 lines of code will do exactly that.

It would be nice to see this fixed in the next Cotonti release.]]>
вт, 03 фев 2009 22:47:19 -0000
Trustmaster вт, 03 фев 2009 16:22:40 -0000 GHengeveld Here's what I did to fix that:

Place the following code:
$t3 = $t1."_TITLE";
$t4 = $row['field_description'];
$useredit_array[$t3] = $t4;
In (system/core/users/):
users.edit.inc.php - line 333
users.profile.inc.php - line 594]]>
вт, 03 фев 2009 07:52:44 -0000