Bug tracker
custom profile field date type: invalid range (fix completed in vcs)
a) it is not possible to reverse from 'default to today' once selected and saved
b) whatever the default is, the selectable date range goes from TODAY to exactly 100 years ago - so one has no way to select a date in the future.
For b), I found a solution by hacking includes/functions_profile_fields.php , in line 669 the code has to be patched to allow a broader selection of the year.
Comments / History
I fixed it myself by changing line 670 from
for ($i = $now['year'] - 100; $i <= $now['year']; $i++)
to
for ($i = $now['year'] - 100; $i <= $now['year']+5; $i++)
to allow selecting a date range that goes up to 5 years into the future.
a) is the thing where I don't see a bug.
Now, don't ever get the idea of setting a user-defined date value or leaving it empty, because the ACP will NEVER let you switch back from 'always use current date'... 8-o
Please post step by step what you do, what is supposed to happen and what actually happens.
The ACP doesn't allow reversing a custom profile field of type 'date' with switch 'Always the current date' set to 'Yes' back to 'No'. I just reproduced it. The ACP 'automatically' switches it back to 'yes' after a 1-2 seconds.