Version Description
Download this release
Release Info
Developer | smackcoders |
Plugin | Ultimate CSV Importer |
Version | 5.3.5 |
Comparing to | |
See all releases |
Code changes from version 5.3.4 to 5.3.5
- Readme.txt +29 -26
- admin/views/form-advanced-mapping-configuration.php +1 -1
- admin/views/form-file-import-method.php +27 -26
- admin/views/form-ignite-import.php +1 -1
- admin/views/form-import-configuration.php +2 -2
- admin/views/form-media-handling.php +11 -11
- assets/js/ckeditor-js/plugins/autolink/plugin.js +5 -0
- assets/js/ckeditor-js/plugins/link/dialogs/anchor.js +7 -0
- assets/js/ckeditor-js/plugins/link/dialogs/link.js +26 -0
- assets/js/ckeditor-js/plugins/link/images/anchor.png +0 -0
- assets/js/ckeditor-js/plugins/link/images/hidpi/anchor.png +0 -0
- assets/js/ultimate-importer.js +19 -2
- includes/class-uci-helper.php +8 -3
- index.php +2 -2
Readme.txt
CHANGED
@@ -3,10 +3,10 @@ Contributors: smackcoders, smacksupport
|
|
3 |
Donate link: https://www.paypal.me/smackcoders
|
4 |
Tags: csv, csv import, csv importer, import, import csv, import seo, import woocommerce, acf, excel, spreadsheet
|
5 |
Requires at least: 4.1
|
6 |
-
Tested up to: 4.9.
|
7 |
Requires PHP: 5.2.4 or above
|
8 |
-
Stable tag: 5.3.
|
9 |
-
Version: 5.3.
|
10 |
Author: smackcoders
|
11 |
Author URI: http://profiles.wordpress.org/smackcoders/
|
12 |
License: GPLv2 or later
|
@@ -15,9 +15,9 @@ Simple, powerful and easy CSV Import plugin even for newbies and novice users.
|
|
15 |
== Description ==
|
16 |
Rated as one of the Top 500 plugins by [WPMETA.ORG](http://www.wpmeta.org/plugins/wp-ultimate-csv-importer/). The only well managed, supported and regularly updated importer plugin with great track record. Manage your WordPress content as simple as in a spreadsheet editor like Microsoft Excel or Openoffice, etc,.
|
17 |
|
18 |
-
[Ultimate CSV Importer](
|
19 |
|
20 |
-
The image can be imported from external URL like Google image, pixabay, shutterstock, etc,. The images are imported in the background with the help of WP-CRON to enhance the performance. You can [easily configure your WP-Cron](
|
21 |
|
22 |
Please show your support for CSV Importer by giving it a [rating](https://wordpress.org/support/view/plugin-reviews/wp-ultimate-csv-importer?rate=5#postform) :)
|
23 |
|
@@ -53,7 +53,7 @@ CSV Importer PRO has all the features of WP Ultimate CSV Importer and it is exte
|
|
53 |
* Core Module - Post, Page, Custom Post, Comments, Category, Tags, Users, Customer Reviews.
|
54 |
* eCommerce Products - WooCommerce, MarketPress, WP e-Commerce & eShop.
|
55 |
* SEO field - Free & Pro version of All in One SEO and Yoast SEO.
|
56 |
-
* Multilingual - WPML & [qTranslate X](
|
57 |
* Image - NextGEN Gallery
|
58 |
* Events Management - Events Manager FREE & Pro
|
59 |
* Custom fields - CustomPress, ACF, Types, Pods, CCTM & WordPress default Text & Textarea fields.
|
@@ -70,18 +70,18 @@ CSV Importer PRO has all the features of WP Ultimate CSV Importer and it is exte
|
|
70 |
* Imported modules can be managed in the File manager.
|
71 |
* Detailed logs are maintained in the Log manager.
|
72 |
* Duplicate handling with any of the WordPress field.
|
73 |
-
* Import all the supported features of CSV Importer plugin with [Rest API](
|
74 |
* Extendable for your needs with [API](https://www.smackcoders.com/document/docs/api/classes/SmackUCI_API.html?utm_source=web&utm_campaign=readme&utm_medium=wp_org).
|
75 |
|
76 |
= Helpful Links =
|
77 |
-
[Documentation](
|
78 |
|
79 |
Watch our [product video](https://youtu.be/Uho22R0BCHQ)
|
80 |
-
You can try the [live demo](
|
81 |
|
82 |
-
Read our [blog](
|
83 |
|
84 |
-
[FAQ](
|
85 |
|
86 |
== Installation ==
|
87 |
1. Extract the wp-ultimate-csv-importer.zip in wordpress/wp-content/plugins using FTP or with plugin install in wp-admin.
|
@@ -111,18 +111,22 @@ CSV Importer plugin allows you to import CSVs that are validated. So kindly vali
|
|
111 |
Wordpress CSV Importer plugin recognizes only the UTF-8 encoded characters. You can check on the UTF-8 encode with CSV Lint. Any chance if you are using Excel, we recommend you to use Google Sheets. Excel will miss some characters to be encoded to proper UTF-8.<br />
|
112 |
|
113 |
4. What are the Minimum Requirements needed to upload CSV? <br />
|
114 |
-
Basic System Requirements need to be met to upload a CSV with bulk of records. Kindly check your System Requirements by Settings
|
115 |
|
116 |
5. Why my featured images not getting uploaded? <br />
|
117 |
-
The importer uploads images in the background for faster performance and it requires WP-Cron to be enabled. You can [easily configure WP-Cron](
|
118 |
|
119 |
6. What are the supported custom fields in FREE version? <br />
|
120 |
-
The importer supports [default WordPress Text and Text area fields](
|
121 |
|
122 |
-
For more FAQ, you can refer [here](
|
123 |
|
124 |
== Changelog ==
|
125 |
-
|
|
|
|
|
|
|
|
|
126 |
= 5.3.4 =
|
127 |
* Improved: Notifications in mapping
|
128 |
* Fixed: Export menu issue.
|
@@ -143,7 +147,7 @@ For more FAQ, you can refer [here](http://www.smackcoders.com/wordpress-products
|
|
143 |
* Fixed: Forced quotes issue.
|
144 |
= 5.3 =
|
145 |
* Added: Prevent loss of Mapping data
|
146 |
-
* Added: Custom field group
|
147 |
* Added: Maintenance mode
|
148 |
* Added: Inclusion feature
|
149 |
* Updated: Exclude selection as include selection in export module
|
@@ -153,11 +157,11 @@ For more FAQ, you can refer [here](http://www.smackcoders.com/wordpress-products
|
|
153 |
* Fixed: Post status in Mapping
|
154 |
* Fixed: Featured image in Mapping
|
155 |
* Fixed: Post comment in Mapping
|
156 |
-
* Fixed: Export page radio button based on
|
157 |
* Fixed: Comment Export
|
158 |
* Fixed: Text changes
|
159 |
= 5.2 =
|
160 |
-
* Added: Advance mapping view with Drag
|
161 |
* Added: Ultimate member plugin support for Users Import.
|
162 |
* Fixed: Issue with Post format.
|
163 |
* Fixed: Month order in dashboard charts.
|
@@ -171,8 +175,8 @@ For more FAQ, you can refer [here](http://www.smackcoders.com/wordpress-products
|
|
171 |
* Added: Compatibility for WordPress 4.7.2.
|
172 |
= 5.1 =
|
173 |
* Added: Language Support for German, French, Italian, Spanish, Dutch & Russian.
|
174 |
-
* Added: Restriction to show
|
175 |
-
* Added: Notice to [enable wp-cron](
|
176 |
* Added: Warning messages to notify when uploads directory is missing, insufficient permission to access and uploaded file size exceeds your server limits.
|
177 |
* Added: Duplicate handling feature to skip the duplicate records.
|
178 |
* Added: Canonical URL support in All in One SEO data import.
|
@@ -429,7 +433,7 @@ For more FAQ, you can refer [here](http://www.smackcoders.com/wordpress-products
|
|
429 |
* Added: Category in numerics are restricted and skipped to Uncategorized
|
430 |
* Added: Protected status password inclusion as {password}.
|
431 |
* Added: Post authors can be User ID or name
|
432 |
-
* Improved: Much improved
|
433 |
* Improved: Add custom field option improved.
|
434 |
* Improved: Date format handling improved
|
435 |
* Improved: Any Date format is supported now
|
@@ -483,6 +487,8 @@ For more FAQ, you can refer [here](http://www.smackcoders.com/wordpress-products
|
|
483 |
* Initial release version. Tested and found works well without any issues.
|
484 |
|
485 |
== Upgrade Notice ==
|
|
|
|
|
486 |
= 5.3.4 =
|
487 |
* Upgrade now for Export issue fix.
|
488 |
= 5.3.3 =
|
@@ -630,7 +636,4 @@ For more FAQ, you can refer [here](http://www.smackcoders.com/wordpress-products
|
|
630 |
= 1.0.1 =
|
631 |
* Added features to import multiple tags and categories with different delimiters.
|
632 |
= 1.0.0 =
|
633 |
-
* Initial release of plugin.
|
634 |
-
|
635 |
-
|
636 |
-
|
3 |
Donate link: https://www.paypal.me/smackcoders
|
4 |
Tags: csv, csv import, csv importer, import, import csv, import seo, import woocommerce, acf, excel, spreadsheet
|
5 |
Requires at least: 4.1
|
6 |
+
Tested up to: 4.9.6
|
7 |
Requires PHP: 5.2.4 or above
|
8 |
+
Stable tag: 5.3.5
|
9 |
+
Version: 5.3.5
|
10 |
Author: smackcoders
|
11 |
Author URI: http://profiles.wordpress.org/smackcoders/
|
12 |
License: GPLv2 or later
|
15 |
== Description ==
|
16 |
Rated as one of the Top 500 plugins by [WPMETA.ORG](http://www.wpmeta.org/plugins/wp-ultimate-csv-importer/). The only well managed, supported and regularly updated importer plugin with great track record. Manage your WordPress content as simple as in a spreadsheet editor like Microsoft Excel or Openoffice, etc,.
|
17 |
|
18 |
+
[Ultimate CSV Importer](https://www.smackcoders.com/wp-ultimate-csv-importer-pro.html?utm_source=web&utm_campaign=readme&utm_medium=wp_org) is an import tool that helps to build a WordPress site at the drop of a hat by importing Post, Page, Custom Post, Comments, [WordPress Custom Fields](https://www.smackcoders.com/blog/adding-custom-fields-data-wordpress-free-wp-ultimate-csv-importer.html?utm_source=web&utm_campaign=wp_org&utm_medium=readme) & [CustomPress fields](https://www.smackcoders.com/blog/custompress-import.html?utm_source=web&utm_campaign=wp_org&utm_medium=readme), Reviews of WP Customer Reviews and SEO fields of All in One SEO. The plugin supports import of all Custom Post Types.
|
19 |
|
20 |
+
The image can be imported from external URL like Google image, pixabay, shutterstock, etc,. The images are imported in the background with the help of WP-CRON to enhance the performance. You can [easily configure your WP-Cron](https://www.smackcoders.com/blog/enable-configure-wp-cron.html?utm_source=web&utm_campaign=wp_org&utm_medium=readme) for faster import.
|
21 |
|
22 |
Please show your support for CSV Importer by giving it a [rating](https://wordpress.org/support/view/plugin-reviews/wp-ultimate-csv-importer?rate=5#postform) :)
|
23 |
|
53 |
* Core Module - Post, Page, Custom Post, Comments, Category, Tags, Users, Customer Reviews.
|
54 |
* eCommerce Products - WooCommerce, MarketPress, WP e-Commerce & eShop.
|
55 |
* SEO field - Free & Pro version of All in One SEO and Yoast SEO.
|
56 |
+
* Multilingual - WPML & [qTranslate X](https://www.smackcoders.com/blog/import-marketpress-pro-event-manager-and-more.html?utm_source=web&utm_campaign=readme&utm_medium=wp_org)
|
57 |
* Image - NextGEN Gallery
|
58 |
* Events Management - Events Manager FREE & Pro
|
59 |
* Custom fields - CustomPress, ACF, Types, Pods, CCTM & WordPress default Text & Textarea fields.
|
70 |
* Imported modules can be managed in the File manager.
|
71 |
* Detailed logs are maintained in the Log manager.
|
72 |
* Duplicate handling with any of the WordPress field.
|
73 |
+
* Import all the supported features of CSV Importer plugin with [Rest API](https://www.smackcoders.com/document/wp-ultimate-csv-importer-rest-api.html?utm_source=web&utm_campaign=readme&utm_medium=wp_org).
|
74 |
* Extendable for your needs with [API](https://www.smackcoders.com/document/docs/api/classes/SmackUCI_API.html?utm_source=web&utm_campaign=readme&utm_medium=wp_org).
|
75 |
|
76 |
= Helpful Links =
|
77 |
+
[Documentation](https://www.smackcoders.com/documentation/ultimate-csv-importer-pro/how-to-import-csv?utm_source=web&utm_campaign=readme&utm_medium=wp_org).
|
78 |
|
79 |
Watch our [product video](https://youtu.be/Uho22R0BCHQ)
|
80 |
+
You can try the [live demo](https://demo.smackcoders.com/wordpress/wp-admin/admin.php?page=sm-uci-dashboard) or request for free trial by clicking Try Now in [WordPress Ultimate CSV Importer](https://www.smackcoders.com/wp-ultimate-csv-importer-pro.html?utm_source=web&utm_campaign=readme&utm_medium=wp_org) page to generate your own WordPress test environment.
|
81 |
|
82 |
+
Read our [blog](https://www.smackcoders.com/blog/category/wordpress-products?utm_source=web&utm_campaign=readme&utm_medium=wp_org) to know more about the new [features](https://www.smackcoders.com/wp-ultimate-csv-importer-pro.html?utm_source=web&utm_campaign=readme&utm_medium=wp_org) of our WordPress plugins.
|
83 |
|
84 |
+
[FAQ](https://www.smackcoders.com/wordpress-products-faq.html?utm_source=web&utm_campaign=readme&utm_medium=wp_org) and [Troubleshooting tips](https://wordpress.org/support/topic/tips-to-trouble-shoot-wp-ultimate-csv-importer-issues-1)
|
85 |
|
86 |
== Installation ==
|
87 |
1. Extract the wp-ultimate-csv-importer.zip in wordpress/wp-content/plugins using FTP or with plugin install in wp-admin.
|
111 |
Wordpress CSV Importer plugin recognizes only the UTF-8 encoded characters. You can check on the UTF-8 encode with CSV Lint. Any chance if you are using Excel, we recommend you to use Google Sheets. Excel will miss some characters to be encoded to proper UTF-8.<br />
|
112 |
|
113 |
4. What are the Minimum Requirements needed to upload CSV? <br />
|
114 |
+
Basic System Requirements need to be met to upload a CSV with bulk of records. Kindly check your System Requirements by Settings → Security and Performance on CSV Importer plugin settings tab. You have to increase the system requirements values to the minimum values mentioned in the plugin. <br />
|
115 |
|
116 |
5. Why my featured images not getting uploaded? <br />
|
117 |
+
The importer uploads images in the background for faster performance and it requires WP-Cron to be enabled. You can [easily configure WP-Cron](https://www.smackcoders.com/blog/enable-configure-wp-cron.html?utm_source=wp_org&utm_campaign=readme&utm_medium=faq) for smooth and speedy import. <br />
|
118 |
|
119 |
6. What are the supported custom fields in FREE version? <br />
|
120 |
+
The importer supports [default WordPress Text and Text area fields](https://www.smackcoders.com/blog/adding-custom-fields-data-wordpress-free-wp-ultimate-csv-importer.html?utm_source=wordpress_org&utm_campaign=readme&utm_medium=faq) of Types, Pods, etc,.. You can also import the Text & Text area fields created with custom codes in WordPress standards.
|
121 |
|
122 |
+
For more FAQ, you can refer [here](https://www.smackcoders.com/wordpress-products-faq.html?utm_source=wp_org&utm_campaign=readme&utm_medium=faq).
|
123 |
|
124 |
== Changelog ==
|
125 |
+
= 5.3.5 =
|
126 |
+
* Added: Support for serialized data import.
|
127 |
+
* Added: Compatibility for WordPress 4.9.6
|
128 |
+
* Improved: Usability and user interface.
|
129 |
+
* Fixed: Insertion of hyperlinks in WYSIWYG editor in drag and drop mapping.
|
130 |
= 5.3.4 =
|
131 |
* Improved: Notifications in mapping
|
132 |
* Fixed: Export menu issue.
|
147 |
* Fixed: Forced quotes issue.
|
148 |
= 5.3 =
|
149 |
* Added: Prevent loss of Mapping data
|
150 |
+
* Added: Custom field group plugin support
|
151 |
* Added: Maintenance mode
|
152 |
* Added: Inclusion feature
|
153 |
* Updated: Exclude selection as include selection in export module
|
157 |
* Fixed: Post status in Mapping
|
158 |
* Fixed: Featured image in Mapping
|
159 |
* Fixed: Post comment in Mapping
|
160 |
+
* Fixed: Export page radio button based on plugin activation
|
161 |
* Fixed: Comment Export
|
162 |
* Fixed: Text changes
|
163 |
= 5.2 =
|
164 |
+
* Added: Advance mapping view with Drag ‘n’ Drop support.
|
165 |
* Added: Ultimate member plugin support for Users Import.
|
166 |
* Fixed: Issue with Post format.
|
167 |
* Fixed: Month order in dashboard charts.
|
175 |
* Added: Compatibility for WordPress 4.7.2.
|
176 |
= 5.1 =
|
177 |
* Added: Language Support for German, French, Italian, Spanish, Dutch & Russian.
|
178 |
+
* Added: Restriction to show “Admin dashboard widget†only for users with Admin role. [Solved](https://wordpress.org/support/topic/admin-dashboard-widget-is-showing-to-all-users)
|
179 |
+
* Added: Notice to [enable wp-cron](https://www.smackcoders.com/blog/enable-configure-wp-cron.html?utm_source=wp_org&utm_campaign=readme&utm_medium=change_log) to populate the feature images. [Solved](https://wordpress.org/support/topic/version-5-03-issues).
|
180 |
* Added: Warning messages to notify when uploads directory is missing, insufficient permission to access and uploaded file size exceeds your server limits.
|
181 |
* Added: Duplicate handling feature to skip the duplicate records.
|
182 |
* Added: Canonical URL support in All in One SEO data import.
|
433 |
* Added: Category in numerics are restricted and skipped to Uncategorized
|
434 |
* Added: Protected status password inclusion as {password}.
|
435 |
* Added: Post authors can be User ID or name
|
436 |
+
* Improved: Much improved workflow
|
437 |
* Improved: Add custom field option improved.
|
438 |
* Improved: Date format handling improved
|
439 |
* Improved: Any Date format is supported now
|
487 |
* Initial release version. Tested and found works well without any issues.
|
488 |
|
489 |
== Upgrade Notice ==
|
490 |
+
= 5.3.5 =
|
491 |
+
* Upgrade now to get support for serialized data import and compatibility for WordPress 4.9.6
|
492 |
= 5.3.4 =
|
493 |
* Upgrade now for Export issue fix.
|
494 |
= 5.3.3 =
|
636 |
= 1.0.1 =
|
637 |
* Added features to import multiple tags and categories with different delimiters.
|
638 |
= 1.0.0 =
|
639 |
+
* Initial release of plugin.
|
|
|
|
|
|
admin/views/form-advanced-mapping-configuration.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* modify it under the terms of the GNU Affero General Public License version 3
|
8 |
* as published by the Free Software Foundation with the addition of the
|
9 |
* following permission added to Section 15 as permitted in Section 7(a): FOR
|
10 |
-
* ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY WP
|
11 |
* CSV Importer, WP Ultimate CSV Importer DISCLAIMS THE WARRANTY OF NON
|
12 |
* INFRINGEMENT OF THIRD PARTY RIGHTS.
|
13 |
*
|
7 |
* modify it under the terms of the GNU Affero General Public License version 3
|
8 |
* as published by the Free Software Foundation with the addition of the
|
9 |
* following permission added to Section 15 as permitted in Section 7(a): FOR
|
10 |
+
* ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY WP Ultimateheck
|
11 |
* CSV Importer, WP Ultimate CSV Importer DISCLAIMS THE WARRANTY OF NON
|
12 |
* INFRINGEMENT OF THIRD PARTY RIGHTS.
|
13 |
*
|
admin/views/form-file-import-method.php
CHANGED
@@ -93,7 +93,7 @@ else{
|
|
93 |
<!-- <div class="panel-heading">
|
94 |
<h1 class="text-center"><?php //echo esc_html__('Hello, Choose CSV/XML to import','wp-ultimate-csv-importer');?></h1>
|
95 |
</div> -->
|
96 |
-
|
97 |
<div id ="warning" class="display-warning" style="color:red;align:center;display:inline;font-weight:bold;font-size:15px; border: 1px solid red;margin:2% 2%;padding: 20px 0 20px;position: absolute;text-align: center;width:93%;display:none;"> </div>
|
98 |
</div>
|
99 |
<div class="panel-body">
|
@@ -140,10 +140,11 @@ else{
|
|
140 |
<div class="clearfix"></div>
|
141 |
<div class="form-group mt10">
|
142 |
<label>
|
143 |
-
|
144 |
</label>
|
145 |
<label class="pl20" title="Please upgrade to PRO for updating records">
|
146 |
-
|
|
|
147 |
</label>
|
148 |
</div>
|
149 |
<div id="select_module" class="select_module col-md-8 col-md-offset-3">
|
@@ -170,14 +171,14 @@ else{
|
|
170 |
<div class="file_upload">
|
171 |
<input id="upload_file" type="file" name = "files[]" onchange ="upload_method()"/>
|
172 |
<div class="file-upload-icon">
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
</div>
|
178 |
<div class="bhoechie-tab-content" id="division5" style="width: 100%;text-align: center;margin-top: 150px;font-size: 2.2em;color: red;">
|
179 |
-
|
180 |
-
|
181 |
</div>
|
182 |
</div>
|
183 |
<!-- Row -->
|
@@ -186,25 +187,25 @@ else{
|
|
186 |
</div>
|
187 |
</div>
|
188 |
<script type="text/javascript">
|
189 |
-
|
190 |
jQuery('#mode_update').click(function(e) {
|
191 |
-
swal('Warning!', 'Please upgrade to PRO
|
192 |
});
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
</script>
|
209 |
<input type='hidden' id='uploaded_name' name='uploaded_name' value =''>
|
210 |
<input type='hidden' id='file_name' name='file_name' value =''>
|
93 |
<!-- <div class="panel-heading">
|
94 |
<h1 class="text-center"><?php //echo esc_html__('Hello, Choose CSV/XML to import','wp-ultimate-csv-importer');?></h1>
|
95 |
</div> -->
|
96 |
+
<div id="warningsec" style="color:red;width:100%; min-height: 110px;border: 1px solid #d1d1d1;background-color:#fff;display:none;">
|
97 |
<div id ="warning" class="display-warning" style="color:red;align:center;display:inline;font-weight:bold;font-size:15px; border: 1px solid red;margin:2% 2%;padding: 20px 0 20px;position: absolute;text-align: center;width:93%;display:none;"> </div>
|
98 |
</div>
|
99 |
<div class="panel-body">
|
140 |
<div class="clearfix"></div>
|
141 |
<div class="form-group mt10">
|
142 |
<label>
|
143 |
+
<input type="radio" name="import_mode" id="mode_insert" value="new_items" checked="checked"> <?php echo esc_html__('New Items','wp-ultimate-csv-importer');?>
|
144 |
</label>
|
145 |
<label class="pl20" title="Please upgrade to PRO for updating records">
|
146 |
+
<div class="col-xs-6 col-xs-offset-0 col-sm-3 col-sm-offset-0 col-md-2 col-md-offset-0"><label class="wp_img_size"><input style="display:none"id="mode_update" ></div>
|
147 |
+
<input type="radio" name="import_mode" id="mode_update" value="existing_items" disabled="disabled"><?php echo esc_html__(' Existing Items','wp-ultimate-csv-importer');?>
|
148 |
</label>
|
149 |
</div>
|
150 |
<div id="select_module" class="select_module col-md-8 col-md-offset-3">
|
171 |
<div class="file_upload">
|
172 |
<input id="upload_file" type="file" name = "files[]" onchange ="upload_method()"/>
|
173 |
<div class="file-upload-icon">
|
174 |
+
<span id="fileupload" style="cursor: pointer;" class="import-icon"> <img src="<?php echo plugins_url().'/'.SM_UCI_SLUG ;?>/assets/images/upload-128.png" width="60" height="60" /> </span>
|
175 |
+
<span class="file-upload-text"><?php echo esc_html__('Click here to upload from desktop','wp-ultimate-csv0-importer-pro');?></span>
|
176 |
+
</div>
|
177 |
+
</div>
|
178 |
</div>
|
179 |
<div class="bhoechie-tab-content" id="division5" style="width: 100%;text-align: center;margin-top: 150px;font-size: 2.2em;color: red;">
|
180 |
+
<?php echo esc_html__('This feature is only available in PRO.','wp-ultimate-csv-importer');?>
|
181 |
+
</div>
|
182 |
</div>
|
183 |
</div>
|
184 |
<!-- Row -->
|
187 |
</div>
|
188 |
</div>
|
189 |
<script type="text/javascript">
|
190 |
+
jQuery(document).ready(function() {
|
191 |
jQuery('#mode_update').click(function(e) {
|
192 |
+
swal('Warning!', 'Please upgrade to PRO', 'warning')
|
193 |
});
|
194 |
+
jQuery("div.bhoechie-tab-menu>div.list-group>a").click(function(e) {
|
195 |
+
e.preventDefault();
|
196 |
+
jQuery(this).siblings('a.active').removeClass("active");
|
197 |
+
jQuery(this).addClass("active");
|
198 |
+
var index = jQuery(this).index();
|
199 |
+
if(index == 0) {
|
200 |
+
jQuery("div.bhoechie-tab>div.bhoechie-tab-content").removeClass("active");
|
201 |
+
jQuery("div.bhoechie-tab>div.bhoechie-tab-content").eq(index).addClass("active");
|
202 |
+
} else {
|
203 |
+
jQuery("div.bhoechie-tab>div.bhoechie-tab-content").removeClass("active");
|
204 |
+
//jQuery("div.bhoechie-tab>div.bhoechie-tab-content").eq(5).addClass("active");
|
205 |
+
jQuery("div#division5").addClass("active");
|
206 |
+
}
|
207 |
+
});
|
208 |
+
});
|
209 |
</script>
|
210 |
<input type='hidden' id='uploaded_name' name='uploaded_name' value =''>
|
211 |
<input type='hidden' id='file_name' name='file_name' value =''>
|
admin/views/form-ignite-import.php
CHANGED
@@ -76,7 +76,7 @@ if($main_mode == 'on'){
|
|
76 |
<div class="col-md-12 mt40" style="text-align: center;">
|
77 |
<input type="button" class="smack-btn smack-btn-primary btn-radius" value="<?php echo esc_attr('Resume','wp-ultimate-csv-importer');?>" style="display:none;" id="continue_import" onclick="continueImport();" >
|
78 |
<input type="button" class="smack-btn smack-btn-danger btn-radius" value="<?php echo esc_attr('Pause','wp-ultimate-csv-importer');?>" id="terminate_now" onclick="terminateImport()">
|
79 |
-
<input type="button" class="smack-btn smack-btn-danger btn-radius" value="<?php echo esc_attr('
|
80 |
</div></div>
|
81 |
<div class="clearfix"></div>
|
82 |
<!-- <input type="button" class="smack-btn smack-btn-primary btn-radius import_config_btn" id="ignite_import" name="ignite_import" value="Confirm-Import" onclick="igniteImport();"> -->
|
76 |
<div class="col-md-12 mt40" style="text-align: center;">
|
77 |
<input type="button" class="smack-btn smack-btn-primary btn-radius" value="<?php echo esc_attr('Resume','wp-ultimate-csv-importer');?>" style="display:none;" id="continue_import" onclick="continueImport();" >
|
78 |
<input type="button" class="smack-btn smack-btn-danger btn-radius" value="<?php echo esc_attr('Pause','wp-ultimate-csv-importer');?>" id="terminate_now" onclick="terminateImport()">
|
79 |
+
<input type="button" class="smack-btn smack-btn-danger btn-radius" value="<?php echo esc_attr('Close','wp-ultimate-csv-importer');?>" id="new_import" onclick="reload_to_new_import()" style="display: none;">
|
80 |
</div></div>
|
81 |
<div class="clearfix"></div>
|
82 |
<!-- <input type="button" class="smack-btn smack-btn-primary btn-radius import_config_btn" id="ignite_import" name="ignite_import" value="Confirm-Import" onclick="igniteImport();"> -->
|
admin/views/form-import-configuration.php
CHANGED
@@ -113,7 +113,7 @@ else{
|
|
113 |
</div>
|
114 |
<div class="col-md-12 mt20">
|
115 |
<div class="col-md-12 mb15">
|
116 |
-
<label><input type = "checkbox" class="import_config_checkbox" name = "schedule" id = "schedule" onclick = "toggle_configdetails(this.id);"><?php echo esc_html__('Do you want to Schedule this Import');?></label></div>
|
117 |
</div>
|
118 |
|
119 |
</div>
|
@@ -139,4 +139,4 @@ else{
|
|
139 |
</script>
|
140 |
<?php } ?>
|
141 |
|
142 |
-
<div style="font-size: 15px;text-align: center;padding-top: 20px">Powered by <a href="https://www.smackcoders.com?utm_source=wordpress&utm_medium=plugin&utm_campaign=free_csv_importer" target="blank">Smackcoders</a>.</div>
|
113 |
</div>
|
114 |
<div class="col-md-12 mt20">
|
115 |
<div class="col-md-12 mb15">
|
116 |
+
<label><input class="upgrade_pro_checkbox" style="background-color: blue" type = "checkbox" class="import_config_checkbox" name = "schedule" id = "schedule" onclick = "toggle_configdetails(this.id);"><?php echo esc_html__('Do you want to Schedule this Import');?></label></div>
|
117 |
</div>
|
118 |
|
119 |
</div>
|
139 |
</script>
|
140 |
<?php } ?>
|
141 |
|
142 |
+
<div style="font-size: 15px;text-align: center;padding-top: 20px">Powered by <a href="https://www.smackcoders.com?utm_source=wordpress&utm_medium=plugin&utm_campaign=free_csv_importer" target="blank">Smackcoders</a>.</div>
|
admin/views/form-media-handling.php
CHANGED
@@ -89,8 +89,8 @@ $records = $uci_admin->GetPostValues(sanitize_key($_REQUEST['eventkey']));
|
|
89 |
</div></div>
|
90 |
<div class="col-md-12 mb20" id="image-handling-btn-opt">
|
91 |
|
92 |
-
<div class="col-md-offset-2 col-sm-offset-1"><label class="external_img_label"><input type="radio" name="imageprocess" id="use_existing_images" value="use_existing_images" onclick="displayselect(this.id);"><?php echo esc_html__('Use media images if already available','wp-ultimate-csv-importer');?></label></div>
|
93 |
-
<div class="col-md-offset-2 col-sm-offset-1"><label class="external_img_label"><input type="radio"
|
94 |
</div>
|
95 |
<?php if(in_array('nextgen-gallery/nggallery.php', $uci_admin->getActivePlugins())) { ?>
|
96 |
<div class="col-md-12 mt20">
|
@@ -109,10 +109,10 @@ $records = $uci_admin->GetPostValues(sanitize_key($_REQUEST['eventkey']));
|
|
109 |
<div class="col-md-12">
|
110 |
<fieldset class="scheduler-border"> <legend class="scheduler-border" style="margin-top:20px;">Image Sizes</legend>
|
111 |
<div class="row">
|
112 |
-
<div class="col-xs-6 col-xs-offset-0 col-sm-3 col-sm-offset-1 col-md-2 col-md-offset-1"><label class="wp_img_size"><input type="checkbox" name="media_thumbnail_size" id="thumbnail_size" value="on" checked="checked"><?php echo esc_html__('Thumbnail','wp-ultimate-csv-importer');?></label></div>
|
113 |
-
<div class="col-xs-6 col-xs-offset-0 col-sm-3 col-sm-offset-0 col-md-2 col-md-offset-0"><label class="wp_img_size"><input type="checkbox" name="media_medium_size" id="medium_size" ><?php echo esc_html__('Medium','wp-ultimate-csv-importer');?></label></div>
|
114 |
-
<div class="col-xs-6 col-sm-3 col-sm-offset-0 col-md-3 col-md-offset-0"><label class="wp_img_size"><input type="checkbox" name="media_medium_large_size" id="medium_large_size"><?php echo esc_html__('Medium Large','wp-ultimate-csv-importer');?></label></div>
|
115 |
-
<div class="col-xs-6 col-sm-3 col-sm-offset-0 col-md-2"><label class="wp_img_size"><input type="checkbox" name="media_large_size" id="large_size" ><?php echo esc_html__('Large','wp-ultimate-csv-importer');?></label></div>
|
116 |
</div>
|
117 |
<!--<div> tr div end -->
|
118 |
<!-- add custom -->
|
@@ -140,33 +140,33 @@ $records = $uci_admin->GetPostValues(sanitize_key($_REQUEST['eventkey']));
|
|
140 |
<!-- </div> tr div end -->
|
141 |
<!-- tr div start <div>-->
|
142 |
<div class="col-md-12">
|
143 |
-
<div class="col-xs-12 col-sm-6 col-md-4 col-md-offset-1"><label class="external_img_label"><input type="checkbox" name="media_seo_title" id="media_seo_title" data-key="title" class="media_seo" onclick="enable_media_seo_headers('title');"/><?php echo esc_html__('Set image Title:','wp-ultimate-csv-importer');?></label></div>
|
144 |
<div class="col-xs-12 col-sm-6 col-md-3 mb10"><?php print( $uci_admin->getCSVHeader('title') ); ?></div>
|
145 |
</div>
|
146 |
<!-- </div> tr div end -->
|
147 |
<!-- tr div start <div>-->
|
148 |
<div class="col-md-12">
|
149 |
<div class="col-xs-12 col-sm-6 col-md-4 col-md-offset-1">
|
150 |
-
<label class="external_img_label"><input type="checkbox" name="media_seo_caption" id="media_seo_caption" data-key="caption" class="media_seo" onclick="enable_media_seo_headers('caption');"/><?php echo esc_html__('Set image Caption:','wp-ultimate-csv-importer');?></label></div>
|
151 |
<div class="col-xs-12 col-sm-6 col-md-3 mb10 "><?php print( $uci_admin->getCSVHeader('caption') ); ?></div>
|
152 |
</div>
|
153 |
<!-- </div> tr div end -->
|
154 |
<!-- <div> tr div start -->
|
155 |
<div class="col-md-12">
|
156 |
<div class="col-xs-12 col-sm-6 col-md-4 col-md-offset-1">
|
157 |
-
<label class="external_img_label"><input type="checkbox" name="media_seo_alttext" id="media_seo_alttext" data-key="alttext" class="media_seo" onclick="enable_media_seo_headers('alttext');"/><?php echo esc_html__('Set image Alt Text:','wp-ultimate-csv-importer');?></label></div>
|
158 |
<div class="col-xs-12 col-sm-6 col-md-3 mb10"><?php print( $uci_admin->getCSVHeader('alttext') ); ?></div>
|
159 |
</div>
|
160 |
<!-- </div> tr div end -->
|
161 |
<!-- tr div start <div>-->
|
162 |
<div class="col-md-12">
|
163 |
-
<div class="col-xs-12 col-sm-6 col-md-4 col-md-offset-1"><label class="external_img_label"><input type="checkbox" name="media_seo_description" data-key="description" class="media_seo" id="media_seo_description" onclick="enable_media_seo_headers('description');"/><?php echo esc_html__('Set image Description:','wp-ultimate-csv-importer');?></label></div>
|
164 |
<div class="col-xs-12 col-sm-6 col-md-3 mb10"> <?php print( $uci_admin->getCSVHeader('description') ); ?></div>
|
165 |
</div>
|
166 |
<!-- </div> tr div end -->
|
167 |
<!-- <div> tr div start -->
|
168 |
<div class="col-md-12">
|
169 |
-
<div class="col-xs-12 col-sm-6 col-md-4 col-md-offset-1"><label class="external_img_label"><input type="checkbox" name="change_media_file_name" class="media_seo" data-key="imageName" id="change_media_file_name" onclick="enable_media_seo_headers('imageName');"><?php echo esc_html__('Change image file name to:','wp-ultimate-csv-importer');?></label></div>
|
170 |
<div class="col-xs-12 col-sm-6 col-md-3 mb10"><?php print( $uci_admin->getCSVHeader('imageName') ); ?></div>
|
171 |
</div>
|
172 |
<!-- </div> tr div end -->
|
89 |
</div></div>
|
90 |
<div class="col-md-12 mb20" id="image-handling-btn-opt">
|
91 |
|
92 |
+
<div class="col-md-offset-2 col-sm-offset-1"><label class="external_img_label"><input type="radio" class="upgrade_pro_checkbox" name="imageprocess" id="use_existing_images" value="use_existing_images" onclick="displayselect(this.id);"><?php echo esc_html__('Use media images if already available','wp-ultimate-csv-importer');?></label></div>
|
93 |
+
<div class="col-md-offset-2 col-sm-offset-1"><label class="external_img_label"><input type="radio" class="upgrade_pro_checkbox" name="imageprocess" id="overwrite_existing_images" value="overwrite_existing_images" onclick="displayselect(this.id);"><?php echo esc_html__('Do you want to overwrite the existing images','wp-ultimate-csv-importer');?></label></div>
|
94 |
</div>
|
95 |
<?php if(in_array('nextgen-gallery/nggallery.php', $uci_admin->getActivePlugins())) { ?>
|
96 |
<div class="col-md-12 mt20">
|
109 |
<div class="col-md-12">
|
110 |
<fieldset class="scheduler-border"> <legend class="scheduler-border" style="margin-top:20px;">Image Sizes</legend>
|
111 |
<div class="row">
|
112 |
+
<div class="col-xs-6 col-xs-offset-0 col-sm-3 col-sm-offset-1 col-md-2 col-md-offset-1"><label class="wp_img_size"><input class="upgrade_pro_checkbox" type="checkbox" name="media_thumbnail_size" id="thumbnail_size" value="on" checked="checked"><?php echo esc_html__('Thumbnail','wp-ultimate-csv-importer');?></label></div>
|
113 |
+
<div class="col-xs-6 col-xs-offset-0 col-sm-3 col-sm-offset-0 col-md-2 col-md-offset-0"><label class="wp_img_size"><input class="upgrade_pro_checkbox" type="checkbox" name="media_medium_size" id="medium_size" ><?php echo esc_html__('Medium','wp-ultimate-csv-importer');?></label></div>
|
114 |
+
<div class="col-xs-6 col-sm-3 col-sm-offset-0 col-md-3 col-md-offset-0"><label class="wp_img_size"><input class="upgrade_pro_checkbox" type="checkbox" name="media_medium_large_size" id="medium_large_size"><?php echo esc_html__('Medium Large','wp-ultimate-csv-importer');?></label></div>
|
115 |
+
<div class="col-xs-6 col-sm-3 col-sm-offset-0 col-md-2"><label class="wp_img_size"><input class="upgrade_pro_checkbox" type="checkbox" name="media_large_size" id="large_size" ><?php echo esc_html__('Large','wp-ultimate-csv-importer');?></label></div>
|
116 |
</div>
|
117 |
<!--<div> tr div end -->
|
118 |
<!-- add custom -->
|
140 |
<!-- </div> tr div end -->
|
141 |
<!-- tr div start <div>-->
|
142 |
<div class="col-md-12">
|
143 |
+
<div class="col-xs-12 col-sm-6 col-md-4 col-md-offset-1"><label class="external_img_label"><input class="upgrade_pro_checkbox" type="checkbox" name="media_seo_title" id="media_seo_title" data-key="title" class="media_seo" onclick="enable_media_seo_headers('title');"/><?php echo esc_html__('Set image Title:','wp-ultimate-csv-importer');?></label></div>
|
144 |
<div class="col-xs-12 col-sm-6 col-md-3 mb10"><?php print( $uci_admin->getCSVHeader('title') ); ?></div>
|
145 |
</div>
|
146 |
<!-- </div> tr div end -->
|
147 |
<!-- tr div start <div>-->
|
148 |
<div class="col-md-12">
|
149 |
<div class="col-xs-12 col-sm-6 col-md-4 col-md-offset-1">
|
150 |
+
<label class="external_img_label"><input class="upgrade_pro_checkbox" type="checkbox" name="media_seo_caption" id="media_seo_caption" data-key="caption" class="media_seo" onclick="enable_media_seo_headers('caption');"/><?php echo esc_html__('Set image Caption:','wp-ultimate-csv-importer');?></label></div>
|
151 |
<div class="col-xs-12 col-sm-6 col-md-3 mb10 "><?php print( $uci_admin->getCSVHeader('caption') ); ?></div>
|
152 |
</div>
|
153 |
<!-- </div> tr div end -->
|
154 |
<!-- <div> tr div start -->
|
155 |
<div class="col-md-12">
|
156 |
<div class="col-xs-12 col-sm-6 col-md-4 col-md-offset-1">
|
157 |
+
<label class="external_img_label"><input class="upgrade_pro_checkbox" type="checkbox" name="media_seo_alttext" id="media_seo_alttext" data-key="alttext" class="media_seo" onclick="enable_media_seo_headers('alttext');"/><?php echo esc_html__('Set image Alt Text:','wp-ultimate-csv-importer');?></label></div>
|
158 |
<div class="col-xs-12 col-sm-6 col-md-3 mb10"><?php print( $uci_admin->getCSVHeader('alttext') ); ?></div>
|
159 |
</div>
|
160 |
<!-- </div> tr div end -->
|
161 |
<!-- tr div start <div>-->
|
162 |
<div class="col-md-12">
|
163 |
+
<div class="col-xs-12 col-sm-6 col-md-4 col-md-offset-1"><label class="external_img_label"><input class="upgrade_pro_checkbox" type="checkbox" name="media_seo_description" data-key="description" class="media_seo" id="media_seo_description" onclick="enable_media_seo_headers('description');"/><?php echo esc_html__('Set image Description:','wp-ultimate-csv-importer');?></label></div>
|
164 |
<div class="col-xs-12 col-sm-6 col-md-3 mb10"> <?php print( $uci_admin->getCSVHeader('description') ); ?></div>
|
165 |
</div>
|
166 |
<!-- </div> tr div end -->
|
167 |
<!-- <div> tr div start -->
|
168 |
<div class="col-md-12">
|
169 |
+
<div class="col-xs-12 col-sm-6 col-md-4 col-md-offset-1"><label class="external_img_label"><input class="upgrade_pro_checkbox" type="checkbox" name="change_media_file_name" class="media_seo" data-key="imageName" id="change_media_file_name" onclick="enable_media_seo_headers('imageName');"><?php echo esc_html__('Change image file name to:','wp-ultimate-csv-importer');?></label></div>
|
170 |
<div class="col-xs-12 col-sm-6 col-md-3 mb10"><?php print( $uci_admin->getCSVHeader('imageName') ); ?></div>
|
171 |
</div>
|
172 |
<!-- </div> tr div end -->
|
assets/js/ckeditor-js/plugins/autolink/plugin.js
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
|
3 |
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4 |
+
*/
|
5 |
+
(function(){var d=/^(https?|ftp):\/\/(-\.)?([^\s\/?\.#-]+\.?)+(\/[^\s]*)?[^\s\.,]$/ig,e=/"/g;CKEDITOR.plugins.add("autolink",{requires:"clipboard",init:function(c){c.on("paste",function(b){var a=b.data.dataValue;b.data.dataTransfer.getTransferType(c)!=CKEDITOR.DATA_TRANSFER_INTERNAL&&!(-1<a.indexOf("<"))&&(a=a.replace(d,'<a href="'+a.replace(e,"%22")+'">$&</a>'),a!=b.data.dataValue&&(b.data.type="html"),b.data.dataValue=a)})}})})();
|
assets/js/ckeditor-js/plugins/link/dialogs/anchor.js
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
|
3 |
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4 |
+
*/
|
5 |
+
CKEDITOR.dialog.add("anchor",function(c){function d(a,b){return a.createFakeElement(a.document.createElement("a",{attributes:b}),"cke_anchor","anchor")}return{title:c.lang.link.anchor.title,minWidth:300,minHeight:60,onOk:function(){var a=CKEDITOR.tools.trim(this.getValueOf("info","txtName")),a={id:a,name:a,"data-cke-saved-name":a};if(this._.selectedElement)this._.selectedElement.data("cke-realelement")?(a=d(c,a),a.replace(this._.selectedElement),CKEDITOR.env.ie&&c.getSelection().selectElement(a)):
|
6 |
+
this._.selectedElement.setAttributes(a);else{var b=c.getSelection(),b=b&&b.getRanges()[0];b.collapsed?(a=d(c,a),b.insertNode(a)):(CKEDITOR.env.ie&&9>CKEDITOR.env.version&&(a["class"]="cke_anchor"),a=new CKEDITOR.style({element:"a",attributes:a}),a.type=CKEDITOR.STYLE_INLINE,c.applyStyle(a))}},onHide:function(){delete this._.selectedElement},onShow:function(){var a=c.getSelection(),b=a.getSelectedElement(),d=b&&b.data("cke-realelement"),e=d?CKEDITOR.plugins.link.tryRestoreFakeAnchor(c,b):CKEDITOR.plugins.link.getSelectedLink(c);
|
7 |
+
e&&(this._.selectedElement=e,this.setValueOf("info","txtName",e.data("cke-saved-name")||""),!d&&a.selectElement(e),b&&(this._.selectedElement=b));this.getContentElement("info","txtName").focus()},contents:[{id:"info",label:c.lang.link.anchor.title,accessKey:"I",elements:[{type:"text",id:"txtName",label:c.lang.link.anchor.name,required:!0,validate:function(){return!this.getValue()?(alert(c.lang.link.anchor.errorName),!1):!0}}]}]}});
|
assets/js/ckeditor-js/plugins/link/dialogs/link.js
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
|
3 |
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4 |
+
*/
|
5 |
+
(function(){CKEDITOR.dialog.add("link",function(g){var l=CKEDITOR.plugins.link,m=function(){var a=this.getDialog(),b=a.getContentElement("target","popupFeatures"),a=a.getContentElement("target","linkTargetName"),k=this.getValue();if(b&&a)switch(b=b.getElement(),b.hide(),a.setValue(""),k){case "frame":a.setLabel(g.lang.link.targetFrameName);a.getElement().show();break;case "popup":b.show();a.setLabel(g.lang.link.targetPopupName);a.getElement().show();break;default:a.setValue(k),a.getElement().hide()}},
|
6 |
+
f=function(a){a.target&&this.setValue(a.target[this.id]||"")},h=function(a){a.advanced&&this.setValue(a.advanced[this.id]||"")},i=function(a){a.target||(a.target={});a.target[this.id]=this.getValue()||""},j=function(a){a.advanced||(a.advanced={});a.advanced[this.id]=this.getValue()||""},c=g.lang.common,b=g.lang.link,d;return{title:b.title,minWidth:350,minHeight:230,contents:[{id:"info",label:b.info,title:b.info,elements:[{id:"linkType",type:"select",label:b.type,"default":"url",items:[[b.toUrl,"url"],
|
7 |
+
[b.toAnchor,"anchor"],[b.toEmail,"email"]],onChange:function(){var a=this.getDialog(),b=["urlOptions","anchorOptions","emailOptions"],k=this.getValue(),e=a.definition.getContents("upload"),e=e&&e.hidden;"url"==k?(g.config.linkShowTargetTab&&a.showPage("target"),e||a.showPage("upload")):(a.hidePage("target"),e||a.hidePage("upload"));for(e=0;e<b.length;e++){var c=a.getContentElement("info",b[e]);c&&(c=c.getElement().getParent().getParent(),b[e]==k+"Options"?c.show():c.hide())}a.layout()},setup:function(a){this.setValue(a.type||
|
8 |
+
"url")},commit:function(a){a.type=this.getValue()}},{type:"vbox",id:"urlOptions",children:[{type:"hbox",widths:["25%","75%"],children:[{id:"protocol",type:"select",label:c.protocol,"default":"http://",items:[["http://","http://"],["https://","https://"],["ftp://","ftp://"],["news://","news://"],[b.other,""]],setup:function(a){a.url&&this.setValue(a.url.protocol||"")},commit:function(a){a.url||(a.url={});a.url.protocol=this.getValue()}},{type:"text",id:"url",label:c.url,required:!0,onLoad:function(){this.allowOnChange=
|
9 |
+
!0},onKeyUp:function(){this.allowOnChange=!1;var a=this.getDialog().getContentElement("info","protocol"),b=this.getValue(),k=/^((javascript:)|[#\/\.\?])/i,c=/^(http|https|ftp|news):\/\/(?=.)/i.exec(b);c?(this.setValue(b.substr(c[0].length)),a.setValue(c[0].toLowerCase())):k.test(b)&&a.setValue("");this.allowOnChange=!0},onChange:function(){if(this.allowOnChange)this.onKeyUp()},validate:function(){var a=this.getDialog();return a.getContentElement("info","linkType")&&"url"!=a.getValueOf("info","linkType")?
|
10 |
+
!0:!g.config.linkJavaScriptLinksAllowed&&/javascript\:/.test(this.getValue())?(alert(c.invalidValue),!1):this.getDialog().fakeObj?!0:CKEDITOR.dialog.validate.notEmpty(b.noUrl).apply(this)},setup:function(a){this.allowOnChange=!1;a.url&&this.setValue(a.url.url);this.allowOnChange=!0},commit:function(a){this.onChange();a.url||(a.url={});a.url.url=this.getValue();this.allowOnChange=!1}}],setup:function(){this.getDialog().getContentElement("info","linkType")||this.getElement().show()}},{type:"button",
|
11 |
+
id:"browse",hidden:"true",filebrowser:"info:url",label:c.browseServer}]},{type:"vbox",id:"anchorOptions",width:260,align:"center",padding:0,children:[{type:"fieldset",id:"selectAnchorText",label:b.selectAnchor,setup:function(){d=l.getEditorAnchors(g);this.getElement()[d&&d.length?"show":"hide"]()},children:[{type:"hbox",id:"selectAnchor",children:[{type:"select",id:"anchorName","default":"",label:b.anchorName,style:"width: 100%;",items:[[""]],setup:function(a){this.clear();this.add("");if(d)for(var b=
|
12 |
+
0;b<d.length;b++)d[b].name&&this.add(d[b].name);a.anchor&&this.setValue(a.anchor.name);(a=this.getDialog().getContentElement("info","linkType"))&&"email"==a.getValue()&&this.focus()},commit:function(a){a.anchor||(a.anchor={});a.anchor.name=this.getValue()}},{type:"select",id:"anchorId","default":"",label:b.anchorId,style:"width: 100%;",items:[[""]],setup:function(a){this.clear();this.add("");if(d)for(var b=0;b<d.length;b++)d[b].id&&this.add(d[b].id);a.anchor&&this.setValue(a.anchor.id)},commit:function(a){a.anchor||
|
13 |
+
(a.anchor={});a.anchor.id=this.getValue()}}],setup:function(){this.getElement()[d&&d.length?"show":"hide"]()}}]},{type:"html",id:"noAnchors",style:"text-align: center;",html:'<div role="note" tabIndex="-1">'+CKEDITOR.tools.htmlEncode(b.noAnchors)+"</div>",focus:!0,setup:function(){this.getElement()[d&&d.length?"hide":"show"]()}}],setup:function(){this.getDialog().getContentElement("info","linkType")||this.getElement().hide()}},{type:"vbox",id:"emailOptions",padding:1,children:[{type:"text",id:"emailAddress",
|
14 |
+
label:b.emailAddress,required:!0,validate:function(){var a=this.getDialog();return!a.getContentElement("info","linkType")||"email"!=a.getValueOf("info","linkType")?!0:CKEDITOR.dialog.validate.notEmpty(b.noEmail).apply(this)},setup:function(a){a.email&&this.setValue(a.email.address);(a=this.getDialog().getContentElement("info","linkType"))&&"email"==a.getValue()&&this.select()},commit:function(a){a.email||(a.email={});a.email.address=this.getValue()}},{type:"text",id:"emailSubject",label:b.emailSubject,
|
15 |
+
setup:function(a){a.email&&this.setValue(a.email.subject)},commit:function(a){a.email||(a.email={});a.email.subject=this.getValue()}},{type:"textarea",id:"emailBody",label:b.emailBody,rows:3,"default":"",setup:function(a){a.email&&this.setValue(a.email.body)},commit:function(a){a.email||(a.email={});a.email.body=this.getValue()}}],setup:function(){this.getDialog().getContentElement("info","linkType")||this.getElement().hide()}}]},{id:"target",requiredContent:"a[target]",label:b.target,title:b.target,
|
16 |
+
elements:[{type:"hbox",widths:["50%","50%"],children:[{type:"select",id:"linkTargetType",label:c.target,"default":"notSet",style:"width : 100%;",items:[[c.notSet,"notSet"],[b.targetFrame,"frame"],[b.targetPopup,"popup"],[c.targetNew,"_blank"],[c.targetTop,"_top"],[c.targetSelf,"_self"],[c.targetParent,"_parent"]],onChange:m,setup:function(a){a.target&&this.setValue(a.target.type||"notSet");m.call(this)},commit:function(a){a.target||(a.target={});a.target.type=this.getValue()}},{type:"text",id:"linkTargetName",
|
17 |
+
label:b.targetFrameName,"default":"",setup:function(a){a.target&&this.setValue(a.target.name)},commit:function(a){a.target||(a.target={});a.target.name=this.getValue().replace(/\W/gi,"")}}]},{type:"vbox",width:"100%",align:"center",padding:2,id:"popupFeatures",children:[{type:"fieldset",label:b.popupFeatures,children:[{type:"hbox",children:[{type:"checkbox",id:"resizable",label:b.popupResizable,setup:f,commit:i},{type:"checkbox",id:"status",label:b.popupStatusBar,setup:f,commit:i}]},{type:"hbox",
|
18 |
+
children:[{type:"checkbox",id:"location",label:b.popupLocationBar,setup:f,commit:i},{type:"checkbox",id:"toolbar",label:b.popupToolbar,setup:f,commit:i}]},{type:"hbox",children:[{type:"checkbox",id:"menubar",label:b.popupMenuBar,setup:f,commit:i},{type:"checkbox",id:"fullscreen",label:b.popupFullScreen,setup:f,commit:i}]},{type:"hbox",children:[{type:"checkbox",id:"scrollbars",label:b.popupScrollBars,setup:f,commit:i},{type:"checkbox",id:"dependent",label:b.popupDependent,setup:f,commit:i}]},{type:"hbox",
|
19 |
+
children:[{type:"text",widths:["50%","50%"],labelLayout:"horizontal",label:c.width,id:"width",setup:f,commit:i},{type:"text",labelLayout:"horizontal",widths:["50%","50%"],label:b.popupLeft,id:"left",setup:f,commit:i}]},{type:"hbox",children:[{type:"text",labelLayout:"horizontal",widths:["50%","50%"],label:c.height,id:"height",setup:f,commit:i},{type:"text",labelLayout:"horizontal",label:b.popupTop,widths:["50%","50%"],id:"top",setup:f,commit:i}]}]}]}]},{id:"upload",label:b.upload,title:b.upload,hidden:!0,
|
20 |
+
filebrowser:"uploadButton",elements:[{type:"file",id:"upload",label:c.upload,style:"height:40px",size:29},{type:"fileButton",id:"uploadButton",label:c.uploadSubmit,filebrowser:"info:url","for":["upload","upload"]}]},{id:"advanced",label:b.advanced,title:b.advanced,elements:[{type:"vbox",padding:1,children:[{type:"hbox",widths:["45%","35%","20%"],children:[{type:"text",id:"advId",requiredContent:"a[id]",label:b.id,setup:h,commit:j},{type:"select",id:"advLangDir",requiredContent:"a[dir]",label:b.langDir,
|
21 |
+
"default":"",style:"width:110px",items:[[c.notSet,""],[b.langDirLTR,"ltr"],[b.langDirRTL,"rtl"]],setup:h,commit:j},{type:"text",id:"advAccessKey",requiredContent:"a[accesskey]",width:"80px",label:b.acccessKey,maxLength:1,setup:h,commit:j}]},{type:"hbox",widths:["45%","35%","20%"],children:[{type:"text",label:b.name,id:"advName",requiredContent:"a[name]",setup:h,commit:j},{type:"text",label:b.langCode,id:"advLangCode",requiredContent:"a[lang]",width:"110px","default":"",setup:h,commit:j},{type:"text",
|
22 |
+
label:b.tabIndex,id:"advTabIndex",requiredContent:"a[tabindex]",width:"80px",maxLength:5,setup:h,commit:j}]}]},{type:"vbox",padding:1,children:[{type:"hbox",widths:["45%","55%"],children:[{type:"text",label:b.advisoryTitle,requiredContent:"a[title]","default":"",id:"advTitle",setup:h,commit:j},{type:"text",label:b.advisoryContentType,requiredContent:"a[type]","default":"",id:"advContentType",setup:h,commit:j}]},{type:"hbox",widths:["45%","55%"],children:[{type:"text",label:b.cssClasses,requiredContent:"a(cke-xyz)",
|
23 |
+
"default":"",id:"advCSSClasses",setup:h,commit:j},{type:"text",label:b.charset,requiredContent:"a[charset]","default":"",id:"advCharset",setup:h,commit:j}]},{type:"hbox",widths:["45%","55%"],children:[{type:"text",label:b.rel,requiredContent:"a[rel]","default":"",id:"advRel",setup:h,commit:j},{type:"text",label:b.styles,requiredContent:"a{cke-xyz}","default":"",id:"advStyles",validate:CKEDITOR.dialog.validate.inlineStyle(g.lang.common.invalidInlineStyle),setup:h,commit:j}]}]}]}],onShow:function(){var a=
|
24 |
+
this.getParentEditor(),b=a.getSelection(),c=null;(c=l.getSelectedLink(a))&&c.hasAttribute("href")?b.getSelectedElement()||b.selectElement(c):c=null;a=l.parseLinkAttributes(a,c);this._.selectedElement=c;this.setupContent(a)},onOk:function(){var a={};this.commitContent(a);var b=g.getSelection(),c=l.getLinkAttributes(g,a);if(this._.selectedElement){var e=this._.selectedElement,d=e.data("cke-saved-href"),f=e.getHtml();e.setAttributes(c.set);e.removeAttributes(c.removed);if(d==f||"email"==a.type&&-1!=
|
25 |
+
f.indexOf("@"))e.setHtml("email"==a.type?a.email.address:c.set["data-cke-saved-href"]),b.selectElement(e);delete this._.selectedElement}else b=b.getRanges()[0],b.collapsed&&(a=new CKEDITOR.dom.text("email"==a.type?a.email.address:c.set["data-cke-saved-href"],g.document),b.insertNode(a),b.selectNodeContents(a)),c=new CKEDITOR.style({element:"a",attributes:c.set}),c.type=CKEDITOR.STYLE_INLINE,c.applyToRange(b,g),b.select()},onLoad:function(){g.config.linkShowAdvancedTab||this.hidePage("advanced");g.config.linkShowTargetTab||
|
26 |
+
this.hidePage("target")},onFocus:function(){var a=this.getContentElement("info","linkType");a&&"url"==a.getValue()&&(a=this.getContentElement("info","url"),a.select())}}})})();
|
assets/js/ckeditor-js/plugins/link/images/anchor.png
ADDED
Binary file
|
assets/js/ckeditor-js/plugins/link/images/hidpi/anchor.png
ADDED
Binary file
|
assets/js/ultimate-importer.js
CHANGED
@@ -9,6 +9,10 @@ jQuery(function(){
|
|
9 |
jQuery('[data-toggle="tooltip"]').tooltip()
|
10 |
});
|
11 |
|
|
|
|
|
|
|
|
|
12 |
jQuery(function(){
|
13 |
jQuery("#fileupload").on('click', function(e){
|
14 |
e.preventDefault();
|
@@ -1375,11 +1379,19 @@ jQuery(function(){
|
|
1375 |
jQuery('#schedule').on('ifChecked', function(){
|
1376 |
swal('Warning!', 'Please upgrade to PRO for the scheduling this event.', 'warning')
|
1377 |
});
|
|
|
|
|
|
|
1378 |
jQuery('#schedule').on('ifUnchecked', function(){
|
1379 |
swal('Warning!', 'Please upgrade to PRO for the scheduling this event.', 'warning')
|
1380 |
});
|
1381 |
|
1382 |
jQuery('#use_existing_images').on('ifChecked', function(){
|
|
|
|
|
|
|
|
|
|
|
1383 |
swal('Warning!', 'Please upgrade to PRO for advanced media handling.', 'warning')
|
1384 |
});
|
1385 |
jQuery('#overwrite_existing_images').on('ifChecked', function(){
|
@@ -1390,7 +1402,10 @@ jQuery('#thumbnail_size').on('ifChecked', function(){
|
|
1390 |
swal('Warning!', 'Please upgrade to PRO for advanced media handling.', 'warning')
|
1391 |
});
|
1392 |
jQuery('#medium_size').on('ifChecked', function(){
|
1393 |
-
swal('Warning!', 'Please upgrade to PRO
|
|
|
|
|
|
|
1394 |
});
|
1395 |
jQuery('#medium_large_size').on('ifChecked', function(){
|
1396 |
swal('Warning!', 'Please upgrade to PRO for advanced media handling.', 'warning')
|
@@ -1616,7 +1631,8 @@ function igniteExport() {
|
|
1616 |
jQuery("a#download_file_link").css('display', '');
|
1617 |
jQuery("#download_file").css('display', '');
|
1618 |
jQuery('#download_file').prop('disabled', false);
|
1619 |
-
jQuery("a#download_file_link").attr("href", response.exported_file);
|
|
|
1620 |
jQuery('#offset').val(response.new_offset);
|
1621 |
if (parseInt(response.total_row_count) < parseInt(response.new_offset)) {
|
1622 |
jQuery('#wpwrap').waitMe('hide');
|
@@ -2245,3 +2261,4 @@ function retrieve_record(action, value) {
|
|
2245 |
function removeRow(row_id) {
|
2246 |
jQuery("#"+row_id).remove();
|
2247 |
}
|
|
9 |
jQuery('[data-toggle="tooltip"]').tooltip()
|
10 |
});
|
11 |
|
12 |
+
jQuery(function(){
|
13 |
+
jQuery('.upgrade_pro_checkbox').parent().addClass('disabled');
|
14 |
+
});
|
15 |
+
|
16 |
jQuery(function(){
|
17 |
jQuery("#fileupload").on('click', function(e){
|
18 |
e.preventDefault();
|
1379 |
jQuery('#schedule').on('ifChecked', function(){
|
1380 |
swal('Warning!', 'Please upgrade to PRO for the scheduling this event.', 'warning')
|
1381 |
});
|
1382 |
+
jQuery('#checkbox1').on('ifChecked', function(){
|
1383 |
+
swal('Warning!', 'Please upgrade to PRO for the scheduling this event.', 'warning')
|
1384 |
+
});
|
1385 |
jQuery('#schedule').on('ifUnchecked', function(){
|
1386 |
swal('Warning!', 'Please upgrade to PRO for the scheduling this event.', 'warning')
|
1387 |
});
|
1388 |
|
1389 |
jQuery('#use_existing_images').on('ifChecked', function(){
|
1390 |
+
|
1391 |
+
swal('Warning!', 'Please upgrade to PRO for advanced media handling.', 'warning')
|
1392 |
+
});
|
1393 |
+
jQuery('#existing_items').on('ifChecked', function(){
|
1394 |
+
console.log('ds');
|
1395 |
swal('Warning!', 'Please upgrade to PRO for advanced media handling.', 'warning')
|
1396 |
});
|
1397 |
jQuery('#overwrite_existing_images').on('ifChecked', function(){
|
1402 |
swal('Warning!', 'Please upgrade to PRO for advanced media handling.', 'warning')
|
1403 |
});
|
1404 |
jQuery('#medium_size').on('ifChecked', function(){
|
1405 |
+
swal('Warning!', 'Please upgrade to PRO.', 'warning')
|
1406 |
+
});
|
1407 |
+
jQuery('#medium_size').on('ifChecked', function(){
|
1408 |
+
swal('Warning!', 'Please upgrade to PRO.', 'warning')
|
1409 |
});
|
1410 |
jQuery('#medium_large_size').on('ifChecked', function(){
|
1411 |
swal('Warning!', 'Please upgrade to PRO for advanced media handling.', 'warning')
|
1631 |
jQuery("a#download_file_link").css('display', '');
|
1632 |
jQuery("#download_file").css('display', '');
|
1633 |
jQuery('#download_file').prop('disabled', false);
|
1634 |
+
//jQuery("a#download_file_link").attr("href", response.exported_file);
|
1635 |
+
jQuery("a#download_file_link").attr("href", 'admin.php?page=sm-uci-export&exportType=export-with-filters&export_file='+response.exported_file);
|
1636 |
jQuery('#offset').val(response.new_offset);
|
1637 |
if (parseInt(response.total_row_count) < parseInt(response.new_offset)) {
|
1638 |
jQuery('#wpwrap').waitMe('hide');
|
2261 |
function removeRow(row_id) {
|
2262 |
jQuery("#"+row_id).remove();
|
2263 |
}
|
2264 |
+
|
includes/class-uci-helper.php
CHANGED
@@ -2040,9 +2040,14 @@ $currentMapping = $this->generateDataArrayBasedOnGroups( $available_groups_type,
|
|
2040 |
if(!empty($data_array)) {
|
2041 |
foreach ($data_array as $custom_key => $custom_value) {
|
2042 |
$createdFields[] = $custom_key;
|
2043 |
-
if(
|
2044 |
-
|
2045 |
-
|
|
|
|
|
|
|
|
|
|
|
2046 |
update_user_meta($pID, $custom_key, $custom_value);
|
2047 |
}
|
2048 |
}
|
2040 |
if(!empty($data_array)) {
|
2041 |
foreach ($data_array as $custom_key => $custom_value) {
|
2042 |
$createdFields[] = $custom_key;
|
2043 |
+
if($importType != 'Users') {
|
2044 |
+
// Modified by Fredrick Marks - Serialized value support added
|
2045 |
+
if(is_serialized($custom_value)) {
|
2046 |
+
update_post_meta($pID, $custom_key, unserialize($custom_value));
|
2047 |
+
} else {
|
2048 |
+
update_post_meta($pID, $custom_key, $custom_value);
|
2049 |
+
}
|
2050 |
+
} else {
|
2051 |
update_user_meta($pID, $custom_key, $custom_value);
|
2052 |
}
|
2053 |
}
|
index.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/******************************
|
3 |
* Plugin Name: WP Ultimate CSV Importer
|
4 |
* Description: Seamlessly create posts, custom posts, pages, media, SEO and more from your CSV data with ease.
|
5 |
-
* Version: 5.3.
|
6 |
* Author: smackcoders
|
7 |
* Author URI: http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html?utm_source=plugin&utm_campaign=csv_importer_pro&utm_medium=wordpress
|
8 |
* Text Domain: wp-ultimate-csv-importer
|
@@ -56,7 +56,7 @@ if ( ! class_exists( 'SM_WPUltimateCSVImporter' ) ) :
|
|
56 |
*/
|
57 |
class SM_WPUltimateCSVImporter {
|
58 |
|
59 |
-
public $version = '5.3.
|
60 |
|
61 |
/**
|
62 |
* The single instance of the class.
|
2 |
/******************************
|
3 |
* Plugin Name: WP Ultimate CSV Importer
|
4 |
* Description: Seamlessly create posts, custom posts, pages, media, SEO and more from your CSV data with ease.
|
5 |
+
* Version: 5.3.5
|
6 |
* Author: smackcoders
|
7 |
* Author URI: http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html?utm_source=plugin&utm_campaign=csv_importer_pro&utm_medium=wordpress
|
8 |
* Text Domain: wp-ultimate-csv-importer
|
56 |
*/
|
57 |
class SM_WPUltimateCSVImporter {
|
58 |
|
59 |
+
public $version = '5.3.5';
|
60 |
|
61 |
/**
|
62 |
* The single instance of the class.
|