Changeset 3452427
- Timestamp:
- 02/02/2026 10:03:11 PM (2 weeks ago)
- Location:
- optimal-360
- Files:
-
- 22 added
- 8 edited
-
tags/1.1.2 (added)
-
tags/1.1.2/LICENSE (added)
-
tags/1.1.2/assets (added)
-
tags/1.1.2/assets/block-editor.css (added)
-
tags/1.1.2/assets/block-editor.js (added)
-
tags/1.1.2/assets/divi-builder.css (added)
-
tags/1.1.2/assets/divi-builder.js (added)
-
tags/1.1.2/assets/elementor-editor.css (added)
-
tags/1.1.2/assets/elementor-editor.js (added)
-
tags/1.1.2/assets/tinymce-plugin.css (added)
-
tags/1.1.2/assets/tinymce-plugin.js (added)
-
tags/1.1.2/assets/woocommerce-admin.css (added)
-
tags/1.1.2/assets/woocommerce-admin.js (added)
-
tags/1.1.2/assets/woocommerce-frontend.css (added)
-
tags/1.1.2/assets/woocommerce-frontend.js (added)
-
tags/1.1.2/includes (added)
-
tags/1.1.2/includes/divi-module.php (added)
-
tags/1.1.2/includes/elementor-widget.php (added)
-
tags/1.1.2/includes/shortcode.php (added)
-
tags/1.1.2/includes/woocommerce-integration.php (added)
-
tags/1.1.2/optml360-extension.php (added)
-
tags/1.1.2/readme.txt (added)
-
trunk/assets/block-editor.js (modified) (1 diff)
-
trunk/assets/divi-builder.js (modified) (3 diffs)
-
trunk/assets/elementor-editor.js (modified) (1 diff)
-
trunk/assets/woocommerce-admin.js (modified) (1 diff)
-
trunk/includes/divi-module.php (modified) (5 diffs)
-
trunk/includes/shortcode.php (modified) (1 diff)
-
trunk/optml360-extension.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
optimal-360/trunk/assets/block-editor.js
r3451236 r3452427 269 269 className: 'optimal360-iframe', 270 270 frameBorder: '0', 271 allow: "identity-credentials-get ; storage-access"271 allow: "identity-credentials-get" 272 272 }), 273 273 el('div', { className: 'optimal360-modal-footer' }, -
optimal-360/trunk/assets/divi-builder.js
r3451236 r3452427 78 78 '</div>' + 79 79 '<div class="optimal360-modal-body">' + 80 '<iframe src="https://app.optml360.com/plugin-login" frameborder="0" allow="identity-credentials-get ; storage-access"></iframe>' +80 '<iframe src="https://app.optml360.com/plugin-login" frameborder="0" allow="identity-credentials-get"></iframe>' + 81 81 '</div>' + 82 82 '<div class="optimal360-modal-footer">' + … … 111 111 if ($settingsModal.length && !$settingsModal.find('.optimal360-select-btn').length) { 112 112 // Find the module settings for optimal360_showcase 113 var $moduleSettings = $('.et_pb_module_settings[data-module_type=" optimal360_showcase"]');113 var $moduleSettings = $('.et_pb_module_settings[data-module_type="et_pb_optimal360_showcase"]'); 114 114 115 115 if ($moduleSettings.length) { … … 202 202 // Hook into the visual builder's module settings 203 203 $(document).on('et_fb_module_settings_opened', function(e, module) { 204 if (module && module.type === ' optimal360_showcase') {204 if (module && module.type === 'et_pb_optimal360_showcase') { 205 205 currentModuleAddress = module.address; 206 206 setTimeout(injectSelectButton, 100); -
optimal-360/trunk/assets/elementor-editor.js
r3451236 r3452427 69 69 '</div>' + 70 70 '<div class="optimal360-modal-body">' + 71 '<iframe src="https://app.optml360.com/plugin-login" frameborder="0" allow="identity-credentials-get ; storage-access"></iframe>' +71 '<iframe src="https://app.optml360.com/plugin-login" frameborder="0" allow="identity-credentials-get"></iframe>' + 72 72 '</div>' + 73 73 '<div class="optimal360-modal-footer">' + -
optimal-360/trunk/assets/woocommerce-admin.js
r3451236 r3452427 75 75 '</div>' + 76 76 '<div class="optimal360-modal-body">' + 77 '<iframe src="https://app.optml360.com/plugin-login" frameborder="0" allow="identity-credentials-get ; storage-access"></iframe>' +77 '<iframe src="https://app.optml360.com/plugin-login" frameborder="0" allow="identity-credentials-get"></iframe>' + 78 78 '</div>' + 79 79 '<div class="optimal360-modal-footer">' + -
optimal-360/trunk/includes/divi-module.php
r3450114 r3452427 10 10 class Optimal360_Divi_Module extends ET_Builder_Module { 11 11 12 public $slug = 'optimal360_showcase'; 13 public $vb_support = 'on'; 12 public $slug = 'et_pb_optimal360_showcase'; 13 public $vb_support = 'partial'; // Use 'partial' for server-side rendering in VB 14 15 protected $module_credits = array( 16 'module_uri' => 'https://optml360.com', 17 'author' => 'Optimal 360', 18 'author_uri' => 'https://optml360.com', 19 ); 14 20 15 21 public function init() { 16 $this->name = esc_html__('Optimal 360°', 'optml360'); 17 $this->icon = 'N'; // Divi icon 22 $this->name = esc_html__('Optimal 360°', 'optml360'); 23 $this->icon = 'N'; // Divi icon 24 $this->main_css_element = '%%order_class%%'; 18 25 19 26 $this->settings_modal_toggles = array( … … 74 81 } 75 82 76 public function render($attrs, $content , $render_slug) {83 public function render($attrs, $content = null, $render_slug = '') { 77 84 $project_uuid = isset($this->props['project_uuid']) ? $this->props['project_uuid'] : ''; 78 85 $project_name = isset($this->props['project_name']) ? $this->props['project_name'] : ''; … … 82 89 83 90 if (!empty($project_uuid) && preg_match('/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i', $project_uuid)) { 84 returnsprintf(91 $output = sprintf( 85 92 '<div class="optimal360-embed-container" style="width: %s"> 86 93 <iframe … … 97 104 ); 98 105 } else { 99 returnsprintf(106 $output = sprintf( 100 107 '<div class="optimal360-showcase-placeholder"> 101 108 <div class="optimal360-icon">360°</div> … … 107 114 ); 108 115 } 116 117 return $this->_render_module_wrapper($output, $render_slug); 109 118 } 110 119 } 111 120 112 new Optimal360_Divi_Module(); 121 // Only instantiate if we're inside the Divi builder context 122 if (class_exists('ET_Builder_Module')) { 123 new Optimal360_Divi_Module(); 124 } -
optimal-360/trunk/includes/shortcode.php
r3451236 r3452427 105 105 </div> 106 106 <div class="optimal360-modal-body"> 107 <iframe src="https://app.optml360.com/plugin-login" frameborder="0" allow="identity-credentials-get ; storage-access"></iframe>107 <iframe src="https://app.optml360.com/plugin-login" frameborder="0" allow="identity-credentials-get"></iframe> 108 108 </div> 109 109 <div class="optimal360-modal-footer"> -
optimal-360/trunk/optml360-extension.php
r3451236 r3452427 3 3 * Plugin Name: Optimal 360 4 4 * Description: Turn simple 4K videos into 3D 360 showcases for your websites. 5 * Version: 1.1. 15 * Version: 1.1.2 6 6 * Author: Optimal 360 7 7 * Author URI: https://optml360.com -
optimal-360/trunk/readme.txt
r3451236 r3452427 6 6 Requires at least: 5.0 7 7 Tested up to: 6.8 8 Stable tag: 1.1. 18 Stable tag: 1.1.2 9 9 Requires PHP: 7.0 10 10 License: GPLv3
Note: See TracChangeset
for help on using the changeset viewer.