Birthday block can't be installed

Birthday block can't be installed

marwa bekrar
Vastuste arv 4

Hi Moodlers,

I need a date of birth field on on my users profil. I tried to use this block : 

https://moodle.org/plugins/pluginversion.php?id=1142

But I can't install it. The documentation of this plugin is available for moodle3.2  here :

https://docs.moodle.org/32/en/Birthday_block#Languages

But the plugin is outdated. Is there a new  directory for it ? 

Thanks, 

Keskmine hinnang: -
Vastuses marwa bekrar

Re: Birthday block can't be installed

Jon Bolton
Particularly helpful Moodlers pilt Testers pilt

Hi - the Birthday block is only supported up to version 2.3. It would appear that it has not been updated since August 2012.

You can add a date of birth field to your user profile page through a custom profile field though - so it could be visible to the user or other users. Would that work for what you need? The documentation for profile fields is at https://docs.moodle.org/32/en/User_profile_fields

Vastuses Jon Bolton

Re: Birthday block can't be installed

marwa bekrar

Hi Jon,


I tried that but the field can contain anything, there is no control to what a user can write in that field.

There is a "date and time" field but if you add it , the user need to insert the "hour: minute" of his birth (which is not appropriate to ask in a  subscription form). There is no simple date type in custom fields. 

Do you have any idea how to do that? 

Thanks. 


Vastuses marwa bekrar

Re: Birthday block can't be installed

Jon Bolton
Particularly helpful Moodlers pilt Testers pilt

Hi Marwa - what version of Moodle are you using? For as long as I can remember, the date type in the user profile field has had a tick box to show 'time' or not.

So

screenshot of datafield settings

which should result in

screenshot of user profile settings


Vastuses Jon Bolton

Re: Birthday block can't be installed

marwa bekrar

Oh thank you Jon,

I didn't notice it because it was collapsed. 

Now it works , thank you very much  naeratus  Jah