Author Topic: editprofile error help?  (Read 3405 times)

0 Members and 1 Guest are viewing this topic.

Offline Jasondavis

  • Full Member
  • ***
  • Posts: 157
    • View Profile
editprofile error help?
« 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

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
editprofile error help?
« Reply #1 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
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Jasondavis

  • Full Member
  • ***
  • Posts: 157
    • View Profile
editprofile error help?
« Reply #2 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