WordPress.org

Making WordPress.org

Opened 7 months ago

Last modified 13 days ago

#4382 assigned enhancement

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
Cc:

Description

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 (2)

#1 @iandunn
7 months ago

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

#2 @RMarks
13 days 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.

Note: See TracTickets for help on using tickets.