Opened 6 years ago

Closed 6 years ago

#1959 closed bug (fixed)

gender input in signup pages doesnt show all options

Reported by: pablobd Owned by: shevek
Priority: critical Milestone: 1.6
Component: unknown Keywords: gender signup
Cc:

Description (last modified by shevek)

We already have 3 possible values for gender in profile, but on signup only 2 options are given

see: http://www.bewelcome.org/signup/2

Solution: add the third option


Related ticket: #1584

Attachments (1)

BWbuntu.png (254.8 KB) - added by dima42 6 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 6 years ago by shevek

  • Milestone changed from unassigned to 1.6
  • Owner set to matt
  • Status changed from new to assigned

Changed 6 years ago by dima42

comment:2 Changed 6 years ago by dima42

matt posted a commit at https://gitorious.org/~mattoz/bewelcome/mattozs-rox/commit/fc1cde14ff5287bc0ad9e123bd3b2428cd05a4f3

i don't think it fixes the problem yet (see attached screenshot from bwbuntu)

comment:3 Changed 6 years ago by shevek

  • Owner changed from matt to shevek

comment:4 Changed 6 years ago by shevek

This needs a database change as it is currently not possible to assign the gender 'other'.

ALTER TABLE  `members` CHANGE  `Gender`  `Gender` ENUM(  'IDontTell',  'male',  'female',  'other' ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT  'IDontTell' COMMENT  'The gender of the member'

Additionally on editprofile a value of Idonttell should change to other and set the visibility to hidden.

Commit: https://gitorious.org/bewelcome/rox/commit/bb7d247c46ba244804b0e019c0827d4b714275df

comment:5 Changed 6 years ago by midsch

At signup there is only male/female/other -> don't tell and/or the hide option isn't available.

comment:6 Changed 6 years ago by shevek

Don't tell isn't needed as there is the option to hide when editing your profile. The text on the signup page (you might need to get a new set of words...) tells you which of the fields can be hidden after signup so I didn't add the hidden checkbox.

comment:7 Changed 6 years ago by midsch

No more new words for me today;). But this works for me than.

comment:8 Changed 6 years ago by shevek

  • Description modified (diff)
  • Status changed from assigned to to_alpha

comment:9 Changed 6 years ago by shevek

  • Status changed from to_alpha to testing

comment:10 Changed 6 years ago by midsch

  • Resolution set to fixed
  • Status changed from testing to closed
  • I was able to signup on alpha with gender = "other" (so there's only one profile with this gender now, I'll delete it after testing. Usually I don't do test profiles, but here it's necessary.)
  • hiding/not hiding works
  • Search is finding the only member with "gender=other" when gender is not hidden.

-> Works for me.

Note: See TracTickets for help on using tickets.