Birthday block can't be installed

Birthday block can't be installed

by marwa bekrar -
Number of replies: 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, 

Average of ratings: -
In reply to marwa bekrar

Re: Birthday block can't be installed

by Jon Bolton -
Picture of Particularly helpful Moodlers Picture of Testers

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

In reply to Jon Bolton

Re: Birthday block can't be installed

by 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. 


In reply to marwa bekrar

Re: Birthday block can't be installed

by Jon Bolton -
Picture of Particularly helpful Moodlers Picture of Testers

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


Average of ratings: Useful (1)
In reply to Jon Bolton

Re: Birthday block can't be installed

by marwa bekrar -

Oh thank you Jon,

I didn't notice it because it was collapsed. 

Now it works , thank you very much  smile  Yes