Blog2Social: Social Media Auto Post & Scheduler - Version 6.7.2

Version Description

Usability Optimization

Download this release

Release Info

Developer PR-Gateway
Plugin Icon 128x128 Blog2Social: Social Media Auto Post & Scheduler
Version 6.7.2
Comparing to
See all releases

Code changes from version 6.7.1 to 6.7.2

Files changed (4) hide show
  1. assets/js/b2s/ship.js +6 -4
  2. blog2social.php +2 -2
  3. includes/Loader.php +7 -2
  4. readme.txt +10 -6
assets/js/b2s/ship.js CHANGED
@@ -3080,7 +3080,7 @@ function removeTag(networkAuthId) {
3080
  }
3081
 
3082
  function networkLimitAll(networkAuthId, networkId, limit) {
3083
-
3084
  var networkCountId = -1; //default;
3085
  if (jQuery(':focus').length > 0) {
3086
  var attr = jQuery(':focus').attr('data-network-count');
@@ -3146,7 +3146,7 @@ function networkLimitAll(networkAuthId, networkId, limit) {
3146
  }
3147
 
3148
  function networkCount(networkAuthId) {
3149
-
3150
  var networkCountId = -1; //default;
3151
  if (jQuery(':focus').length > 0) {
3152
  var attr = jQuery(':focus').attr('data-network-count');
@@ -3168,8 +3168,10 @@ function networkCount(networkAuthId) {
3168
  jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").val(url);
3169
  }
3170
  }
3171
- var textLength = text.length;
3172
- jQuery(".b2s-post-item-countChar[data-network-count='" + networkCountId + "'][data-network-auth-id='" + networkAuthId + "']").html(textLength);
 
 
3173
  }
3174
 
3175
 
3080
  }
3081
 
3082
  function networkLimitAll(networkAuthId, networkId, limit) {
3083
+
3084
  var networkCountId = -1; //default;
3085
  if (jQuery(':focus').length > 0) {
3086
  var attr = jQuery(':focus').attr('data-network-count');
3146
  }
3147
 
3148
  function networkCount(networkAuthId) {
3149
+
3150
  var networkCountId = -1; //default;
3151
  if (jQuery(':focus').length > 0) {
3152
  var attr = jQuery(':focus').attr('data-network-count');
3168
  jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").val(url);
3169
  }
3170
  }
3171
+ if(typeof text !== 'undefined' && jQuery('.b2s-post-item-details-item-message-input-allow-html[data-network-auth-id="' + networkAuthId + '"]').length == 0) {
3172
+ var textLength = text.length;
3173
+ jQuery(".b2s-post-item-countChar[data-network-count='" + networkCountId + "'][data-network-auth-id='" + networkAuthId + "']").html(textLength);
3174
+ }
3175
  }
3176
 
3177
 
blog2social.php CHANGED
@@ -6,12 +6,12 @@
6
  * Author: Blog2Social, Adenion
7
  * Text Domain: blog2social
8
  * Domain Path: /languages
9
- * Version: 6.7.1
10
  * Author URI: https://www.blog2social.com
11
  * License: GPL2+
12
  */
13
 
14
- define('B2S_PLUGIN_VERSION', '671');
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: 6.7.2
10
  * Author URI: https://www.blog2social.com
11
  * License: GPL2+
12
  */
13
 
14
+ define('B2S_PLUGIN_VERSION', '672');
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/Loader.php CHANGED
@@ -922,7 +922,6 @@ class B2S_Loader {
922
  $tokenInfo = get_option('B2S_PLUGIN_USER_VERSION_' . B2S_PLUGIN_BLOG_USER_ID);
923
  if ($tokenInfo == false || !isset($tokenInfo['B2S_PLUGIN_USER_VERSION']) || !isset($tokenInfo['B2S_PLUGIN_VERSION']) || $tokenInfo['B2S_PLUGIN_USER_VERSION_NEXT_REQUEST'] < time() || (isset($tokenInfo['B2S_PLUGIN_VERSION']) && (int) $tokenInfo['B2S_PLUGIN_VERSION'] < (int) B2S_PLUGIN_VERSION) || (isset($tokenInfo['B2S_PLUGIN_TRAIL_END']) && strtotime($tokenInfo['B2S_PLUGIN_TRAIL_END']) < strtotime(gmdate('Y-m-d H:i:s')))) {
924
  B2S_Tools::setUserDetails();
925
- $this->checkUpdate();
926
  } else {
927
  define('B2S_PLUGIN_USER_VERSION', $tokenInfo['B2S_PLUGIN_USER_VERSION']);
928
  if (isset($tokenInfo['B2S_PLUGIN_TRAIL_END'])) {
@@ -930,11 +929,17 @@ class B2S_Loader {
930
  update_option('B2S_PLUGIN_DISABLE_TRAIL', true, false);
931
  }
932
  }
 
 
 
 
 
 
933
  }
934
 
935
  private function checkUpdate() {
936
  $args = array(
937
- 'timeout' => '15',
938
  'redirection' => '5',
939
  'user-agent' => "Blog2Social/" . B2S_PLUGIN_VERSION . " (Wordpress/Plugin)"
940
  );
922
  $tokenInfo = get_option('B2S_PLUGIN_USER_VERSION_' . B2S_PLUGIN_BLOG_USER_ID);
923
  if ($tokenInfo == false || !isset($tokenInfo['B2S_PLUGIN_USER_VERSION']) || !isset($tokenInfo['B2S_PLUGIN_VERSION']) || $tokenInfo['B2S_PLUGIN_USER_VERSION_NEXT_REQUEST'] < time() || (isset($tokenInfo['B2S_PLUGIN_VERSION']) && (int) $tokenInfo['B2S_PLUGIN_VERSION'] < (int) B2S_PLUGIN_VERSION) || (isset($tokenInfo['B2S_PLUGIN_TRAIL_END']) && strtotime($tokenInfo['B2S_PLUGIN_TRAIL_END']) < strtotime(gmdate('Y-m-d H:i:s')))) {
924
  B2S_Tools::setUserDetails();
 
925
  } else {
926
  define('B2S_PLUGIN_USER_VERSION', $tokenInfo['B2S_PLUGIN_USER_VERSION']);
927
  if (isset($tokenInfo['B2S_PLUGIN_TRAIL_END'])) {
929
  update_option('B2S_PLUGIN_DISABLE_TRAIL', true, false);
930
  }
931
  }
932
+
933
+ $checkUpdateOption = get_option('B2S_PLUGIN_NEXT_CHECK_UPDATE_REQUEST');
934
+ if($checkUpdateOption == false || $checkUpdateOption < time()) {
935
+ $this->checkUpdate();
936
+ update_option('B2S_PLUGIN_NEXT_CHECK_UPDATE_REQUEST', time() + 86400, false);
937
+ }
938
  }
939
 
940
  private function checkUpdate() {
941
  $args = array(
942
+ 'timeout' => '5',
943
  'redirection' => '5',
944
  'user-agent' => "Blog2Social/" . B2S_PLUGIN_VERSION . " (Wordpress/Plugin)"
945
  );
readme.txt CHANGED
@@ -5,15 +5,15 @@ Tags: auto post, auto publish, social media scheduling, social media calendar, s
5
  Donate link: https://paypal.me/adenion
6
  Requires at least: 4.7.0
7
  Tested up to: 5.7
8
- Stable tag: 6.7.1
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
12
- Autopost, schedule and share blog posts and contents on social media, pages & groups on Facebook, Twitter, LinkedIn, Instagram, XING etc.
13
 
14
  == Description ==
15
  **Social Media Auto-Posting and Scheduling Plugin for WordPress Sites and Blogs.**
16
- Autopost, cross-promote, schedule and automatically share your blog posts to social networks such as **Facebook, Twitter, Google My Business, LinkedIn, XING, Instagram, Pinterest, Imgur, Flickr, Reddit, VK.com, Medium, Tumblr, Torial, Diigo, Bloglovin and Telegram.**
17
  Blog2Social automatically creates social media posts for your content and auto-posts at the best times for each network. Save time and pain of manually sharing and promoting your site on social media.
18
 
19
  _Compatible with WooCommerce, Gutenberg Editor, Hummingbird, Bitly, Rebrand.ly, Sniply, WP Automatic Plugin, Page Builder & RSS Importer._
@@ -30,7 +30,7 @@ To benefit from all the advanced features for automatic sharing and scheduling y
30
  * **Google My Business** (Premium) - Post to your Business Listing on Google
31
  * **LinkedIn** - Post to your profile (Free) or page (Premium)
32
  * **XING** - Post to your profile (Free), page (Premium), and in groups (Premium)
33
- * **Instagram** - Post to your Personal Instagram Account (Free) and to your Business Account (Smart)
34
  * **Pinterest** - Post to all your different Pinboards (Free)
35
  * **Imgur** - Post to your Imgur profile (Free)
36
  * **Flickr** - Post to your Flickr profile (Free)
@@ -47,7 +47,7 @@ To benefit from all the advanced features for automatic sharing and scheduling y
47
 
48
  BLOG2SOCIAL FREE
49
 
50
- * Share your posts and pages on 13 different networks: Twitter, Facebook (profile and page), LinkedIn (profile), XING (profile), Instagram Personal, Pinterest, Reddit, Torial, Medium, Tumblr, Flickr, Diigo and Bloglovin at once.
51
  * Customize your social media posts with unique personal comments, hashtags, handles, emojis, and select an image or animated GIF of your choice.
52
  * You can even edit the complete HTML markup for re-publishing your post on Tumblr, Torial, and Medium.
53
  * Manage all users posts and pages and share them on your channels.
@@ -166,7 +166,7 @@ Blog2Social is a freemium plugin with a free comprehensive basic version and pre
166
  = What can I do with the free version? =
167
 
168
  There is quite a lot you can do with the free version of Blog2Social for your social media marketing:
169
- * You can share your blog posts and pages as well as content from other sources on 13 different networks: Twitter, Facebook (profile and page), LinkedIn (profile), XING (profile), Instagram Personal, Pinterest, Reddit, Torial, Medium, Tumblr, Flickr, Diigo and Bloglovin at once.
170
  * You can customize your social media posts with personal comments, hashtags, handles, emojis, and select an image of your choice. You can even edit the complete HTML markup for re-publishing your post on Tumblr, Torial, and Medium.
171
  With the free version you can also:
172
  * manage all users’ posts and pages and share them on your channels
@@ -221,6 +221,8 @@ To get started with the basics of Blog2Social and maybe find some useful tips an
221
  7. Keep track of your shared posts and scheduling plan with the Social Media Calendar.
222
 
223
  == Changelog ==
 
 
224
  = 6.7.1 =
225
  Usability Optimization
226
  = 6.7.0 =
@@ -275,6 +277,8 @@ Usability Optimization, Rebrandly integration, url parameter settings
275
  New Image Posts, Imgur, Animated Gifs and Emojis
276
 
277
  == Upgrade Notice ==
 
 
278
  = 6.7.1 =
279
  Usability Optimization
280
  = 6.7.0 =
5
  Donate link: https://paypal.me/adenion
6
  Requires at least: 4.7.0
7
  Tested up to: 5.7
8
+ Stable tag: 6.7.2
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
12
+ Autopost, schedule and share blog posts and contents on social media, pages & groups on Facebook, Twitter, LinkedIn, Instagram Business, XING etc.
13
 
14
  == Description ==
15
  **Social Media Auto-Posting and Scheduling Plugin for WordPress Sites and Blogs.**
16
+ Autopost, cross-promote, schedule and automatically share your blog posts to social networks such as **Facebook, Twitter, Google My Business, LinkedIn, XING, Instagram Business, Pinterest, Imgur, Flickr, Reddit, VK.com, Medium, Tumblr, Torial, Diigo, Bloglovin and Telegram.**
17
  Blog2Social automatically creates social media posts for your content and auto-posts at the best times for each network. Save time and pain of manually sharing and promoting your site on social media.
18
 
19
  _Compatible with WooCommerce, Gutenberg Editor, Hummingbird, Bitly, Rebrand.ly, Sniply, WP Automatic Plugin, Page Builder & RSS Importer._
30
  * **Google My Business** (Premium) - Post to your Business Listing on Google
31
  * **LinkedIn** - Post to your profile (Free) or page (Premium)
32
  * **XING** - Post to your profile (Free), page (Premium), and in groups (Premium)
33
+ * **Instagram** - Post to your Instagram Business Account (Premium)
34
  * **Pinterest** - Post to all your different Pinboards (Free)
35
  * **Imgur** - Post to your Imgur profile (Free)
36
  * **Flickr** - Post to your Flickr profile (Free)
47
 
48
  BLOG2SOCIAL FREE
49
 
50
+ * Share your posts and pages on 13 different networks: Twitter, Facebook (profile and page), LinkedIn (profile), XING (profile), Pinterest, Reddit, Torial, Medium, Tumblr, Flickr, Diigo and Bloglovin at once.
51
  * Customize your social media posts with unique personal comments, hashtags, handles, emojis, and select an image or animated GIF of your choice.
52
  * You can even edit the complete HTML markup for re-publishing your post on Tumblr, Torial, and Medium.
53
  * Manage all users posts and pages and share them on your channels.
166
  = What can I do with the free version? =
167
 
168
  There is quite a lot you can do with the free version of Blog2Social for your social media marketing:
169
+ * You can share your blog posts and pages as well as content from other sources on 13 different networks: Twitter, Facebook (profile and page), LinkedIn (profile), XING (profile), Pinterest, Reddit, Torial, Medium, Tumblr, Flickr, Diigo and Bloglovin at once.
170
  * You can customize your social media posts with personal comments, hashtags, handles, emojis, and select an image of your choice. You can even edit the complete HTML markup for re-publishing your post on Tumblr, Torial, and Medium.
171
  With the free version you can also:
172
  * manage all users’ posts and pages and share them on your channels
221
  7. Keep track of your shared posts and scheduling plan with the Social Media Calendar.
222
 
223
  == Changelog ==
224
+ = 6.7.2 =
225
+ Usability Optimization
226
  = 6.7.1 =
227
  Usability Optimization
228
  = 6.7.0 =
277
  New Image Posts, Imgur, Animated Gifs and Emojis
278
 
279
  == Upgrade Notice ==
280
+ = 6.7.2 =
281
+ Usability Optimization
282
  = 6.7.1 =
283
  Usability Optimization
284
  = 6.7.0 =