WordPress.org

Making WordPress.org

Opened 15 months ago

Closed 23 hours 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
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 (4)

#1 @iandunn
15 months ago

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

#2 @RMarks
8 months 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.


23 hours ago

#4 @iandunn
23 hours ago

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