Add url to wmta required fields
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 27 Nov 2018 17:01:05 +0000 (12:01 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 27 Nov 2018 17:01:59 +0000 (12:01 -0500)
url needed for Michigan.org

index.php
models/admin/events/list.php
views/admin/management/events.html

index 4584a58..a683afc 100644 (file)
--- a/index.php
+++ b/index.php
@@ -3,7 +3,7 @@
  * Plugin Name: GLM Associate - Events Add-On
  * Plugin URI: http://www.gaslightmedia.com/
  * Description: Gaslight Media Members Database.
- * Version: 1.7.6
+ * Version: 1.7.7
  * Author: Chuck Scott
  * Author URI: http://www.gaslightmedia.com/
  * License: GPL2
@@ -19,7 +19,7 @@
  * @package glmMembersDatabaseEventsAddOn
  * @author Chuck Scott <cscott@gaslightmedia.com>
  * @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.7.6
+ * @version 1.7.7
  */
 
 // Check that we're being called by WordPress.
@@ -43,7 +43,7 @@ if (!defined('ABSPATH')) {
  *  so that we're sure the other add-ons see an up to date
  *  version from this plugin.
  */
-define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.7.6');
+define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.7.7');
 define('GLM_MEMBERS_EVENTS_PLUGIN_DB_VERSION', '0.1.10');
 
 // This is the minimum version of the GLM Members DB plugin require for this plugin.
index ee3a8e3..f73c314 100644 (file)
@@ -166,6 +166,7 @@ class GlmMembersAdmin_events_list extends GlmDataEvents
             if ( $this->config['settings']['michigan_org_requirements'] ) {
                 $this->fields['contact_phone']['required'] = true;
                 $this->fields['contact_email']['required'] = true;
+                $this->fields['url']['required'] = true;
             }
 
             // Check for Member Menu Use
index 41b7e81..cc4b5b2 100644 (file)
                         <tr>
                             <th>Admin Options</th>
                             <td>
-                                <label> <input type="checkbox" name="michigan_org_requirements" {if $eventsSettings.fieldData.michigan_org_requirements.value}checked{/if}> Require Contact email and phone. (Michigan.org)</label><br><br>
+                                <label> <input type="checkbox" name="michigan_org_requirements" {if $eventsSettings.fieldData.michigan_org_requirements.value}checked{/if}> Require URL, Contact email and phone. (Michigan.org)</label><br><br>
                             </td>
                         </tr>