Blog2Social: Social Media Auto Post & Scheduler - Version 4.8.2

Version Description

Bugfix: twitter scheduling prozess

Download this release

Release Info

Developer Blog2Social
Plugin Icon 128x128 Blog2Social: Social Media Auto Post & Scheduler
Version 4.8.2
Comparing to
See all releases

Code changes from version 4.8.1 to 4.8.2

assets/js/b2s/ship.js CHANGED
@@ -857,6 +857,11 @@ jQuery(document).on("click", ".b2s-network-select-btn", function () {
857
  jQuery('.b2s-post-item-details-post-format[data-network-id="' + data.networkId + '"]').val(jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + data.networkType + '"][data-network-id="' + data.networkId + '"]').val());
858
  }
859
 
 
 
 
 
 
860
  //Twitter TOS 032018 - protected multiple accounts with same content to same time
861
  //delete comment field one more
862
  if (data.networkId == 2) {
857
  jQuery('.b2s-post-item-details-post-format[data-network-id="' + data.networkId + '"]').val(jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + data.networkType + '"][data-network-id="' + data.networkId + '"]').val());
858
  }
859
 
860
+
861
+ if (jQuery('#selSchedDate').val() != "") {
862
+ jQuery('.b2s-image-remove-btn[data-network-auth-id="' + data.networkAuthId + '"][data-network-count="-1"]').hide();
863
+ }
864
+
865
  //Twitter TOS 032018 - protected multiple accounts with same content to same time
866
  //delete comment field one more
867
  if (data.networkId == 2) {
blog2social.php CHANGED
@@ -6,12 +6,12 @@
6
  * Author: Blog2Social, Adenion
7
  * Text Domain: blog2social
8
  * Domain Path: /languages
9
- * Version: 4.8.1
10
  * Author URI: https://www.blog2social.com
11
  * License: GPL2+
12
  */
13
  //B2SDefine
14
- define('B2S_PLUGIN_VERSION', '481');
15
  define('B2S_PLUGIN_LANGUAGE', serialize(array('de_DE', 'en_US')));
16
  define('B2S_PLUGIN_DIR', plugin_dir_path(__FILE__));
17
  define('B2S_PLUGIN_URL', plugin_dir_url(__FILE__));
6
  * Author: Blog2Social, Adenion
7
  * Text Domain: blog2social
8
  * Domain Path: /languages
9
+ * Version: 4.8.2
10
  * Author URI: https://www.blog2social.com
11
  * License: GPL2+
12
  */
13
  //B2SDefine
14
+ define('B2S_PLUGIN_VERSION', '482');
15
  define('B2S_PLUGIN_LANGUAGE', serialize(array('de_DE', 'en_US')));
16
  define('B2S_PLUGIN_DIR', plugin_dir_path(__FILE__));
17
  define('B2S_PLUGIN_URL', plugin_dir_url(__FILE__));
includes/B2S/Ship/Item.php CHANGED
@@ -437,7 +437,7 @@ class B2S_Ship_Item {
437
  $edit .= '</div>';
438
  $edit .= '<div class="col-xs-12 col-sm-7 col-lg-9">';
439
  $edit .= $infoArea;
440
- $edit .= '<textarea class="form-control fb-textarea-input b2s-post-item-sched-customize-text b2s-post-item-details-item-message-input ' . (in_array($networkId, $this->allowHtml) ? 'b2s-post-item-details-item-message-input-allow-html' : '') . '" data-network-count="' . $schedCount . '" data-network-text-limit="' . $limitValue . '" data-network-auth-id="' . $networkAuthId . '" placeholder="' . __('Write something about your post...', 'blog2social') . '" name="b2s[' . $networkAuthId . '][sched_content][' . $schedCount . ']" ' . $isRequiredTextarea . ' ' . $textareaOnKeyUp . '>' . $message . '</textarea>';
441
  $edit .= '</div>';
442
  $edit .= '</div>';
443
  }
@@ -455,7 +455,7 @@ class B2S_Ship_Item {
455
  $edit .= '</div>';
456
  $edit .= '<div class="col-xs-12 col-sm-7 col-lg-9">';
457
  $edit .= $infoArea;
458
- $edit .= '<textarea class="form-control tw-textarea-input b2s-post-item-sched-customize-text b2s-post-item-details-item-message-input ' . (in_array($networkId, $this->allowHtml) ? 'b2s-post-item-details-item-message-input-allow-html' : '') . '" data-network-count="' . $schedCount . '" data-network-text-limit="' . $limitValue . '" data-network-id="' . $networkId . '" data-network-auth-id="' . $networkAuthId . '" placeholder="' . __('Write something about your post...', 'blog2social') . '" unique="currency" name="b2s[' . $networkAuthId . '][sched_content][' . $schedCount . ']" ' . $isRequiredTextarea . ' ' . $textareaOnKeyUp . '></textarea>';
459
  $edit .= '</div>';
460
  $edit .= '</div>';
461
  }
@@ -471,7 +471,7 @@ class B2S_Ship_Item {
471
  $edit .= '</div>';
472
  $edit .= '<div class="col-xs-12 col-sm-7 col-lg-9">';
473
  $edit .= $infoArea;
474
- $edit .= '<textarea class="form-control linkedin-textarea-input b2s-post-item-sched-customize-text b2s-post-item-details-item-message-input ' . (in_array($networkId, $this->allowHtml) ? 'b2s-post-item-details-item-message-input-allow-html' : '') . '" data-network-count="' . $schedCount . '" data-network-text-limit="' . $limitValue . '" data-network-auth-id="' . $networkAuthId . '" placeholder="' . __('Write something about your post...', 'blog2social') . '" name="b2s[' . $networkAuthId . '][sched_content][' . $schedCount . ']" ' . $isRequiredTextarea . ' ' . $textareaOnKeyUp . '>' . $message . '</textarea>';
475
  $edit .= '</div>';
476
  $edit .= '</div>';
477
  }
@@ -484,7 +484,7 @@ class B2S_Ship_Item {
484
  $edit .= '</div>';
485
  $edit .= '<div class="col-xs-12 col-sm-7 col-lg-9">';
486
  $edit .= $infoArea;
487
- $edit .= '<textarea class="form-control xing-textarea-input b2s-post-item-sched-customize-text b2s-post-item-details-item-message-input ' . (in_array($networkId, $this->allowHtml) ? 'b2s-post-item-details-item-message-input-allow-html' : '') . '" data-network-count="' . $schedCount . '" data-network-text-limit="' . $limitValue . '" data-network-auth-id="' . $networkAuthId . '" placeholder="' . __('Write something about your post...', 'blog2social') . '" name="b2s[' . $networkAuthId . '][sched_content][' . $schedCount . ']" ' . $isRequiredTextarea . ' ' . $textareaOnKeyUp . '>' . $message . '</textarea>';
488
  $edit .= '</div>';
489
  $edit .= '</div>';
490
  }
@@ -500,12 +500,12 @@ class B2S_Ship_Item {
500
  $edit .= '</div>';
501
  $edit .= '<div class="col-xs-12 col-sm-7 col-lg-9">';
502
  $edit .= $infoArea;
503
- $edit .= '<textarea class="form-control b2s-post-item-sched-customize-text b2s-post-item-details-item-message-input ' . (in_array($networkId, $this->allowHtml) ? 'b2s-post-item-details-item-message-input-allow-html' : '') . '" data-network-count="' . $schedCount . '" data-network-text-limit="' . $limitValue . '" data-network-count="' . $schedCount . '" data-network-auth-id="' . $networkAuthId . '" placeholder="' . __('Write something about your post...', 'blog2social') . '" name="b2s[' . $networkAuthId . '][sched_content][' . $schedCount . ']" ' . $isRequiredTextarea . ' ' . $textareaOnKeyUp . '>' . $message . '</textarea>';
504
  $edit .= '</div>';
505
  } else {
506
  $edit .= '<div class="col-xs-12">';
507
  $edit .= $infoArea;
508
- $edit .= '<textarea class="form-control b2s-post-item-sched-customize-text b2s-post-item-details-item-message-input ' . (in_array($networkId, $this->allowHtml) ? 'b2s-post-item-details-item-message-input-allow-html' : '') . '" data-network-count="' . $schedCount . '" data-network-text-limit="' . $limitValue . '" data-network-count="' . $schedCount . '" data-network-auth-id="' . $networkAuthId . '" placeholder="' . __('Write something about your post...', 'blog2social') . '" name="b2s[' . $networkAuthId . '][sched_content][' . $schedCount . '] ' . $isRequiredTextarea . ' ' . $textareaOnKeyUp . '>' . $message . '</textarea>';
509
  $edit .= '</div>';
510
  }
511
  $edit .= '</div>';
437
  $edit .= '</div>';
438
  $edit .= '<div class="col-xs-12 col-sm-7 col-lg-9">';
439
  $edit .= $infoArea;
440
+ $edit .= '<textarea disabled="disabled" class="form-control fb-textarea-input b2s-post-item-sched-customize-text b2s-post-item-details-item-message-input ' . (in_array($networkId, $this->allowHtml) ? 'b2s-post-item-details-item-message-input-allow-html' : '') . '" data-network-count="' . $schedCount . '" data-network-text-limit="' . $limitValue . '" data-network-auth-id="' . $networkAuthId . '" placeholder="' . __('Write something about your post...', 'blog2social') . '" name="b2s[' . $networkAuthId . '][sched_content][' . $schedCount . ']" ' . $isRequiredTextarea . ' ' . $textareaOnKeyUp . '>' . $message . '</textarea>';
441
  $edit .= '</div>';
442
  $edit .= '</div>';
443
  }
455
  $edit .= '</div>';
456
  $edit .= '<div class="col-xs-12 col-sm-7 col-lg-9">';
457
  $edit .= $infoArea;
458
+ $edit .= '<textarea disabled="disabled" class="form-control tw-textarea-input b2s-post-item-sched-customize-text b2s-post-item-details-item-message-input ' . (in_array($networkId, $this->allowHtml) ? 'b2s-post-item-details-item-message-input-allow-html' : '') . '" data-network-count="' . $schedCount . '" data-network-text-limit="' . $limitValue . '" data-network-id="' . $networkId . '" data-network-auth-id="' . $networkAuthId . '" placeholder="' . __('Write something about your post...', 'blog2social') . '" unique="currency" name="b2s[' . $networkAuthId . '][sched_content][' . $schedCount . ']" ' . $isRequiredTextarea . ' ' . $textareaOnKeyUp . '></textarea>';
459
  $edit .= '</div>';
460
  $edit .= '</div>';
461
  }
471
  $edit .= '</div>';
472
  $edit .= '<div class="col-xs-12 col-sm-7 col-lg-9">';
473
  $edit .= $infoArea;
474
+ $edit .= '<textarea disabled="disabled" class="form-control linkedin-textarea-input b2s-post-item-sched-customize-text b2s-post-item-details-item-message-input ' . (in_array($networkId, $this->allowHtml) ? 'b2s-post-item-details-item-message-input-allow-html' : '') . '" data-network-count="' . $schedCount . '" data-network-text-limit="' . $limitValue . '" data-network-auth-id="' . $networkAuthId . '" placeholder="' . __('Write something about your post...', 'blog2social') . '" name="b2s[' . $networkAuthId . '][sched_content][' . $schedCount . ']" ' . $isRequiredTextarea . ' ' . $textareaOnKeyUp . '>' . $message . '</textarea>';
475
  $edit .= '</div>';
476
  $edit .= '</div>';
477
  }
484
  $edit .= '</div>';
485
  $edit .= '<div class="col-xs-12 col-sm-7 col-lg-9">';
486
  $edit .= $infoArea;
487
+ $edit .= '<textarea disabled="disabled" class="form-control xing-textarea-input b2s-post-item-sched-customize-text b2s-post-item-details-item-message-input ' . (in_array($networkId, $this->allowHtml) ? 'b2s-post-item-details-item-message-input-allow-html' : '') . '" data-network-count="' . $schedCount . '" data-network-text-limit="' . $limitValue . '" data-network-auth-id="' . $networkAuthId . '" placeholder="' . __('Write something about your post...', 'blog2social') . '" name="b2s[' . $networkAuthId . '][sched_content][' . $schedCount . ']" ' . $isRequiredTextarea . ' ' . $textareaOnKeyUp . '>' . $message . '</textarea>';
488
  $edit .= '</div>';
489
  $edit .= '</div>';
490
  }
500
  $edit .= '</div>';
501
  $edit .= '<div class="col-xs-12 col-sm-7 col-lg-9">';
502
  $edit .= $infoArea;
503
+ $edit .= '<textarea disabled="disabled" class="form-control b2s-post-item-sched-customize-text b2s-post-item-details-item-message-input ' . (in_array($networkId, $this->allowHtml) ? 'b2s-post-item-details-item-message-input-allow-html' : '') . '" data-network-count="' . $schedCount . '" data-network-text-limit="' . $limitValue . '" data-network-count="' . $schedCount . '" data-network-auth-id="' . $networkAuthId . '" placeholder="' . __('Write something about your post...', 'blog2social') . '" name="b2s[' . $networkAuthId . '][sched_content][' . $schedCount . ']" ' . $isRequiredTextarea . ' ' . $textareaOnKeyUp . '>' . $message . '</textarea>';
504
  $edit .= '</div>';
505
  } else {
506
  $edit .= '<div class="col-xs-12">';
507
  $edit .= $infoArea;
508
+ $edit .= '<textarea disabled="disabled" class="form-control b2s-post-item-sched-customize-text b2s-post-item-details-item-message-input ' . (in_array($networkId, $this->allowHtml) ? 'b2s-post-item-details-item-message-input-allow-html' : '') . '" data-network-count="' . $schedCount . '" data-network-text-limit="' . $limitValue . '" data-network-count="' . $schedCount . '" data-network-auth-id="' . $networkAuthId . '" placeholder="' . __('Write something about your post...', 'blog2social') . '" name="b2s[' . $networkAuthId . '][sched_content][' . $schedCount . '] ' . $isRequiredTextarea . ' ' . $textareaOnKeyUp . '>' . $message . '</textarea>';
509
  $edit .= '</div>';
510
  }
511
  $edit .= '</div>';
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: auto post, auto publish, social media scheduling, social media calendar, s
4
  Donate link: http://www.blog2social.com
5
  Requires at least: 4.2.2
6
  Tested up to: 4.9.5
7
- Stable tag: 4.8.1
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -299,6 +299,8 @@ We use the official authentification oAUTH methods to third-party applications p
299
  9. Adjust the best times to schedule in the best time scheduler.
300
 
301
  == Changelog ==
 
 
302
  = 4.8.1 =
303
  Bugfix: facebook individualize image and content in scheduling prozess
304
  = 4.8.0 =
@@ -363,6 +365,8 @@ Bug Fix: update method
363
  Re-engineered Post dashboard, new one-page preview features: WYSIWYG editors, simplified network selection, new scheduler features: best-times-scheduler, my-times-scheduler, recurring scheduling, multiple accounts per profile (applies to FREE and PREMIUM)
364
 
365
  == Upgrade Notice ==
 
 
366
  = 4.8.1 =
367
  Bugfix: facebook individualize image and content in scheduling prozess
368
  = 4.8.0 =
4
  Donate link: http://www.blog2social.com
5
  Requires at least: 4.2.2
6
  Tested up to: 4.9.5
7
+ Stable tag: 4.8.2
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
299
  9. Adjust the best times to schedule in the best time scheduler.
300
 
301
  == Changelog ==
302
+ = 4.8.2 =
303
+ Bugfix: twitter scheduling prozess
304
  = 4.8.1 =
305
  Bugfix: facebook individualize image and content in scheduling prozess
306
  = 4.8.0 =
365
  Re-engineered Post dashboard, new one-page preview features: WYSIWYG editors, simplified network selection, new scheduler features: best-times-scheduler, my-times-scheduler, recurring scheduling, multiple accounts per profile (applies to FREE and PREMIUM)
366
 
367
  == Upgrade Notice ==
368
+ = 4.8.2 =
369
+ Bugfix: twitter scheduling prozess
370
  = 4.8.1 =
371
  Bugfix: facebook individualize image and content in scheduling prozess
372
  = 4.8.0 =
views/b2s/post.calendar.php CHANGED
@@ -88,7 +88,6 @@ $metaSettings = get_option('B2S_PLUGIN_GENERAL_OPTIONS');
88
  <!--Routing from dashboard-->
89
  <input type="hidden" id="b2s_rfd" value="<?php echo (isset($_GET['rfd'])) ? 1 : 0; ?>">
90
  <input type="hidden" id="b2s_rfd_b2s_id" value="<?php echo (isset($_GET['b2s_id'])) ? $_GET['b2s_id'] : ""; ?>">
91
- }
92
 
93
  <div id="b2s-post-ship-item-post-format-modal" class="modal fade" role="dialog" aria-labelledby="b2s-post-ship-item-post-format-modal" aria-hidden="true" data-backdrop="false" style="z-index: 1070">
94
  <div class="modal-dialog modal-lg">
88
  <!--Routing from dashboard-->
89
  <input type="hidden" id="b2s_rfd" value="<?php echo (isset($_GET['rfd'])) ? 1 : 0; ?>">
90
  <input type="hidden" id="b2s_rfd_b2s_id" value="<?php echo (isset($_GET['b2s_id'])) ? $_GET['b2s_id'] : ""; ?>">
 
91
 
92
  <div id="b2s-post-ship-item-post-format-modal" class="modal fade" role="dialog" aria-labelledby="b2s-post-ship-item-post-format-modal" aria-hidden="true" data-backdrop="false" style="z-index: 1070">
93
  <div class="modal-dialog modal-lg">