SWAuk / website

Student Windsurfing Association website
www.swa.co.uk
5 stars 3 forks source link

admin: new member issues #55

Closed Beaker69 closed 9 years ago

Beaker69 commented 9 years ago

Admin: New member - needs to add their name, email and phone number. Grad year should check the input is in yyyy format. Course should be from list of options so we can classify people into useful groups. Tshirts need options for ladies - 8,10, 12 etc and men - s, m, l, xl etc error when submitting: Error Save failed with the following error: Duplicate entry '129' for key 'user_id_UNIQUE' SQL=INSERT INTO vmz_swa_member (id,user_id,paid,club_committee,swa_committee,sex,dob,university_id,course,graduation,discipline,level,shirt,econtact,enumber,swahelp) VALUES ('0','129','1','1','1','Female','2014-09-24','2','dfghdfgh','35555','Wave','Intermediate','M','drthdtrh','3456','None')

addshore commented 9 years ago

name and email are included in the users table. one can be a user of the site but not a member of the swa. Phone number needed to be added!

Yes to the grad year check!

Course should be from list of options so we can classify people into useful groups

What sort of options do we want?

Tshirts need options for ladies - 8,10, 12 etc and men - s, m, l, xl etc

Can do

As for the failure that is because the user is already a member, the behaviour could probably be nicer but that is not major!

addshore commented 9 years ago

Split everything here into the issues:

https://github.com/CJxD/swa/issues/64 https://github.com/CJxD/swa/issues/65 https://github.com/CJxD/swa/issues/66 https://github.com/CJxD/swa/issues/67