+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 25
Virtual Learning Platforms Thread, Mandatory E-mail field in Moodle. in Technical; Hi all, How can I stop the e-mail field (when updating the profile) in Moodle from being mandatory please? Thanks ...
  1. #1

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,060
    Thank Post
    889
    Thanked 1,732 Times in 1,495 Posts
    Blog Entries
    12
    Rep Power
    454

    Mandatory E-mail field in Moodle.

    Hi all,

    How can I stop the e-mail field (when updating the profile) in Moodle from being mandatory please?

    Thanks

    Z

  2. #2

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,822
    Thank Post
    1,476
    Thanked 593 Times in 445 Posts
    Rep Power
    168
    One way is to never amend via front end and always use a csv file.

    Prob not answer looking for but it works

    regards
    Simon

  3. #3

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,060
    Thank Post
    889
    Thanked 1,732 Times in 1,495 Posts
    Blog Entries
    12
    Rep Power
    454
    Sorry I don’t get what you mean

  4. #4

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,162
    Thank Post
    403
    Thanked 623 Times in 569 Posts
    Rep Power
    181
    Just been looking at the Moodle demo and you could change the authentication type so it's set at no authentication. That way it doesn't matter what email address the user enters. That might work.

  5. #5

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,060
    Thank Post
    889
    Thanked 1,732 Times in 1,495 Posts
    Blog Entries
    12
    Rep Power
    454
    My moodle setup authenticates users using LDAP it automatically fills the e-mail filed in for most users. But our year 7’s don’t have e-mail so I don’t want to make it mandatory so it doesn’t make them put an address in.

    Off topic but has anyone had problems with moodle pulling e-mail addresses from AD? It doesn’t always work first time on my setup.

  6. #6

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,162
    Thank Post
    403
    Thanked 623 Times in 569 Posts
    Rep Power
    181
    You could change the field to locked? That way users won't be able to edit the email field and therefore Moodle shouldn't complain about it being blank?
    Last edited by Edu-IT; 8th June 2008 at 11:43 PM.

  7. #7

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,060
    Thank Post
    889
    Thanked 1,732 Times in 1,495 Posts
    Blog Entries
    12
    Rep Power
    454
    Edit: you edited the post lol this is what it said before

    If you're pulling the information from AD then users don't need to register at all do they so surely it doesn't matter? Sorry if I've not understood what you mean.
    No they don’t need to register but when they login for the first time the “update profile” page comes up. If you look on my previous posts I didn’t say when registering, sorry I should have made it more clear.

    You could change the field to locked? That way users won't be able to edit the email field and therefore Moodle shouldn't complain about it being blank?
    i'm pretty sure it still complains.

  8. #8

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,162
    Thank Post
    403
    Thanked 623 Times in 569 Posts
    Rep Power
    181
    Are you able to try it? I do not have an installation of Moodle and the demo ones don't allow you full control. If it does then why not just populate the field with a dummy address?

  9. #9

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,060
    Thank Post
    889
    Thanked 1,732 Times in 1,495 Posts
    Blog Entries
    12
    Rep Power
    454
    Yep I have an installation on my work laptop, I will try tomorrow if it works but im pretty sure it doesn’t.

  10. #10

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,069
    Thank Post
    210
    Thanked 430 Times in 310 Posts
    Rep Power
    144
    Take a look at this forum page from the moodle.org website, it should help you find the correct files to edit to achieve this.

    http://moodle.org/mod/forum/discuss.php?d=79669

    Mike.
    Last edited by maniac; 9th June 2008 at 12:25 AM.

  11. #11

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    When using LDAP authentication, there is no requirement for email addresses to be present. Email addresses only become mandatory when you enable the 'Email based self registration' authentication plugin.

  12. Thanks to Geoff from:

    FN-GM (9th June 2008)

  13. #12

    Join Date
    Mar 2007
    Posts
    1,792
    Thank Post
    82
    Thanked 296 Times in 227 Posts
    Rep Power
    87
    you can pull accross any dummy information. If your using mail a few people have problems with it, i use upn instead.

  14. #13

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,060
    Thank Post
    889
    Thanked 1,732 Times in 1,495 Posts
    Blog Entries
    12
    Rep Power
    454
    Quote Originally Posted by Geoff View Post
    When using LDAP authentication, there is no requirement for email addresses to be present. Email addresses only become mandatory when you enable the 'Email based self registration' authentication plugin.
    Nope I get the error saying invalid e-mail address

  15. #14

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,162
    Thank Post
    403
    Thanked 623 Times in 569 Posts
    Rep Power
    181
    Quote Originally Posted by FN-Greatermanchester View Post
    Nope I get the error saying invalid e-mail address
    Did you try what I suggested?

  16. #15

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,060
    Thank Post
    889
    Thanked 1,732 Times in 1,495 Posts
    Blog Entries
    12
    Rep Power
    454
    No When you first login you get a page to update your profile.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 1
    Last Post: 20th May 2008, 11:09 AM
  2. Company field
    By FN-GM in forum Comments and Suggestions
    Replies: 5
    Last Post: 14th March 2008, 08:00 PM
  3. Replies: 7
    Last Post: 4th March 2008, 10:54 AM
  4. AD user field Labels
    By Gatt in forum Windows
    Replies: 4
    Last Post: 9th July 2006, 11:03 AM
  5. Field Engineers - Rochdale
    By beeswax in forum Educational IT Jobs
    Replies: 0
    Last Post: 6th July 2006, 05:27 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •