cotonti.com : Fix: User extrafields title https://www.cotonti.com Neueste Themenbeiträge Cotonti en Wed, 11 Feb 2026 23:23:27 -0000 Trustmaster Mi, 04 Feb 2009 23:01:48 -0000 medar
But this may be done in next release for reasons of compatibility..]]>
Mi, 04 Feb 2009 19:31:42 -0000
GHengeveld Mi, 04 Feb 2009 19:11:31 -0000 Kilandor Mi, 04 Feb 2009 19:06:17 -0000 GHengeveld Mi, 04 Feb 2009 18:59:12 -0000 Trustmaster Mi, 04 Feb 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.]]>
Di, 03 Feb 2009 22:47:19 -0000
Trustmaster Di, 03 Feb 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]]>
Di, 03 Feb 2009 07:52:44 -0000