Making WordPress.org

Opened 3 years ago

Closed 19 months ago

#4382 closed enhancement (fixed)

Profile username validation on meetup application form

Reported by: hlashbrooke Owned by:
Milestone: Priority: normal
Component: WordCamp Site & Plugins Keywords: needs-patch good-first-bug


We often receive meetup applications that contain invalid or non-existent WordPress.org usernames. These all come from the application form here: https://central.wordcamp.org/meetup-organizer-application/

It would be great if we could add some validation on that form that checks if the username exists (simply checking if the profile URL exists should be sufficient) and then, if it does not, prevents submission and directs the applicant to create a profile first.

Change History (4)

#1 @iandunn
3 years ago

  • Keywords good-first-bug added
  • Status changed from new to assigned

#2 @RMarks
2 years ago

I ran into this a related problem today on the applicant's Slack username. At the very least, I'd like to suggest the username not have the @ symbol as a prefix.

For the original scenaio that @hlashbrooke reported, would we just look for the HTTP response code after accessing the user's profile? If it's a 200, allow the form to be submitted. If it's a 404, prevent the form from being submitted and show an message requesting they check their username or register for an account.

This ticket was mentioned in Slack in #meta-wordcamp by iandunn. View the logs.

19 months ago

#4 @iandunn
19 months ago

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.