Select a date after 1991 in a profile field

I have done a search for an answer on this but cannot find an answer.

I am using dolphin to allow people to arrange meetings at dates in the future. Its a holiday dating site.

I have created new field blocks for holiday start date and holiday end date.

My problem is that when I use the date field #!date, the system blocks all dates after 1991 except today's date.

How can I unblock this lock, or how can I create a predefined table that will open the calendar box?

David

Quote · 14 May 2009

Im pretty sure this is related to the min age settings in the back end but not sure how you would change it for just the holiday without changing for the whole site.

Helpful eh? lol

Quote · 14 May 2009

Yes, it is. but the problem is that even if I change the minimum age to use the site to zero, you can still only get dates upto and including todays date, no dates in the next year.

I am sure that there must be another predefined date option, as the events module allows you to book events in the future. Doies anyone know the predefined code for the calendars in the events module?

Quote · 15 May 2009

Yes, it is. but the problem is that even if I change the minimum age to use the site to zero, you can still only get dates upto and including todays date, no dates in the next year.

I am sure that there must be another predefined date option, as the events module allows you to book events in the future. Doies anyone know the predefined code for the calendars in the events module?

Did you fix this?

Quote · 9 Dec 2009

Coded in each file, you can change it here

Open file join.php and find this line with code (line ~23)

$iMaxYear = $iCurYear - $iMinAge;
To:
$iMaxYear = $iCurYear - $iMinAge + 24;


Open file pedit.php and find this line with code (line ~23)

$iMaxYear = $iCurYear - $iMinAge;
To:
$iMaxYear = $iCurYear - $iMinAge + 24;

(or you can change it to $iMaxYear = $iCurYear + 6;)


calender will now show year to 2015 in the future.

So far I have checked it has no impact on the min or max age on your site,
other than that the calendar on Date of birth shows up to the year 2015 on join and edit page.

Quote · 11 Dec 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.