Making WordPress.org


Ignore:
Timestamp:
08/17/2018 09:32:41 AM (8 years ago)
Author:
vedjain
Message:

WordCamp: Multiple changes to Meetup Application.

  1. Make styling more consistent of Meetup Application with WordCamp Application.
  2. Added more statuses and tags. Specifically, added checkboxes for statuses like Needs Swag, Needs Orientation etc, which will add a tag for easy filtering.
  3. Added tag column in Meetup listing view.
  4. Add different questions for Meetup location and for organizer's mailing address.
  5. Street address, state and zip code fields are optional.
  6. Added log box for tracking tag changes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/views/applications/meetup/shortcode-application.php

    r7607 r7619  
    1414
    1515    <form id="meetup-application" method="post">
    16         <label>
    17             First Name
    18             <span class="required-indicator">(required)</span>
    19             <input type="text" name="q_first_name" required/>
    20         </label>
     16        <div class="PDF_pageInner">
     17            <div class="PDF_questionDivide"></div>
     18            <div class="PDF_question">
     19                <label>
     20                    Please enter your name.
     21                    <span class="required-indicator">(required)</span>
     22                    <input type="text" name="q_name" required/>
     23                </label>
     24            </div>
     25            <div class="PDF_questionDivide"></div>
     26            <div class="PDF_question">
     27                <label>
     28                    Please enter you email address.
     29                    <span class="required-indicator">(required)</span>
     30                    <input type="email" name="q_email" required/>
     31                </label>
     32            </div>
     33            <div class="PDF_questionDivide"></div>
     34            <div class="PDF_question">
     35                <label> Please enter your mailing address (at least your city/state or city/country). </label>
     36                <label>
     37                    Address Line 1
     38                    <input type="text" name="q_address_line_1">
     39                </label>
     40                <label>
     41                    Address Line 2
     42                    <input type="text" name="q_address_line_2">
     43                </label>
     44                <label>
     45                    City
     46                    <span class="required-indicator">(required)</span>
     47                    <input type="text" name="q_city" required/>
     48                </label>
     49                <label>
     50                    State/Province
     51                    <input type="text" name="q_state"/>
     52                </label>
     53                <label>
     54                    Country
     55                    <span class="required-indicator">(required)</span>
    2156
    22         <label>
    23             Last Name
    24             <span class="required-indicator">(required)</span>
    25             <input type="text" name="q_last_name" required/>
    26         </label>
     57                    <select name="q_country" required>
     58                        <option value=""></option>
    2759
    28         <label>
    29             Email Address
    30             <span class="required-indicator">(required)</span>
    31             <input type="email" name="q_email" required/>
    32         </label>
     60                        <?php foreach ( $countries as $country ) : ?>
     61                            <option value="<?php echo esc_attr( $country['alpha2'] ); ?>">
     62                                <?php echo esc_html( $country['name'] ); ?>
     63                            </option>
     64                        <?php endforeach; ?>
     65                    </select>
     66                </label>
     67                <label>
     68                    ZIP/Postal Code
     69                    <input type="text" name="q_zip"/>
     70                </label>
     71            </div>
     72            <div class="PDF_questionDivide"></div>
     73            <div class="PDF_question">
     74                <label>
     75                    Enter the city, state/province, and country where you would like to organize a Meetup
     76                    <input type="text" name="q_mtp_loc" required/>
     77                </label>
     78            </div>
     79            <div class="PDF_questionDivide"></div>
     80            <div class="PDF_question">
     81                <label>
     82                    Is there already a WordPress meetup group in this city?
     83                    <span class="required-indicator">(required)</span>
     84                    <span class="label-description">If you don't know, please <a
     85                                href="https://www.meetup.com/topics/wordpress/"
     86                                target="_blank" rel="noopener noreferrer">check Meetup.com</a> first.</span>
    3387
    34         <label>
    35             City
    36             <span class="required-indicator">(required)</span>
    37             <input type="text" name="q_city" required/>
    38         </label>
     88                    <select name="q_already_a_meetup" required>
     89                        <option value=""></option>
     90                        <option>Nope, no current meetup group</option>
     91                        <option>Yes, it's the meetup I run now</option>
     92                        <option>Yes, but I want to do a different kind of meetup</option>
     93                    </select>
     94                </label>
     95            </div>
     96            <div class="PDF_questionDivide"></div>
     97            <div class="PDF_question">
     98                <label>
     99                    <!-- todo: Show/hide this via JavaScript based on selected answer above -->
     100                    If there's an existing Meetup.com group, please provide the URL
     101                    <input type="url" name="q_existing_meetup_url"/>
     102                </label>
     103            </div>
     104            <div class="PDF_questionDivide"></div>
     105            <div class="PDF_question">
     106                <label>
     107                    How would you describe yourself?
     108                    <span class="required-indicator">(required)</span>
    39109
    40         <label>
    41             State/Province
    42             <span class="required-indicator">(required)</span>
    43             <input type="text" name="q_state" required/>
    44         </label>
    45 
    46         <label>
    47             Country
    48             <span class="required-indicator">(required)</span>
    49 
    50             <select name="q_country" required>
    51                 <option value=""></option>
    52 
    53                 <?php foreach ( $countries as $country ) : ?>
    54                     <option value="<?php echo esc_attr( $country['alpha2'] ); ?>">
    55                         <?php echo esc_html( $country['name'] ); ?>
    56                     </option>
    57                 <?php endforeach; ?>
    58             </select>
    59         </label>
    60 
    61         <label>
    62             ZIP/Postal Code <span class="required-indicator">(required)</span>
    63             <input type="text" name="q_zip" required/>
    64         </label>
    65 
    66         <label>
    67             Is there already a WordPress meetup group in your city?
    68             <span class="required-indicator">(required)</span>
    69             <span class="label-description">If you don't know, please <a href="https://www.meetup.com/topics/wordpress/"
    70                                                                          target="_blank" rel="noopener noreferrer">check Meetup.com</a> first.</span>
    71 
    72             <select name="q_already_a_meetup" required>
    73                 <option value=""></option>
    74                 <option>Nope, no current meetup group</option>
    75                 <option>Yes, it's the meetup I run now</option>
    76                 <option>Yes, but I want to do a different kind of meetup</option>
    77             </select>
    78         </label>
    79 
    80         <label>
    81             <!-- todo: Show/hide this via JavaScript based on selected answer above -->
    82             If there's an existing Meetup.com group, please provide the URL
    83             <input type="url" name="q_existing_meetup_url"/>
    84         </label>
    85 
    86         <label>
    87             How would you describe yourself?
    88             <span class="required-indicator">(required)</span>
    89 
    90             <select name="q_describe_yourself" required>
    91                 <option value=""></option>
    92                 <option>WordPress professional</option>
    93                 <option>Current WordPress user or developer</option>
    94                 <option>New to WordPress</option>
    95                 <option>I don't use WordPress</option>
    96             </select>
    97         </label>
    98 
    99         <label>
    100             Your <a href="https://wordpress.org" target="_blank">WordPress.org</a> username
    101             <span class="required-indicator">(required)</span>
    102             <input type="text" name="q_wporg_username" required/>
    103         </label>
    104 
    105         <label>
    106             Your <a href="https://chat.wordpress.org" target="_blank">WordPress Slack</a> username
    107             <input type="text" name="q_wp_slack_username"/>
    108         </label>
    109 
    110         <label>
    111             Anything you'd like to tell us about yourself, or what you hope to do with a meetup group?
    112             <textarea name="slack_username"></textarea>
    113         </label>
    114 
    115         <?php submit_button( 'Submit Application', 'primary', 'submit-application' ); ?>
    116 
     110                    <select name="q_describe_yourself" required>
     111                        <option value=""></option>
     112                        <option>WordPress professional</option>
     113                        <option>Current WordPress user or developer</option>
     114                        <option>New to WordPress</option>
     115                        <option>I don't use WordPress</option>
     116                    </select>
     117                </label>
     118            </div>
     119            <div class="PDF_questionDivide"></div>
     120            <div class="PDF_question">
     121                <label>
     122                    Your <a href="https://wordpress.org" target="_blank">WordPress.org</a> username
     123                    <span class="required-indicator">(required)</span>
     124                    <input type="text" name="q_wporg_username" required/>
     125                </label>
     126            </div>
     127            <div class="PDF_questionDivide"></div>
     128            <div class="PDF_question">
     129                <label>
     130                    Your <a href="https://chat.wordpress.org" target="_blank">WordPress Slack</a> username
     131                    <input type="text" name="q_wp_slack_username"/>
     132                </label>
     133            </div>
     134            <div class="PDF_questionDivide"></div>
     135            <div class="PDF_question">
     136                <label>
     137                    Anything you'd like to tell us about yourself, or what you hope to do with a meetup group?
     138                    <textarea name="q_additional_comments"></textarea>
     139                </label>
     140            </div>
     141            <div class="PDF_questionDivide"></div>
     142            <div class="PDF_question">
     143                <div class="submit-button">
     144                    <?php submit_button( 'Submit Application', 'primary', 'submit-application', false ); ?>
     145                </div>
     146            </div>
     147        </div>
    117148    </form>
    118149
Note: See TracChangeset for help on using the changeset viewer.