* Plugin Name: GLM Members Database Sample
* Plugin URI: http://www.gaslightmedia.com/
* Description: Gaslight Media Members Database.
- * Version: 0.0.1
+ * Version: 0.0.2
* Author: Chuck Scott
* Author URI: http://www.gaslightmedia.com/
* License: GPL2
* so that we're sure the other add-ons see an up to date
* version from this plugin.
*/
-define('GLM_MEMBERS_SAMPLE_PLUGIN_VERSION', '0.0.1');
+define('GLM_MEMBERS_SAMPLE_PLUGIN_VERSION', '0.0.2');
// define('GLM_MEMBERS_SAMPLE_PLUGIN_DB_VERSION', '0.0.1');
// This is the minimum version of the GLM Members DB plugin require for this plugin.
);
// If we have database tables for this plugin/addon, provide that data also
- if ($havePluginDatabase) {
+ if ($GLOBALS['havePluginDatabase']) {
$addOns[GLM_MEMBERS_SAMPLE_PLUGIN_SLUG]['database'] = array(
'dbPrefix' => GLM_MEMBERS_SAMPLE_PLUGIN_DB_PREFIX,
'dbCurrentVersion' => GLM_MEMBERS_SAMPLE_PLUGIN_DB_VERSION,
'dbScriptPath' => GLM_MEMBERS_SAMPLE_PLUGIN_DB_SCRIPTS,
'dbVersions' => $GLOBALS['glmMembersSampleDbVersions']
);
+ } else {
+ $addOns[GLM_MEMBERS_SAMPLE_PLUGIN_SLUG]['database'] = false;
}
// Return the array with our data added
* ... additional short-codes
* )
*
+ * Shortcode descriptions sample
+ *
+ * <tr>
+ * <th>[glm-members-sample-shortcode]</th>
+ * <td> </td>
+ * <td width="50%">
+ * <p>
+ * Displays something related to this add-on.
+ * </p>
+ * </td>
+ * </tr>
+ * <tr>
+ * <td> </td>
+ * <th>type="{types}"</th>
+ * <td>
+ * <p>
+ * The "type" attribute is used to select the type of data to be displayed.
+ * Below is a list of available list types.
+ * </p>
+ * <p>
+ * <table width="100%">
+ * <tr><th colspan=3">List Types</th></tr>
+ * <tr><td>one</td><td>Type One</td></tr>
+ * <tr><td>two</td><td>Type Two</td></tr>
+ * </table>
+ * </p>
+ *
+ * </td>
+ * </tr>
+ *
*/
+
+$glmMembersSampleShortcodes = array(
+);
+
+$glmMembersSampleShortcodesDescription = '';
+