4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: Jasondavis on January 02, 2003, 04:51:08 AM

Title: editprofile error help?
Post by: Jasondavis on January 02, 2003, 04:51:08 AM
This is from my  member Edit profile page

             <tr>

            <td class="row1"><b>{lang_user_aim}</b></td>

            <td class="row1"><input type="text" name="user_aim"  size="30" value="{user_aim}" class="input" /></td>

          </tr>

After I hit save it says


Control Panel
--------------------------------------------------------------------------------
Please fill out the AIM field!

Allows you to change your user profile and password.
Note: If you change your email address you have to reactivate your account. The activation code will be sent to your new email address.


The problem is AIM should be optional





UPDATE[/b
I found out it was because of this: %is_required% bool  it was set to 1 instead of 0
Title: editprofile error help?
Post by: V@no on January 02, 2003, 06:26:45 AM
did u set to "0" in "includes/db_field_definitions.php"
as its axplained here:
http://www.4homepages.de/forum/viewtopic.php?p=10089#10089

Quote from: Chris

So your line should look like this (if required)
Code: [Select]
$additional_user_fields['user_yahoo'] = array($lang['user_yahoo'], "text", 1);
or this if data entry is NOT required:
Code: [Select]
$additional_user_fields['user_yahoo'] = array($lang['user_yahoo'], "text", 0);



[EDITED]
seems u updated your post while I was typing this.... :D
Title: editprofile error help?
Post by: Jasondavis on January 02, 2003, 06:41:10 AM
Yes i looked everywhere and found it finally, Thanks for the reply though...even if i didn't figure it out, it looks like you had the solution either way