DOB Fix did not work

I made the change in the files and not only are people with chrome unable to join but now it seems to only allow one birthdate. I'm going to change it back and start over tonight when I get home but I wanted to put this out there to see if anyone else had this same experience.

Quote · 18 Feb 2013

Yes,I have the same problem with DOB not working on chrome.

Quote · 19 Feb 2013

Go back, make the changes, make sure you clear your caches.

It worked 1st shot on all my sites.

I just followed the article.  It's in the javascript.  It checks for Chrome and doesn't set the field as read only.

I don't know what google did to that browser but this last up date REALLY screwed some things up!

http://www.mytikibar.com
Quote · 19 Feb 2013

Can you direct me to the fix referred to please

Quote · 19 Feb 2013

 http://lmgtfy.com/?q=dolphin+chrome+dob+fix

Can you direct me to the fix referred to please

 

Quote · 19 Feb 2013

There is a new report that the latest greatest from FireFox has broken the calendar pop-up.

Geeks, making the world a better place
Quote · 20 Feb 2013

 

There is a new report that the latest greatest from FireFox has broken the calendar pop-up.

Yup. It has.

That's it. I am going to try doing something about it.


https://www.deanbassett.com
Quote · 20 Feb 2013

Next thing you know Internet Explorer won't work properly.

Oh wait.....

http://www.mytikibar.com
Quote · 20 Feb 2013

Ok. I am working on solution and i believe i have it. Need testers for Firefox and Chrome. Oh, and i got it working normally on chrome. This is a hack of course, but if it works then i don't care.

Two test sites.

Dolphin 7.0.9 http://www.deanbassett.com/

Dolphin 7.1 http://www2.deanbassett.com/

I have changed the way the date picker works, so i kinda need to know where all dolphins date pickers are. I have fixed the one on the join form and the one on pedit for the profile editor. Are there any others? i can't remember.

https://www.deanbassett.com
Quote · 20 Feb 2013

looking good for the 7.1 on Safari and Opera - on Linux Mint

caredesign.net
Quote · 20 Feb 2013

The test was needed on firefox 19 (the latest version) and google chrome which are the two pains in the butt at the moment. I am not aware of any other broken browsers.

https://www.deanbassett.com
Quote · 20 Feb 2013

my badd - i meant firefox and opera - my firefox is 18.0.2 on Linux Mint

caredesign.net
Quote · 20 Feb 2013

 

my badd - i meant firefox and opera - my firefox is 18.0.2 on Linux Mint

 
That version of firefox worked before. Mine i updated to 19 for windows this morning.

Once all these windows computers that are running firefox automatically update the shit is going to hit the fan. Boonex is going to be swamped with angry people complaining no one can join because 2 of the major browsers are broken.

https://www.deanbassett.com
Quote · 20 Feb 2013

oh great - do i need to go an pull out this old windows machine to test stuff on now - I really hate windows personally.

caredesign.net
Quote · 20 Feb 2013

 RE:

 

There is a new report that the latest greatest from FireFox has broken the calendar pop-up.

Yup. It has.

That's it. I am going to try doing something about it.


 This is probably a good thing in disguise.   It will force Boonex to use a different method to call the datepicker other than assigning it to inputs with a date attribute.  You should add your fix to this ticket: http://www.boonex.com/trac/dolphin/ticket/2955  This is one of those things where Boonex needs to issue an urgent upgrade patch.

This isn't just going to affect Dolphin... it will break millions of sites all over the internet.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 20 Feb 2013

 RE:

I have changed the way the date picker works, so i kinda need to know where all dolphins date pickers are. I have fixed the one on the join form and the one on pedit for the profile editor. Are there any others? i can't remember.

 If you attach the date picker to to inputs with id="deanodate", I don't think that will work on the add event page where you have two date inputs... they'd both have the same ID.  Can the date picker be attached to a class name?  ie.... class="deanodate"

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 20 Feb 2013

 

 RE:

I have changed the way the date picker works, so i kinda need to know where all dolphins date pickers are. I have fixed the one on the join form and the one on pedit for the profile editor. Are there any others? i can't remember.

 If you attach the date picker to to inputs with id="deanodate", I don't think that will work on the add event page where you have two date inputs... they'd both have the same ID.  Can the date picker be attached to a class name?

 
Yes.

Thats why i asked where all the date pickers are because i do not remember where they all are so i can run tests.


https://www.deanbassett.com
Quote · 20 Feb 2013

Some that I am aware of:

Events, Banners in admin, IP black list expiration in admin

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 20 Feb 2013

Ok. Getting closer. I have found a much easier way to fix it i think that works site wide.

My server is acting up at the moment. I need to switch hosts. The amount of downtime i have been having lately is not tolerable.



https://www.deanbassett.com
Quote · 20 Feb 2013

I notice at the devs site for the timepicker addon, http://trentrichardson.com/examples/timepicker/,  the popup is assigned to input fields with class="hasDatepicker" and all the date/time fields are type="text".  I wonder why boonex  didn't do it this way from the start.  

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 20 Feb 2013

Ok. I believe i have this fixed site wide for 7.0.9 and 7.1.0. Should work with older versions of dolphin as well.

Ready for another round of tests. I want to make sure it works with all browsers before i publish it.

7.0.9 test site http://www.deanbassett.com/

7.1.0 test site http://www2.deanbassett.com/




https://www.deanbassett.com
Quote · 21 Feb 2013

7.1

f.f 19 works
chrome Version 24.0.1312.57 m works
i.e 8 works (some js error don't know if it's related to the fix.)

Quote · 21 Feb 2013

 

7.1

f.f 19 works
chrome Version 24.0.1312.57 m works
i.e 8 works (some js error don't know if it's related to the fix.)

 What is the js error?

https://www.deanbassett.com
Quote · 21 Feb 2013




Message: Object doesn't support this property or method
Line: 13
Char: 2
Code: 0
URI: http://www2.deanbassett.com/inc/js/deano.js

Quote · 21 Feb 2013

Ok. Can you check for that js error again.

https://www.deanbassett.com
Quote · 21 Feb 2013

IE9 64bit works; did not see a javascript error.

Geeks, making the world a better place
Quote · 21 Feb 2013

still there, it may not be related to your fix

Quote · 21 Feb 2013

It may be IE8. Who knows. As long as it's working. That deano.js file contains my replacement datepicker functions becuse i could not get the existing ones in jquery.webForms.js to bind to a class so i wrote my own. So it is related.

It also may be caching the old copy before i tried to fix it.



https://www.deanbassett.com
Quote · 21 Feb 2013

could be, will report after i try your patch, you got my permission to post it ;)

Quote · 21 Feb 2013

Not yet. Still trying to improve the 7.0.9 version. I do not like having to make a change to _header.inc to include my js. I only want it on pages that need it, so i am trying to figure out how to do it the way d7.1 does it.

https://www.deanbassett.com
Quote · 21 Feb 2013

Try the following temporary fix for datepicker problem in FF v19.

Change the following code:

    if(document.implementation && document.implementation.hasFeature &&	!document.implementation.hasFeature('WebForms', '2.0'))
	$(this).addWebForms();
    
    $(this).addNonWebForms();

to:

    $(this).addWebForms();
    $(this).addNonWebForms();

in the beginning of inc/js/jquery.webForms.js file.

Clear JS cache in Dolphin and clear your browser cache after this change.

Rules → http://www.boonex.com/terms
Quote · 21 Feb 2013

 

Try the following temporary fix for datepicker problem in FF v19.

Change the following code:

    if(document.implementation && document.implementation.hasFeature &&	!document.implementation.hasFeature('WebForms', '2.0'))
	$(this).addWebForms();
    
    $(this).addNonWebForms();

to:

    $(this).addWebForms();
    $(this).addNonWebForms();

in the beginning of inc/js/jquery.webForms.js file.

Clear JS cache in Dolphin and clear your browser cache after this change.

 worked ok thank you

Quote · 21 Feb 2013

I know AlexT has released a fix.

Here is my fix if interested. Better solution for chrome. Cannot let it go to waste. I spent to many hours on it.

http://www.boonex.com/forums/topic/Datepicker-Fix-for-Firefox-19-and-Chrome.htm

https://www.deanbassett.com
Quote · 21 Feb 2013
 
 
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.