2 of 5
2
Blind Date - use human readable dates in the CP & SAEFs
Posted: 18 March 2007 02:55 PM   [ Ignore ]   [ # 19 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12779
Joined  04-29-2002

This isn’t an issue on your end (I don’t think) but the backend display is off when I view the saved entry. I’m using DST for both my account and the site.

Image Attachments
dst_issues.jpg
Click thumbnail to see full-size image
 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 18 March 2007 02:58 PM   [ Ignore ]   [ # 20 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  785
Joined  07-18-2006
Sue Crocker - 18 March 2007 02:55 PM

This isn’t an issue on your end (I don’t think) but the backend display is off when I view the saved entry. I’m using DST for both my account and the site.

Hmm that’s pretty funky. Are the dates in the field correct, or the dates shown in the JS calendar?

Profile
 
 
Posted: 18 March 2007 03:14 PM   [ Ignore ]   [ # 21 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  785
Joined  07-18-2006

You’re correct though Sue - I’m not doing anything with the calendar itself, just modifying the date before it gets entered.  If you manually enter a similar date, it should display the same issue - that would be a good test.  It might be worth starting a thread in tech support for this issue?

Profile
 
 
Posted: 18 March 2007 05:40 PM   [ Ignore ]   [ # 22 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12779
Joined  04-29-2002

I’m going to do just that. smile

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 19 March 2007 10:15 AM   [ Ignore ]   [ # 23 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  785
Joined  07-18-2006

I have fixed a bug that would cause Blind Date to incorrectly shift the adjusted hour on some servers. The new version is 1.2.2, and is in the original post.

Happy dating smile

Profile
 
 
Posted: 25 March 2007 04:25 PM   [ Ignore ]   [ # 24 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  438
Joined  12-15-2005

I’m a tad slow I think. What exactly are we supposed to enter in the settings fields?

 Signature 

System Info: Production

EE Version:  1.66
Build
:       20081114
PHP Version
: 5.2.5

Profile
 
 
Posted: 25 March 2007 04:55 PM   [ Ignore ]   [ # 25 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  785
Joined  07-18-2006
DEA - 25 March 2007 04:25 PM

I’m a tad slow I think. What exactly are we supposed to enter in the settings fields?

By default you don’t have to use any of the settings at all - it works on all date fields in the system.  The settings are for behavior different than the default behavior.

By default, if no year is given in a date field, the current year is used (2007 right now).  By default, if no time is given in a date field, 12:01 AM is used. Otherwise it just uses whatever you put into the field.

The settings are for changing that default behavior.  If you want to force a future date for a certain field, put the field name you’d like to force into the future in the “Thinking Long Term? (force future date)” field.  For example, say you have a field named ‘application_deadline’ that should always be a date in the future. You put that field name in the “Thinking Long Term” setting field.  Then if someone enters either no year, or a previous year, it will change that year to the upcoming year.  If today is March 25, 2007, and someone enters March 26, 2007 then it leaves it alone - but if they put March 26, 2005, the resulting date would be March 26, 2007.

Any field name you put in “punctual to a fault” will be forced to use 12:01 AM for the time, no matter what time is actually entered.

Any field name you put in “disastrously late” will be forced to use 11:59 PM for the time, no matter what time is actually entered.

Any field name you put in “fashionably late” will use whatever time is entered into that field, but if no time is entered, will use 11:59 PM (remember the default behavior is to use 12:01 AM).

Does that make sense?  None of them are mandatory settings - but if you want a certain field to behave differently than normal, that’s what they’re there for.

Profile
 
 
Posted: 27 March 2007 10:54 PM   [ Ignore ]   [ # 26 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  438
Joined  12-15-2005

Hey, thanks for this very helpful. Am going to mess with this right now. Now if the SAEF Calendar could only be a show/hide div. That’s another day… wink

 Signature 

System Info: Production

EE Version:  1.66
Build
:       20081114
PHP Version
: 5.2.5

Profile
 
 
Posted: 28 March 2007 12:42 AM   [ Ignore ]   [ # 27 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  438
Joined  12-15-2005

Hmmm, I’m getting the same error Sue identified a few posts back I think. It seems to only happen when trying to update the expiration_date field; changing the entry_date works fine.

 Signature 

System Info: Production

EE Version:  1.66
Build
:       20081114
PHP Version
: 5.2.5

Profile
 
 
Posted: 28 March 2007 06:35 AM   [ Ignore ]   [ # 28 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  785
Joined  07-18-2006
DEA - 28 March 2007 12:42 AM

Hmmm, I’m getting the same error Sue identified a few posts back I think. It seems to only happen when trying to update the expiration_date field; changing the entry_date works fine.

DEA are you using the newest version? 1.2.2?

Could you give the exact error? Are you sure it is the same?:

Notice: Undefined variable: date_fields in /path/to/blind_date on line ???

Thanks smile

Profile
 
 
Posted: 28 March 2007 03:59 PM   [ Ignore ]   [ # 29 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  438
Joined  12-15-2005

Hey there, here it is:

Notice: Uninitialized string offset: 0 in /var/www/vhosts/domain.com/httpdocs/system/extensions/ext.blind_date.php on line 95

Notice
: Uninitialized string offset: 0 in /var/www/vhosts/domain.com/httpdocs/system/extensions/ext.blind_date.php on line 96

Notice
: Uninitialized string offset: 0 in /var/www/vhosts/domain.comom/httpdocs/system/extensions/ext.blind_date.php on line 97

Notice
: Uninitialized string offset: 0 in /var/www/vhosts/domain.com/httpdocs/system/extensions/ext.blind_date.php on line 98

Warning
: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/domain.com/httpdocs/system/extensions/ext.blind_date.php:95) in /var/www/vhosts/domain.com/httpdocs/system/core/core.functions.php on line 296

 Signature 

System Info: Production

EE Version:  1.66
Build
:       20081114
PHP Version
: 5.2.5

Profile
 
 
Posted: 28 March 2007 04:48 PM   [ Ignore ]   [ # 30 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  785
Joined  07-18-2006

DEA, can you try updating the extension to 1.2.3 attached to this post, and let me know if that fixes it? Thanks!

EDIT: I’m removing 1.2.3 here to avoid confusion.

Profile
 
 
Posted: 28 March 2007 05:24 PM   [ Ignore ]   [ # 31 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  438
Joined  12-15-2005

Thanks. I’ll have to wait to get home now. I’ll updated as soon as I do and let you know.

 Signature 

System Info: Production

EE Version:  1.66
Build
:       20081114
PHP Version
: 5.2.5

Profile
 
 
Posted: 28 March 2007 08:45 PM   [ Ignore ]   [ # 32 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  438
Joined  12-15-2005

OK, just tried it and am getting the same error back.

 Signature 

System Info: Production

EE Version:  1.66
Build
:       20081114
PHP Version
: 5.2.5

Profile
 
 
Posted: 28 March 2007 09:31 PM   [ Ignore ]   [ # 33 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  785
Joined  07-18-2006

I’m going to send you a PM with another file. For some reason I can’t recreate the issue on my local install here, so I see the issue but can’t test any changes I make…

Profile
 
 
Posted: 31 March 2007 02:46 PM   [ Ignore ]   [ # 34 ]  
Research Assistant
RankRankRank
Total Posts:  856
Joined  08-05-2005

I’m getting these errors:

Notice: Uninitialized string offset: 0 in .../extensions/ext.blind_date.php on line 95

Notice
: Uninitialized string offset: 0 in .../extensions/ext.blind_date.php on line 96

Notice
: Uninitialized string offset: 0 in .../extensions/ext.blind_date.php on line 97

Notice
: Uninitialized string offset: 0 in .../extensions/ext.blind_date.php on line 98

Warning
: Cannot modify header information - headers already sent by (output started at .../extensions/ext.blind_date.php:95) in .../core/core.functions.php on line 296

I removed directory info.  I tried 1.2.2 and 1.2.3 - This is such a great contribution - I’d love to get it working!

EDIT: I see now my errors are almost identical to DEA’s - sorry about that!

Profile
 
 
Posted: 31 March 2007 02:51 PM   [ Ignore ]   [ # 35 ]  
Research Assistant
RankRankRank
Total Posts:  856
Joined  08-05-2005

BTW, I’m doing this from a SAEF and it is actually submitting the entry correctly.

Profile
 
 
Posted: 31 March 2007 03:17 PM   [ Ignore ]   [ # 36 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  785
Joined  07-18-2006

Sorry for the delay - I’ve got a new version (1.2.4) up that corrects the problem both DEA and ruraldreams have posted.  Those notices were happening if you installed the extension and never submitted any settings in the CP (even if they were all left blank).  Should be all fixed up now smile

Profile
 
 
   
2 of 5
2
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 66475 Total Logged-in Users: 39
Total Topics: 84879 Total Anonymous Users: 20
Total Replies: 455404 Total Guests: 214
Total Posts: 540283    
Members ( View Memberlist )