* Plugin Name: GLM Members Database
* Plugin URI: http://www.gaslightmedia.com/
* Description: Gaslight Media Members Database.
- * Version: 2.10.13
+ * Version: 2.10.14
* Author: Gaslight Media
* Author URI: http://www.gaslightmedia.com/
* License: GPL2
* @package glmMembersDatabase
* @author Chuck Scott <cscott@gaslightmedia.com>
* @license http://www.gaslightmedia.com Gaslightmedia
- * @version 2.10.13
+ * @version 2.10.14
*/
// Check that we're being called by WordPress.
*
*/
-define('GLM_MEMBERS_PLUGIN_VERSION', '2.10.13');
+define('GLM_MEMBERS_PLUGIN_VERSION', '2.10.14');
define('GLM_MEMBERS_PLUGIN_DB_VERSION', '1.1.32');
// Check if plugin version is not current in WordPress option and if needed updated it
".GLM_MEMBERS_PLUGIN_DB_PREFIX."member_info I
WHERE T.member_slug = '".$GLOBALS['glmDetailSlug']."'
AND T.id = I.member
- AND I.status = " . $this->config['status_numb']['Active'],
+ AND I.status = " . $this->config['status_numb']['Active'] . "
+ AND T.access IN (
+ ".$this->config['access_numb']['NoAccess'].",
+ ".$this->config['access_numb']['Moderated'].",
+ ".$this->config['access_numb']['Full'].")",
ARRAY_A
);
if ( ! $memberData ) {
</div>
<div class="glm-row">
- <b>Show Archived: </b><input type="checkbox" id="filterArchived" class="listFilter"{if $filterArchived} checked{/if} style="margin-right: 1em;">
- <b>Featured Only: </b><input type="checkbox" id="filterFeatured" class="listFilter"{if $filterFeatured} checked{/if} style="margin-right: 1em;">
- <b>Pending Only: </b><input type="checkbox" id="filterPending" class="listFilter"{if $filterPending} checked{/if} style="margin-right: 1em;">
+ <b>Show Archived: </b><input type="checkbox" name="filterArchived" value="true" id="filterArchived" class="listFilter"{if $filterArchived} checked{/if} style="margin-right: 1em;">
+ <b>Featured Only: </b><input type="checkbox" name="filterFeatured" value="true" id="filterFeatured" class="listFilter"{if $filterFeatured} checked{/if} style="margin-right: 1em;">
+ <b>Pending Only: </b><input type="checkbox" name="filterPending" value="true" id="filterPending" class="listFilter"{if $filterPending} checked{/if} style="margin-right: 1em;">
</div>
{apply_filters('glm-member-db-custom-filter-search', '')}