/**
  * Defines the module
  * @param string|bool $context
  */
 function define($context = FALSE)
 {
     parent::define('photocrati-attach_to_post', 'Attach To Post', 'Provides the "Attach to Post" interface for displaying galleries and albums', '0.6', 'http://www.nextgen-gallery.com', 'Photocrati Media', 'http://www.photocrati.com', $context);
     include_once 'class.attach_to_post_option_handler.php';
     C_NextGen_Settings::add_option_handler('C_Attach_To_Post_Option_Handler', array('attach_to_post_url', 'gallery_preview_url', 'attach_to_post_display_tab_js_url'));
     include_once 'class.attach_to_post_installer.php';
     C_Photocrati_Installer::add_handler($this->module_id, 'C_Attach_To_Post_Installer');
 }
 /**
  * Defines the module
  */
 function define()
 {
     parent::define('photocrati-nextgen_admin', 'NextGEN Administration', 'Provides a framework for adding Administration pages', '0.5', 'http://www.nextgen-gallery.com', 'Photocrati Media', 'http://www.photocrati.com');
     include_once 'class.nextgen_admin_installer.php';
     C_Photocrati_Installer::add_handler($this->module_id, 'C_NextGen_Admin_Installer');
     include_once 'class.nextgen_admin_option_handler.php';
     C_NextGen_Settings::add_option_handler('C_NextGen_Admin_Option_Handler', array('jquery_ui_theme', 'jquery_ui_theme_version', 'jquery_ui_theme_url'));
 }
Example #3
0
 function define()
 {
     parent::define("photocrati-mvc", "MVC Framework", "Provides an MVC architecture for the plugin to use", "0.4", "http://www.photocrati.com", "Photocrati Media", "http://www.photocrati.com");
     include_once 'class.mvc_installer.php';
     C_Photocrati_Installer::add_handler($this->module_id, 'C_Mvc_Installer');
     include_once 'class.mvc_option_handler.php';
     C_NextGen_Settings::add_option_handler('C_Mvc_Option_Handler', array('mvc_template_dir'));
 }
 function define()
 {
     parent::define('photocrati-ajax', 'AJAX', 'Provides AJAX functionality', '0.4', 'http://www.photocrati.com', 'Photocrati Media', 'http://www.photocrati.com');
     include_once 'class.ajax_option_handler.php';
     C_NextGen_Settings::add_option_handler('C_Ajax_Option_Handler', array('ajax_slug', 'ajax_url', 'ajax_js_url'));
     include_once 'class.ajax_installer.php';
     C_Photocrati_Installer::add_handler($this->module_id, 'C_Ajax_Installer');
 }
 /**
  * Defines the module
  * @param string|bool $context
  */
 function define($context = FALSE)
 {
     parent::define('photocrati-attach_to_post', 'Attach To Post', 'Provides the "Attach to Post" interface for displaying galleries and albums', '0.11', 'https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/', 'Photocrati Media', 'https://www.imagely.com', $context);
     C_NextGen_Settings::get_instance()->add_option_handler('C_Attach_To_Post_Option_Handler', array('attach_to_post_url', 'gallery_preview_url', 'attach_to_post_display_tab_js_url'));
     if (is_multisite()) {
         C_NextGen_Global_Settings::get_instance()->add_option_handler('C_Attach_To_Post_Option_Handler', array('attach_to_post_url', 'gallery_preview_url', 'attach_to_post_display_tab_js_url'));
     }
     C_Photocrati_Installer::add_handler($this->module_id, 'C_Attach_To_Post_Installer');
 }
Example #6
0
 /**
  * Defines the module
  */
 function define()
 {
     parent::define('photocrati-nextgen_admin', 'NextGEN Administration', 'Provides a framework for adding Administration pages', '0.9', 'http://www.nextgen-gallery.com', 'Photocrati Media', 'http://www.photocrati.com');
     C_Photocrati_Installer::add_handler($this->module_id, 'C_NextGen_Admin_Installer');
     C_NextGen_Settings::get_instance()->add_option_handler('C_NextGen_Admin_Option_Handler', array('jquery_ui_theme', 'jquery_ui_theme_version', 'jquery_ui_theme_url'));
     if (is_multisite()) {
         C_NextGen_Global_Settings::get_instance()->add_option_handler('C_NextGen_Admin_Option_Handler', array('jquery_ui_theme', 'jquery_ui_theme_version', 'jquery_ui_theme_url'));
     }
 }
 function define()
 {
     parent::define('photocrati-nextgen', 'Photocrati NextGEN', 'Photocrati NextGEN', NGG_PLUGIN_VERSION, 'http://www.nextgen-gallery.com', 'Photocrati Media', 'http://www.photocrati.com');
     $module_path = implode(DIRECTORY_SEPARATOR, array(dirname(__FILE__), 'modules'));
     $this->get_registry()->set_product_module_path($this->module_id, $module_path);
     foreach ($this->get_modules_to_load() as $module_name) {
         $this->_get_registry()->load_module($module_name);
     }
     include_once 'class.nextgen_product_installer.php';
     C_Photocrati_Installer::add_handler($this->module_id, 'C_NextGen_Product_Installer');
 }
 function define()
 {
     parent::define('photocrati-nextgen', 'Photocrati NextGEN', 'Photocrati NextGEN', '2.0.33', 'http://www.nextgen-gallery.com', 'Photocrati Media', 'http://www.photocrati.com');
     $module_path = path_join(dirname(__FILE__), 'modules');
     $this->get_registry()->set_product_module_path($this->module_id, $module_path);
     $this->get_registry()->add_module_path($module_path, TRUE, FALSE);
     foreach (self::$modules as $module_name) {
         $this->_get_registry()->load_module($module_name);
     }
     include_once 'class.nextgen_product_installer.php';
     C_Photocrati_Installer::add_handler($this->module_id, 'C_NextGen_Product_Installer');
 }
Example #9
0
 /**
  * Defines the module
  * @param string|bool $context
  */
 function define($context = FALSE)
 {
     parent::define('photocrati-attach_to_post', 'Attach To Post', 'Provides the "Attach to Post" interface for displaying galleries and albums', '0.7', 'http://www.nextgen-gallery.com', 'Photocrati Media', 'http://www.photocrati.com', $context);
     include_once 'class.attach_to_post_option_handler.php';
     C_NextGen_Settings::add_option_handler('C_Attach_To_Post_Option_Handler', array('attach_to_post_url', 'gallery_preview_url', 'attach_to_post_display_tab_js_url'));
     include_once 'class.attach_to_post_installer.php';
     C_Photocrati_Installer::add_handler($this->module_id, 'C_Attach_To_Post_Installer');
     $uri = strtolower($_SERVER['REQUEST_URI']);
     if (strpos($uri, '/nextgen-attach_to_post') !== false) {
         define('WP_ADMIN', true);
     }
 }
Example #10
0
 /**
  * Defines the module
  * @param string|bool $context
  */
 function define($context = FALSE)
 {
     parent::define('photocrati-attach_to_post', 'Attach To Post', 'Provides the "Attach to Post" interface for displaying galleries and albums', '0.10', 'http://www.nextgen-gallery.com', 'Photocrati Media', 'http://www.photocrati.com', $context);
     include_once 'class.attach_to_post_option_handler.php';
     C_NextGen_Settings::add_option_handler('C_Attach_To_Post_Option_Handler', array('attach_to_post_url', 'gallery_preview_url', 'attach_to_post_display_tab_js_url'));
     include_once 'class.attach_to_post_installer.php';
     C_Photocrati_Installer::add_handler($this->module_id, 'C_Attach_To_Post_Installer');
     // Set WP_ADMIN=true for better compatibility with certain themes & plugins.
     // Unfortunately as of 3.9 in a multisite environment this causes problems.
     if (self::is_atp_url() && (!defined('MULTISITE') || defined('MULTISITE') && !MULTISITE)) {
         define('WP_ADMIN', true);
     }
 }
 function define()
 {
     parent::define('ds-royalslider', 'RoyalSlider for NextGEN', 'RoyalSlider for NextGEN', '1.0', 'http://dimsemenov.com/plugins/royal-slider/wordpress/', 'Dmitry Semenov', 'http://dimsemenov.com');
     $module_path = path_join(dirname(__FILE__), 'modules');
     $registry = $this->get_registry();
     $registry->set_product_module_path($this->module_id, $module_path);
     $registry->add_module_path($module_path, TRUE, FALSE);
     foreach (self::$modules as $module_name) {
         $registry->load_module($module_name);
     }
     include_once 'class.ds_royalslider_installer.php';
     C_Photocrati_Installer::add_handler($this->module_id, 'C_Ds_RoyalSlider_Installer');
 }
 function define()
 {
     parent::define('photocrati-dynamic_thumbnails', 'Dynamic Thumbnails', 'Adds support for dynamic thumbnails', '0.3', 'http://www.nextgen-gallery.com', 'Photocrati Media', 'http://www.photocrati.com');
     include_once 'class.dynamic_thumbnails_installer.php';
     C_Photocrati_Installer::add_handler($this->module_id, 'C_Dynamic_Thumbnails_Installer');
 }
 /**
  * Defines the module
  */
 function define()
 {
     parent::define('photocrati-nextgen_settings', 'NextGEN Gallery Settings', 'Provides central management for NextGEN Gallery settings', '0.3', 'http://www.nextgen-gallery.com', 'Photocrati Media', 'http://www.photocrati.com');
     include_once 'class.nextgen_settings_installer.php';
     C_Photocrati_Installer::add_handler($this->module_id, 'C_NextGen_Settings_Installer');
 }
 function define($context = FALSE)
 {
     parent::define('ds-nextgen_royalslider', 'NextGen RoyalSlider', "Integrates RoyalSlider with NextGEN", '0.1', 'http://dimsemenov.com/plugins/royal-slider/wordpress/', 'Dmitry Semenov', 'http://dimsemenov.com', $context);
     include_once 'class.nextgen_royalslider_installer.php';
     C_Photocrati_Installer::add_handler($this->module_id, 'C_NextGen_RoyalSlider_Installer');
 }
 function define()
 {
     parent::define(NEXTGEN_BASIC_TAG_CLOUD_MODULE_NAME, 'NextGen Basic Tagcloud', 'Provides a tagcloud for NextGEN Gallery', '0.3', 'http://www.photocrati.com', 'Photocrati Media', 'http://www.photocrati.com');
     include_once 'class.nextgen_basic_tagcloud_installer.php';
     C_Photocrati_Installer::add_handler($this->module_id, 'C_NextGen_Basic_Tagcloud_Installer');
 }
 function define()
 {
     parent::define('photocrati-nextgen_basic_imagebrowser', 'NextGEN Basic ImageBrowser', 'Provides the NextGEN Basic ImageBrowser Display Type', '0.9', 'http://www.nextgen-gallery.com', 'Photocrati Media', 'http://www.photocrati.com');
     include_once 'class.nextgen_basic_imagebrowser_installer.php';
     C_Photocrati_Installer::add_handler($this->module_id, 'C_NextGen_Basic_ImageBrowser_Installer');
 }
 function define()
 {
     parent::define('photocrati-test_gateway', 'Test gateway', 'Provides a dummy payment gateway', '0.3', 'http://www.nextgen-gallery.com', 'Photocrati Media', 'http://www.photocrati.com');
     include_once 'class.test_gateway_installer.php';
     C_Photocrati_Installer::add_handler($this->module_id, 'C_Test_Gateway_Installer');
 }
 function define($context = FALSE)
 {
     parent::define('photocrati-nextgen_pro_lightbox_legacy', 'NextGEN Pro Lightbox', 'Provides a lightbox with integrated commenting, social sharing, and e-commerce functionality', '0.28', 'http://www.nextgen-gallery.com', 'Photocrati Media', 'http://www.photocrati.com', $context);
     C_Photocrati_Installer::add_handler($this->module_id, 'C_NextGen_Pro_Lightbox_Installer');
 }
 function define()
 {
     parent::define('photocrati-datamapper', 'DataMapper', 'Provides a database abstraction layer following the DataMapper pattern', '0.8', 'http://www.photocrati.com', 'Photocrati Media', 'http://www.photocrati.com');
     C_Photocrati_Installer::add_handler($this->module_id, 'C_Datamapper_Installer');
 }
 function define()
 {
     parent::define('photocrati-nextgen-legacy', 'NextGEN Legacy', 'Embeds the original version of NextGEN 1.9.3 by Alex Rabe', '0.18', 'https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/', 'Photocrati Media', 'https://www.imagely.com');
     C_Photocrati_Installer::add_handler($this->module_id, 'C_NggLegacy_Installer');
 }
 function define()
 {
     parent::define(NEXTGEN_BASIC_SINGLEPIC_MODULE_NAME, 'NextGen Basic Singlepic', 'Provides a singlepic gallery for NextGEN Gallery', '0.4', 'http://www.photocrati.com', 'Photocrati Media', 'http://www.photocrati.com');
     include_once 'class.nextgen_basic_singlepic_installer.php';
     C_Photocrati_Installer::add_handler($this->module_id, 'C_NextGen_Basic_SinglePic_Installer');
 }
 function define($context = FALSE)
 {
     parent::define(NGG_PRO_PROOFING, 'NextGEN Pro Proofing', 'Provides rating capabilities', '0.6', 'http://www.photocrati.com', 'Photocrati Media', 'http://www.photocrati.com', $context);
     C_Photocrati_Installer::add_handler($this->module_id, 'C_NextGen_Pro_Proofing_Installer');
 }
 function define()
 {
     parent::define('photocrati-nextgen_basic_gallery', 'NextGEN Basic Gallery', "Provides NextGEN Gallery's basic thumbnail/slideshow integrated gallery", '0.16', 'https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/', 'Photocrati Media', 'https://www.imagely.com');
     C_Photocrati_Installer::add_handler($this->module_id, 'C_NextGen_Basic_Gallery_Installer');
 }
 function define($context = FALSE)
 {
     parent::define('photocrati-frame_communication', 'Frame/iFrame Inter-Communication', 'Provides a means for HTML frames to share server-side events with each other', '0.2', 'http://www.nextgen-gallery.com', 'Photocrati Media', 'http://www.photocrati.com', $context);
     include_once 'class.frame_communication_installer.php';
     C_Photocrati_Installer::add_handler($this->module_id, 'C_Frame_Communication_Installer');
 }
 function define()
 {
     parent::define('photocrati-cheque', 'Pay by cheque', 'Allows users to pay by mail with a cheque', '0.1', 'http://www.nextgen-gallery.com', 'Photocrati Media', 'http://www.photocrati.com');
     include_once 'class.cheque_installer.php';
     C_Photocrati_Installer::add_handler($this->module_id, 'C_Cheque_Installer');
 }
Example #26
0
 function define()
 {
     parent::define('photocrati-nextgen-data', 'NextGEN Data Tier', "Provides a data tier for NextGEN gallery based on the DataMapper module", '0.8', 'http://www.photocrati.com', 'Photocrati Media', 'http://www.photocrati.com');
     C_Photocrati_Installer::add_handler($this->module_id, 'C_NextGen_Data_Installer');
 }
 function define()
 {
     parent::define('photocrati-nextgen_gallery_display', 'Gallery Display', 'Provides the ability to display gallery of images', '0.2', 'http://www.photocrati.com', 'Photocrati Media', 'http://www.photocrati.com');
     include_once 'class.gallery_display_installer.php';
     C_Photocrati_Installer::add_handler($this->module_id, 'C_Gallery_Display_Installer');
 }
 function define()
 {
     parent::define('photocrati-paypal_express_checkout', 'PayPal Express Checkout', 'Provides integration with PayPal Express Checkout', '0.4', 'http://www.nextgen-gallery.com', 'Photocrati Media', 'http://www.photocrati.com');
     include_once 'class.paypal_express_checkout_installer.php';
     C_Photocrati_Installer::add_handler($this->module_id, 'C_Paypal_Express_Checkout_Installer');
 }
 function define()
 {
     parent::define('photocrati-nextgen-legacy', 'NextGEN Legacy', 'Embeds the original version of NextGEN 1.9.3 by Alex Rabe', '0.14', 'http://www.nextgen-gallery.com', 'Photocrati Media', 'http://www.photocrati.com');
     C_Photocrati_Installer::add_handler($this->module_id, 'C_NggLegacy_Installer');
 }
 function define($context = FALSE)
 {
     parent::define('photocrati-dynamic_stylesheet', 'Dynamic Stylesheet', 'Provides the ability to generate and enqueue a dynamic stylesheet', '0.3', 'http://www.nextgen-gallery.com', 'Photocrati Media', 'http://www.photocrati.com', $context);
     C_Photocrati_Installer::add_handler($this->module_id, 'C_Dynamic_Stylesheet_Installer');
 }