geoffhumphrey / brewcompetitiononlineentry

https://brewingcompetitions.com
78 stars 80 forks source link

Register Judge and Steward sections not visible in registration #1510

Open donutbrew opened 8 months ago

donutbrew commented 8 months ago

In the default user registration, what should unhide the section for volunteering as a Judge or Steward? I'm only seeing "Staff" volunteering. The window for judge/steward registration is open, and the respective fields are visible when you specifically try to register as a judge from the Register dropdown menu. =

I just want the option to be present for people to volunteer as they register--this has worked in the past.

This is version 2.6.2 and we are an amateur competition.

image
donutbrew commented 8 months ago

Temporary solution is to edit register.sec.php:

Comment out lines 156-159 (if ($go == "entrant") {...})

After line 754, add: if ($go == "entrant") { $judge_checked_yes = FALSE; $judge_checked_no = TRUE; }

After line 869: if ($go == "entrant") { $steward_checked_yes = FALSE; $steward_checked_no = TRUE; }

Not beautiful, but it exposes the options for all registrants.

geoffhumphrey commented 8 months ago

The registration sections are intentionally separate when the user selects the Register link from the top nav. There should be all three options visible there - providing that account, judge, and steward registration windows are open via the Admin Dashboard. The three roles were separated since people were continually confused about how to register.

The solution you've got here will certainly work to open up both judge and steward fields via the "entrant" option. However, it may be confusing for those who just want to be entrants and have no interest in being a judge or steward.

donutbrew commented 8 months ago

Totally get that--it's impossible to get catch all use cases. I've found it's hard enough to get people to register as judges/stewards at all (even if they actually show up and participate), that I want to make sure that the options are there when they're registering beers.