Blog2Social: Social Media Auto Post & Scheduler - Version 6.1.0

Version Description

Usability Optimization, Rebrandly integration, url parameter settings

Download this release

Release Info

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

Code changes from version 6.0.0 to 6.1.0

Files changed (55) hide show
  1. assets/css/b2s/curation.css +5 -0
  2. assets/css/b2s/network.css +19 -6
  3. assets/css/b2s/settings.css +18 -0
  4. assets/css/b2s/ship.css +10 -5
  5. assets/css/b2s/wp/post-box.css +52 -1
  6. assets/css/general.css +12 -0
  7. assets/images/portale/12_flat.png +0 -0
  8. assets/images/settings/b2s-post-format-17-1-de.png +0 -0
  9. assets/images/settings/b2s-post-format-17-1-en.png +0 -0
  10. assets/images/settings/b2s-post-format-17-2-de.png +0 -0
  11. assets/images/settings/b2s-post-format-17-2-en.png +0 -0
  12. assets/images/settings/rebrandly.png +0 -0
  13. assets/js/b2s/calendar.js +1 -1
  14. assets/js/b2s/curation.js +29 -3
  15. assets/js/b2s/network.js +277 -148
  16. assets/js/b2s/post.js +16 -3
  17. assets/js/b2s/settings.js +108 -19
  18. assets/js/b2s/ship.js +34 -9
  19. assets/js/b2s/wp/post-box.js +83 -131
  20. blog2social.php +2 -2
  21. includes/Ajax/Get.php +107 -61
  22. includes/Ajax/Post.php +239 -99
  23. includes/B2S/AutoPost.php +14 -2
  24. includes/B2S/Curation/Save.php +4 -2
  25. includes/B2S/Curation/View.php +1 -1
  26. includes/B2S/Network/Item.php +52 -14
  27. includes/B2S/Post/Filter.php +38 -9
  28. includes/B2S/Post/Item.php +29 -17
  29. includes/B2S/Post/Tools.php +1 -1
  30. includes/B2S/PostBox.php +163 -90
  31. includes/B2S/Settings/Item.php +106 -49
  32. includes/B2S/Ship/Item.php +92 -22
  33. includes/B2S/Ship/Navbar.php +2 -2
  34. includes/B2S/Ship/Portale.php +2 -1
  35. includes/B2S/Ship/Save.php +1 -1
  36. includes/Loader.php +252 -157
  37. includes/Meta.php +24 -17
  38. includes/Tools.php +15 -2
  39. includes/Util.php +15 -1
  40. languages/blog2social-de_DE.mo +0 -0
  41. languages/blog2social-de_DE.po +892 -774
  42. languages/blog2social.pot +820 -714
  43. readme.txt +21 -99
  44. views/b2s/curation.draft.php +8 -1
  45. views/b2s/curation.php +1 -1
  46. views/b2s/network.php +162 -139
  47. views/b2s/post.approve.php +8 -1
  48. views/b2s/post.draft.php +8 -1
  49. views/b2s/post.favorites.php +8 -1
  50. views/b2s/post.notice.php +8 -1
  51. views/b2s/post.php +8 -1
  52. views/b2s/post.publish.php +8 -1
  53. views/b2s/post.sched.php +8 -1
  54. views/b2s/settings.php +14 -0
  55. views/b2s/ship.php +1 -1
assets/css/b2s/curation.css CHANGED
@@ -201,4 +201,9 @@
201
 
202
  .b2s-curation-result-area {
203
  margin-top: 20px;
 
 
 
 
 
204
  }
201
 
202
  .b2s-curation-result-area {
203
  margin-top: 20px;
204
+ }
205
+
206
+ .b2s-break-word {
207
+ white-space: normal !important;
208
+ text-align: left !important;
209
  }
assets/css/b2s/network.css CHANGED
@@ -66,7 +66,7 @@
66
  }
67
 
68
  .b2s-add-padding-network-team{
69
- padding: 4px 3px;
70
  line-height: 2;
71
  }
72
 
@@ -158,7 +158,7 @@ ul.b2s-network-item-auth-list li:last-child{
158
  line-height: 2;
159
  }
160
 
161
- .b2s-modify-board-and-group-network-modal-footer, .b2s-manage-auth-team-modal-footer{
162
  border: 0px !important;
163
  }
164
 
@@ -237,7 +237,7 @@ ul.b2s-network-item-auth-list li:last-child{
237
  margin-bottom: 8px;
238
  }
239
 
240
- #b2s-manage-auth-team-modal {
241
  z-index: 1049;
242
  }
243
 
@@ -621,7 +621,20 @@ ul.b2s-network-item-auth-list li:last-child{
621
  display: inline;
622
  }
623
 
624
- #b2sXingBusinessPageInfo {
625
- margin: 10px 0px;
626
- display: none;
 
 
 
 
 
 
 
 
 
 
 
 
 
627
  }
66
  }
67
 
68
  .b2s-add-padding-network-team{
69
+ padding: 4px 5px;
70
  line-height: 2;
71
  }
72
 
158
  line-height: 2;
159
  }
160
 
161
+ .b2s-modify-board-and-group-network-modal-footer, .b2s-edit-network-auth-settings-footer{
162
  border: 0px !important;
163
  }
164
 
237
  margin-bottom: 8px;
238
  }
239
 
240
+ #b2s-manage-auth-team-modal, #b2s-edit-network-auth-settings {
241
  z-index: 1049;
242
  }
243
 
621
  display: inline;
622
  }
623
 
624
+ .b2s-url-parameter-remove-btn {
625
+ font-weight: bold;
626
+ font-size: 18px;
627
+ line-height: 1.5;
628
+ cursor: pointer;
629
+ }
630
+
631
+ .b2s-url-parameter-legend-text {
632
+ font-size: 12px;
633
+ font-weight: 600;
634
+ letter-spacing: 0;
635
+ margin-top: 10px;
636
+ }
637
+
638
+ .b2s-url-parameter-content {
639
+ padding-top: 6px;
640
  }
assets/css/b2s/settings.css CHANGED
@@ -127,3 +127,21 @@ ul.chosen-choices {
127
  font-size: 14px !important;
128
  font-weight: 500 !important;
129
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
127
  font-size: 14px !important;
128
  font-weight: 500 !important;
129
  }
130
+
131
+ .b2s-user-network-shortener-connect {
132
+ margin-left: 5px;
133
+ }
134
+
135
+ #b2s-auto-post-profil-dropdown-twitter option:disabled {
136
+ color: #ff4f68;
137
+ }
138
+
139
+ .b2s-w-100 {
140
+ width: 100%;
141
+ padding: 0px;
142
+ }
143
+
144
+ .b2s-auto-post-header {
145
+ display: inline-block;
146
+ margin-right: 5px;
147
+ }
assets/css/b2s/ship.css CHANGED
@@ -565,7 +565,7 @@ input[type="checkbox"], input[type="radio"] {
565
 
566
  /*Custom Network Layout*/
567
 
568
- .fb-url-image, .xing-url-image, .linkedin-url-image, .tw-url-image, .b2s-image-border{
569
  margin-right: 10px;
570
  margin-bottom: 20px;
571
  border: 1px dashed #bdbfc2;
@@ -637,10 +637,15 @@ input[type="checkbox"], input[type="radio"] {
637
 
638
 
639
  .tw-url-title{
640
- font-size: 1.2em !important;
641
- font-weight: 600;
642
- text-overflow: ellipsis;
643
- color: inherit !important;
 
 
 
 
 
644
  }
645
 
646
  .tw-url-desc{
565
 
566
  /*Custom Network Layout*/
567
 
568
+ .fb-url-image, .xing-url-image, .linkedin-url-image, .tw-url-image, .b2s-url-image, .b2s-image-border{
569
  margin-right: 10px;
570
  margin-bottom: 20px;
571
  border: 1px dashed #bdbfc2;
637
 
638
 
639
  .tw-url-title{
640
+ font-size: 18px !important;
641
+ font-weight: 500;
642
+ line-height: 22px;
643
+ margin-top: 12px !important;
644
+ margin-bottom: 8px !important;
645
+ max-height: 110px;
646
+ overflow: hidden;
647
+ word-wrap: break-word;
648
+ font-family: Georgia,serif;
649
  }
650
 
651
  .tw-url-desc{
assets/css/b2s/wp/post-box.css CHANGED
@@ -176,7 +176,7 @@
176
  }
177
 
178
  .b2s-btn-sm{
179
- padding: 4px 12px !important;
180
  }
181
 
182
  .b2s-btn-close-meta-box{
@@ -251,3 +251,54 @@
251
  .pull-right{
252
  float: right;
253
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
176
  }
177
 
178
  .b2s-btn-sm{
179
+ padding: 7px !important;
180
  }
181
 
182
  .b2s-btn-close-meta-box{
251
  .pull-right{
252
  float: right;
253
  }
254
+
255
+ .b2s-meta-box-share-info {
256
+ background-color: #79B232;
257
+ padding: 10px;
258
+ color: #fff;
259
+ }
260
+
261
+ @font-face {
262
+ font-family: 'Glyphicons Halflings';
263
+
264
+ src: url('../../../fonts/glyphicons-halflings-regular.eot');
265
+ src: url('../../../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../../../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../../../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../../../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../../../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
266
+ }
267
+ .glyphicon {
268
+ position: relative;
269
+ top: 1px;
270
+ display: inline-block;
271
+ font-family: 'Glyphicons Halflings';
272
+ font-style: normal;
273
+ font-weight: normal;
274
+ line-height: 1;
275
+
276
+ -webkit-font-smoothing: antialiased;
277
+ -moz-osx-font-smoothing: grayscale;
278
+ }
279
+
280
+ .glyphicon-chevron-up::before {
281
+ content: "\e113";
282
+ }
283
+ .glyphicon-chevron-down::before {
284
+ content: "\e114";
285
+ }
286
+
287
+ .b2s-options-btn {
288
+ cursor: pointer;
289
+ text-decoration: underline;
290
+ margin-top: 5px;
291
+ }
292
+
293
+ #b2s-meta-box-btn-customize {
294
+ text-decoration: none;
295
+ }
296
+
297
+ .b2s-options-btn-area {
298
+ text-align: right;
299
+ }
300
+
301
+ .b2s-w-100 {
302
+ width: 100%;
303
+ padding: 0px !important;
304
+ }
assets/css/general.css CHANGED
@@ -7622,3 +7622,15 @@ CSS CheckBOX
7622
  bottom: 50px;
7623
  right: 40px;
7624
  }
 
 
 
 
 
 
 
 
 
 
 
 
7622
  bottom: 50px;
7623
  right: 40px;
7624
  }
7625
+
7626
+ .margin-bottom-0 {
7627
+ margin-bottom: 0px !important;
7628
+ }
7629
+
7630
+ .b2s-sort-pagination-area {
7631
+ display: none;
7632
+ }
7633
+
7634
+ .b2s-post-per-page {
7635
+ margin: 20px 0px;
7636
+ }
assets/images/portale/12_flat.png CHANGED
Binary file
assets/images/settings/b2s-post-format-17-1-de.png ADDED
Binary file
assets/images/settings/b2s-post-format-17-1-en.png ADDED
Binary file
assets/images/settings/b2s-post-format-17-2-de.png ADDED
Binary file
assets/images/settings/b2s-post-format-17-2-en.png ADDED
Binary file
assets/images/settings/rebrandly.png ADDED
Binary file
assets/js/b2s/calendar.js CHANGED
@@ -644,7 +644,7 @@ function checkSchedDateTime(dataNetworkAuthId) {
644
  //utc current time
645
  var now = new Date();
646
  //offset between utc und user
647
- var offset = (parseInt(now.getTimezoneOffset() / 60)) * (-1);
648
  //enter hour to user time
649
  var hour = parseInt(minParts3[0]) + timeZone + offset;
650
  //calculate datetime in utc
644
  //utc current time
645
  var now = new Date();
646
  //offset between utc und user
647
+ var offset = (parseInt(now.getTimezoneOffset() / 60)) * (-1);
648
  //enter hour to user time
649
  var hour = parseInt(minParts3[0]) + timeZone + offset;
650
  //calculate datetime in utc
assets/js/b2s/curation.js CHANGED
@@ -29,7 +29,7 @@ jQuery(window).on("load", function () {
29
  jQuery('.b2s-image-id-hidden-field').val(image_id);
30
  jQuery('.b2s-image-remove-btn').show();
31
  }
32
- }
33
  });
34
 
35
  jQuery(document).on('click', '.b2s-btn-curation-continue', function () {
@@ -182,7 +182,7 @@ function scrapeDetails(url) {
182
  if (typeof comment != "undefined" && comment != "") {
183
  jQuery('#b2s-post-curation-comment').val(comment);
184
  }
185
-
186
  } else {
187
  if(data.error == 'nonce') {
188
  jQuery('.b2s-nonce-check-fail').show();
@@ -614,6 +614,7 @@ jQuery(document).on('click', '.b2s-curation-format-image', function() {
614
  jQuery('.b2s-loading-area').hide();
615
  jQuery('.b2s-curation-image-area').show();
616
  jQuery('.b2s-curation-settings-area').show();
 
617
  return false;
618
  } else {
619
  jQuery('.b2s-loading-area').hide();
@@ -794,4 +795,29 @@ jQuery(document).on('click', '.b2s-re-share-btn', function() {
794
  } else {
795
  jQuery('.b2s-curation-image-area').show();
796
  }
797
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  jQuery('.b2s-image-id-hidden-field').val(image_id);
30
  jQuery('.b2s-image-remove-btn').show();
31
  }
32
+ }
33
  });
34
 
35
  jQuery(document).on('click', '.b2s-btn-curation-continue', function () {
182
  if (typeof comment != "undefined" && comment != "") {
183
  jQuery('#b2s-post-curation-comment').val(comment);
184
  }
185
+ loadDraftShipData();
186
  } else {
187
  if(data.error == 'nonce') {
188
  jQuery('.b2s-nonce-check-fail').show();
614
  jQuery('.b2s-loading-area').hide();
615
  jQuery('.b2s-curation-image-area').show();
616
  jQuery('.b2s-curation-settings-area').show();
617
+ loadDraftShipData();
618
  return false;
619
  } else {
620
  jQuery('.b2s-loading-area').hide();
795
  } else {
796
  jQuery('.b2s-curation-image-area').show();
797
  }
798
+ });
799
+
800
+ function loadDraftShipData() {
801
+ var url_string = window.location.href;
802
+ var url_param = new URL(url_string);
803
+ var ship_type = url_param.searchParams.get("ship_type");
804
+ var ship_date = url_param.searchParams.get("ship_date");
805
+ var profile_select = url_param.searchParams.get("profile_select");
806
+ var twitter_select = url_param.searchParams.get("twitter_select");
807
+ if (typeof ship_type != "undefined" && ship_type != "" && ship_type != null && ship_type > 0) {
808
+ jQuery('#b2s-post-curation-ship-type').val(ship_type);
809
+ jQuery('#b2s-post-curation-ship-type').trigger('change');
810
+ if (typeof ship_date != "undefined" && ship_date != "" && ship_date != null) {
811
+ jQuery('#b2s-post-curation-ship-date').val(ship_date);
812
+ jQuery('#b2s-post-curation-ship-date').trigger('change');
813
+ }
814
+ }
815
+ if (typeof profile_select != "undefined" && profile_select != "" && profile_select != null) {
816
+ jQuery('#b2s-post-curation-profile-select').val(profile_select);
817
+ jQuery('#b2s-post-curation-profile-select').trigger('change');
818
+ if (typeof twitter_select != "undefined" && twitter_select != "" && twitter_select != null && twitter_select > 0) {
819
+ jQuery('#b2s-post-curation-twitter-select').val(twitter_select);
820
+ jQuery('#b2s-post-curation-twitter-select').trigger('change');
821
+ }
822
+ }
823
+ }
assets/js/b2s/network.js CHANGED
@@ -15,16 +15,8 @@ jQuery(window).on("load", function () {
15
  jQuery('.b2s-network-item-auth-list[data-network-count="true"]').each(function () {
16
  jQuery('.b2s-network-auth-count-current[data-network-id="' + jQuery(this).attr("data-network-id") + '"').text(jQuery(this).children('li').length - 1);
17
  });
18
-
19
- if(jQuery('#b2sHasXingBusinessPage').length > 0) {
20
- jQuery('#b2sXingBusinessPageInfo').show();
21
- }
22
-
23
  });
24
 
25
-
26
-
27
-
28
  function init() {
29
  var showMeridian = true;
30
  if (jQuery('#b2sUserLang').val() == 'de') {
@@ -172,130 +164,11 @@ jQuery(document).on('change', '#b2s-modify-board-and-group-network-selected', fu
172
  return true;
173
  });
174
 
175
- jQuery(document).on('click', '.b2s-network-item-team-btn-manage', function () {
176
- jQuery('#b2s-manage-auth-team-modal').modal('show');
177
-
178
- if (jQuery('#b2sUserVersion').val() < 3) {
179
- return false;
180
- }
181
-
182
- jQuery('.b2s-move-connection').hide();
183
- jQuery('#b2s-move-connection-failed').hide();
184
- jQuery('.b2s-connection-assign').hide();
185
- jQuery('.b2s-assignment-area').hide();
186
- jQuery('.b2s-connection-owner').hide();
187
- jQuery('.b2s-assign-error').hide();
188
- jQuery('#b2s-no-assign-user').hide();
189
- jQuery('.b2s-loading-area-manage-auth-team-modal').show();
190
- jQuery('#b2s-assign-info').show();
191
-
192
-
193
-
194
- jQuery('#b2sUserAuthId').val(jQuery(this).attr('data-network-auth-id'));
195
- jQuery('#b2sOldMandantId').val(jQuery(this).attr('data-network-mandant-id'));
196
- jQuery('#b2sNetworkId').val(jQuery(this).attr('data-network-id'));
197
- jQuery('#b2sNetworkType').val(jQuery(this).attr('data-network-type'));
198
-
199
- if (jQuery('#b2s-move-connection-select').length) {
200
- jQuery('#b2s-move-connection-select').html(jQuery('.b2s-network-mandant-select').html());
201
- jQuery("#b2s-move-connection-select option[value='-1']").remove();
202
- jQuery("#b2s-move-connection-select option[value='" + jQuery(this).attr('data-network-mandant-id') + "']").remove();
203
- if (jQuery(this).attr('data-network-mandant-id') <= 0) {
204
- if (jQuery('#b2s-network-select-more-client').length) {
205
- var temp_options = jQuery('#b2s-move-connection-select #b2s-network-select-more-client').html();
206
- jQuery("#b2s-move-connection-select optiongroup").remove();
207
- jQuery("#b2s-move-connection-select").html(temp_options);
208
- } else {
209
- jQuery('#b2s-move-connection-input').hide();
210
- jQuery('#b2s-move-connection-error').show();
211
- }
212
- } else {
213
- if (!jQuery('#b2s-move-connection-select #b2s-network-select-more-client option').length) {
214
- var temp_options = jQuery("#b2s-move-connection-select option[value='0']");
215
- jQuery("#b2s-move-connection-select optiongroup").remove();
216
- jQuery("#b2s-move-connection-select").html(temp_options);
217
- }
218
- }
219
- }
220
-
221
- jQuery.ajax({
222
- url: ajaxurl,
223
- type: "GET",
224
- dataType: "json",
225
- cache: false,
226
- data: {
227
- 'action': 'b2s_get_select_mandant_user',
228
- 'networkAuthId': jQuery(this).attr('data-network-auth-id'),
229
- 'owner': jQuery(this).attr('data-connection-owner'),
230
- 'networkId': jQuery('#b2sNetworkId').val(),
231
- 'networkType': jQuery('#b2sNetworkType').val(),
232
- 'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
233
- },
234
- error: function () {
235
- jQuery('.b2s-server-connection-fail').show();
236
- return false;
237
- },
238
- success: function (data) {
239
- if (data.result == true) {
240
- if (typeof data.ownerName != 'undefined') {
241
- jQuery('.b2s-loading-area-manage-auth-team-modal').hide();
242
- jQuery('#b2s-connection-owner-name').text(data.ownerName);
243
- jQuery('.b2s-move-connection').show();
244
- jQuery('.b2s-connection-owner').show();
245
- jQuery('.b2s-assignment-area').show();
246
- } else if (typeof data.userSelect != 'undefined' && typeof data.assignList != 'undefined') {
247
- jQuery('.b2s-loading-area-manage-auth-team-modal').hide();
248
- jQuery('#b2s-connection-assign-select').html(data.userSelect);
249
- jQuery('.b2s-network-assign-list').html(data.assignList);
250
- if (jQuery('#b2s-approved-user-list li').length <= 1) {
251
- jQuery('#b2s-approved-user-list').hide();
252
- } else {
253
- jQuery('#b2s-approved-user-list').show();
254
- }
255
- if (jQuery('#b2s-select-assign-user').html() == '') {
256
- jQuery('#b2s-select-assign-user').attr('disabled', true);
257
- jQuery('#b2s-assign-network-user-auth').attr('disabled', true);
258
- jQuery('.b2s-network-assign-option').hide();
259
- jQuery('#b2s-assign-info').hide();
260
- jQuery('#b2s-no-assign-user').show();
261
- } else {
262
- jQuery('#b2s-select-assign-user').removeAttr('disabled');
263
- jQuery('#b2s-assign-network-user-auth').removeAttr('disabled');
264
- jQuery('.b2s-network-assign-option').show();
265
- jQuery('#b2s-no-assign-user').hide();
266
- jQuery('#b2s-assign-info').show();
267
- }
268
- jQuery('.b2s-move-connection').show();
269
- jQuery('.b2s-connection-assign').show();
270
- jQuery('.b2s-assignment-area').show();
271
- } else {
272
- jQuery('.b2s-assign-error[data-error-reason="default"]').show();
273
- jQuery('.b2s-connection-assign').show();
274
- jQuery('.b2s-assignment-area').show();
275
- }
276
-
277
- } else {
278
- if (data.error == 'nonce') {
279
- jQuery('.b2s-nonce-check-fail').show();
280
- }
281
- jQuery('.b2s-loading-area-manage-auth-team-modal').hide();
282
- jQuery('.b2s-assign-error[data-error-reason="default"]').show();
283
- jQuery('.b2s-connection-assign').show();
284
- jQuery('.b2s-assignment-area').show();
285
- }
286
- return false;
287
- }
288
- });
289
- return false;
290
- });
291
-
292
  jQuery(document).on('click', '#b2s-move-user-auth-to-profile', function () {
293
- jQuery('.b2s-move-connection').hide();
294
- jQuery('#b2s-move-connection-failed').hide();
295
- jQuery('.b2s-connection-assign').hide();
296
- jQuery('.b2s-assignment-area').hide();
297
  jQuery('.b2s-assign-error').hide();
298
- jQuery('.b2s-loading-area-manage-auth-team-modal').show();
299
 
300
  var authId = jQuery('#b2sUserAuthId').val();
301
  var mandantId = jQuery('#b2s-move-connection-select').val();
@@ -313,14 +186,14 @@ jQuery(document).on('click', '#b2s-move-user-auth-to-profile', function () {
313
  'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
314
  },
315
  error: function () {
316
- jQuery('.b2s-loading-area-manage-auth-team-modal').hide();
317
  jQuery('.b2s-server-connection-fail').show();
318
  return false;
319
  },
320
  success: function (data) {
321
  if (data.result == true) {
322
- jQuery('.b2s-loading-area-manage-auth-team-modal').hide();
323
- jQuery('#b2s-manage-auth-team-modal').modal('hide');
324
  //change show all entry
325
  jQuery('.b2s-network-details-container-list[data-mandant-id=-1] .b2s-network-item-auth-list-li[data-network-auth-id=' + authId + ']').attr('data-network-mandant-id', mandantId);
326
  jQuery('.b2s-network-details-container-list[data-mandant-id=-1] .b2s-network-item-auth-list-li[data-network-auth-id=' + authId + '] .b2s-network-item-team-btn-manage').attr('data-network-mandant-id', mandantId);
@@ -390,7 +263,9 @@ jQuery(document).on('click', '#b2s-move-user-auth-to-profile', function () {
390
  if (data.error == 'nonce') {
391
  jQuery('.b2s-nonce-check-fail').show();
392
  }
393
- jQuery('#b2s-move-connection-failed').show();
 
 
394
  }
395
  return false;
396
  }
@@ -402,12 +277,12 @@ jQuery(document).on('click', '#b2s-assign-network-user-auth', function () {
402
  if (jQuery('#b2s-select-assign-user').val() <= 0) {
403
  return false;
404
  }
405
- jQuery('.b2s-move-connection').hide();
406
- jQuery('#b2s-move-connection-failed').hide();
407
  jQuery('.b2s-connection-assign').hide();
408
  jQuery('.b2s-assignment-area').hide();
409
  jQuery('.b2s-assign-error').hide();
410
- jQuery('.b2s-loading-area-manage-auth-team-modal').show();
411
 
412
  var authId = jQuery('#b2sUserAuthId').val();
413
  var assignBlogUserId = jQuery('#b2s-select-assign-user').val();
@@ -422,19 +297,20 @@ jQuery(document).on('click', '#b2s-assign-network-user-auth', function () {
422
  'assignBlogUserId': assignBlogUserId,
423
  'optionBestTimes': jQuery('#b2s-network-assign-option-best-times').is(':checked'),
424
  'optionPostingTemplate': jQuery('#b2s-network-assign-option-posting-template').is(':checked'),
 
425
  'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
426
  },
427
  error: function () {
428
- jQuery('.b2s-loading-area-manage-auth-team-modal').hide();
429
  jQuery('.b2s-assign-error[data-error-reason="default"]').show();
430
- jQuery('.b2s-move-connection').show();
431
  jQuery('.b2s-connection-assign').show();
432
  jQuery('.b2s-assignment-area').show();
433
  return false;
434
  },
435
  success: function (data) {
436
  if (data.result == true) {
437
- jQuery('.b2s-loading-area-manage-auth-team-modal').hide();
438
  jQuery('#b2s-approved-user-list').append(data.newListEntry);
439
  jQuery('#b2s-approved-user-list').show();
440
  jQuery('#b2s-select-assign-user option[value="' + assignBlogUserId + '"]').remove();
@@ -450,9 +326,9 @@ jQuery(document).on('click', '#b2s-assign-network-user-auth', function () {
450
  }
451
  jQuery('.b2s-assign-error[data-error-reason="' + data.error_reason + '"]').show();
452
  }
453
- jQuery('.b2s-loading-area-manage-auth-team-modal').hide();
454
- jQuery('.b2s-move-connection').show();
455
  jQuery('.b2s-connection-assign').show();
 
456
  jQuery('.b2s-assignment-area').show();
457
  return false;
458
  }
@@ -570,6 +446,7 @@ jQuery(document).on('click', '#b2s-delete-network-sched-post', function () {
570
 
571
  jQuery(document).on('click', '.b2s-network-item-auth-list-btn-delete', function () {
572
  jQuery('.b2s-loading-area').show();
 
573
  jQuery('.b2s-network-auth-info').hide();
574
  jQuery('#b2s-network-delete-auth').modal('show');
575
  jQuery('#b2s-delete-network-auth-id').val(jQuery(this).attr('data-network-auth-id'));
@@ -652,7 +529,7 @@ jQuery(document).on('click', '.b2s-btn-network-delete-auth-show-post-btn', funct
652
  jQuery(document).on('click', '.b2s-btn-network-delete-auth-confirm-btn', function () {
653
  jQuery('.b2s-network-auth-area').hide();
654
  jQuery('.b2s-loading-area').show();
655
- jQuery('#b2s-manage-auth-team-modal').modal('hide');
656
  jQuery('#b2s-network-delete-auth').modal('hide');
657
  jQuery('.b2s-server-connection-fail').hide();
658
  jQuery.ajax({
@@ -790,10 +667,17 @@ function loginSuccess(networkId, networkType, displayName, networkAuthId, mandan
790
  typ = new Array('Profil', 'Seite', 'Gruppe');
791
  days = 'Tage';
792
  }
 
 
 
 
 
 
 
793
  //NEW
794
  if (jQuery('.b2s-network-item-auth-list-li[data-network-auth-id="' + networkAuthId + '"]').length == 0) {
795
  var html = "<li class='b2s-network-item-auth-list-li b2s-label-success-border-left' data-network-auth-id='" + networkAuthId + "' data-network-mandant-id='" + mandandId + "' data-network-id='" + networkId + "' data-network-type='" + networkType + "'>";
796
- html += '<div class="pull-left"><span class="b2s-network-item-auth-type">' + typ[networkType] + '</span>: ';
797
  html += '<span class="b2s-network-item-auth-user-name">' + displayName + '</span>';
798
  if (mandandId >= 0) {
799
  var mandantName = jQuery(".b2s-network-mandant-select option:selected").text();
@@ -985,7 +869,7 @@ jQuery(document).on('click', '.b2s-edit-template-btn', function () {
985
  'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
986
  },
987
  error: function () {
988
- //TODO Fehlermeldung
989
  return false;
990
  },
991
  success: function (data) {
@@ -1309,7 +1193,7 @@ jQuery(document).on('click', '.b2s-auth-network-6-login-btn', function () {
1309
  jQuery('.b2s-loading-area').hide();
1310
  jQuery('.b2s-auth-network-6-login-area').show();
1311
  jQuery('.b2s-auth-network-6-login-btn').show();
1312
- if(jqXHR.status == 403) {
1313
  jQuery('.b2s-auth-network-6-info[data-info="error_code_403"]').show();
1314
  } else {
1315
  jQuery('.b2s-auth-network-6-info[data-info="default"]').show();
@@ -1364,7 +1248,7 @@ jQuery(document).on('click', '.b2s-auth-network-6-confirm-btn', function () {
1364
  jQuery('.b2s-loading-area').hide();
1365
  jQuery('.b2s-auth-network-6-login-area').show();
1366
  jQuery('.b2s-auth-network-6-confirm-btn').show();
1367
- if(jqXHR.status == 403) {
1368
  jQuery('.b2s-auth-network-6-info[data-info="error_code_403"]').show();
1369
  } else {
1370
  jQuery('.b2s-auth-network-6-info[data-info="default"]').show();
@@ -1445,4 +1329,249 @@ jQuery(".b2s-auth-network-6-reveal").mouseup(function () {
1445
  jQuery(".b2s-auth-network-6-reveal").mouseout(function () {
1446
  jQuery("#b2s-auth-network-6-password").replaceWith(jQuery('#b2s-auth-network-6-password').clone().attr('type', 'password'));
1447
  });
1448
- // END Pinterest
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  jQuery('.b2s-network-item-auth-list[data-network-count="true"]').each(function () {
16
  jQuery('.b2s-network-auth-count-current[data-network-id="' + jQuery(this).attr("data-network-id") + '"').text(jQuery(this).children('li').length - 1);
17
  });
 
 
 
 
 
18
  });
19
 
 
 
 
20
  function init() {
21
  var showMeridian = true;
22
  if (jQuery('#b2sUserLang').val() == 'de') {
164
  return true;
165
  });
166
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
167
  jQuery(document).on('click', '#b2s-move-user-auth-to-profile', function () {
168
+ jQuery('.b2s-network-auth-settings-content').hide();
169
+ jQuery('.b2s-move-connection-error').hide();
 
 
170
  jQuery('.b2s-assign-error').hide();
171
+ jQuery('.b2s-loading-area').show();
172
 
173
  var authId = jQuery('#b2sUserAuthId').val();
174
  var mandantId = jQuery('#b2s-move-connection-select').val();
186
  'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
187
  },
188
  error: function () {
189
+ jQuery('.b2s-loading-area').hide();
190
  jQuery('.b2s-server-connection-fail').show();
191
  return false;
192
  },
193
  success: function (data) {
194
  if (data.result == true) {
195
+ jQuery('.b2s-loading-area').hide();
196
+ jQuery('#b2s-edit-network-auth-settings').modal('hide');
197
  //change show all entry
198
  jQuery('.b2s-network-details-container-list[data-mandant-id=-1] .b2s-network-item-auth-list-li[data-network-auth-id=' + authId + ']').attr('data-network-mandant-id', mandantId);
199
  jQuery('.b2s-network-details-container-list[data-mandant-id=-1] .b2s-network-item-auth-list-li[data-network-auth-id=' + authId + '] .b2s-network-item-team-btn-manage').attr('data-network-mandant-id', mandantId);
263
  if (data.error == 'nonce') {
264
  jQuery('.b2s-nonce-check-fail').show();
265
  }
266
+ jQuery('.b2s-loading-area').hide();
267
+ jQuery('.b2s-network-auth-settings-content').show();
268
+ jQuery('.b2s-move-connection-error').show();
269
  }
270
  return false;
271
  }
277
  if (jQuery('#b2s-select-assign-user').val() <= 0) {
278
  return false;
279
  }
280
+ jQuery('.b2s-network-auth-settings-content').hide();
281
+ jQuery('.b2s-move-connection-error').hide();
282
  jQuery('.b2s-connection-assign').hide();
283
  jQuery('.b2s-assignment-area').hide();
284
  jQuery('.b2s-assign-error').hide();
285
+ jQuery('.b2s-loading-area').show();
286
 
287
  var authId = jQuery('#b2sUserAuthId').val();
288
  var assignBlogUserId = jQuery('#b2s-select-assign-user').val();
297
  'assignBlogUserId': assignBlogUserId,
298
  'optionBestTimes': jQuery('#b2s-network-assign-option-best-times').is(':checked'),
299
  'optionPostingTemplate': jQuery('#b2s-network-assign-option-posting-template').is(':checked'),
300
+ 'optionUrlParameter': jQuery('#b2s-network-assign-option-url-parameter').is(':checked'),
301
  'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
302
  },
303
  error: function () {
304
+ jQuery('.b2s-loading-area').hide();
305
  jQuery('.b2s-assign-error[data-error-reason="default"]').show();
306
+ jQuery('.b2s-network-auth-settings-content').show();
307
  jQuery('.b2s-connection-assign').show();
308
  jQuery('.b2s-assignment-area').show();
309
  return false;
310
  },
311
  success: function (data) {
312
  if (data.result == true) {
313
+ jQuery('.b2s-loading-area').hide();
314
  jQuery('#b2s-approved-user-list').append(data.newListEntry);
315
  jQuery('#b2s-approved-user-list').show();
316
  jQuery('#b2s-select-assign-user option[value="' + assignBlogUserId + '"]').remove();
326
  }
327
  jQuery('.b2s-assign-error[data-error-reason="' + data.error_reason + '"]').show();
328
  }
329
+ jQuery('.b2s-loading-area').hide();
 
330
  jQuery('.b2s-connection-assign').show();
331
+ jQuery('.b2s-network-auth-settings-content').show();
332
  jQuery('.b2s-assignment-area').show();
333
  return false;
334
  }
446
 
447
  jQuery(document).on('click', '.b2s-network-item-auth-list-btn-delete', function () {
448
  jQuery('.b2s-loading-area').show();
449
+ jQuery('.b2s-network-auth-settings-content').hide();
450
  jQuery('.b2s-network-auth-info').hide();
451
  jQuery('#b2s-network-delete-auth').modal('show');
452
  jQuery('#b2s-delete-network-auth-id').val(jQuery(this).attr('data-network-auth-id'));
529
  jQuery(document).on('click', '.b2s-btn-network-delete-auth-confirm-btn', function () {
530
  jQuery('.b2s-network-auth-area').hide();
531
  jQuery('.b2s-loading-area').show();
532
+ jQuery('#b2s-edit-network-auth-settings').modal('hide');
533
  jQuery('#b2s-network-delete-auth').modal('hide');
534
  jQuery('.b2s-server-connection-fail').hide();
535
  jQuery.ajax({
667
  typ = new Array('Profil', 'Seite', 'Gruppe');
668
  days = 'Tage';
669
  }
670
+
671
+ var networkTypeName = typ[networkType];
672
+ //Tumblr
673
+ if (networkId == 4) {
674
+ networkTypeName = 'Blog';
675
+ }
676
+
677
  //NEW
678
  if (jQuery('.b2s-network-item-auth-list-li[data-network-auth-id="' + networkAuthId + '"]').length == 0) {
679
  var html = "<li class='b2s-network-item-auth-list-li b2s-label-success-border-left' data-network-auth-id='" + networkAuthId + "' data-network-mandant-id='" + mandandId + "' data-network-id='" + networkId + "' data-network-type='" + networkType + "'>";
680
+ html += '<div class="pull-left"><span class="b2s-network-item-auth-type">' + networkTypeName + '</span>: ';
681
  html += '<span class="b2s-network-item-auth-user-name">' + displayName + '</span>';
682
  if (mandandId >= 0) {
683
  var mandantName = jQuery(".b2s-network-mandant-select option:selected").text();
869
  'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
870
  },
871
  error: function () {
872
+ jQuery('.b2s-server-connection-fail').show();
873
  return false;
874
  },
875
  success: function (data) {
1193
  jQuery('.b2s-loading-area').hide();
1194
  jQuery('.b2s-auth-network-6-login-area').show();
1195
  jQuery('.b2s-auth-network-6-login-btn').show();
1196
+ if (jqXHR.status == 403) {
1197
  jQuery('.b2s-auth-network-6-info[data-info="error_code_403"]').show();
1198
  } else {
1199
  jQuery('.b2s-auth-network-6-info[data-info="default"]').show();
1248
  jQuery('.b2s-loading-area').hide();
1249
  jQuery('.b2s-auth-network-6-login-area').show();
1250
  jQuery('.b2s-auth-network-6-confirm-btn').show();
1251
+ if (jqXHR.status == 403) {
1252
  jQuery('.b2s-auth-network-6-info[data-info="error_code_403"]').show();
1253
  } else {
1254
  jQuery('.b2s-auth-network-6-info[data-info="default"]').show();
1329
  jQuery(".b2s-auth-network-6-reveal").mouseout(function () {
1330
  jQuery("#b2s-auth-network-6-password").replaceWith(jQuery('#b2s-auth-network-6-password').clone().attr('type', 'password'));
1331
  });
1332
+ // END Pinterest
1333
+
1334
+ //START Network Auth Settings
1335
+ jQuery(document).on('click', '.b2s-network-auth-settings-btn', function () {
1336
+ jQuery('#b2s-edit-network-auth-settings').modal('show');
1337
+ if (jQuery('#b2sUserVersion').val() >= 3) {
1338
+
1339
+ jQuery('.b2s-network-auth-settings-content').hide();
1340
+ jQuery('.b2s-loading-area').show();
1341
+
1342
+ jQuery('.b2s-move-connection-error').hide();
1343
+ jQuery('.b2s-connection-assign').hide();
1344
+ jQuery('.b2s-assignment-area').hide();
1345
+ jQuery('.b2s-connection-owner').hide();
1346
+ jQuery('.b2s-assign-error').hide();
1347
+ jQuery('#b2s-no-assign-user').hide();
1348
+ jQuery('#b2s-assign-info').show();
1349
+ jQuery('.b2s-url-parameter-error').hide();
1350
+ jQuery('.b2s-url-parameter-content').show();
1351
+
1352
+ jQuery('#b2sUserAuthId').val(jQuery(this).attr('data-network-auth-id'));
1353
+ jQuery('#b2sOldMandantId').val(jQuery(this).attr('data-network-mandant-id'));
1354
+ jQuery('#b2sNetworkId').val(jQuery(this).attr('data-network-id'));
1355
+ jQuery('#b2sNetworkType').val(jQuery(this).attr('data-network-type'));
1356
+
1357
+ //Move connection to network mandant
1358
+ if (jQuery('#b2s-move-connection-select').length) {
1359
+ jQuery('#b2s-move-connection-select').html(jQuery('.b2s-network-mandant-select').html());
1360
+ jQuery("#b2s-move-connection-select option[value='-1']").remove();
1361
+ jQuery("#b2s-move-connection-select option[value='" + jQuery(this).attr('data-network-mandant-id') + "']").remove();
1362
+ if (jQuery(this).attr('data-network-mandant-id') <= 0) {
1363
+ if (jQuery('#b2s-network-select-more-client').length) {
1364
+ var temp_options = jQuery('#b2s-move-connection-select #b2s-network-select-more-client').html();
1365
+ jQuery("#b2s-move-connection-select optiongroup").remove();
1366
+ jQuery("#b2s-move-connection-select").html(temp_options);
1367
+ } else {
1368
+ jQuery('#b2s-move-connection-input').hide();
1369
+ jQuery('#b2s-move-connection-error').show();
1370
+ }
1371
+ } else {
1372
+ if (!jQuery('#b2s-move-connection-select #b2s-network-select-more-client option').length) {
1373
+ var temp_options = jQuery("#b2s-move-connection-select option[value='0']");
1374
+ jQuery("#b2s-move-connection-select optiongroup").remove();
1375
+ jQuery("#b2s-move-connection-select").html(temp_options);
1376
+ }
1377
+ }
1378
+ }
1379
+
1380
+ jQuery.ajax({
1381
+ url: ajaxurl,
1382
+ type: "GET",
1383
+ dataType: "json",
1384
+ cache: false,
1385
+ data: {
1386
+ 'action': 'b2s_get_network_auth_settings',
1387
+ 'networkAuthId': jQuery(this).attr('data-network-auth-id'),
1388
+ 'owner': jQuery(this).attr('data-connection-owner'),
1389
+ 'networkId': jQuery(this).attr('data-network-id'),
1390
+ 'networkType': jQuery('#b2sNetworkType').val(),
1391
+ 'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
1392
+ },
1393
+ error: function () {
1394
+ jQuery('.b2s-server-connection-fail').show();
1395
+ return false;
1396
+ },
1397
+ success: function (data) {
1398
+ if (data.result == true) {
1399
+ jQuery('.b2s-loading-area').hide();
1400
+ jQuery('.b2s-network-auth-settings-content').show();
1401
+ var result = JSON.parse(data.data);
1402
+
1403
+ //URL Parameter
1404
+ if (typeof result.urlParameter != 'undefined' && result.urlParameter.length > 0) {
1405
+ jQuery('.b2s-url-parameter-content').html(result.urlParameter);
1406
+ if (jQuery('.b2s-url-parameter-entry').length <= 0) {
1407
+ jQuery('.b2s-col-name').hide();
1408
+ }
1409
+ } else {
1410
+ jQuery('.b2s-url-parameter-error[data-error-reason="default"]').show();
1411
+ jQuery('.b2s-url-parameter-content').hide();
1412
+ }
1413
+
1414
+ //User Assign
1415
+ if (typeof result.ownerName != 'undefined') { //Case: network is assigned by other user
1416
+ jQuery('#b2s-connection-owner-name').text(result.ownerName);
1417
+ jQuery('.b2s-connection-owner').show();
1418
+ jQuery('.b2s-assignment-area').show();
1419
+ } else if (typeof result.userSelect != 'undefined' && typeof result.assignList != 'undefined') { //Case: user is network owner
1420
+ jQuery('#b2s-connection-assign-select').html(result.userSelect);
1421
+ jQuery('.b2s-network-assign-list').html(result.assignList);
1422
+ if (jQuery('#b2s-approved-user-list li').length <= 1) {
1423
+ jQuery('#b2s-approved-user-list').hide();
1424
+ } else {
1425
+ jQuery('#b2s-approved-user-list').show();
1426
+ }
1427
+ if (jQuery('#b2s-select-assign-user').html() == '') {
1428
+ jQuery('#b2s-select-assign-user').attr('disabled', true);
1429
+ jQuery('#b2s-assign-network-user-auth').attr('disabled', true);
1430
+ jQuery('.b2s-network-assign-option').hide();
1431
+ jQuery('#b2s-assign-info').hide();
1432
+ jQuery('#b2s-no-assign-user').show();
1433
+ } else {
1434
+ jQuery('#b2s-select-assign-user').removeAttr('disabled');
1435
+ jQuery('#b2s-assign-network-user-auth').removeAttr('disabled');
1436
+ jQuery('.b2s-network-assign-option').show();
1437
+ jQuery('#b2s-no-assign-user').hide();
1438
+ jQuery('#b2s-assign-info').show();
1439
+ }
1440
+ jQuery('.b2s-connection-assign').show();
1441
+ jQuery('.b2s-assignment-area').show();
1442
+ jQuery('.b2s-network-assign-list').show();
1443
+ jQuery('#b2s-connection-assign-select').show();
1444
+ } else {
1445
+ jQuery('.b2s-assign-error[data-error-reason="default"]').show();
1446
+ jQuery('.b2s-connection-assign').show();
1447
+ jQuery('.b2s-assignment-area').show();
1448
+ jQuery('#b2s-assign-network-user-auth').hide();
1449
+ jQuery('#b2s-assign-info').hide();
1450
+ jQuery('.b2s-network-assign-option').hide();
1451
+ jQuery('.b2s-network-assign-list').hide();
1452
+ jQuery('#b2s-connection-assign-select').hide();
1453
+ }
1454
+
1455
+ } else {
1456
+ jQuery('#b2s-edit-network-auth-settings').modal('hide');
1457
+ if(result.error == 'nonce') {
1458
+ jQuery('.b2s-nonce-check-fail').show();
1459
+ return false;
1460
+ }
1461
+ jQuery('.b2s-server-connection-fail').show();
1462
+ return false;
1463
+ }
1464
+ }
1465
+ });
1466
+ } else {
1467
+ jQuery('.b2s-loading-area').hide();
1468
+ }
1469
+ });
1470
+
1471
+ //START URL Parameter
1472
+ jQuery(document).on('click', '.b2s-url-parameter-add-btn', function () {
1473
+ jQuery('.b2s-col-name').show();
1474
+ var html = '<li class="b2s-url-parameter-entry row">';
1475
+ html += '<div class="col-md-5"><input class="form-control b2s-link-parameter-name" value=""></div>';
1476
+ html += '<div class="col-md-5"><input class="form-control b2s-link-parameter-value" value=""></div>';
1477
+ html += '<div class="col-md-1"><span aria-hidden="true" class="b2s-url-parameter-remove-btn text-danger">&times;</span></div>';
1478
+ html += '</li>';
1479
+ jQuery('.b2s-url-parameter-list').append(html);
1480
+ if (jQuery('.b2s-url-parameter-entry').length >= 10) {
1481
+ jQuery('.b2s-url-parameter-add-btn').hide();
1482
+ }
1483
+ });
1484
+
1485
+ jQuery(document).on('click', '.b2s-url-parameter-remove-btn', function () {
1486
+ jQuery(this).closest('li').remove();
1487
+ if (jQuery('.b2s-url-parameter-entry').length <= 0) {
1488
+ jQuery('.b2s-col-name').hide();
1489
+ }
1490
+ jQuery('.b2s-url-parameter-add-btn').show();
1491
+ });
1492
+
1493
+ jQuery(document).on('click', '.b2s-url-parameter-save-btn', function () {
1494
+ jQuery('.b2s-network-auth-settings-content').hide();
1495
+ jQuery('.b2s-loading-area').show();
1496
+ jQuery('.b2s-url-parameter-error').hide();
1497
+
1498
+ var urlParameter = {};
1499
+ jQuery('.b2s-url-parameter-entry').each(function () {
1500
+ if (jQuery(this).find('.b2s-link-parameter-name').val().length != 0 && jQuery(this).find('.b2s-link-parameter-value').val().length != 0) {
1501
+ urlParameter[jQuery(this).find('.b2s-link-parameter-name').val()] = jQuery(this).find('.b2s-link-parameter-value').val();
1502
+ }
1503
+ });
1504
+
1505
+ var originNetworkAuthId = jQuery(this).attr('data-network-auth-id');
1506
+
1507
+ var networks = [];
1508
+ if (jQuery('.b2s-url-parameter-for-all').is(':checked')) { //get all network connections
1509
+ jQuery('.b2s-network-details-container-list[data-mandant-id="-1"] .b2s-network-item-auth-list-li').each(function () {
1510
+ if (typeof jQuery(this).data('network-auth-id') != 'undefined') {
1511
+ networks.push({
1512
+ 'networkAuthId': jQuery(this).data('network-auth-id'),
1513
+ 'networkId': jQuery(this).data('network-id'),
1514
+ 'networkType': jQuery(this).data('network-type'),
1515
+ 'displayName': jQuery(this).find('.b2s-network-item-auth-user-name').text()
1516
+ });
1517
+ }
1518
+ });
1519
+ } else if (jQuery('.b2s-url-parameter-for-all-network').is(':checked')) { //get all network connections for specific network
1520
+ jQuery('.b2s-network-details-container-list[data-mandant-id="-1"] .b2s-network-item-auth-list-li[data-network-id="' + jQuery(this).data('network-id') + '"]').each(function () {
1521
+ if (typeof jQuery(this).data('network-auth-id') != 'undefined') {
1522
+ networks.push({
1523
+ 'networkAuthId': jQuery(this).data('network-auth-id'),
1524
+ 'networkId': jQuery(this).data('network-id'),
1525
+ 'networkType': jQuery(this).data('network-type'),
1526
+ 'displayName': jQuery(this).find('.b2s-network-item-auth-user-name').text()
1527
+ });
1528
+ }
1529
+ });
1530
+ } else { //only current network connection
1531
+ networks.push({
1532
+ 'networkAuthId': originNetworkAuthId,
1533
+ 'networkId': jQuery(this).data('network-id'),
1534
+ 'networkType': jQuery('.b2s-network-details-container-list[data-mandant-id="-1"] .b2s-network-item-auth-list-li[data-network-auth-id="' + originNetworkAuthId + '"]').data('network-type'),
1535
+ 'displayName': jQuery('.b2s-network-details-container-list[data-mandant-id="-1"] .b2s-network-item-auth-list-li[data-network-auth-id="' + originNetworkAuthId + '"]').find('.b2s-network-item-auth-user-name').text()
1536
+ });
1537
+ }
1538
+
1539
+ jQuery.ajax({
1540
+ url: ajaxurl,
1541
+ type: "POST",
1542
+ dataType: "json",
1543
+ cache: false,
1544
+ data: {
1545
+ 'action': 'b2s_save_url_parameter',
1546
+ 'originNetworkAuthId': originNetworkAuthId,
1547
+ 'networks': networks,
1548
+ 'networkId': jQuery(this).attr('data-network-id'),
1549
+ 'urlParameter': JSON.stringify(urlParameter),
1550
+ 'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
1551
+ },
1552
+ error: function () {
1553
+ jQuery('.b2s-server-connection-fail').show();
1554
+ return false;
1555
+ },
1556
+ success: function (data) {
1557
+ jQuery('.b2s-loading-area').hide();
1558
+ jQuery('.b2s-network-auth-settings-content').show();
1559
+ if (data.result == true) {
1560
+ if (data.html.length > 0) {
1561
+ jQuery('.b2s-url-parameter-content').html(data.html);
1562
+ if (jQuery('.b2s-url-parameter-entry').length <= 0) {
1563
+ jQuery('.b2s-col-name').hide();
1564
+ }
1565
+ }
1566
+ } else {
1567
+ if (data.error == 'nonce') {
1568
+ jQuery('.b2s-nonce-check-fail').show();
1569
+ } else {
1570
+ jQuery('.b2s-url-parameter-error[data-error-reason="save"]').show();
1571
+ }
1572
+ }
1573
+ }
1574
+ });
1575
+ });
1576
+ //END URL Parameter
1577
+ //END Network Auth Settings
assets/js/b2s/post.js CHANGED
@@ -197,7 +197,8 @@ function b2sSortFormSubmit(sched_dates) {
197
  jQuery('.b2s-loading-area').show();
198
  jQuery('.b2s-sort-result-area').hide();
199
  jQuery('.b2s-sort-result-item-area').html("").hide();
200
- jQuery('.b2s-sort-pagination-area').html("").hide();
 
201
 
202
  var currentType = jQuery('#b2sType').val();
203
  if (currentType != "undefined") {
@@ -223,6 +224,8 @@ function b2sSortFormSubmit(sched_dates) {
223
  'b2sSortPostShareStatus': jQuery('#b2sSortPostShareStatus').val(),
224
  'b2sSortPostPublishDate': jQuery('#b2sSortPostPublishDate').val(),
225
  'b2sUserLang': jQuery('#b2sUserLang').val(),
 
 
226
  'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
227
  };
228
 
@@ -258,7 +261,10 @@ function b2sSortFormSubmit(sched_dates) {
258
  jQuery('.b2s-loading-area').hide();
259
  jQuery('.b2s-sort-result-area').show();
260
  jQuery('.b2s-sort-result-item-area').html(data.content).show();
261
- jQuery('.b2s-sort-pagination-area').html(data.pagination).show();
 
 
 
262
 
263
  //extern - Routing from dashboard
264
  if (jQuery('#b2sPostBlogId').val() !== undefined) {
@@ -878,7 +884,7 @@ function checkSchedDateTime() {
878
  //utc current time
879
  var now = new Date();
880
  //offset between utc und user
881
- var offset = (parseInt(now.getTimezoneOffset() / 60)) * (-1);
882
  //enter hour to user time
883
  var hour = parseInt(minParts3[0]) + timeZone + offset;
884
  //calculate datetime in utc
@@ -1004,4 +1010,11 @@ jQuery(document).on('click', '.b2sFavoriteStar', function () {
1004
  }
1005
  });
1006
 
 
 
 
 
 
 
 
1007
  });
197
  jQuery('.b2s-loading-area').show();
198
  jQuery('.b2s-sort-result-area').hide();
199
  jQuery('.b2s-sort-result-item-area').html("").hide();
200
+ jQuery('.b2s-sort-pagination-content').html("");
201
+ jQuery('.b2s-sort-pagination-area').hide();
202
 
203
  var currentType = jQuery('#b2sType').val();
204
  if (currentType != "undefined") {
224
  'b2sSortPostShareStatus': jQuery('#b2sSortPostShareStatus').val(),
225
  'b2sSortPostPublishDate': jQuery('#b2sSortPostPublishDate').val(),
226
  'b2sUserLang': jQuery('#b2sUserLang').val(),
227
+ 'b2sPostsPerPage': jQuery('#b2sPostsPerPage').val(),
228
+ 'b2sSortPostSharedBy': jQuery('#b2sSortPostSharedBy').val(),
229
  'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
230
  };
231
 
261
  jQuery('.b2s-loading-area').hide();
262
  jQuery('.b2s-sort-result-area').show();
263
  jQuery('.b2s-sort-result-item-area').html(data.content).show();
264
+ if(data.pagination != '') {
265
+ jQuery('.b2s-sort-pagination-content').html(data.pagination);
266
+ jQuery('.b2s-sort-pagination-area').show();
267
+ }
268
 
269
  //extern - Routing from dashboard
270
  if (jQuery('#b2sPostBlogId').val() !== undefined) {
884
  //utc current time
885
  var now = new Date();
886
  //offset between utc und user
887
+ var offset = (parseInt(now.getTimezoneOffset() / 60)) * (-1);
888
  //enter hour to user time
889
  var hour = parseInt(minParts3[0]) + timeZone + offset;
890
  //calculate datetime in utc
1010
  }
1011
  });
1012
 
1013
+ });
1014
+
1015
+ jQuery(document).on('click', '.b2s-post-per-page', function() {
1016
+ jQuery('#b2sPostsPerPage').val(jQuery(this).data('post-per-page'));
1017
+ jQuery('.b2s-post-per-page').addClass('btn-default').removeClass('btn-primary');
1018
+ jQuery(this).removeClass('btn-default').addClass('btn-primary');
1019
+ jQuery('#b2s-sort-submit-btn').trigger('click');
1020
  });
assets/js/b2s/settings.js CHANGED
@@ -29,6 +29,8 @@ jQuery(window).on("load", function () {
29
 
30
  //TOS Twitter 032018 - none multiple Accounts - User select once
31
  checkNetworkTos(2);
 
 
32
 
33
  });
34
 
@@ -98,11 +100,11 @@ function checkNetworkTos(networkId) {
98
  var len = jQuery('.b2s-network-tos-check[data-network-id="' + networkId + '"]:checked').length;
99
  if (len > 1) {
100
  jQuery('.b2s-network-tos-auto-post-import-warning').show();
101
- jQuery('#b2s-auto-post-import-settings-btn').attr('disabled', 'disabled');
102
  return false;
103
  } else {
104
  jQuery('.b2s-network-tos-auto-post-import-warning').hide();
105
- jQuery('#b2s-auto-post-import-settings-btn').attr('disabled', false);
106
  return true;
107
  }
108
  }
@@ -189,13 +191,14 @@ jQuery(document).on('click', '.b2s-save-settings-pro-info', function () {
189
  return false;
190
  });
191
 
192
- jQuery(document).on('click', '#b2s-user-network-settings-short-url', function () {
193
  jQuery('.b2s-settings-user-success').hide();
194
  jQuery('.b2s-settings-user-error').hide();
195
  jQuery('.b2s-server-connection-fail').hide();
196
-
197
- if (jQuery('#b2s-user-network-shortener-state[data-provider-id="0"]').val() == "0") {
198
- jQuery('.b2s-shortener-account-connect-btn[data-provider-id="0"]').trigger('click');
 
199
  } else {
200
  jQuery(".b2s-user-settings-area").hide();
201
  jQuery(".b2s-loading-area").show();
@@ -207,7 +210,7 @@ jQuery(document).on('click', '#b2s-user-network-settings-short-url', function ()
207
  cache: false,
208
  data: {
209
  'action': 'b2s_user_network_settings',
210
- 'short_url': jQuery('#b2s-user-network-settings-short-url').val(),
211
  'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
212
  },
213
  error: function () {
@@ -219,11 +222,10 @@ jQuery(document).on('click', '#b2s-user-network-settings-short-url', function ()
219
  jQuery(".b2s-user-settings-area").show();
220
  if (data.result == true) {
221
  jQuery('.b2s-settings-user-success').show();
222
- jQuery('#b2s-user-network-settings-short-url').val(data.content);
223
- if (jQuery("#b2s-user-network-settings-short-url").is(":checked")) {
224
- jQuery('#b2s-user-network-settings-short-url').prop('checked', false);
225
  } else {
226
- jQuery('#b2s-user-network-settings-short-url').prop('checked', true);
227
  }
228
  } else {
229
  if(data.error == 'nonce') {
@@ -265,10 +267,12 @@ jQuery(document).on('click', '.b2s-shortener-account-delete-btn', function () {
265
  jQuery(".b2s-user-settings-area").show();
266
  if (data.result == true) {
267
  jQuery('.b2s-user-network-shortener-account-detail[data-provider-id="' + provider_id + '"]').hide();
268
- jQuery('.b2s-shortener-account-connect-btn[data-provider-id="' + provider_id + '"]').css('display', 'inline-block');
269
- jQuery('#b2s-user-network-settings-short-url').prop('checked', false);
270
- jQuery('#b2s-user-network-settings-short-url').val("1");
271
- jQuery('#b2s-user-network-shortener-state[data-provider-id="0"]').val("0");
 
 
272
  } else {
273
  if(data.error == 'nonce') {
274
  jQuery('.b2s-nonce-check-fail').show();
@@ -621,11 +625,11 @@ window.addEventListener('message', function (e) {
621
 
622
  function loginSuccessShortener(providerId, displayName) {
623
  jQuery('.b2s-user-network-shortener-account-detail[data-provider-id="' + providerId + '"]').css('display', 'inline-block');
624
- jQuery('#b2s-shortener-account-display-name[data-provider-id="' + providerId + '"]').html(displayName);
625
  jQuery('.b2s-shortener-account-connect-btn[data-provider-id="' + providerId + '"]').hide();
626
- jQuery('#b2s-user-network-settings-short-url').prop("checked", true);
627
- jQuery('#b2s-user-network-settings-short-url').val("0");
628
- jQuery('#b2s-user-network-shortener-state[data-provider-id="0"]').val("1");
629
  }
630
 
631
  jQuery(document).on('click', '.b2sInfoTimeZoneModalBtn', function () {
@@ -648,4 +652,89 @@ jQuery(document).on('click', '.b2sInfoAutoPosterMModalBtn', function () {
648
  });
649
  jQuery(document).on('click', '.b2sInfoAutoPosterAModalBtn', function () {
650
  jQuery('#b2sInfoAutoPosterAModal').modal('show');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
651
  });
29
 
30
  //TOS Twitter 032018 - none multiple Accounts - User select once
31
  checkNetworkTos(2);
32
+
33
+ jQuery('#b2s-auto-post-profil-dropdown').trigger('change');
34
 
35
  });
36
 
100
  var len = jQuery('.b2s-network-tos-check[data-network-id="' + networkId + '"]:checked').length;
101
  if (len > 1) {
102
  jQuery('.b2s-network-tos-auto-post-import-warning').show();
103
+ jQuery('#b2s-auto-post-settings-btn').attr('disabled', 'disabled');
104
  return false;
105
  } else {
106
  jQuery('.b2s-network-tos-auto-post-import-warning').hide();
107
+ jQuery('#b2s-auto-post-settings-btn').attr('disabled', false);
108
  return true;
109
  }
110
  }
191
  return false;
192
  });
193
 
194
+ jQuery(document).on('click', '.b2s-user-network-settings-short-url', function () {
195
  jQuery('.b2s-settings-user-success').hide();
196
  jQuery('.b2s-settings-user-error').hide();
197
  jQuery('.b2s-server-connection-fail').hide();
198
+
199
+ var provider_id = jQuery(this).data('provider-id');
200
+ if (jQuery('.b2s-user-network-shortener-state[data-provider-id="'+provider_id+'"]').val() == "0") {
201
+ jQuery('.b2s-shortener-account-connect-btn[data-provider-id="'+provider_id+'"]').trigger('click');
202
  } else {
203
  jQuery(".b2s-user-settings-area").hide();
204
  jQuery(".b2s-loading-area").show();
210
  cache: false,
211
  data: {
212
  'action': 'b2s_user_network_settings',
213
+ 'short_url': jQuery('.b2s-user-network-settings-short-url[data-provider-id="'+provider_id+'"]').val(),
214
  'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
215
  },
216
  error: function () {
222
  jQuery(".b2s-user-settings-area").show();
223
  if (data.result == true) {
224
  jQuery('.b2s-settings-user-success').show();
225
+ if (jQuery('.b2s-user-network-settings-short-url[data-provider-id="'+provider_id+'"]').is(":checked")) {
226
+ jQuery('.b2s-user-network-settings-short-url[data-provider-id="'+provider_id+'"]').prop('checked', false);
 
227
  } else {
228
+ jQuery('.b2s-user-network-settings-short-url[data-provider-id="'+provider_id+'"]').prop('checked', true);
229
  }
230
  } else {
231
  if(data.error == 'nonce') {
267
  jQuery(".b2s-user-settings-area").show();
268
  if (data.result == true) {
269
  jQuery('.b2s-user-network-shortener-account-detail[data-provider-id="' + provider_id + '"]').hide();
270
+ jQuery('.b2s-user-network-shortener-connect[data-provider-id="' + provider_id + '"]').css('display', 'inline-block');
271
+ if(jQuery('.b2s-user-network-settings-short-url[data-provider-id="'+provider_id+'"]').prop('checked') == true) {
272
+ jQuery('.b2s-user-network-settings-short-url[data-provider-id="'+provider_id+'"]').prop('checked', false);
273
+ jQuery('.b2s-user-network-settings-short-url[data-provider-id="-1"]').prop('checked', true);
274
+ }
275
+ jQuery('.b2s-user-network-shortener-state[data-provider-id="'+provider_id+'"]').val("0");
276
  } else {
277
  if(data.error == 'nonce') {
278
  jQuery('.b2s-nonce-check-fail').show();
625
 
626
  function loginSuccessShortener(providerId, displayName) {
627
  jQuery('.b2s-user-network-shortener-account-detail[data-provider-id="' + providerId + '"]').css('display', 'inline-block');
628
+ jQuery('.b2s-shortener-account-display-name[data-provider-id="' + providerId + '"]').html(displayName);
629
  jQuery('.b2s-shortener-account-connect-btn[data-provider-id="' + providerId + '"]').hide();
630
+ jQuery('.b2s-user-network-settings-short-url[data-provider-id="' + providerId + '"]').prop("checked", true);
631
+ jQuery('.b2s-user-network-settings-short-url[data-provider-id="' + providerId + '"]').val("0");
632
+ jQuery('.b2s-user-network-shortener-state[data-provider-id="'+providerId+'"]').val("1");
633
  }
634
 
635
  jQuery(document).on('click', '.b2sInfoTimeZoneModalBtn', function () {
652
  });
653
  jQuery(document).on('click', '.b2sInfoAutoPosterAModalBtn', function () {
654
  jQuery('#b2sInfoAutoPosterAModal').modal('show');
655
+ });
656
+ jQuery(document).on('click', '.b2sTwitterInfoModalBtn', function () {
657
+ jQuery('#b2sTwitterInfoModal').modal('show');
658
+ });
659
+
660
+ jQuery(document).on('change', '.b2s-auto-post-area-toggle', function() {
661
+ if(jQuery(this).is(':checked')) {
662
+ jQuery('.b2s-auto-post-area[data-area-type="'+jQuery(this).data('area-type')+'"]').show();
663
+ } else {
664
+ jQuery('.b2s-auto-post-area[data-area-type="'+jQuery(this).data('area-type')+'"]').hide();
665
+ }
666
+ });
667
+
668
+ jQuery(document).on('change', '#b2s-auto-post-profil-dropdown', function () {
669
+ jQuery('.b2s-auto-post-error[data-error-reason="no-auth-in-mandant"]').hide();
670
+ var tos = false;
671
+ if (jQuery('#b2s-auto-post-profil-data-' + jQuery(this).val()).val() == "") {
672
+ tos = true;
673
+ } else {
674
+ //TOS Twitter Check
675
+ var len = jQuery('#b2s-auto-post-profil-dropdown-twitter').children('option[data-mandant-id="' + jQuery(this).val() + '"]').length;
676
+ if (len >= 1) {
677
+ jQuery('.b2s-auto-post-twitter-profile').show();
678
+ jQuery('#b2s-auto-post-profil-dropdown-twitter').prop('disabled', false);
679
+ jQuery('#b2s-auto-post-profil-dropdown-twitter').show();
680
+ jQuery('#b2s-auto-post-profil-dropdown-twitter option').attr("disabled", "disabled");
681
+ jQuery('#b2s-auto-post-profil-dropdown-twitter option[data-mandant-id="' + jQuery(this).val() + '"]').attr("disabled", false);
682
+ jQuery('#b2s-auto-post-profil-dropdown-twitter option[data-mandant-id="' + jQuery(this).val() + '"]:first').attr("selected", "selected");
683
+ } else {
684
+ tos = true;
685
+ }
686
+
687
+ }
688
+ //TOS Twitter 032018
689
+ if (tos) {
690
+ jQuery('.b2s-auto-post-twitter-profile').hide();
691
+ jQuery('#b2s-auto-post-profil-dropdown-twitter').prop('disabled', 'disabled');
692
+ jQuery('#b2s-auto-post-profil-dropdown-twitter').hide();
693
+ }
694
+ });
695
+
696
+ jQuery(document).on('click', '#b2s-auto-post-settings-btn', function() {
697
+ var submit = true;
698
+ if(jQuery('.b2s-auto-post-area-toggle[data-area-type="manuell"]').is(':checked')) {
699
+ var publish = jQuery('.b2s-post-type-item-publish').is(':checked');
700
+ var update = jQuery('.b2s-post-type-item-update').is(':checked');
701
+ if(publish == false && update == false) {
702
+ submit = false;
703
+ jQuery('.b2s-auto-post-error[data-error-reason="no-post-type"]').show();
704
+ jQuery('.b2s-post-type-item-publish').css('border-color', 'red');
705
+ jQuery('.b2s-post-type-item-update').css('border-color', 'red');
706
+ }
707
+ if(jQuery('#b2s-auto-post-profil-data-'+jQuery('#b2s-auto-post-profil-dropdown').val()).val() == "") {
708
+ submit = false;
709
+ jQuery('.b2s-auto-post-error[data-error-reason="no-auth-in-mandant"]').show();
710
+ }
711
+ }
712
+
713
+ if(jQuery('.b2s-auto-post-area-toggle[data-area-type="import"]').is(':checked')) {
714
+ if(jQuery('.b2s-network-tos-check').is(':checked') == false) {
715
+ submit = false;
716
+ jQuery('.b2s-auto-post-error[data-error-reason="import-no-auth"]').show();
717
+ jQuery('.b2s-network-tos-check').css('border-color', 'red');
718
+ }
719
+ }
720
+
721
+ if(submit) {
722
+ jQuery('#b2s-user-network-settings-auto-post-own').submit();
723
+ }
724
+ });
725
+
726
+ jQuery(document).on('change', '.b2s-post-type-item-publish', function() {
727
+ jQuery('.b2s-auto-post-error[data-error-reason="no-post-type"]').hide();
728
+ jQuery('.b2s-post-type-item-publish').css('border-color', '');
729
+ jQuery('.b2s-post-type-item-update').css('border-color', '');
730
+ });
731
+ jQuery(document).on('change', '.b2s-post-type-item-update', function() {
732
+ jQuery('.b2s-auto-post-error[data-error-reason="no-post-type"]').hide();
733
+ jQuery('.b2s-post-type-item-publish').css('border-color', '');
734
+ jQuery('.b2s-post-type-item-update').css('border-color', '');
735
+ });
736
+
737
+ jQuery(document).on('change', '.b2s-network-tos-check', function() {
738
+ jQuery('.b2s-auto-post-error[data-error-reason="import-no-auth"]').hide();
739
+ jQuery('.b2s-network-tos-check').css('border-color', '');
740
  });
assets/js/b2s/ship.js CHANGED
@@ -2,6 +2,7 @@ jQuery.noConflict();
2
 
3
  var b2sTosXingGroupCount = 0;
4
  var currentOGImage = '';
 
5
 
6
  jQuery(document).on('heartbeat-send', function (e, data) {
7
  data['b2s_heartbeat'] = 'b2s_listener';
@@ -38,7 +39,7 @@ jQuery(document).on('click', '.btn-toggle-menu', function () {
38
  }
39
  });
40
 
41
- jQuery.sceditor.plugins.xhtml.allowedTags = ['h1', 'h2', 'p', 'br', 'i', 'b', 'a', 'img'];
42
  jQuery.sceditor.command.set(
43
  "h1", {
44
  exec: function () {
@@ -448,7 +449,7 @@ jQuery(document).on('click', '.b2s-get-settings-sched-time-user', function () {
448
  jQuery('.b2s-post-item-details-release-input-date-select[data-network-auth-id="' + network_auth_id + '"]').val('1').trigger("change");
449
  }
450
  jQuery('.b2s-post-item-details-release-input-time[data-network-auth-id="' + network_auth_id + '"][data-network-count="0"]').val(time);
451
- jQuery('.b2s-post-item-details-release-input-time[data-network-auth-id="' + network_auth_id + '"][data-network-count="0"]').timepicker('setTime', time);
452
  var hours = time.substring(0, 2);
453
  if (lang == "en") {
454
  var timeparts = time.split(' ');
@@ -875,7 +876,18 @@ jQuery(document).on("click", ".b2s-network-select-btn", function () {
875
  }
876
  });
877
  jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').show();
878
- jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').trigger("click");
 
 
 
 
 
 
 
 
 
 
 
879
  } else {
880
  jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
881
  jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
@@ -929,7 +941,6 @@ jQuery(document).on("click", ".b2s-network-select-btn", function () {
929
  jQuery('.b2s-empty-area').hide();
930
  loadingDummyShow(networkAuthId, jQuery(this).attr('data-network-id'));
931
  jQuery('.b2s-server-connection-fail').hide();
932
- var networkId = jQuery(this).attr('data-network-id');
933
  var legacyMode = jQuery('#isLegacyMode').val();
934
  if (legacyMode == "1") {
935
  legacyMode = false; // loading is sync (stack)
@@ -1049,7 +1060,6 @@ jQuery(document).on("click", ".b2s-network-select-btn", function () {
1049
  if (jQuery('#b2s_blog_default_image').val() != "") {
1050
  if (jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + data.networkAuthId + '"]').length > 0) {
1051
  var networkNotAllowGif = jQuery('#b2sNotAllowGif').val().split(";");
1052
- var networkId = jQuery('.b2s-network-select-btn[data-network-auth-id="' + networkAuthId + '"]').attr('data-network-id');
1053
  var attachmenUrl = jQuery('#b2s_blog_default_image').val();
1054
  var attachmenUrlExt = attachmenUrl.substr(attachmenUrl.lastIndexOf('.') + 1);
1055
  attachmenUrlExt = attachmenUrlExt.toLowerCase();
@@ -1115,7 +1125,19 @@ jQuery(document).on("click", ".b2s-network-select-btn", function () {
1115
  });
1116
  jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + data.networkAuthId + '"]').show();
1117
  if (data.draft == false) {
1118
- jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + data.networkAuthId + '"]').trigger("click");
 
 
 
 
 
 
 
 
 
 
 
 
1119
  }
1120
  } else {
1121
  jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + data.networkAuthId + '"]').prop("readonly", true);
@@ -1545,7 +1567,7 @@ jQuery(document).on('change', '.b2s-post-item-details-release-input-date-select'
1545
  jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val(content);
1546
 
1547
  }
1548
-
1549
  checkSchedDateTime(jQuery(this).attr('data-network-auth-id'));
1550
  if (dataNetworkCount == 2) {
1551
  jQuery('.b2s-post-item-details-release-input-add[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"][data-network-count="0"]').hide();
@@ -1829,6 +1851,7 @@ jQuery(document).on('click', '.b2s-select-image-modal-open', function () {
1829
 
1830
  jQuery(document).on('click', '.b2s-image-change-meta-network', function () {
1831
  currentOGImage = jQuery('input[name=image_url]:checked').val();
 
1832
  if (jQuery('.b2s-input-hidden[name="action"][value="b2s_edit_save_post"]').length > 0) { //sched or calender view
1833
  jQuery('.b2s-image-change-this-network').trigger('click');
1834
  } else { //ship view
@@ -1910,6 +1933,7 @@ jQuery(document).on('click', '.b2s-image-remove-btn', function () {
1910
  }
1911
  });
1912
  currentOGImage = '';
 
1913
  }
1914
  //customize sched content
1915
  jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + networkAuthId + '"]').attr('src', defaultImage);
@@ -2108,6 +2132,7 @@ jQuery(document).on('click', '.b2s-image-change-all-network', function () {
2108
  jQuery('#b2s-network-select-image').modal('hide');
2109
 
2110
  currentOGImage = jQuery('input[name=image_url]:checked').val();
 
2111
  if (typeof currentOGImage !== typeof undefined) {
2112
  var attachmenUrlExt = currentOGImage.substr(currentOGImage.lastIndexOf('.') + 1);
2113
  attachmenUrlExt = attachmenUrlExt.toLowerCase();
@@ -2251,7 +2276,7 @@ jQuery.validator.classRuleSettings.unique = {
2251
  unique: true
2252
  };
2253
  jQuery.validator.addMethod("checkTags", function (value, element, test) {
2254
- var allowed_tags = ['p', 'h1', 'h2', 'br', 'i', 'b', 'a', 'img'];
2255
  var tags = value.match(/(<([^>]+)>)/ig);
2256
  if (tags !== null && tags.length > 0) {
2257
  if (jQuery(element).hasClass('b2s-post-item-details-item-message-input-allow-html')) {
@@ -3425,7 +3450,7 @@ function checkSchedDateTime(dataNetworkAuthId) {
3425
  //utc current time
3426
  var now = new Date();
3427
  //offset between utc und user
3428
- var offset = (parseInt(now.getTimezoneOffset() / 60)) * (-1);
3429
  //enter hour to user time
3430
  var hour = parseInt(minParts3[0]) + timeZone + offset;
3431
  //calculate datetime in utc
2
 
3
  var b2sTosXingGroupCount = 0;
4
  var currentOGImage = '';
5
+ var changedOGImage = false;
6
 
7
  jQuery(document).on('heartbeat-send', function (e, data) {
8
  data['b2s_heartbeat'] = 'b2s_listener';
39
  }
40
  });
41
 
42
+ jQuery.sceditor.plugins.xhtml.allowedTags = ['h1', 'h2', 'p', 'br', 'i', 'em', 'b', 'a', 'img'];
43
  jQuery.sceditor.command.set(
44
  "h1", {
45
  exec: function () {
449
  jQuery('.b2s-post-item-details-release-input-date-select[data-network-auth-id="' + network_auth_id + '"]').val('1').trigger("change");
450
  }
451
  jQuery('.b2s-post-item-details-release-input-time[data-network-auth-id="' + network_auth_id + '"][data-network-count="0"]').val(time);
452
+ jQuery('.b2s-post-item-details-release-input-time[data-network-auth-id="' + network_auth_id + '"][data-network-count="0"]').timepicker('setTime', new Date(today.getFullYear(), today.getMonth(), today.getDate(), time.slice(0, 2), time.slice(-2)));
453
  var hours = time.substring(0, 2);
454
  if (lang == "en") {
455
  var timeparts = time.split(' ');
876
  }
877
  });
878
  jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').show();
879
+ if(jQuery('.b2s-network-select-btn[data-network-auth-id="'+networkAuthId+'"]').data('meta-type') == 'og' && changedOGImage == true) {
880
+ if (currentOGImage != "") {
881
+ jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + networkAuthId + '"]').attr('src', currentOGImage);
882
+ jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + networkAuthId + '"]').val(currentOGImage);
883
+ jQuery('.b2s-image-remove-btn[data-network-auth-id="' + networkAuthId + '"]').show();
884
+ } else {
885
+ jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + networkAuthId + '"]').attr('src', jQuery('#b2sDefaultNoImage').val());
886
+ jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + networkAuthId + '"]').val(jQuery('#b2sDefaultNoImage').val());
887
+ }
888
+ } else {
889
+ jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').trigger("click");
890
+ }
891
  } else {
892
  jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
893
  jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
941
  jQuery('.b2s-empty-area').hide();
942
  loadingDummyShow(networkAuthId, jQuery(this).attr('data-network-id'));
943
  jQuery('.b2s-server-connection-fail').hide();
 
944
  var legacyMode = jQuery('#isLegacyMode').val();
945
  if (legacyMode == "1") {
946
  legacyMode = false; // loading is sync (stack)
1060
  if (jQuery('#b2s_blog_default_image').val() != "") {
1061
  if (jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + data.networkAuthId + '"]').length > 0) {
1062
  var networkNotAllowGif = jQuery('#b2sNotAllowGif').val().split(";");
 
1063
  var attachmenUrl = jQuery('#b2s_blog_default_image').val();
1064
  var attachmenUrlExt = attachmenUrl.substr(attachmenUrl.lastIndexOf('.') + 1);
1065
  attachmenUrlExt = attachmenUrlExt.toLowerCase();
1125
  });
1126
  jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + data.networkAuthId + '"]').show();
1127
  if (data.draft == false) {
1128
+ if(jQuery('.b2s-network-select-btn[data-network-auth-id="'+data.networkAuthId+'"]').data('meta-type') == 'og' && changedOGImage == true) {
1129
+ if (currentOGImage != "") {
1130
+ jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + data.networkAuthId + '"]').attr('src', currentOGImage);
1131
+ jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + data.networkAuthId + '"]').val(currentOGImage);
1132
+ jQuery('.b2s-image-remove-btn[data-network-auth-id="' + data.networkAuthId + '"]').show();
1133
+ } else {
1134
+ jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + data.networkAuthId + '"]').attr('src', jQuery('#b2sDefaultNoImage').val());
1135
+ jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + data.networkAuthId + '"]').val(jQuery('#b2sDefaultNoImage').val());
1136
+ }
1137
+ } else {
1138
+ jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + data.networkAuthId + '"]').trigger("click");
1139
+ }
1140
+
1141
  }
1142
  } else {
1143
  jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + data.networkAuthId + '"]').prop("readonly", true);
1567
  jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val(content);
1568
 
1569
  }
1570
+
1571
  checkSchedDateTime(jQuery(this).attr('data-network-auth-id'));
1572
  if (dataNetworkCount == 2) {
1573
  jQuery('.b2s-post-item-details-release-input-add[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"][data-network-count="0"]').hide();
1851
 
1852
  jQuery(document).on('click', '.b2s-image-change-meta-network', function () {
1853
  currentOGImage = jQuery('input[name=image_url]:checked').val();
1854
+ changedOGImage = true;
1855
  if (jQuery('.b2s-input-hidden[name="action"][value="b2s_edit_save_post"]').length > 0) { //sched or calender view
1856
  jQuery('.b2s-image-change-this-network').trigger('click');
1857
  } else { //ship view
1933
  }
1934
  });
1935
  currentOGImage = '';
1936
+ changedOGImage = true;
1937
  }
1938
  //customize sched content
1939
  jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + networkAuthId + '"]').attr('src', defaultImage);
2132
  jQuery('#b2s-network-select-image').modal('hide');
2133
 
2134
  currentOGImage = jQuery('input[name=image_url]:checked').val();
2135
+ changedOGImage = true;
2136
  if (typeof currentOGImage !== typeof undefined) {
2137
  var attachmenUrlExt = currentOGImage.substr(currentOGImage.lastIndexOf('.') + 1);
2138
  attachmenUrlExt = attachmenUrlExt.toLowerCase();
2276
  unique: true
2277
  };
2278
  jQuery.validator.addMethod("checkTags", function (value, element, test) {
2279
+ var allowed_tags = ['p', 'h1', 'h2', 'br', 'i', 'em', 'b', 'a', 'img'];
2280
  var tags = value.match(/(<([^>]+)>)/ig);
2281
  if (tags !== null && tags.length > 0) {
2282
  if (jQuery(element).hasClass('b2s-post-item-details-item-message-input-allow-html')) {
3450
  //utc current time
3451
  var now = new Date();
3452
  //offset between utc und user
3453
+ var offset = (parseInt(now.getTimezoneOffset() / 60)) * (-1);
3454
  //enter hour to user time
3455
  var hour = parseInt(minParts3[0]) + timeZone + offset;
3456
  //calculate datetime in utc
assets/js/b2s/wp/post-box.js CHANGED
@@ -4,6 +4,60 @@ jQuery(document).on('heartbeat-send', function (e, data) {
4
  });
5
 
6
  jQuery(window).on("load", function () {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  //Gutenberg V5.0.0
8
  jQuery('#b2s-post-meta-box-auto').removeClass('hide-if-js');
9
  //--
@@ -22,62 +76,14 @@ jQuery(window).on("load", function () {
22
  //TOS Twitter 032018
23
  jQuery('#b2s-network-tos-warning').show();
24
 
25
- if (jQuery('#b2s-post-meta-box-time-dropdown-publish').is(':checked')) {
26
  jQuery('#b2s-post-box-calendar-header').show();
27
  if (jQuery('#b2s-post-meta-box-version').val() == "0" && jQuery(this).val() == "publish") {
28
- jQuery('#b2s-post-meta-box-time-dropdown-publish').prop('checked', false);
29
- } else {
30
- if (jQuery('#b2s-post-meta-box-profil-dropdown').length == 0) {
31
- jQuery('.b2s-loading-area').show();
32
- jQuery.ajax({
33
- url: ajaxurl,
34
- type: "POST",
35
- dataType: "json",
36
- cache: false,
37
- data: {
38
- 'action': 'b2s_post_meta_box',
39
- 'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
40
- },
41
- error: function () {
42
- jQuery('.b2s-loading-area').hide();
43
- jQuery('#b2s-server-connection-fail').show();
44
- return false;
45
- },
46
- success: function (data) {
47
- jQuery('.b2s-loading-area').hide();
48
- if (data.result == true) {
49
- if (data.content != '') {
50
- jQuery('.b2s-loading-area').after(data.content);
51
- var today = new Date();
52
- if (today.getMinutes() >= 30) {
53
- today.setHours(today.getHours() + 1);
54
- today.setMinutes(0);
55
- } else {
56
- today.setMinutes(30);
57
- }
58
- var setTodayDate = today.getFullYear() + '-' + (padDate(today.getMonth() + 1)) + '-' + padDate(today.getDate()) + ' ' + formatAMPM(today);
59
- if (jQuery('#b2sUserLang').val() == 'de') {
60
- setTodayDate = padDate(today.getDate()) + '.' + (padDate(today.getMonth() + 1)) + '.' + today.getFullYear() + ' ' + padDate(today.getHours()) + ':' + padDate(today.getMinutes());
61
- }
62
- jQuery('#b2s-post-meta-box-sched-date-picker').val(setTodayDate);
63
- jQuery('#b2s-post-meta-box-sched-date-picker').b2sdatepicker({'autoClose': true, 'toggleSelected': false, 'minutesStep': 15, 'minDate': today, 'startDate': today, 'todayButton': today, 'position': 'top left'});
64
- jQuery('#b2s-post-meta-box-profil-dropdown [value="' + jQuery('#b2s-user-last-selected-profile-id').val() + '"]').prop('selected', true).trigger('change');
65
-
66
- } else {
67
- jQuery('#b2s-server-connection-fail').show();
68
- }
69
- wp.heartbeat.connectNow();
70
- } else {
71
- if (data.error == 'nonce') {
72
- jQuery('.b2s-nonce-check-fail').show();
73
- }
74
- jQuery('#b2s-server-connection-fail').show();
75
- }
76
- }
77
- });
78
- }
79
  }
80
  }
 
 
81
  });
82
 
83
 
@@ -191,89 +197,20 @@ jQuery(document).on('click', '#b2s-post-box-calendar-btn', function () {
191
 
192
 
193
 
194
- jQuery(document).on('click', '#b2s-post-meta-box-time-dropdown-publish', function () {
195
  jQuery('#b2s-post-box-calendar-header').show();
196
  if (jQuery('#b2s-post-meta-box-version').val() == "0" && jQuery(this).val() == "publish") {
197
- jQuery('#b2s-post-meta-box-time-dropdown-publish').prop('checked', false);
198
  jQuery('#b2s-post-meta-box-note-trial').show();
199
  } else {
200
  jQuery('#b2s-post-meta-box-note-trial').hide();
201
- if (jQuery('#b2s-post-meta-box-profil-dropdown').length == 0) {
202
- jQuery('.b2s-loading-area').show();
203
- jQuery.ajax({
204
- url: ajaxurl,
205
- type: "POST",
206
- dataType: "json",
207
- cache: false,
208
- data: {
209
- 'action': 'b2s_post_meta_box',
210
- 'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
211
- },
212
- error: function () {
213
- jQuery('.b2s-loading-area').hide();
214
- jQuery('#b2s-server-connection-fail').show();
215
- jQuery('#b2s-post-meta-box-time-dropdown-publish').prop('checked', false);
216
- return false;
217
- },
218
- success: function (data) {
219
- jQuery('.b2s-loading-area').hide();
220
- if (data.result == true) {
221
- if (data.content != '') {
222
- jQuery('.b2s-loading-area').after(data.content);
223
- var today = new Date();
224
- if (today.getMinutes() >= 30) {
225
- today.setHours(today.getHours() + 1);
226
- today.setMinutes(0);
227
- } else {
228
- today.setMinutes(30);
229
- }
230
- var setTodayDate = today.getFullYear() + '-' + (padDate(today.getMonth() + 1)) + '-' + padDate(today.getDate()) + ' ' + formatAMPM(today);
231
- if (jQuery('#b2sUserLang').val() == 'de') {
232
- setTodayDate = padDate(today.getDate()) + '.' + (padDate(today.getMonth() + 1)) + '.' + today.getFullYear() + ' ' + padDate(today.getHours()) + ':' + padDate(today.getMinutes());
233
- }
234
- jQuery('#b2s-post-meta-box-sched-date-picker').val(setTodayDate);
235
- jQuery('#b2s-post-meta-box-sched-date-picker').b2sdatepicker({'autoClose': true, 'toggleSelected': false, 'minutesStep': 15, 'minDate': today, 'startDate': today, 'todayButton': today, 'position': 'top left'});
236
- jQuery('#b2s-post-meta-box-profil-dropdown [value="' + jQuery('#b2s-user-last-selected-profile-id').val() + '"]').prop('selected', true).trigger('change');
237
-
238
- } else {
239
- jQuery('#b2s-server-connection-fail').show();
240
- jQuery('#b2s-post-meta-box-time-dropdown-publish').prop('checked', false);
241
- }
242
- wp.heartbeat.connectNow();
243
- } else {
244
- if (data.error == 'nonce') {
245
- jQuery('.b2s-nonce-check-fail').show();
246
- }
247
- if (data.content == 'no_auth') {
248
- jQuery('#b2s-post-meta-box-state-no-auth').show();
249
- } else {
250
- jQuery('#b2s-server-connection-fail').show();
251
- }
252
- jQuery('#b2s-post-meta-box-time-dropdown-publish').prop('checked', false);
253
- }
254
- }
255
- });
256
- }
257
  }
258
  });
259
 
260
  jQuery(document).on('change', '.b2s-post-meta-box-sched-select', function () {
261
- if (jQuery(this).val() >= '1') {
262
- if (jQuery('#b2s-post-meta-box-version').val() > 1) {
263
- if (jQuery(this).val() == '1') {
264
- jQuery('.b2s-post-meta-box-sched-best-time').hide();
265
- jQuery('.b2s-post-meta-box-sched-once').show();
266
- } else if (jQuery(this).val() == '2') {
267
- jQuery('.b2s-post-meta-box-sched-once').hide();
268
- jQuery('.b2s-post-meta-box-sched-best-time').show();
269
- }
270
- } else {
271
- jQuery(this).val('0');
272
- jQuery('#b2s-post-meta-box-note-premium').show();
273
- }
274
- } else {
275
- jQuery('.b2s-post-meta-box-sched-once').hide();
276
- jQuery('.b2s-post-meta-box-sched-best-time').hide();
277
  }
278
  });
279
 
@@ -293,7 +230,7 @@ jQuery(document).on('click', '#publish', function () {
293
  'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
294
  },
295
  success: function (data) {
296
- if(data.error == 'nonce') {
297
  jQuery('.b2s-nonce-check-fail').show();
298
  }
299
  }
@@ -318,7 +255,7 @@ jQuery(document).on('click', '.editor-post-publish-button', function () {
318
  'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
319
  },
320
  success: function (data) {
321
- if(data.error == 'nonce') {
322
  jQuery('.b2s-nonce-check-fail').show();
323
  }
324
  }
@@ -395,7 +332,22 @@ function formatAMPM(date) {
395
  return strTime;
396
  }
397
 
 
 
 
 
 
 
 
 
 
398
 
399
-
400
-
401
-
 
 
 
 
 
 
4
  });
5
 
6
  jQuery(window).on("load", function () {
7
+
8
+ //add Logo
9
+ jQuery('#b2s-post-meta-box-auto').children('h2').children('span').before('<span style="padding: 10px 0 10px 25px; background: url(' + "'" + jQuery('#b2s-logo-url').val() + "'" + ') no-repeat left center;"></span>');
10
+ jQuery('#b2s-post-box-calendar-header').children('h2').children('span').before('<span style="padding: 10px 0 10px 25px; background: url(' + "'" + jQuery('#b2s-logo-url').val() + "'" + ') no-repeat left center;"></span>');
11
+
12
+ //Editor Gutenberg
13
+ //ref https://developer.wordpress.org/block-editor/data/data-core-editor/
14
+ if (wp && wp.data && wp.data.select && wp.data.subscribe) {
15
+ var originalModifiedDate = new Date(wp.data.select('core/editor').getCurrentPostAttribute("modified"));
16
+ wp.data.subscribe(function () {
17
+ var isAutosavingPost = wp.data.select('core/editor').isAutosavingPost();
18
+ var isSavingPost = wp.data.select('core/editor').isSavingPost();
19
+ if (!isAutosavingPost && isSavingPost) {
20
+ var currentModifiedDate = new Date(wp.data.select('core/editor').getCurrentPostAttribute("modified"));
21
+ if ((originalModifiedDate.getTime() < currentModifiedDate.getTime())) {
22
+ originalModifiedDate = currentModifiedDate;
23
+
24
+ //update infobox
25
+ jQuery.ajax({
26
+ url: ajaxurl,
27
+ type: "GET",
28
+ dataType: "json",
29
+ cache: false,
30
+ data: {
31
+ 'action': 'b2s_update_post_box',
32
+ 'post_id': jQuery('#post_ID').val(),
33
+ 'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
34
+ },
35
+ error: function () {
36
+ return false;
37
+ },
38
+ success: function (data) {
39
+ if (data.result == true) {
40
+ if (typeof data.shareCount != 'undefined') {
41
+ jQuery('.b2s-meta-box-share-count').html(data.shareCount);
42
+ }
43
+ if (typeof data.lastPostDate != 'undefined') {
44
+ jQuery('.b2s-meta-box-last-post-date').html(data.lastPostDate);
45
+ }
46
+ if (typeof data.active != 'undefined') {
47
+ if(data.active == true) {
48
+ jQuery('.b2s-enable-auto-post').prop('checked', true).trigger('change');
49
+ } else {
50
+ jQuery('.b2s-enable-auto-post').prop('checked', false).trigger('change');
51
+ }
52
+ }
53
+ }
54
+ }
55
+ });
56
+ }
57
+ }
58
+ });
59
+ }
60
+
61
  //Gutenberg V5.0.0
62
  jQuery('#b2s-post-meta-box-auto').removeClass('hide-if-js');
63
  //--
76
  //TOS Twitter 032018
77
  jQuery('#b2s-network-tos-warning').show();
78
 
79
+ if (jQuery('#b2s-enable-auto-post').is(':checked')) {
80
  jQuery('#b2s-post-box-calendar-header').show();
81
  if (jQuery('#b2s-post-meta-box-version').val() == "0" && jQuery(this).val() == "publish") {
82
+ jQuery('#b2s-enable-auto-post').prop('checked', false);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
  }
84
  }
85
+
86
+ jQuery('#b2s-post-meta-box-profil-dropdown').trigger('change');
87
  });
88
 
89
 
197
 
198
 
199
 
200
+ jQuery(document).on('click', '#b2s-enable-auto-post', function () {
201
  jQuery('#b2s-post-box-calendar-header').show();
202
  if (jQuery('#b2s-post-meta-box-version').val() == "0" && jQuery(this).val() == "publish") {
203
+ jQuery('#b2s-enable-auto-post').prop('checked', false);
204
  jQuery('#b2s-post-meta-box-note-trial').show();
205
  } else {
206
  jQuery('#b2s-post-meta-box-note-trial').hide();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
207
  }
208
  });
209
 
210
  jQuery(document).on('change', '.b2s-post-meta-box-sched-select', function () {
211
+ if (jQuery(this).val() >= '1' && jQuery('#b2s-post-meta-box-version').val() <= 1) {
212
+ jQuery(this).val('0');
213
+ jQuery('#b2s-post-meta-box-note-premium').show();
 
 
 
 
 
 
 
 
 
 
 
 
 
214
  }
215
  });
216
 
230
  'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
231
  },
232
  success: function (data) {
233
+ if (data.error == 'nonce') {
234
  jQuery('.b2s-nonce-check-fail').show();
235
  }
236
  }
255
  'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
256
  },
257
  success: function (data) {
258
+ if (data.error == 'nonce') {
259
  jQuery('.b2s-nonce-check-fail').show();
260
  }
261
  }
332
  return strTime;
333
  }
334
 
335
+ jQuery(document).on('click', '.b2s-options-btn', function () {
336
+ if (jQuery('.b2s-options').is(':visible')) {
337
+ jQuery('.b2s-options').hide();
338
+ jQuery('.b2s-options-btn > .glyphicon').removeClass('glyphicon-chevron-up').addClass('glyphicon-chevron-down');
339
+ } else {
340
+ jQuery('.b2s-options').show();
341
+ jQuery('.b2s-options-btn > .glyphicon').removeClass('glyphicon-chevron-down').addClass('glyphicon-chevron-up');
342
+ }
343
+ });
344
 
345
+ jQuery(document).on('change', '.b2s-enable-auto-post', function () {
346
+ if (jQuery(this).is(':checked')) {
347
+ jQuery('.b2s-post-meta-box-active').show();
348
+ jQuery('.b2s-post-meta-box-inactive').hide();
349
+ } else {
350
+ jQuery('.b2s-post-meta-box-active').hide();
351
+ jQuery('.b2s-post-meta-box-inactive').show();
352
+ }
353
+ });
blog2social.php CHANGED
@@ -6,12 +6,12 @@
6
  * Author: Blog2Social, Adenion
7
  * Text Domain: blog2social
8
  * Domain Path: /languages
9
- * Version: 6.0.0
10
  * Author URI: https://www.blog2social.com
11
  * License: GPL2+
12
  */
13
 
14
- define('B2S_PLUGIN_VERSION', '600');
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.1.0
10
  * Author URI: https://www.blog2social.com
11
  * License: GPL2+
12
  */
13
 
14
+ define('B2S_PLUGIN_VERSION', '610');
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/Ajax/Get.php CHANGED
@@ -20,7 +20,6 @@ class Ajax_Get {
20
  add_action('wp_ajax_b2s_sched_post_data', array($this, 'getSchedPostData'));
21
  add_action('wp_ajax_b2s_approve_post_data', array($this, 'getApprovePostData'));
22
  add_action('wp_ajax_b2s_ship_navbar_item', array($this, 'getNavbarItem'));
23
- add_action('wp_ajax_b2s_post_meta_box', array($this, 'getPostMetaBox'));
24
  add_action('wp_ajax_b2s_scrape_url', array($this, 'scrapeUrl'));
25
  add_action('wp_ajax_b2s_get_settings_sched_time_default', array($this, 'getSettingsSchedTimeDefault'));
26
  add_action('wp_ajax_b2s_get_settings_sched_time_user', array($this, 'getUserTimeSettings'));
@@ -40,10 +39,12 @@ class Ajax_Get {
40
  add_action('wp_ajax_b2s_get_edit_template', array($this, 'getEditTemplateForm'));
41
  add_action('wp_ajax_b2s_check_draft_exists', array($this, 'checkDraftExists'));
42
  add_action('wp_ajax_b2s_get_curation_ship_details', array($this, 'getCurationShipDetails'));
 
 
43
  }
44
 
45
  public function getBlogPostStatus() {
46
- if (isset($_GET['b2s_security_nonce']) && (int) wp_verify_nonce($_GET['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
47
  $status = ((int) $_GET['post_id'] > 0) ? get_post_status((int) $_GET['post_id']) : '';
48
  echo json_encode($status);
49
  wp_die();
@@ -54,7 +55,7 @@ class Ajax_Get {
54
  }
55
 
56
  public function scrapeUrl() {
57
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
58
  if (isset($_POST['url']) && !empty($_POST['url'])) {
59
  $data = B2S_Util::scrapeUrl(esc_url($_POST['url']));
60
  $scrapeError = ($data !== false) ? false : true;
@@ -85,7 +86,7 @@ class Ajax_Get {
85
  }
86
 
87
  public function getSortData() {
88
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
89
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Post/Item.php');
90
  require_once (B2S_PLUGIN_DIR . 'includes/Util.php');
91
  /* Sort */
@@ -107,8 +108,24 @@ class Ajax_Get {
107
  $b2sSelectSchedDate = isset($_POST['b2sSchedDate']) ? (preg_match("#^[0-9\-.\]]+$#", trim($_POST['b2sSchedDate'])) ? trim($_POST['b2sSchedDate']) : "") : "";
108
  $b2sUserLang = isset($_POST['b2sUserLang']) ? trim(sanitize_text_field($_POST['b2sUserLang'])) : strtolower(substr(B2S_LANGUAGE, 0, 2));
109
  $b2sResultsPerPage = (isset($_POST['b2sPostsPerPage']) && (int) $_POST['b2sPostsPerPage'] > 0) ? (int) $_POST['b2sPostsPerPage'] : B2S_PLUGIN_POSTPERPAGE;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110
  if (!empty($b2sType) && in_array($b2sType, array('all', 'sched', 'publish', 'notice', 'approve', 'draft', 'draft-post', 'favorites'))) {
111
- $postItem = new B2S_Post_Item($b2sType, $b2sSortPostTitle, $b2sSortPostAuthor, $b2sSortPostStatus, $b2sSortPostShareStatus, $b2sSortPostPublishDate, $b2sSortPostSchedDate, $b2sShowByDate, $b2sShowByNetwork, $b2sUserAuthId, $b2sPostBlogId, $b2sPagination, $b2sSortPostCat, $b2sSortPostType, $b2sUserLang, $b2sResultsPerPage);
112
  $result = array('result' => true, 'content' => $postItem->getItemHtml($b2sSelectSchedDate), 'schedDates' => json_encode($postItem->getCalendarSchedDate()));
113
  if ($b2sShowPagination) {
114
  $result['pagination'] = $postItem->getPaginationHtml();
@@ -125,7 +142,7 @@ class Ajax_Get {
125
  }
126
 
127
  public function getNetworkBoardAndGroup() {
128
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
129
  if (isset($_POST['networkId']) && !empty($_POST['networkId']) && isset($_POST['networkAuthId']) && !empty($_POST['networkAuthId'])) {
130
  $result = json_decode(B2S_Api_Post::post(B2S_PLUGIN_API_ENDPOINT, array('action' => 'getNetworkBoardAndGroup', 'token' => B2S_PLUGIN_TOKEN, 'networkAuthId' => (int) $_POST['networkAuthId'], 'networkId' => (int) $_POST['networkId'], 'lang' => substr(B2S_LANGUAGE, 0, 2))));
131
  if (is_object($result) && !empty($result) && isset($result->data) && !empty($result->data) && isset($result->result) && (int) $result->result == 1) {
@@ -143,7 +160,7 @@ class Ajax_Get {
143
  }
144
 
145
  public function getFaqEntries() {
146
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
147
  $result = json_decode(B2S_Api_Post::post(B2S_PLUGIN_API_ENDPOINT, array('action' => 'getFaqEntries', 'lang' => substr(B2S_LANGUAGE, 0, 2), 'token' => B2S_PLUGIN_TOKEN)));
148
  if (isset($result->result) && isset($result->content) && !empty($result->content)) {
149
  echo json_encode(array('result' => true, 'content' => B2S_Notice::getFaqEntriesHtml($result->content)));
@@ -157,29 +174,8 @@ class Ajax_Get {
157
  }
158
  }
159
 
160
- public function getPostMetaBox() {
161
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
162
- $result = json_decode(B2S_Api_Post::post(B2S_PLUGIN_API_ENDPOINT, array('action' => 'getProfileUserAuth', 'token' => B2S_PLUGIN_TOKEN)));
163
- if (isset($result->result) && (int) $result->result == 1 && isset($result->data) && !empty($result->data) && isset($result->data->mandant) && isset($result->data->auth) && !empty($result->data->mandant)) {
164
- if (!empty($result->data->auth)) {
165
- $postBox = new B2S_PostBox();
166
- echo json_encode(array('result' => true, 'content' => $postBox->getPostBoxAutoHtml($result->data->mandant, $result->data->auth)));
167
- wp_die();
168
- } else {
169
- echo json_encode(array('result' => false, 'content' => 'no_auth'));
170
- wp_die();
171
- }
172
- }
173
- echo json_encode(array('result' => false, 'content' => ''));
174
- wp_die();
175
- } else {
176
- echo json_encode(array('result' => false, 'error' => 'nonce'));
177
- wp_die();
178
- }
179
- }
180
-
181
  public function getShipItemFullText() {
182
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
183
  if (isset($_POST['postId']) && (int) $_POST['postId'] > 0 && isset($_POST['networkAuthId']) && (int) $_POST['networkAuthId'] > 0) {
184
  $userLang = isset($_POST['userLang']) ? trim(sanitize_text_field($_POST['userLang'])) : strtolower(substr(B2S_LANGUAGE, 0, 2));
185
  $data = get_post((int) $_POST['postId']);
@@ -200,7 +196,7 @@ class Ajax_Get {
200
  }
201
 
202
  public function getShipItem() {
203
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
204
  if (isset($_POST['postId']) && (int) $_POST['postId'] > 0 && isset($_POST['networkAuthId']) && (int) $_POST['networkAuthId'] > 0) {
205
  //TOS XING Group
206
  if ((int) $_POST['networkId'] == 19 && isset($_POST['networkTosGroupId']) && !empty($_POST['networkTosGroupId'])) {
@@ -228,7 +224,7 @@ class Ajax_Get {
228
  if (isset($_POST['b2sIsDraft']) && (int) $_POST['b2sIsDraft'] == 1) {
229
  global $wpdb;
230
  if ($wpdb->get_var("SHOW TABLES LIKE '{$wpdb->prefix}b2s_posts_drafts'") == $wpdb->prefix . 'b2s_posts_drafts') {
231
- $sql = $wpdb->prepare("SELECT data FROM `{$wpdb->prefix}b2s_posts_drafts` WHERE `blog_user_id` = %d AND `post_id` = %d", (int) B2S_PLUGIN_BLOG_USER_ID, (int) $_POST['postId']);
232
  $sqlResult = $wpdb->get_row($sql);
233
  $drafts = (isset($sqlResult->data) && !empty($sqlResult->data)) ? unserialize($sqlResult->data) : false;
234
  if ($drafts !== false && isset($drafts['b2s']) && !empty($drafts['b2s']) && array_key_exists($_POST['networkAuthId'], $drafts['b2s'])) {
@@ -257,7 +253,7 @@ class Ajax_Get {
257
  }
258
 
259
  public function getPublishPostData() {
260
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
261
  if ((int) $_POST['postId']) {
262
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Post/Item.php');
263
  require_once (B2S_PLUGIN_DIR . 'includes/Util.php');
@@ -279,7 +275,7 @@ class Ajax_Get {
279
  }
280
 
281
  public function getApprovePostData() {
282
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
283
  if ((int) $_POST['postId']) {
284
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Post/Item.php');
285
  require_once (B2S_PLUGIN_DIR . 'includes/Util.php');
@@ -300,7 +296,7 @@ class Ajax_Get {
300
  }
301
 
302
  public function getSchedPostsByUserAuth() {
303
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
304
  if (isset($_POST['networkAuthId']) && (int) $_POST['networkAuthId'] > 0) {
305
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Network/Item.php');
306
  $networkData = new B2S_Network_Item(false);
@@ -313,7 +309,7 @@ class Ajax_Get {
313
  $data = array('action' => 'getTeamAssignUserAuth', 'token' => B2S_PLUGIN_TOKEN, 'networkAuthId' => (int) $_POST['networkAuthId'], 'blogUser' => $blogUserToken);
314
  $networkAuthAssignment = json_decode(B2S_Api_Post::post(B2S_PLUGIN_API_ENDPOINT, $data, 30), true);
315
  $count = $networkData->getCountSchedPostsByUserAuth((int) $_POST['networkAuthId']);
316
- if ($networkAuthAssignment['result'] == true) {
317
  $assignCount = 0;
318
  $assignList = array();
319
  foreach ($networkAuthAssignment['assignList'] as $k => $v) {
@@ -341,7 +337,7 @@ class Ajax_Get {
341
  }
342
 
343
  public function getSchedPostData() {
344
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
345
  if (isset($_POST['postId']) && (int) $_POST['postId'] > 0) {
346
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Post/Item.php');
347
  require_once (B2S_PLUGIN_DIR . 'includes/Util.php');
@@ -364,7 +360,7 @@ class Ajax_Get {
364
  }
365
 
366
  public function getNavbarItem() {
367
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
368
  if (isset($_POST['networkId']) && isset($_POST['networkAuthId']) && isset($_POST['networkType']) && isset($_POST['displayName']) && isset($_POST['mandandId'])) {
369
  require_once (B2S_PLUGIN_DIR . '/includes/B2S/Ship/Navbar.php');
370
  global $wpdb;
@@ -396,7 +392,7 @@ class Ajax_Get {
396
  }
397
 
398
  public function getSettingsSchedTimeDefault() {
399
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
400
  $userTimes = B2S_Tools::getRandomBestTimeSettings();
401
  if (!empty($userTimes) && is_array($userTimes)) {
402
  echo json_encode(array('result' => true, 'times' => $userTimes));
@@ -412,7 +408,7 @@ class Ajax_Get {
412
 
413
  //NEW V5.1.0
414
  public function getUserTimeSettings() {
415
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
416
  $lang = substr(B2S_LANGUAGE, 0, 2);
417
  $options = new B2S_Options(get_current_user_id());
418
  $userSchedData = $options->_getOption('auth_sched_time');
@@ -453,7 +449,7 @@ class Ajax_Get {
453
  }
454
 
455
  public function getShipItemReloadUrl() {
456
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
457
  if (isset($_POST['networkId']) && (int) $_POST['networkId'] > 0 && isset($_POST['networkAuthId']) && (int) $_POST['networkAuthId'] > 0 && isset($_POST['url']) && !empty($_POST['url'])) {
458
  if (isset($_POST['postId']) && (int) $_POST['postId'] > 0 && isset($_POST['defaultUrl']) && $_POST['defaultUrl'] == $_POST['url'] && (!isset($_POST['postType']) || $_POST['postType'] != 'ex')) {
459
  $postData = get_post((int) $_POST['postId']);
@@ -466,7 +462,7 @@ class Ajax_Get {
466
  } else {
467
  $metaInfo = B2S_Util::getMetaTags(0, esc_url($_POST['url']), (int) $_POST['networkId']);
468
  }
469
- echo json_encode(array('result' => true, 'networkId' => (int) $_POST['networkId'], 'networkAuthId' => (int) $_POST['networkAuthId'], 'title' => isset($metaInfo['title']) ? esc_attr($metaInfo['title']) : '', 'description' => isset($metaInfo['description']) ? esc_attr($metaInfo['description']) : '', 'image' => isset($metaInfo['image']) ? esc_attr($metaInfo['image']) : ''));
470
  wp_die();
471
  }
472
  echo json_encode(array('result' => false));
@@ -478,7 +474,7 @@ class Ajax_Get {
478
  }
479
 
480
  public function getCalendarEvents() {
481
- if (isset($_GET['b2s_security_nonce']) && (int) wp_verify_nonce($_GET['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
482
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Calendar/Filter.php');
483
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Ship/Image.php');
484
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Settings/Item.php');
@@ -505,7 +501,7 @@ class Ajax_Get {
505
  }
506
 
507
  public function getCalendarFilterNetworkAuth() {
508
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
509
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Calendar/Filter.php');
510
  $network_id = (isset($_POST['network_id']) && (int) $_POST['network_id'] >= 1) ? (int) $_POST['network_id'] : 0; // 0=all
511
  if ($network_id != 0) {
@@ -524,7 +520,7 @@ class Ajax_Get {
524
  }
525
 
526
  public function getPostEditModal() {
527
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
528
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Calendar/Filter.php');
529
  if (isset($_POST['id']) && (int) $_POST['id'] > 0) {
530
  $item = B2S_Calendar_Filter::getById((int) $_POST['id']);
@@ -556,7 +552,7 @@ class Ajax_Get {
556
  }
557
 
558
  public function getImageModal() {
559
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
560
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Ship/Image.php');
561
  if (isset($_POST['id']) && (int) $_POST['id'] > 0) {
562
  $postData = get_post((int) $_POST['id']);
@@ -575,7 +571,7 @@ class Ajax_Get {
575
  }
576
 
577
  public function getMultiWidgetContent() {
578
- if (isset($_GET['b2s_security_nonce']) && (int) wp_verify_nonce($_GET['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
579
  $option = get_option("B2S_MULTI_WIDGET");
580
  if ($option !== false) {
581
  if (is_array($option) && isset($option['timestamp']) && isset($option['content']) && !empty($option['content']) && $option['timestamp'] > date('Y-m-d H:i:s', strtotime("-1 hours"))) {
@@ -593,7 +589,7 @@ class Ajax_Get {
593
  }
594
 
595
  public function getStats() {
596
- if (isset($_GET['b2s_security_nonce']) && (int) wp_verify_nonce($_GET['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
597
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Stats.php');
598
  $stats = new B2S_Stats();
599
  if (isset($_GET['from']) && !empty($_GET['from']) && preg_match("#^[0-9\-.\]]+$#", $_GET['from'])) {
@@ -608,7 +604,7 @@ class Ajax_Get {
608
  }
609
 
610
  public function b2sSupportSystemRequirements() {
611
- if (isset($_GET['b2s_security_nonce']) && (int) wp_verify_nonce($_GET['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
612
  if (!current_user_can('administrator')) {
613
  echo json_encode(array('result' => false, 'error' => 'admin'));
614
  wp_die();
@@ -631,7 +627,7 @@ class Ajax_Get {
631
  }
632
 
633
  public function searchUser() {
634
- if (isset($_GET['b2s_security_nonce']) && (int) wp_verify_nonce($_GET['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
635
  if (isset($_GET['search_user']) && !empty($_GET['search_user'])) {
636
  $options = B2S_Tools::searchUser(sanitize_text_field($_GET['search_user']));
637
  echo json_encode(array('result' => true, 'options' => $options));
@@ -646,7 +642,7 @@ class Ajax_Get {
646
  }
647
 
648
  public function getSelectMandantUser() {
649
- if (isset($_GET['b2s_security_nonce']) && (int) wp_verify_nonce($_GET['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
650
  if (isset($_GET['owner']) && (int) $_GET['owner'] > 0) {
651
  $owner = stripslashes(get_user_by('id', $_GET['owner'])->display_name);
652
  $owner = (empty($owner) || $owner == false) ? esc_html("Unknown username", "blog2social") : esc_html($owner);
@@ -660,12 +656,11 @@ class Ajax_Get {
660
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Network/Item.php');
661
  $networkItem = new B2S_Network_Item();
662
  $networkAuthAssignment = $networkItem->getNetworkAuthAssignment($networkAuthId, $networkId, $networkType);
663
- if ($networkAuthAssignment['result'] !== false) {
664
- $userSelect = $networkAuthAssignment['userSelect'];
665
- $assignList = $networkAuthAssignment['assignList'];
666
-
667
- echo json_encode(array('result' => true, 'userSelect' => $userSelect, 'assignList' => $assignList));
668
- wp_die();
669
  }
670
  }
671
  }
@@ -678,7 +673,7 @@ class Ajax_Get {
678
  }
679
 
680
  public function getEditTemplateForm() {
681
- if (isset($_GET['b2s_security_nonce']) && (int) wp_verify_nonce($_GET['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
682
  if (isset($_GET['networkId']) && (int) $_GET['networkId'] > 0) {
683
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Network/Item.php');
684
  $networkItem = new B2S_Network_Item(false);
@@ -697,11 +692,11 @@ class Ajax_Get {
697
  }
698
 
699
  public function checkDraftExists() {
700
- if (isset($_GET['b2s_security_nonce']) && (int) wp_verify_nonce($_GET['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
701
  if (isset($_GET['postId']) && (int) $_GET['postId'] > 0) {
702
  global $wpdb;
703
  if ($wpdb->get_var("SHOW TABLES LIKE '{$wpdb->prefix}b2s_posts_drafts'") == $wpdb->prefix . 'b2s_posts_drafts') {
704
- $sqlCheckDraft = $wpdb->prepare("SELECT `id` FROM `{$wpdb->prefix}b2s_posts_drafts` WHERE `blog_user_id` = %d AND `post_id` = %d", B2S_PLUGIN_BLOG_USER_ID, (int) $_GET['postId']);
705
  $draftEntry = $wpdb->get_var($sqlCheckDraft);
706
  if ($draftEntry !== NULL && (int) $draftEntry > 0) {
707
  echo json_encode(array('result' => true));
@@ -716,9 +711,9 @@ class Ajax_Get {
716
  wp_die();
717
  }
718
  }
719
-
720
  public function getCurationShipDetails() {
721
- if (isset($_GET['b2s_security_nonce']) && (int) wp_verify_nonce($_GET['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
722
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Curation/View.php');
723
  $curation = new B2S_Curation_View();
724
  $result = json_decode(B2S_Api_Post::post(B2S_PLUGIN_API_ENDPOINT, array('action' => 'getProfileUserAuth', 'token' => B2S_PLUGIN_TOKEN)));
@@ -734,4 +729,55 @@ class Ajax_Get {
734
  }
735
  }
736
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
737
  }
20
  add_action('wp_ajax_b2s_sched_post_data', array($this, 'getSchedPostData'));
21
  add_action('wp_ajax_b2s_approve_post_data', array($this, 'getApprovePostData'));
22
  add_action('wp_ajax_b2s_ship_navbar_item', array($this, 'getNavbarItem'));
 
23
  add_action('wp_ajax_b2s_scrape_url', array($this, 'scrapeUrl'));
24
  add_action('wp_ajax_b2s_get_settings_sched_time_default', array($this, 'getSettingsSchedTimeDefault'));
25
  add_action('wp_ajax_b2s_get_settings_sched_time_user', array($this, 'getUserTimeSettings'));
39
  add_action('wp_ajax_b2s_get_edit_template', array($this, 'getEditTemplateForm'));
40
  add_action('wp_ajax_b2s_check_draft_exists', array($this, 'checkDraftExists'));
41
  add_action('wp_ajax_b2s_get_curation_ship_details', array($this, 'getCurationShipDetails'));
42
+ add_action('wp_ajax_b2s_get_network_auth_settings', array($this, 'getNetworkAuthSettings'));
43
+ add_action('wp_ajax_b2s_update_post_box', array($this, 'updatePostBox'));
44
  }
45
 
46
  public function getBlogPostStatus() {
47
+ if (isset($_GET['b2s_security_nonce']) && (int) wp_verify_nonce($_GET['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
48
  $status = ((int) $_GET['post_id'] > 0) ? get_post_status((int) $_GET['post_id']) : '';
49
  echo json_encode($status);
50
  wp_die();
55
  }
56
 
57
  public function scrapeUrl() {
58
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
59
  if (isset($_POST['url']) && !empty($_POST['url'])) {
60
  $data = B2S_Util::scrapeUrl(esc_url($_POST['url']));
61
  $scrapeError = ($data !== false) ? false : true;
86
  }
87
 
88
  public function getSortData() {
89
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
90
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Post/Item.php');
91
  require_once (B2S_PLUGIN_DIR . 'includes/Util.php');
92
  /* Sort */
108
  $b2sSelectSchedDate = isset($_POST['b2sSchedDate']) ? (preg_match("#^[0-9\-.\]]+$#", trim($_POST['b2sSchedDate'])) ? trim($_POST['b2sSchedDate']) : "") : "";
109
  $b2sUserLang = isset($_POST['b2sUserLang']) ? trim(sanitize_text_field($_POST['b2sUserLang'])) : strtolower(substr(B2S_LANGUAGE, 0, 2));
110
  $b2sResultsPerPage = (isset($_POST['b2sPostsPerPage']) && (int) $_POST['b2sPostsPerPage'] > 0) ? (int) $_POST['b2sPostsPerPage'] : B2S_PLUGIN_POSTPERPAGE;
111
+ $b2sSortPostSharedBy = (isset($_POST['b2sSortPostSharedBy']) && (int) $_POST['b2sSortPostSharedBy'] > 0) ? (int) $_POST['b2sSortPostSharedBy'] : 0;
112
+
113
+ require_once(B2S_PLUGIN_DIR . 'includes/Options.php');
114
+ $options = new B2S_Options((int) B2S_PLUGIN_BLOG_USER_ID);
115
+ $optionPostFilters = $options->_getOption('post_filters');
116
+ $optionPostFilters['searchPostTitle'] = $b2sSortPostTitle;
117
+ $optionPostFilters['searchAuthorId'] = $b2sSortPostAuthor;
118
+ $optionPostFilters['searchPostStatus'] = $b2sSortPostStatus;
119
+ $optionPostFilters['searchPostShareStatus'] = $b2sSortPostShareStatus;
120
+ $optionPostFilters['searchSchedDate'] = $b2sSortPostSchedDate;
121
+ $optionPostFilters['searchPostCat'] = $b2sSortPostCat;
122
+ $optionPostFilters['searchPostType'] = $b2sSortPostType;
123
+ $optionPostFilters['postsPerPage'] = $b2sResultsPerPage;
124
+ $optionPostFilters['searchPostSharedById'] = $b2sSortPostSharedBy;
125
+ $optionPostFilters = $options->_setOption('post_filters', $optionPostFilters);
126
+
127
  if (!empty($b2sType) && in_array($b2sType, array('all', 'sched', 'publish', 'notice', 'approve', 'draft', 'draft-post', 'favorites'))) {
128
+ $postItem = new B2S_Post_Item($b2sType, $b2sSortPostTitle, $b2sSortPostAuthor, $b2sSortPostStatus, $b2sSortPostShareStatus, $b2sSortPostPublishDate, $b2sSortPostSchedDate, $b2sShowByDate, $b2sShowByNetwork, $b2sUserAuthId, $b2sPostBlogId, $b2sPagination, $b2sSortPostCat, $b2sSortPostType, $b2sUserLang, $b2sResultsPerPage, $b2sSortPostSharedBy);
129
  $result = array('result' => true, 'content' => $postItem->getItemHtml($b2sSelectSchedDate), 'schedDates' => json_encode($postItem->getCalendarSchedDate()));
130
  if ($b2sShowPagination) {
131
  $result['pagination'] = $postItem->getPaginationHtml();
142
  }
143
 
144
  public function getNetworkBoardAndGroup() {
145
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
146
  if (isset($_POST['networkId']) && !empty($_POST['networkId']) && isset($_POST['networkAuthId']) && !empty($_POST['networkAuthId'])) {
147
  $result = json_decode(B2S_Api_Post::post(B2S_PLUGIN_API_ENDPOINT, array('action' => 'getNetworkBoardAndGroup', 'token' => B2S_PLUGIN_TOKEN, 'networkAuthId' => (int) $_POST['networkAuthId'], 'networkId' => (int) $_POST['networkId'], 'lang' => substr(B2S_LANGUAGE, 0, 2))));
148
  if (is_object($result) && !empty($result) && isset($result->data) && !empty($result->data) && isset($result->result) && (int) $result->result == 1) {
160
  }
161
 
162
  public function getFaqEntries() {
163
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
164
  $result = json_decode(B2S_Api_Post::post(B2S_PLUGIN_API_ENDPOINT, array('action' => 'getFaqEntries', 'lang' => substr(B2S_LANGUAGE, 0, 2), 'token' => B2S_PLUGIN_TOKEN)));
165
  if (isset($result->result) && isset($result->content) && !empty($result->content)) {
166
  echo json_encode(array('result' => true, 'content' => B2S_Notice::getFaqEntriesHtml($result->content)));
174
  }
175
  }
176
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
177
  public function getShipItemFullText() {
178
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
179
  if (isset($_POST['postId']) && (int) $_POST['postId'] > 0 && isset($_POST['networkAuthId']) && (int) $_POST['networkAuthId'] > 0) {
180
  $userLang = isset($_POST['userLang']) ? trim(sanitize_text_field($_POST['userLang'])) : strtolower(substr(B2S_LANGUAGE, 0, 2));
181
  $data = get_post((int) $_POST['postId']);
196
  }
197
 
198
  public function getShipItem() {
199
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
200
  if (isset($_POST['postId']) && (int) $_POST['postId'] > 0 && isset($_POST['networkAuthId']) && (int) $_POST['networkAuthId'] > 0) {
201
  //TOS XING Group
202
  if ((int) $_POST['networkId'] == 19 && isset($_POST['networkTosGroupId']) && !empty($_POST['networkTosGroupId'])) {
224
  if (isset($_POST['b2sIsDraft']) && (int) $_POST['b2sIsDraft'] == 1) {
225
  global $wpdb;
226
  if ($wpdb->get_var("SHOW TABLES LIKE '{$wpdb->prefix}b2s_posts_drafts'") == $wpdb->prefix . 'b2s_posts_drafts') {
227
+ $sql = $wpdb->prepare("SELECT data FROM `{$wpdb->prefix}b2s_posts_drafts` WHERE `blog_user_id` = %d AND `post_id` = %d AND `save_origin` = %d", (int) B2S_PLUGIN_BLOG_USER_ID, (int) $_POST['postId'], 0);
228
  $sqlResult = $wpdb->get_row($sql);
229
  $drafts = (isset($sqlResult->data) && !empty($sqlResult->data)) ? unserialize($sqlResult->data) : false;
230
  if ($drafts !== false && isset($drafts['b2s']) && !empty($drafts['b2s']) && array_key_exists($_POST['networkAuthId'], $drafts['b2s'])) {
253
  }
254
 
255
  public function getPublishPostData() {
256
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
257
  if ((int) $_POST['postId']) {
258
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Post/Item.php');
259
  require_once (B2S_PLUGIN_DIR . 'includes/Util.php');
275
  }
276
 
277
  public function getApprovePostData() {
278
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
279
  if ((int) $_POST['postId']) {
280
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Post/Item.php');
281
  require_once (B2S_PLUGIN_DIR . 'includes/Util.php');
296
  }
297
 
298
  public function getSchedPostsByUserAuth() {
299
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
300
  if (isset($_POST['networkAuthId']) && (int) $_POST['networkAuthId'] > 0) {
301
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Network/Item.php');
302
  $networkData = new B2S_Network_Item(false);
309
  $data = array('action' => 'getTeamAssignUserAuth', 'token' => B2S_PLUGIN_TOKEN, 'networkAuthId' => (int) $_POST['networkAuthId'], 'blogUser' => $blogUserToken);
310
  $networkAuthAssignment = json_decode(B2S_Api_Post::post(B2S_PLUGIN_API_ENDPOINT, $data, 30), true);
311
  $count = $networkData->getCountSchedPostsByUserAuth((int) $_POST['networkAuthId']);
312
+ if (isset($networkAuthAssignment['result']) && $networkAuthAssignment['result'] !== false && isset($networkAuthAssignment['assignList']) && is_array($networkAuthAssignment['assignList'])) {
313
  $assignCount = 0;
314
  $assignList = array();
315
  foreach ($networkAuthAssignment['assignList'] as $k => $v) {
337
  }
338
 
339
  public function getSchedPostData() {
340
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
341
  if (isset($_POST['postId']) && (int) $_POST['postId'] > 0) {
342
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Post/Item.php');
343
  require_once (B2S_PLUGIN_DIR . 'includes/Util.php');
360
  }
361
 
362
  public function getNavbarItem() {
363
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
364
  if (isset($_POST['networkId']) && isset($_POST['networkAuthId']) && isset($_POST['networkType']) && isset($_POST['displayName']) && isset($_POST['mandandId'])) {
365
  require_once (B2S_PLUGIN_DIR . '/includes/B2S/Ship/Navbar.php');
366
  global $wpdb;
392
  }
393
 
394
  public function getSettingsSchedTimeDefault() {
395
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
396
  $userTimes = B2S_Tools::getRandomBestTimeSettings();
397
  if (!empty($userTimes) && is_array($userTimes)) {
398
  echo json_encode(array('result' => true, 'times' => $userTimes));
408
 
409
  //NEW V5.1.0
410
  public function getUserTimeSettings() {
411
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
412
  $lang = substr(B2S_LANGUAGE, 0, 2);
413
  $options = new B2S_Options(get_current_user_id());
414
  $userSchedData = $options->_getOption('auth_sched_time');
449
  }
450
 
451
  public function getShipItemReloadUrl() {
452
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
453
  if (isset($_POST['networkId']) && (int) $_POST['networkId'] > 0 && isset($_POST['networkAuthId']) && (int) $_POST['networkAuthId'] > 0 && isset($_POST['url']) && !empty($_POST['url'])) {
454
  if (isset($_POST['postId']) && (int) $_POST['postId'] > 0 && isset($_POST['defaultUrl']) && $_POST['defaultUrl'] == $_POST['url'] && (!isset($_POST['postType']) || $_POST['postType'] != 'ex')) {
455
  $postData = get_post((int) $_POST['postId']);
462
  } else {
463
  $metaInfo = B2S_Util::getMetaTags(0, esc_url($_POST['url']), (int) $_POST['networkId']);
464
  }
465
+ echo json_encode(array('result' => true, 'networkId' => (int) $_POST['networkId'], 'networkAuthId' => (int) $_POST['networkAuthId'], 'title' => isset($metaInfo['title']) ? $metaInfo['title'] : '', 'description' => isset($metaInfo['description']) ? $metaInfo['description'] : '', 'image' => isset($metaInfo['image']) ? esc_attr($metaInfo['image']) : ''));
466
  wp_die();
467
  }
468
  echo json_encode(array('result' => false));
474
  }
475
 
476
  public function getCalendarEvents() {
477
+ if (isset($_GET['b2s_security_nonce']) && (int) wp_verify_nonce($_GET['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
478
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Calendar/Filter.php');
479
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Ship/Image.php');
480
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Settings/Item.php');
501
  }
502
 
503
  public function getCalendarFilterNetworkAuth() {
504
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
505
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Calendar/Filter.php');
506
  $network_id = (isset($_POST['network_id']) && (int) $_POST['network_id'] >= 1) ? (int) $_POST['network_id'] : 0; // 0=all
507
  if ($network_id != 0) {
520
  }
521
 
522
  public function getPostEditModal() {
523
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
524
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Calendar/Filter.php');
525
  if (isset($_POST['id']) && (int) $_POST['id'] > 0) {
526
  $item = B2S_Calendar_Filter::getById((int) $_POST['id']);
552
  }
553
 
554
  public function getImageModal() {
555
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
556
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Ship/Image.php');
557
  if (isset($_POST['id']) && (int) $_POST['id'] > 0) {
558
  $postData = get_post((int) $_POST['id']);
571
  }
572
 
573
  public function getMultiWidgetContent() {
574
+ if (isset($_GET['b2s_security_nonce']) && (int) wp_verify_nonce($_GET['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
575
  $option = get_option("B2S_MULTI_WIDGET");
576
  if ($option !== false) {
577
  if (is_array($option) && isset($option['timestamp']) && isset($option['content']) && !empty($option['content']) && $option['timestamp'] > date('Y-m-d H:i:s', strtotime("-1 hours"))) {
589
  }
590
 
591
  public function getStats() {
592
+ if (isset($_GET['b2s_security_nonce']) && (int) wp_verify_nonce($_GET['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
593
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Stats.php');
594
  $stats = new B2S_Stats();
595
  if (isset($_GET['from']) && !empty($_GET['from']) && preg_match("#^[0-9\-.\]]+$#", $_GET['from'])) {
604
  }
605
 
606
  public function b2sSupportSystemRequirements() {
607
+ if (isset($_GET['b2s_security_nonce']) && (int) wp_verify_nonce($_GET['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
608
  if (!current_user_can('administrator')) {
609
  echo json_encode(array('result' => false, 'error' => 'admin'));
610
  wp_die();
627
  }
628
 
629
  public function searchUser() {
630
+ if (isset($_GET['b2s_security_nonce']) && (int) wp_verify_nonce($_GET['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
631
  if (isset($_GET['search_user']) && !empty($_GET['search_user'])) {
632
  $options = B2S_Tools::searchUser(sanitize_text_field($_GET['search_user']));
633
  echo json_encode(array('result' => true, 'options' => $options));
642
  }
643
 
644
  public function getSelectMandantUser() {
645
+ if (isset($_GET['b2s_security_nonce']) && (int) wp_verify_nonce($_GET['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
646
  if (isset($_GET['owner']) && (int) $_GET['owner'] > 0) {
647
  $owner = stripslashes(get_user_by('id', $_GET['owner'])->display_name);
648
  $owner = (empty($owner) || $owner == false) ? esc_html("Unknown username", "blog2social") : esc_html($owner);
656
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Network/Item.php');
657
  $networkItem = new B2S_Network_Item();
658
  $networkAuthAssignment = $networkItem->getNetworkAuthAssignment($networkAuthId, $networkId, $networkType);
659
+ if (isset($networkAuthAssignment['result']) && $networkAuthAssignment['result'] !== false) {
660
+ if (isset($networkAuthAssignment['assignList']) && isset($networkAuthAssignment['userSelect'])) {
661
+ echo json_encode(array('result' => true, 'userSelect' => $networkAuthAssignment['userSelect'], 'assignList' => $networkAuthAssignment['assignList']));
662
+ wp_die();
663
+ }
 
664
  }
665
  }
666
  }
673
  }
674
 
675
  public function getEditTemplateForm() {
676
+ if (isset($_GET['b2s_security_nonce']) && (int) wp_verify_nonce($_GET['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
677
  if (isset($_GET['networkId']) && (int) $_GET['networkId'] > 0) {
678
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Network/Item.php');
679
  $networkItem = new B2S_Network_Item(false);
692
  }
693
 
694
  public function checkDraftExists() {
695
+ if (isset($_GET['b2s_security_nonce']) && (int) wp_verify_nonce($_GET['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
696
  if (isset($_GET['postId']) && (int) $_GET['postId'] > 0) {
697
  global $wpdb;
698
  if ($wpdb->get_var("SHOW TABLES LIKE '{$wpdb->prefix}b2s_posts_drafts'") == $wpdb->prefix . 'b2s_posts_drafts') {
699
+ $sqlCheckDraft = $wpdb->prepare("SELECT `id` FROM `{$wpdb->prefix}b2s_posts_drafts` WHERE `blog_user_id` = %d AND `post_id` = %d AND `save_origin` = %d", B2S_PLUGIN_BLOG_USER_ID, (int) $_GET['postId'], 0);
700
  $draftEntry = $wpdb->get_var($sqlCheckDraft);
701
  if ($draftEntry !== NULL && (int) $draftEntry > 0) {
702
  echo json_encode(array('result' => true));
711
  wp_die();
712
  }
713
  }
714
+
715
  public function getCurationShipDetails() {
716
+ if (isset($_GET['b2s_security_nonce']) && (int) wp_verify_nonce($_GET['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
717
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Curation/View.php');
718
  $curation = new B2S_Curation_View();
719
  $result = json_decode(B2S_Api_Post::post(B2S_PLUGIN_API_ENDPOINT, array('action' => 'getProfileUserAuth', 'token' => B2S_PLUGIN_TOKEN)));
729
  }
730
  }
731
 
732
+ public function getNetworkAuthSettings() {
733
+ if (isset($_GET['b2s_security_nonce']) && (int) wp_verify_nonce($_GET['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
734
+ $result = array();
735
+ require_once (B2S_PLUGIN_DIR . 'includes/B2S/Network/Item.php');
736
+ $networkItem = new B2S_Network_Item();
737
+ if (isset($_GET['owner']) && (int) $_GET['owner'] > 0) {
738
+ $owner = stripslashes(get_user_by('id', $_GET['owner'])->display_name);
739
+ $owner = (empty($owner) || $owner == false) ? esc_html("Unknown username", "blog2social") : esc_html($owner);
740
+ $result['ownerName'] = $owner;
741
+ } else {
742
+ $networkAuthId = (isset($_GET['networkAuthId']) && (int) $_GET['networkAuthId'] > 0) ? (int) $_GET['networkAuthId'] : 0;
743
+ $networkId = (isset($_GET['networkId']) && (int) $_GET['networkId'] > 0) ? (int) $_GET['networkId'] : 0;
744
+ $networkType = (isset($_GET['networkType']) && (int) $_GET['networkType'] >= 0) ? (int) $_GET['networkType'] : 0;
745
+ if ($networkAuthId > 0 && $networkId > 0) {
746
+ $networkAuthAssignment = $networkItem->getNetworkAuthAssignment($networkAuthId, $networkId, $networkType);
747
+ if (isset($networkAuthAssignment['result']) && $networkAuthAssignment['result'] !== false) {
748
+ if (isset($networkAuthAssignment['assignList']) && isset($networkAuthAssignment['userSelect'])) {
749
+ $result['userSelect'] = $networkAuthAssignment['userSelect'];
750
+ $result['assignList'] = $networkAuthAssignment['assignList'];
751
+ }
752
+ }
753
+ }
754
+ }
755
+
756
+ if (isset($_GET['networkAuthId']) && (int) $_GET['networkAuthId'] > 0) {
757
+ $result['urlParameter'] = $networkItem->getUrlParameterSettings($_GET['networkAuthId'], $_GET['networkId']);
758
+ }
759
+
760
+ echo json_encode(array('result' => true, 'data' => json_encode($result)));
761
+ wp_die();
762
+ } else {
763
+ echo json_encode(array('result' => false, 'error' => 'nonce'));
764
+ wp_die();
765
+ }
766
+ }
767
+
768
+ public function updatePostBox() {
769
+ if (isset($_GET['b2s_security_nonce']) && (int) wp_verify_nonce($_GET['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
770
+ if(isset($_GET['post_id']) && (int) $_GET['post_id'] > 0) {
771
+ require_once (B2S_PLUGIN_DIR . 'includes/B2S/PostBox.php');
772
+ $postBox = new B2S_PostBox();
773
+ $updateInfo = $postBox->updateInfo((int) $_GET['post_id']);
774
+ echo json_encode(array('result' => true, 'active' => $updateInfo['active'], 'lastPostDate' => $updateInfo['lastPostDate'], 'shareCount' => $updateInfo['shareCount']));
775
+ wp_die();
776
+ }
777
+ } else {
778
+ echo json_encode(array('result' => false, 'error' => 'nonce'));
779
+ wp_die();
780
+ }
781
+ }
782
+
783
  }
includes/Ajax/Post.php CHANGED
@@ -57,13 +57,14 @@ class Ajax_Post {
57
  add_action('wp_ajax_b2s_auth_network_login', array($this, 'authNetworkLogin'));
58
  add_action('wp_ajax_b2s_auth_network_confirm', array($this, 'authNetworkConfirm'));
59
  add_action('wp_ajax_b2s_change_favorite_status', array($this, 'changeFavoriteStatus'));
 
60
  }
61
 
62
  public function curationDraft() {
63
  //save as blog post
64
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) { //0-12hours lifetime
65
- if(isset($_POST['postFormat'])){
66
- if((int) $_POST['postFormat'] > 0) { //Imagepost
67
  if (isset($_POST['image_id']) && !empty($_POST['image_id']) && isset($_POST['comment_image']) && !empty($_POST['comment_image'])) {
68
  $data = array('title' => sanitize_text_field($_POST['comment_image']), 'content' => $_POST['comment_image'], 'image_id' => $_POST['image_id'], 'author_id' => B2S_PLUGIN_BLOG_USER_ID);
69
  } else {
@@ -84,17 +85,41 @@ class Ajax_Post {
84
  $curation = new B2S_Curation_Save($data);
85
  $source = (get_post_meta((int) $_POST['b2s-draft-id'], "b2s_source", true));
86
  $postId = $curation->updateContent($source);
87
- if ($postId !== false) {
88
- echo json_encode(array('result' => true, 'postId' => $postId));
89
- wp_die();
90
- }
91
  } else {
92
  $curation = new B2S_Curation_Save($data);
93
  $postId = $curation->insertContent();
94
- if ($postId !== false) {
95
- echo json_encode(array('result' => true, 'postId' => $postId));
96
- wp_die();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  }
 
 
98
  }
99
  }
100
  echo json_encode(array('result' => false, 'error' => 'NO_DATA'));
@@ -107,9 +132,9 @@ class Ajax_Post {
107
 
108
  public function curationShare() {
109
  //save as blog post
110
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
111
- if(isset($_POST['postFormat'])){
112
- if((int) $_POST['postFormat'] > 0) { //Imagepost
113
  if (isset($_POST['image_id']) && !empty($_POST['image_id']) && isset($_POST['comment_image']) && !empty($_POST['comment_image'])) {
114
  $data = array('title' => sanitize_text_field($_POST['comment_image']), 'content' => $_POST['comment_image'], 'image_id' => $_POST['image_id'], 'author_id' => B2S_PLUGIN_BLOG_USER_ID);
115
  } else {
@@ -163,7 +188,7 @@ class Ajax_Post {
163
  //TOS Twitter 032018 - none multiple Accounts - User select once
164
  if ((int) $value->networkId != 2 || ((int) $value->networkId == 2 && (empty($selectedTwitterProfile) || ((int) $selectedTwitterProfile == (int) $value->networkAuthId)))) {
165
  //Filter: image network
166
- if((int) $_POST['postFormat'] == 0) {
167
  if (in_array($value->networkId, $allowNetworkOnlyImage)) {
168
  array_push($content, array('networkDisplayName' => $value->networkUserName, 'networkAuthId' => $value->networkAuthId, 'networkId' => $value->networkId, 'networkType' => $value->networkType, 'html' => $b2sShipSend->getItemHtml($value->networkId, 'IMAGE_FOR_CURATION')));
169
  continue;
@@ -277,11 +302,11 @@ class Ajax_Post {
277
  wp_die();
278
  }
279
  }
280
-
281
  public function curationCustomize() {
282
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
283
- if(isset($_POST['postFormat'])){
284
- if((int) $_POST['postFormat'] > 0) { //Imagepost
285
  if (isset($_POST['image_id']) && !empty($_POST['image_id']) && isset($_POST['comment_image']) && !empty($_POST['comment_image'])) {
286
  $data = array('title' => sanitize_text_field($_POST['comment_image']), 'content' => $_POST['comment_image'], 'image_id' => $_POST['image_id'], 'author_id' => B2S_PLUGIN_BLOG_USER_ID);
287
  $imgUrl = (isset($_POST['image_url']) && !empty($_POST['image_url'])) ? $_POST['image_url'] : '';
@@ -338,7 +363,7 @@ class Ajax_Post {
338
  }
339
 
340
  public function b2sPluginDeactivate() {
341
- if (isset($_POST['b2s_deactivate_nonce']) && (int) wp_verify_nonce($_POST['b2s_deactivate_nonce'], 'b2s_deactivate_nonce') === 1) {
342
  if (isset($_POST['delete_sched_post']) && (int) $_POST['delete_sched_post'] == 1) {
343
  update_option("B2S_PLUGIN_DEACTIVATE_SCHED_POST", 1, false);
344
  } else {
@@ -353,7 +378,7 @@ class Ajax_Post {
353
  }
354
 
355
  public function prgShip() {
356
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
357
  if (!empty($_POST) && isset($_POST['token']) && !empty($_POST['token']) && isset($_POST['prg_id']) && (int) $_POST['prg_id'] > 0 && isset($_POST['blog_user_id']) && (int) $_POST['blog_user_id'] > 0 && isset($_POST['post_id']) && (int) $_POST['post_id'] > 0) {
358
  $dataPost = $_POST;
359
  $type = $dataPost['publish'];
@@ -407,7 +432,7 @@ class Ajax_Post {
407
  }
408
 
409
  public function lockAutoPostImport() {
410
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
411
  if (isset($_POST['userId']) && (int) $_POST['userId'] > 0) {
412
  update_option('B2S_LOCK_AUTO_POST_IMPORT_' . (int) $_POST['userId'], 1, false);
413
  }
@@ -420,7 +445,7 @@ class Ajax_Post {
420
  }
421
 
422
  public function prgLogin() {
423
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
424
  if (isset($_POST['postId']) && (int) $_POST['postId'] > 0 && isset($_POST['username']) && !empty($_POST['username']) && isset($_POST['password']) && !empty($_POST['password'])) {
425
  $pubKey = json_decode(PRG_Api_Get::get(B2S_PLUGIN_PRG_API_ENDPOINT . 'auth.php?publicKey=true', array()));
426
  if (!empty($pubKey) && is_object($pubKey) && isset($pubKey->publicKey) && !empty($pubKey->publicKey) && function_exists('openssl_public_encrypt')) {
@@ -459,7 +484,7 @@ class Ajax_Post {
459
  }
460
 
461
  public function prgLogout() {
462
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
463
  delete_option('B2S_PLUGIN_PRG_' . B2S_PLUGIN_BLOG_USER_ID);
464
  echo json_encode(array('result' => true));
465
  wp_die();
@@ -470,7 +495,7 @@ class Ajax_Post {
470
  }
471
 
472
  public function saveShipData() {
473
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
474
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Ship/Save.php');
475
  $post = $_POST;
476
  $metaOg = false;
@@ -488,7 +513,12 @@ class Ajax_Post {
488
  delete_option('B2S_PLUGIN_POST_META_TAGES_OG_' . (int) $post['post_id']);
489
 
490
  $options = new B2S_Options(B2S_PLUGIN_BLOG_USER_ID);
491
- $optionNoCache = $options->_getOption('link_no_cache');
 
 
 
 
 
492
 
493
  $content = array();
494
  $schedResult = array();
@@ -496,13 +526,19 @@ class Ajax_Post {
496
  'blog_user_id' => B2S_PLUGIN_BLOG_USER_ID,
497
  'post_id' => (int) $post['post_id'],
498
  'default_titel' => isset($post['default_titel']) ? sanitize_text_field($post['default_titel']) : '',
499
- 'no_cache' => (($optionNoCache === false || $optionNoCache == 0) ? 0 : 1), //default inactive , 1=active 0=not
500
  'lang' => trim(strtolower(substr(B2S_LANGUAGE, 0, 2))));
501
 
502
  foreach ($post['b2s'] as $networkAuthId => $data) {
503
  if (!isset($data['url']) || !isset($data['network_id'])) {
504
  continue;
505
  }
 
 
 
 
 
 
506
 
507
  //Change/Set MetaTags
508
  if (in_array((int) $data['network_id'], json_decode(B2S_PLUGIN_NETWORK_META_TAGS, true)['og']) && $metaOg == false && (int) $post['post_id'] > 0 && isset($data['post_format']) && (int) $data['post_format'] == 0 && isset($post['change_og_meta']) && (int) $post['change_og_meta'] == 1) { //LinkPost
@@ -521,15 +557,15 @@ class Ajax_Post {
521
  $meta->updateMeta((int) $post['post_id']);
522
  //TODO update scheds
523
  global $wpdb;
524
- $res = $wpdb->get_results($wpdb->prepare("SELECT * FROM {$wpdb->prefix}b2s_posts LEFT JOIN {$wpdb->prefix}b2s_posts_sched_details ON {$wpdb->prefix}b2s_posts.sched_details_id = {$wpdb->prefix}b2s_posts_sched_details.id LEFT JOIN {$wpdb->prefix}b2s_posts_network_details ON {$wpdb->prefix}b2s_posts.network_details_id = {$wpdb->prefix}b2s_posts_network_details.id WHERE {$wpdb->prefix}b2s_posts.sched_details_id > 0 AND {$wpdb->prefix}b2s_posts.post_id = %d AND {$wpdb->prefix}b2s_posts_network_details.network_id IN (".implode(',', json_decode(B2S_PLUGIN_NETWORK_META_TAGS, true)['og']).") AND sched_date_utc > %s", $post['post_id'], gmdate('Y-m-d H:i:s')));
525
  foreach ($res as $key => $sched) {
526
  $schedData = unserialize($sched->sched_data);
527
- if((isset($schedData['post_format']) && (int) $schedData['post_format'] == 0) || (!isset($schedData['post_format']) && isset($schedData['image_url']) && !empty($schedData['image_url']))) {
528
- $schedData['image_url'] = $data['image_url'];
529
- $wpdb->update($wpdb->prefix.'b2s_posts_sched_details', array(
530
  'sched_data' => serialize($schedData),
531
  'image_url' => $data['image_url']
532
- ), array("id" => $sched->sched_details_id), array('%s', '%s', '%d'));
533
  }
534
  }
535
  }
@@ -556,12 +592,12 @@ class Ajax_Post {
556
  $options = new B2S_Options(0, 'B2S_PLUGIN_TOS_XING_GROUP_CROSSPOSTING');
557
  $options->_setOption((int) $post['post_id'], $data['network_tos_group_id'], true);
558
  }
559
-
560
  $sendData = array("board" => isset($data['board']) ? sanitize_text_field($data['board']) : '',
561
  "group" => isset($data['group']) ? sanitize_text_field($data['group']) : '',
562
  "custom_title" => isset($data['custom_title']) ? sanitize_text_field($data['custom_title']) : '',
563
- "content" => (isset($data['content']) && !empty($data['content'])) ? strip_tags(html_entity_decode($data['content']), '<p><h1><h2><br><i><b><a><img>') : '',
564
- 'url' => isset($data['url']) ? esc_url($data['url']) : '',
565
  'image_url' => isset($data['image_url']) ? trim(esc_url($data['image_url'])) : '',
566
  'tags' => isset($data['tags']) ? $data['tags'] : array(),
567
  'network_id' => isset($data['network_id']) ? (int) $data['network_id'] : 0,
@@ -646,7 +682,7 @@ class Ajax_Post {
646
  }
647
 
648
  public function saveSocialMetaTags() {
649
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
650
  $result = array('result' => true);
651
  if (isset($_POST['is_admin']) && (int) $_POST['is_admin'] == 1) {
652
 
@@ -681,7 +717,7 @@ class Ajax_Post {
681
  }
682
 
683
  public function resetSocialMetaTags() {
684
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
685
  global $wpdb;
686
  $sql = "DELETE FROM " . $wpdb->postmeta . " WHERE meta_key = %s";
687
  $sql = $wpdb->prepare($sql, "_b2s_post_meta");
@@ -695,7 +731,7 @@ class Ajax_Post {
695
  }
696
 
697
  public function saveNetworkBoardAndGroup() {
698
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
699
  if (isset($_POST['networkAuthId']) && !empty($_POST['networkAuthId']) && isset($_POST['networkType']) && isset($_POST['boardAndGroup']) && !empty($_POST['boardAndGroup']) && isset($_POST['networkId']) && !empty($_POST['networkId']) && isset($_POST['lang']) && !empty($_POST['lang'])) {
700
  $post = array('token' => B2S_PLUGIN_TOKEN,
701
  'action' => 'saveNetworkBoardAndGroup',
@@ -720,7 +756,7 @@ class Ajax_Post {
720
  }
721
 
722
  public function saveUserNetworkSettings() {
723
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
724
  if (isset($_POST['short_url'])) {
725
  $post = array('token' => B2S_PLUGIN_TOKEN,
726
  'action' => 'saveSettings',
@@ -786,6 +822,7 @@ class Ajax_Post {
786
  }
787
 
788
 
 
789
  $network_auth_id = isset($_POST['b2s-import-auto-post-network-auth-id']) && is_array($_POST['b2s-import-auto-post-network-auth-id']) ? $_POST['b2s-import-auto-post-network-auth-id'] : array();
790
  $post_type = isset($_POST['b2s-import-auto-post-type-data']) && is_array($_POST['b2s-import-auto-post-type-data']) ? $_POST['b2s-import-auto-post-type-data'] : array();
791
 
@@ -799,10 +836,16 @@ class Ajax_Post {
799
 
800
  $options = new B2S_Options(B2S_PLUGIN_BLOG_USER_ID);
801
  $options->_setOption('auto_post_import', $auto_post_import);
 
802
 
 
 
 
 
 
803
  $publish = isset($_POST['b2s-settings-auto-post-publish']) && is_array($_POST['b2s-settings-auto-post-publish']) ? $_POST['b2s-settings-auto-post-publish'] : array();
804
  $update = isset($_POST['b2s-settings-auto-post-update']) && is_array($_POST['b2s-settings-auto-post-update']) ? $_POST['b2s-settings-auto-post-update'] : array();
805
- $auto_post = array('publish' => $publish, 'update' => $update);
806
  $options->_setOption('auto_post', $auto_post);
807
  echo json_encode(array('result' => true));
808
  wp_die();
@@ -818,7 +861,7 @@ class Ajax_Post {
818
  }
819
 
820
  public function saveUserMandant() {
821
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
822
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Network/Save.php');
823
  $mandant = (isset($_POST['mandant']) && !empty($_POST['mandant'])) ? sanitize_text_field($_POST['mandant']) : '';
824
  if (empty($mandant)) {
@@ -835,7 +878,7 @@ class Ajax_Post {
835
  }
836
 
837
  public function deleteUserMandant() {
838
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
839
  if (isset($_POST['mandantId'])) {
840
  $post = array('token' => B2S_PLUGIN_TOKEN,
841
  'action' => 'deleteUserMandant',
@@ -857,7 +900,7 @@ class Ajax_Post {
857
  }
858
 
859
  public function deleteUserAuth() {
860
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
861
  $assignList = array();
862
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Post/Tools.php');
863
  if (isset($_POST['networkAuthId']) && (int) $_POST['networkAuthId'] > 0 && isset($_POST['networkId']) && (int) $_POST['networkId'] > 0 && isset($_POST['networkType'])) {
@@ -939,7 +982,7 @@ class Ajax_Post {
939
  }
940
 
941
  public function updateUserVersion() {
942
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
943
  require_once (B2S_PLUGIN_DIR . '/includes/Tools.php');
944
  if (isset($_POST['key']) && !empty($_POST['key'])) {
945
  $isCurrentUser = true;
@@ -998,7 +1041,7 @@ class Ajax_Post {
998
  }
999
 
1000
  public function acceptPrivacyPolicy() {
1001
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1002
  require_once (B2S_PLUGIN_DIR . '/includes/Tools.php');
1003
  if (isset($_POST['accept'])) {
1004
  $post = array('token' => B2S_PLUGIN_TOKEN,
@@ -1020,7 +1063,7 @@ class Ajax_Post {
1020
  }
1021
 
1022
  public function createTrail() {
1023
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1024
  require_once (B2S_PLUGIN_DIR . '/includes/Tools.php');
1025
  if (isset($_POST['vorname']) && !empty($_POST['vorname']) && isset($_POST['nachname']) && !empty($_POST['nachname']) && isset($_POST['email']) && !empty($_POST['email']) && isset($_POST['url']) && !empty($_POST['url'])) {
1026
  $data = array('token' => B2S_PLUGIN_TOKEN,
@@ -1048,7 +1091,7 @@ class Ajax_Post {
1048
  }
1049
 
1050
  public function deleteUserPublishPost() {
1051
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1052
  require_once (B2S_PLUGIN_DIR . '/includes/B2S/Post/Tools.php');
1053
  if (isset($_POST['postId']) && !empty($_POST['postId'])) {
1054
  $postIds = explode(',', $_POST['postId']);
@@ -1066,7 +1109,7 @@ class Ajax_Post {
1066
  }
1067
 
1068
  public function deleteUserApprovePost() {
1069
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1070
  require_once (B2S_PLUGIN_DIR . '/includes/B2S/Post/Tools.php');
1071
  if (isset($_POST['postId']) && !empty($_POST['postId'])) {
1072
  $postIds = explode(',', $_POST['postId']);
@@ -1084,7 +1127,7 @@ class Ajax_Post {
1084
  }
1085
 
1086
  public function deleteUserCcDraftPost() {
1087
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1088
  if (isset($_POST['postId']) && !empty($_POST['postId']) && (int) $_POST['postId'] > 0) {
1089
  $res = wp_update_post(array('ID' => (int) $_POST['postId'], 'post_status' => 'trash'), true);
1090
  if ((int) $res > 0) {
@@ -1101,7 +1144,7 @@ class Ajax_Post {
1101
  }
1102
 
1103
  public function sendTrailFeedback() {
1104
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1105
  require_once (B2S_PLUGIN_DIR . '/includes/Tools.php');
1106
  if (isset($_POST['feedback']) && !empty($_POST['feedback'])) {
1107
  $post = array('token' => B2S_PLUGIN_TOKEN,
@@ -1123,7 +1166,7 @@ class Ajax_Post {
1123
 
1124
  //NEW V5.1.0
1125
  public function saveUserTimeSettings() {
1126
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1127
  if (isset($_POST['b2s-user-sched-data']) && !empty($_POST['b2s-user-sched-data']) && isset($_POST['b2s-user-sched-data']['time']) && isset($_POST['b2s-user-sched-data']['delay_day'])) {
1128
  foreach ($_POST['b2s-user-sched-data']['time'] as $k => $v) {
1129
  $_POST['b2s-user-sched-data']['time'][$k] = date('H:i', strtotime(date('Y-m-d') . ' ' . $v));
@@ -1142,7 +1185,7 @@ class Ajax_Post {
1142
  }
1143
 
1144
  public function b2sShipNavbarSaveSettings() {
1145
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1146
  if (isset($_POST['mandantId'])) {
1147
  global $wpdb;
1148
 
@@ -1164,7 +1207,7 @@ class Ajax_Post {
1164
  }
1165
 
1166
  public function saveAuthToSettings() {
1167
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1168
  if (isset($_POST['mandandId']) && isset($_POST['networkAuthId']) && (int) $_POST['networkAuthId'] > 0 && isset($_POST['networkId']) && (int) $_POST['networkId'] > 0 && isset($_POST['networkType']) && isset($_POST['displayName']) && !empty($_POST['displayName'])) {
1169
  global $wpdb;
1170
  $networkDetailsIdSelect = $wpdb->get_col($wpdb->prepare("SELECT postNetworkDetails.id FROM {$wpdb->prefix}b2s_posts_network_details AS postNetworkDetails WHERE postNetworkDetails.network_auth_id = %s", $_POST['networkAuthId']));
@@ -1191,7 +1234,7 @@ class Ajax_Post {
1191
  }
1192
 
1193
  public function b2sPostMailUpdate() {
1194
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1195
  if (isset($_POST['email']) && !empty($_POST['email'])) {
1196
  require_once (B2S_PLUGIN_DIR . '/includes/Tools.php');
1197
  $post = array('action' => 'updateMail',
@@ -1209,7 +1252,7 @@ class Ajax_Post {
1209
  }
1210
 
1211
  public function updateApprovePost() {
1212
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1213
  //post_id
1214
  if (is_numeric($_POST['post_id']) && (int) $_POST['post_id'] > 0) {
1215
  global $wpdb;
@@ -1239,7 +1282,7 @@ class Ajax_Post {
1239
  }
1240
 
1241
  public function b2sCalendarMovePost() {
1242
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1243
  global $wpdb;
1244
  if (is_numeric($_POST['b2s_id']) && is_string($_POST['sched_date']) && isset($_POST['user_timezone'])) {
1245
 
@@ -1284,7 +1327,7 @@ class Ajax_Post {
1284
  }
1285
 
1286
  public function deleteUserSchedPost() {
1287
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1288
  require_once (B2S_PLUGIN_DIR . '/includes/B2S/Post/Tools.php');
1289
 
1290
  if (isset($_POST['postId']) && !empty($_POST['postId'])) {
@@ -1303,7 +1346,7 @@ class Ajax_Post {
1303
  }
1304
 
1305
  public function b2sDeletePost() {
1306
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1307
  require_once (B2S_PLUGIN_DIR . '/includes/B2S/Post/Tools.php');
1308
  global $wpdb;
1309
  if (isset($_POST['b2s_id']) && (int) $_POST['b2s_id'] > 0 && isset($_POST['post_id']) && (int) $_POST['post_id'] > 0) {
@@ -1337,7 +1380,7 @@ class Ajax_Post {
1337
  }
1338
 
1339
  public function b2sEditSavePost() {
1340
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1341
  global $wpdb;
1342
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Calendar/Save.php');
1343
 
@@ -1357,7 +1400,12 @@ class Ajax_Post {
1357
 
1358
  require_once(B2S_PLUGIN_DIR . 'includes/Options.php');
1359
  $options = new B2S_Options(B2S_PLUGIN_BLOG_USER_ID);
1360
- $optionNoCache = $options->_getOption('link_no_cache');
 
 
 
 
 
1361
 
1362
  foreach ($b2sids as $b2s_id) {
1363
  $b2sShipSend = new B2S_Calendar_Save();
@@ -1368,7 +1416,7 @@ class Ajax_Post {
1368
  'post_id' => (int) $post['post_id'],
1369
  'b2s_id' => (int) $b2s_id,
1370
  'default_titel' => isset($post['default_titel']) ? sanitize_text_field($post['default_titel']) : '',
1371
- 'no_cache' => (($optionNoCache === false || $optionNoCache == 0) ? 0 : 1), //default inactive , 1=active 0=not
1372
  'lang' => trim(strtolower(substr(B2S_LANGUAGE, 0, 2))));
1373
 
1374
 
@@ -1394,6 +1442,13 @@ class Ajax_Post {
1394
  if (!isset($data['url']) || !isset($data['content']) || !isset($data['network_id'])) {
1395
  continue;
1396
  }
 
 
 
 
 
 
 
1397
  //Change/Set MetaTags
1398
  if (in_array((int) $data['network_id'], json_decode(B2S_PLUGIN_NETWORK_META_TAGS, true)['og']) && $metaOg == false && (int) $post['post_id'] > 0 && isset($data['post_format']) && (int) $data['post_format'] == 0 && isset($post['change_og_meta']) && (int) $post['change_og_meta'] == 1) { //LinkPost
1399
  $metaOg = true;
@@ -1411,15 +1466,15 @@ class Ajax_Post {
1411
  $meta->updateMeta((int) $post['post_id']);
1412
  //TODO Update scheds
1413
  global $wpdb;
1414
- $res = $wpdb->get_results($wpdb->prepare("SELECT * FROM {$wpdb->prefix}b2s_posts LEFT JOIN {$wpdb->prefix}b2s_posts_sched_details ON {$wpdb->prefix}b2s_posts.sched_details_id = {$wpdb->prefix}b2s_posts_sched_details.id LEFT JOIN {$wpdb->prefix}b2s_posts_network_details ON {$wpdb->prefix}b2s_posts.network_details_id = {$wpdb->prefix}b2s_posts_network_details.id WHERE {$wpdb->prefix}b2s_posts.sched_details_id > 0 AND {$wpdb->prefix}b2s_posts.post_id = %d AND {$wpdb->prefix}b2s_posts_network_details.network_id IN (".implode(',', json_decode(B2S_PLUGIN_NETWORK_META_TAGS, true)['og']).") AND sched_date_utc > %s", $post['post_id'], gmdate('Y-m-d H:i:s')));
1415
  foreach ($res as $key => $sched) {
1416
  $schedData = unserialize($sched->sched_data);
1417
- if((isset($schedData['post_format']) && (int) $schedData['post_format'] == 0) || (!isset($schedData['post_format']) && isset($schedData['image_url']) && !empty($schedData['image_url']))) {
1418
- $schedData['image_url'] = $data['image_url'];
1419
- $wpdb->update($wpdb->prefix.'b2s_posts_sched_details', array(
1420
  'sched_data' => serialize($schedData),
1421
  'image_url' => $data['image_url']
1422
- ), array("id" => $sched->sched_details_id), array('%s', '%s', '%d'));
1423
  }
1424
  }
1425
  }
@@ -1440,12 +1495,12 @@ class Ajax_Post {
1440
  }
1441
  $meta->updateMeta((int) $post['post_id']);
1442
  }
1443
-
1444
  $sendData = array("board" => isset($data['board']) ? sanitize_text_field($data['board']) : '',
1445
  "group" => isset($data['group']) ? sanitize_text_field($data['group']) : '',
1446
  "custom_title" => isset($data['custom_title']) ? sanitize_text_field($data['custom_title']) : '',
1447
- "content" => (isset($data['content']) && !empty($data['content'])) ? strip_tags(html_entity_decode($data['content']), '<p><h1><h2><br><i><b><a><img>') : '',
1448
- 'url' => isset($data['url']) ? esc_url($data['url']) : '',
1449
  'image_url' => isset($data['image_url']) ? trim(esc_url($data['image_url'])) : '',
1450
  'tags' => isset($data['tags']) ? $data['tags'] : array(),
1451
  'network_id' => isset($data['network_id']) ? (int) $data['network_id'] : '',
@@ -1516,7 +1571,7 @@ class Ajax_Post {
1516
  }
1517
 
1518
  public function releaseLocks() {
1519
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1520
  require_once(B2S_PLUGIN_DIR . 'includes/Options.php');
1521
  $options = new B2S_Options(get_current_user_id());
1522
  $lock = $options->_getOption("B2S_PLUGIN_USER_CALENDAR_BLOCKED");
@@ -1536,7 +1591,7 @@ class Ajax_Post {
1536
  }
1537
 
1538
  public function hideRating() {
1539
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1540
  $forever = (isset($_POST['forever']) && $_POST['forever'] === true) ? true : false;
1541
  B2S_Rating::hide($forever);
1542
  } else {
@@ -1546,7 +1601,7 @@ class Ajax_Post {
1546
  }
1547
 
1548
  public function hidePremiumMessage() {
1549
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1550
  update_option("B2S_HIDE_PREMIUM_MESSAGE", true, false);
1551
  } else {
1552
  echo json_encode(array('result' => false, 'error' => 'nonce'));
@@ -1555,7 +1610,7 @@ class Ajax_Post {
1555
  }
1556
 
1557
  public function hideTrailMessage() {
1558
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1559
  update_option("B2S_HIDE_TRAIL_MESSAGE", true, false);
1560
  } else {
1561
  echo json_encode(array('result' => false, 'error' => 'nonce'));
@@ -1564,7 +1619,7 @@ class Ajax_Post {
1564
  }
1565
 
1566
  public function hideTrailEndedMessage() {
1567
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1568
  update_option("B2S_HIDE_TRAIL_ENDED", true, false);
1569
  } else {
1570
  echo json_encode(array('result' => false, 'error' => 'nonce'));
@@ -1573,7 +1628,7 @@ class Ajax_Post {
1573
  }
1574
 
1575
  public function moveUserAuthToProfile() {
1576
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1577
  if (isset($_POST['mandantId']) && isset($_POST['networkAuthId']) && (int) $_POST['networkAuthId'] > 0) {
1578
  $data = array('action' => 'moveUserAuthToProfile', 'token' => B2S_PLUGIN_TOKEN, 'networkAuthId' => (int) $_POST['networkAuthId'], 'mandantId' => (int) $_POST['mandantId']);
1579
  $moveUserAuth = json_decode(B2S_Api_Post::post(B2S_PLUGIN_API_ENDPOINT, $data, 30));
@@ -1598,7 +1653,7 @@ class Ajax_Post {
1598
  }
1599
 
1600
  public function assignNetworkUserAuth() {
1601
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1602
  if (isset($_POST['networkAuthId']) && (int) $_POST['networkAuthId'] > 0 && isset($_POST['assignBlogUserId']) && (int) $_POST['assignBlogUserId'] > 0) {
1603
  $assignToken = B2S_Tools::getTokenById($_POST['assignBlogUserId']);
1604
  $data = array('action' => 'approveUserAuth', 'token' => B2S_PLUGIN_TOKEN, 'networkAuthId' => (int) $_POST['networkAuthId'], 'assignToken' => $assignToken, 'tokenBlogUserId' => B2S_PLUGIN_BLOG_USER_ID, 'assignTokenBlogUserId' => $_POST['assignBlogUserId']);
@@ -1619,12 +1674,12 @@ class Ajax_Post {
1619
  $wpdb->insert($wpdb->prefix . 'b2s_user_network_settings', array('blog_user_id' => (int) $_POST['assignBlogUserId'], 'mandant_id' => 0, 'network_auth_id' => (int) $assignUserAuth['assign_network_auth_id']), array('%d', '%d', '%d'));
1620
 
1621
  $options = new B2S_Options((int) B2S_PLUGIN_BLOG_USER_ID);
1622
- if(isset($_POST['optionBestTimes']) && $_POST['optionBestTimes'] == true) {
1623
  $userSchedData = $options->_getOption('auth_sched_time');
1624
- if(isset($userSchedData['delay_day'][$_POST['networkAuthId']]) && isset($userSchedData['time'][$_POST['networkAuthId']])) {
1625
  $assignUserOptions = new B2S_Options((int) $_POST['assignBlogUserId']);
1626
  $assignUserSchedData = $assignUserOptions->_getOption('auth_sched_time');
1627
- if($assignUserSchedData != false && isset($assignUserSchedData['delay_day']) && isset($assignUserSchedData['time'])) {
1628
  $assignUserSchedData['delay_day'][$assignUserAuth['assign_network_auth_id']] = $userSchedData['delay_day'][$_POST['networkAuthId']];
1629
  $assignUserSchedData['time'][$assignUserAuth['assign_network_auth_id']] = $userSchedData['time'][$_POST['networkAuthId']];
1630
  } else {
@@ -1636,18 +1691,35 @@ class Ajax_Post {
1636
  $assignUserOptions->_setOption('auth_sched_time', $assignUserSchedData);
1637
  }
1638
  }
1639
-
1640
- if(isset($_POST['optionPostingTemplate']) && $_POST['optionPostingTemplate'] == true) {
1641
  $userTemplateData = $options->_getOption('post_template');
1642
- if(isset($userTemplateData[$assignUserAuth['assign_network_id']][$assignUserAuth['assign_network_type']])) {
1643
  $assignUserOptions = new B2S_Options((int) $_POST['assignBlogUserId']);
1644
  $assignUserTemplateData = $assignUserOptions->_getOption('post_template');
 
 
 
 
 
 
 
 
1645
  $assignUserTemplateData[$assignUserAuth['assign_network_id']][$assignUserAuth['assign_network_type']] = $userTemplateData[$assignUserAuth['assign_network_id']][$assignUserAuth['assign_network_type']];
1646
  $assignUserOptions->_setOption('post_template', $assignUserTemplateData);
1647
  }
1648
  }
1649
 
1650
-
 
 
 
 
 
 
 
 
 
1651
  $optionUserTimeZone = $options->_getOption('user_time_zone');
1652
  $userTimeZone = ($optionUserTimeZone !== false) ? $optionUserTimeZone : get_option('timezone_string');
1653
  $userTimeZoneOffset = (empty($userTimeZone)) ? get_option('gmt_offset') : B2S_Util::getOffsetToUtcByTimeZone($userTimeZone);
@@ -1676,7 +1748,7 @@ class Ajax_Post {
1676
  }
1677
 
1678
  public function savePostTemplate() {
1679
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1680
  if (isset($_POST['template_data']) && isset($_POST['networkId']) && (int) $_POST['networkId'] > 0) {
1681
  require_once(B2S_PLUGIN_DIR . 'includes/Options.php');
1682
  $options = new B2S_Options(get_current_user_id());
@@ -1713,10 +1785,15 @@ class Ajax_Post {
1713
  $post_template[$_POST['networkId']] = $new_template;
1714
  $post_template_result = $options->_setOption("post_template", $post_template);
1715
  }
1716
-
1717
- if ((int) $_POST['networkId'] == 1 && isset($_POST['link_no_cache'])) {
1718
- $noCache = (int) $_POST['link_no_cache'];
1719
- $link_no_cache_option = $options->_setOption('link_no_cache', $noCache);
 
 
 
 
 
1720
  }
1721
 
1722
  if ($post_template_result == true || $link_no_cache_option == true) {
@@ -1737,7 +1814,7 @@ class Ajax_Post {
1737
  }
1738
 
1739
  public function loadDefaultPostTemplate() {
1740
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1741
  if (isset($_POST['networkId']) && (int) $_POST['networkId'] > 0 && isset($_POST['networkType']) && isset(unserialize(B2S_PLUGIN_NETWORK_SETTINGS_TEMPLATE_DEFAULT)[$_POST['networkId']])) {
1742
  $default = unserialize(B2S_PLUGIN_NETWORK_SETTINGS_TEMPLATE_DEFAULT)[$_POST['networkId']];
1743
  require_once B2S_PLUGIN_DIR . 'includes/B2S/Network/Item.php';
@@ -1755,7 +1832,7 @@ class Ajax_Post {
1755
  }
1756
 
1757
  public function saveDraftData() {
1758
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1759
  if (isset($_POST['post_id']) && (int) $_POST['post_id'] > 0) {
1760
  global $wpdb;
1761
  if ($wpdb->get_var("SHOW TABLES LIKE '{$wpdb->prefix}b2s_posts_drafts'") == $wpdb->prefix . 'b2s_posts_drafts') {
@@ -1765,7 +1842,7 @@ class Ajax_Post {
1765
  $userTimeZoneOffset = (empty($userTimeZone)) ? get_option('gmt_offset') : B2S_Util::getOffsetToUtcByTimeZone($userTimeZone);
1766
  $date = B2S_Util::getCustomLocaleDateTime($userTimeZoneOffset);
1767
 
1768
- $sqlCheckDraft = $wpdb->prepare("SELECT `id` FROM `{$wpdb->prefix}b2s_posts_drafts` WHERE `blog_user_id` = %d AND `post_id` = %d", B2S_PLUGIN_BLOG_USER_ID, (int) $_POST['post_id']);
1769
  $draftEntry = $wpdb->get_var($sqlCheckDraft);
1770
  if ($draftEntry !== NULL && (int) $draftEntry > 0) {
1771
  $wpdb->update($wpdb->prefix . 'b2s_posts_drafts', array('data' => serialize($_POST), 'last_save_date' => $date), array('id' => (int) $draftEntry));
@@ -1786,7 +1863,7 @@ class Ajax_Post {
1786
  }
1787
 
1788
  public function deleteDraft() {
1789
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1790
  if (isset($_POST['draftId']) && (int) $_POST['draftId'] > 0) {
1791
  global $wpdb;
1792
  $wpdb->delete($wpdb->prefix . 'b2s_posts_drafts', array('id' => (int) $_POST['draftId'], 'blog_user_id' => B2S_PLUGIN_BLOG_USER_ID), array('%d', '%d'));
@@ -1802,11 +1879,11 @@ class Ajax_Post {
1802
  }
1803
 
1804
  public function authNetworkLogin() {
1805
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1806
  if (isset($_POST['username']) && !empty($_POST['username']) && isset($_POST['password']) && !empty($_POST['password'])) {
1807
  require_once(B2S_PLUGIN_DIR . 'includes/B2S/Api/Network/Pinterest.php');
1808
  $location = 'en';
1809
- if(isset($_POST['location']) && !empty($_POST['location'])){
1810
  $location = $_POST['location'];
1811
  }
1812
  $pt = new B2S_Api_Network_Pinterest($location);
@@ -1845,7 +1922,7 @@ class Ajax_Post {
1845
  }
1846
 
1847
  public function authNetworkConfirm() {
1848
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1849
  if (isset($_POST['username']) && !empty($_POST['username']) && isset($_POST['password']) && !empty($_POST['password']) && isset($_POST['boardId']) && !empty($_POST['boardId']) && isset($_POST['identData']) && !empty($_POST['identData'])) {
1850
  $mandantId = ((isset($_POST['mandantId']) && (int) $_POST['mandantId'] >= 0) ? $_POST['mandantId'] : 0);
1851
  $publicKey = B2S_PLUGIN_DIR . '/includes/B2S/Api/Network/public_key.pem';
@@ -1880,18 +1957,18 @@ class Ajax_Post {
1880
  wp_die();
1881
  }
1882
  }
1883
-
1884
  public function changeFavoriteStatus() {
1885
- if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') === 1) {
1886
- if(isset($_POST['postId']) && (int) $_POST['postId'] > 0 && isset($_POST['setStatus']) && (int) $_POST['setStatus'] >= 0) {
1887
  global $wpdb;
1888
- if((int) $_POST['setStatus'] == 1) {
1889
  $sqlCheckFavorite = $wpdb->prepare("SELECT `id` FROM `{$wpdb->prefix}b2s_posts_favorites` WHERE `blog_user_id` = %d AND `post_id` = %d", B2S_PLUGIN_BLOG_USER_ID, (int) $_POST['postId']);
1890
  $favoriteEntry = $wpdb->get_var($sqlCheckFavorite);
1891
  if ($favoriteEntry == NULL) {
1892
  $wpdb->insert($wpdb->prefix . 'b2s_posts_favorites', array('blog_user_id' => B2S_PLUGIN_BLOG_USER_ID, 'post_id' => (int) $_POST['postId'], 'save_date' => gmdate('Y-m-d H:i:s')));
1893
  }
1894
- } else {
1895
  $wpdb->delete($wpdb->prefix . 'b2s_posts_favorites', array('blog_user_id' => B2S_PLUGIN_BLOG_USER_ID, 'post_id' => (int) $_POST['postId']), array('%d', '%d'));
1896
  }
1897
  echo json_encode(array('result' => true));
@@ -1905,4 +1982,67 @@ class Ajax_Post {
1905
  }
1906
  }
1907
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1908
  }
57
  add_action('wp_ajax_b2s_auth_network_login', array($this, 'authNetworkLogin'));
58
  add_action('wp_ajax_b2s_auth_network_confirm', array($this, 'authNetworkConfirm'));
59
  add_action('wp_ajax_b2s_change_favorite_status', array($this, 'changeFavoriteStatus'));
60
+ add_action('wp_ajax_b2s_save_url_parameter', array($this, 'saveUrlParameter'));
61
  }
62
 
63
  public function curationDraft() {
64
  //save as blog post
65
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) { //0-24hours lifetime
66
+ if (isset($_POST['postFormat'])) {
67
+ if ((int) $_POST['postFormat'] > 0) { //Imagepost
68
  if (isset($_POST['image_id']) && !empty($_POST['image_id']) && isset($_POST['comment_image']) && !empty($_POST['comment_image'])) {
69
  $data = array('title' => sanitize_text_field($_POST['comment_image']), 'content' => $_POST['comment_image'], 'image_id' => $_POST['image_id'], 'author_id' => B2S_PLUGIN_BLOG_USER_ID);
70
  } else {
85
  $curation = new B2S_Curation_Save($data);
86
  $source = (get_post_meta((int) $_POST['b2s-draft-id'], "b2s_source", true));
87
  $postId = $curation->updateContent($source);
 
 
 
 
88
  } else {
89
  $curation = new B2S_Curation_Save($data);
90
  $postId = $curation->insertContent();
91
+ }
92
+ if ($postId !== false) {
93
+ if(isset($_POST['ship_type']) && isset($_POST['profile_select'])){
94
+ $draft_data = array(
95
+ 'ship_type' => $_POST['ship_type'],
96
+ 'profile_select' => $_POST['profile_select']
97
+ );
98
+ if((int) $_POST['ship_type'] > 0 && isset($_POST['ship_date'])) {
99
+ $draft_data['ship_date'] = $_POST['ship_date'];
100
+ }
101
+ if(isset($_POST['twitter_select'])) {
102
+ $draft_data['twitter_select'] = $_POST['twitter_select'];
103
+ }
104
+ global $wpdb;
105
+ if ($wpdb->get_var("SHOW TABLES LIKE '{$wpdb->prefix}b2s_posts_drafts'") == $wpdb->prefix . 'b2s_posts_drafts') {
106
+ $options = new B2S_Options(B2S_PLUGIN_BLOG_USER_ID);
107
+ $optionUserTimeZone = $options->_getOption('user_time_zone');
108
+ $userTimeZone = ($optionUserTimeZone !== false) ? $optionUserTimeZone : get_option('timezone_string');
109
+ $userTimeZoneOffset = (empty($userTimeZone)) ? get_option('gmt_offset') : B2S_Util::getOffsetToUtcByTimeZone($userTimeZone);
110
+ $date = B2S_Util::getCustomLocaleDateTime($userTimeZoneOffset);
111
+
112
+ $sqlCheckDraft = $wpdb->prepare("SELECT `id` FROM `{$wpdb->prefix}b2s_posts_drafts` WHERE `blog_user_id` = %d AND `post_id` = %d AND `save_origin` = 1", B2S_PLUGIN_BLOG_USER_ID, (int) $postId);
113
+ $draftEntry = $wpdb->get_var($sqlCheckDraft);
114
+ if ($draftEntry !== NULL && (int) $draftEntry > 0) {
115
+ $wpdb->update($wpdb->prefix . 'b2s_posts_drafts', array('data' => serialize($draft_data), 'last_save_date' => $date), array('id' => (int) $draftEntry));
116
+ } else {
117
+ $wpdb->insert($wpdb->prefix . 'b2s_posts_drafts', array('blog_user_id' => B2S_PLUGIN_BLOG_USER_ID, 'post_id' => (int) $postId, 'data' => serialize($draft_data), 'last_save_date' => $date, 'save_origin' => 1));
118
+ }
119
+ }
120
  }
121
+ echo json_encode(array('result' => true, 'postId' => $postId));
122
+ wp_die();
123
  }
124
  }
125
  echo json_encode(array('result' => false, 'error' => 'NO_DATA'));
132
 
133
  public function curationShare() {
134
  //save as blog post
135
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
136
+ if (isset($_POST['postFormat'])) {
137
+ if ((int) $_POST['postFormat'] > 0) { //Imagepost
138
  if (isset($_POST['image_id']) && !empty($_POST['image_id']) && isset($_POST['comment_image']) && !empty($_POST['comment_image'])) {
139
  $data = array('title' => sanitize_text_field($_POST['comment_image']), 'content' => $_POST['comment_image'], 'image_id' => $_POST['image_id'], 'author_id' => B2S_PLUGIN_BLOG_USER_ID);
140
  } else {
188
  //TOS Twitter 032018 - none multiple Accounts - User select once
189
  if ((int) $value->networkId != 2 || ((int) $value->networkId == 2 && (empty($selectedTwitterProfile) || ((int) $selectedTwitterProfile == (int) $value->networkAuthId)))) {
190
  //Filter: image network
191
+ if ((int) $_POST['postFormat'] == 0) {
192
  if (in_array($value->networkId, $allowNetworkOnlyImage)) {
193
  array_push($content, array('networkDisplayName' => $value->networkUserName, 'networkAuthId' => $value->networkAuthId, 'networkId' => $value->networkId, 'networkType' => $value->networkType, 'html' => $b2sShipSend->getItemHtml($value->networkId, 'IMAGE_FOR_CURATION')));
194
  continue;
302
  wp_die();
303
  }
304
  }
305
+
306
  public function curationCustomize() {
307
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
308
+ if (isset($_POST['postFormat'])) {
309
+ if ((int) $_POST['postFormat'] > 0) { //Imagepost
310
  if (isset($_POST['image_id']) && !empty($_POST['image_id']) && isset($_POST['comment_image']) && !empty($_POST['comment_image'])) {
311
  $data = array('title' => sanitize_text_field($_POST['comment_image']), 'content' => $_POST['comment_image'], 'image_id' => $_POST['image_id'], 'author_id' => B2S_PLUGIN_BLOG_USER_ID);
312
  $imgUrl = (isset($_POST['image_url']) && !empty($_POST['image_url'])) ? $_POST['image_url'] : '';
363
  }
364
 
365
  public function b2sPluginDeactivate() {
366
+ if (isset($_POST['b2s_deactivate_nonce']) && (int) wp_verify_nonce($_POST['b2s_deactivate_nonce'], 'b2s_deactivate_nonce') > 0) {
367
  if (isset($_POST['delete_sched_post']) && (int) $_POST['delete_sched_post'] == 1) {
368
  update_option("B2S_PLUGIN_DEACTIVATE_SCHED_POST", 1, false);
369
  } else {
378
  }
379
 
380
  public function prgShip() {
381
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
382
  if (!empty($_POST) && isset($_POST['token']) && !empty($_POST['token']) && isset($_POST['prg_id']) && (int) $_POST['prg_id'] > 0 && isset($_POST['blog_user_id']) && (int) $_POST['blog_user_id'] > 0 && isset($_POST['post_id']) && (int) $_POST['post_id'] > 0) {
383
  $dataPost = $_POST;
384
  $type = $dataPost['publish'];
432
  }
433
 
434
  public function lockAutoPostImport() {
435
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
436
  if (isset($_POST['userId']) && (int) $_POST['userId'] > 0) {
437
  update_option('B2S_LOCK_AUTO_POST_IMPORT_' . (int) $_POST['userId'], 1, false);
438
  }
445
  }
446
 
447
  public function prgLogin() {
448
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
449
  if (isset($_POST['postId']) && (int) $_POST['postId'] > 0 && isset($_POST['username']) && !empty($_POST['username']) && isset($_POST['password']) && !empty($_POST['password'])) {
450
  $pubKey = json_decode(PRG_Api_Get::get(B2S_PLUGIN_PRG_API_ENDPOINT . 'auth.php?publicKey=true', array()));
451
  if (!empty($pubKey) && is_object($pubKey) && isset($pubKey->publicKey) && !empty($pubKey->publicKey) && function_exists('openssl_public_encrypt')) {
484
  }
485
 
486
  public function prgLogout() {
487
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
488
  delete_option('B2S_PLUGIN_PRG_' . B2S_PLUGIN_BLOG_USER_ID);
489
  echo json_encode(array('result' => true));
490
  wp_die();
495
  }
496
 
497
  public function saveShipData() {
498
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
499
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Ship/Save.php');
500
  $post = $_POST;
501
  $metaOg = false;
513
  delete_option('B2S_PLUGIN_POST_META_TAGES_OG_' . (int) $post['post_id']);
514
 
515
  $options = new B2S_Options(B2S_PLUGIN_BLOG_USER_ID);
516
+ $linkNoCache = $options->_getOption("link_no_cache");
517
+ if($linkNoCache == false || !is_array($linkNoCache)) {
518
+ $fb_linkNoCache = (((int) $linkNoCache > 0) ? 1 : 0);
519
+ $linkNoCache = array(1 => $fb_linkNoCache, 3 => 1);
520
+ $options->_setOption("link_no_cache", $linkNoCache);
521
+ }
522
 
523
  $content = array();
524
  $schedResult = array();
526
  'blog_user_id' => B2S_PLUGIN_BLOG_USER_ID,
527
  'post_id' => (int) $post['post_id'],
528
  'default_titel' => isset($post['default_titel']) ? sanitize_text_field($post['default_titel']) : '',
529
+ 'no_cache' => 0, //default inactive , 1=active 0=not
530
  'lang' => trim(strtolower(substr(B2S_LANGUAGE, 0, 2))));
531
 
532
  foreach ($post['b2s'] as $networkAuthId => $data) {
533
  if (!isset($data['url']) || !isset($data['network_id'])) {
534
  continue;
535
  }
536
+
537
+ if ((int) $data['network_id'] == 1 || (int) $data['network_id'] == 3) {
538
+ if(is_array($linkNoCache) && isset($linkNoCache[$data['network_id']]) && (int) $linkNoCache[$data['network_id']] > 0) {
539
+ $defaultPostData['no_cache'] = $linkNoCache[$data['network_id']];
540
+ }
541
+ }
542
 
543
  //Change/Set MetaTags
544
  if (in_array((int) $data['network_id'], json_decode(B2S_PLUGIN_NETWORK_META_TAGS, true)['og']) && $metaOg == false && (int) $post['post_id'] > 0 && isset($data['post_format']) && (int) $data['post_format'] == 0 && isset($post['change_og_meta']) && (int) $post['change_og_meta'] == 1) { //LinkPost
557
  $meta->updateMeta((int) $post['post_id']);
558
  //TODO update scheds
559
  global $wpdb;
560
+ $res = $wpdb->get_results($wpdb->prepare("SELECT * FROM {$wpdb->prefix}b2s_posts LEFT JOIN {$wpdb->prefix}b2s_posts_sched_details ON {$wpdb->prefix}b2s_posts.sched_details_id = {$wpdb->prefix}b2s_posts_sched_details.id LEFT JOIN {$wpdb->prefix}b2s_posts_network_details ON {$wpdb->prefix}b2s_posts.network_details_id = {$wpdb->prefix}b2s_posts_network_details.id WHERE {$wpdb->prefix}b2s_posts.sched_details_id > 0 AND {$wpdb->prefix}b2s_posts.post_id = %d AND {$wpdb->prefix}b2s_posts_network_details.network_id IN (" . implode(',', json_decode(B2S_PLUGIN_NETWORK_META_TAGS, true)['og']) . ") AND sched_date_utc > %s", $post['post_id'], gmdate('Y-m-d H:i:s')));
561
  foreach ($res as $key => $sched) {
562
  $schedData = unserialize($sched->sched_data);
563
+ if ((isset($schedData['post_format']) && (int) $schedData['post_format'] == 0) || (!isset($schedData['post_format']) && isset($schedData['image_url']) && !empty($schedData['image_url']))) {
564
+ $schedData['image_url'] = $data['image_url'];
565
+ $wpdb->update($wpdb->prefix . 'b2s_posts_sched_details', array(
566
  'sched_data' => serialize($schedData),
567
  'image_url' => $data['image_url']
568
+ ), array("id" => $sched->sched_details_id), array('%s', '%s', '%d'));
569
  }
570
  }
571
  }
592
  $options = new B2S_Options(0, 'B2S_PLUGIN_TOS_XING_GROUP_CROSSPOSTING');
593
  $options->_setOption((int) $post['post_id'], $data['network_tos_group_id'], true);
594
  }
595
+
596
  $sendData = array("board" => isset($data['board']) ? sanitize_text_field($data['board']) : '',
597
  "group" => isset($data['group']) ? sanitize_text_field($data['group']) : '',
598
  "custom_title" => isset($data['custom_title']) ? sanitize_text_field($data['custom_title']) : '',
599
+ "content" => (isset($data['content']) && !empty($data['content'])) ? strip_tags(preg_replace("/(<[\/]*)em(>)/", "$1i$2", html_entity_decode($data['content'])), '<p><h1><h2><br><i><b><a><img>') : '',
600
+ 'url' => isset($data['url']) ? htmlspecialchars_decode(esc_url($data['url'])) : '',
601
  'image_url' => isset($data['image_url']) ? trim(esc_url($data['image_url'])) : '',
602
  'tags' => isset($data['tags']) ? $data['tags'] : array(),
603
  'network_id' => isset($data['network_id']) ? (int) $data['network_id'] : 0,
682
  }
683
 
684
  public function saveSocialMetaTags() {
685
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
686
  $result = array('result' => true);
687
  if (isset($_POST['is_admin']) && (int) $_POST['is_admin'] == 1) {
688
 
717
  }
718
 
719
  public function resetSocialMetaTags() {
720
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
721
  global $wpdb;
722
  $sql = "DELETE FROM " . $wpdb->postmeta . " WHERE meta_key = %s";
723
  $sql = $wpdb->prepare($sql, "_b2s_post_meta");
731
  }
732
 
733
  public function saveNetworkBoardAndGroup() {
734
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
735
  if (isset($_POST['networkAuthId']) && !empty($_POST['networkAuthId']) && isset($_POST['networkType']) && isset($_POST['boardAndGroup']) && !empty($_POST['boardAndGroup']) && isset($_POST['networkId']) && !empty($_POST['networkId']) && isset($_POST['lang']) && !empty($_POST['lang'])) {
736
  $post = array('token' => B2S_PLUGIN_TOKEN,
737
  'action' => 'saveNetworkBoardAndGroup',
756
  }
757
 
758
  public function saveUserNetworkSettings() {
759
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
760
  if (isset($_POST['short_url'])) {
761
  $post = array('token' => B2S_PLUGIN_TOKEN,
762
  'action' => 'saveSettings',
822
  }
823
 
824
 
825
+ //Auto-Poster A
826
  $network_auth_id = isset($_POST['b2s-import-auto-post-network-auth-id']) && is_array($_POST['b2s-import-auto-post-network-auth-id']) ? $_POST['b2s-import-auto-post-network-auth-id'] : array();
827
  $post_type = isset($_POST['b2s-import-auto-post-type-data']) && is_array($_POST['b2s-import-auto-post-type-data']) ? $_POST['b2s-import-auto-post-type-data'] : array();
828
 
836
 
837
  $options = new B2S_Options(B2S_PLUGIN_BLOG_USER_ID);
838
  $options->_setOption('auto_post_import', $auto_post_import);
839
+
840
 
841
+ //Auto-Poster M
842
+ $active = ((isset($_POST['b2s-manuell-auto-post']) && (int) $_POST['b2s-manuell-auto-post'] == 1) ? 1 : 0);
843
+ $best_times = ((isset($_POST['b2s-auto-post-best-times']) && (int) $_POST['b2s-auto-post-best-times'] == 1) ? 1 : 0);
844
+ $profile = ((isset($_POST['b2s-auto-post-profil-dropdown']) && (int) $_POST['b2s-auto-post-profil-dropdown'] > 0) ? (int) $_POST['b2s-auto-post-profil-dropdown'] : 0);
845
+ $twitter = ((isset($_POST['b2s-auto-post-profil-dropdown-twitter']) && (int) $_POST['b2s-auto-post-profil-dropdown-twitter'] > 0) ? (int) $_POST['b2s-auto-post-profil-dropdown-twitter'] : 0);
846
  $publish = isset($_POST['b2s-settings-auto-post-publish']) && is_array($_POST['b2s-settings-auto-post-publish']) ? $_POST['b2s-settings-auto-post-publish'] : array();
847
  $update = isset($_POST['b2s-settings-auto-post-update']) && is_array($_POST['b2s-settings-auto-post-update']) ? $_POST['b2s-settings-auto-post-update'] : array();
848
+ $auto_post = array('active' => $active, 'profile' => $profile, 'twitter' => $twitter, 'publish' => $publish, 'update' => $update, 'best_times' => $best_times);
849
  $options->_setOption('auto_post', $auto_post);
850
  echo json_encode(array('result' => true));
851
  wp_die();
861
  }
862
 
863
  public function saveUserMandant() {
864
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
865
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Network/Save.php');
866
  $mandant = (isset($_POST['mandant']) && !empty($_POST['mandant'])) ? sanitize_text_field($_POST['mandant']) : '';
867
  if (empty($mandant)) {
878
  }
879
 
880
  public function deleteUserMandant() {
881
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
882
  if (isset($_POST['mandantId'])) {
883
  $post = array('token' => B2S_PLUGIN_TOKEN,
884
  'action' => 'deleteUserMandant',
900
  }
901
 
902
  public function deleteUserAuth() {
903
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
904
  $assignList = array();
905
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Post/Tools.php');
906
  if (isset($_POST['networkAuthId']) && (int) $_POST['networkAuthId'] > 0 && isset($_POST['networkId']) && (int) $_POST['networkId'] > 0 && isset($_POST['networkType'])) {
982
  }
983
 
984
  public function updateUserVersion() {
985
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
986
  require_once (B2S_PLUGIN_DIR . '/includes/Tools.php');
987
  if (isset($_POST['key']) && !empty($_POST['key'])) {
988
  $isCurrentUser = true;
1041
  }
1042
 
1043
  public function acceptPrivacyPolicy() {
1044
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1045
  require_once (B2S_PLUGIN_DIR . '/includes/Tools.php');
1046
  if (isset($_POST['accept'])) {
1047
  $post = array('token' => B2S_PLUGIN_TOKEN,
1063
  }
1064
 
1065
  public function createTrail() {
1066
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1067
  require_once (B2S_PLUGIN_DIR . '/includes/Tools.php');
1068
  if (isset($_POST['vorname']) && !empty($_POST['vorname']) && isset($_POST['nachname']) && !empty($_POST['nachname']) && isset($_POST['email']) && !empty($_POST['email']) && isset($_POST['url']) && !empty($_POST['url'])) {
1069
  $data = array('token' => B2S_PLUGIN_TOKEN,
1091
  }
1092
 
1093
  public function deleteUserPublishPost() {
1094
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1095
  require_once (B2S_PLUGIN_DIR . '/includes/B2S/Post/Tools.php');
1096
  if (isset($_POST['postId']) && !empty($_POST['postId'])) {
1097
  $postIds = explode(',', $_POST['postId']);
1109
  }
1110
 
1111
  public function deleteUserApprovePost() {
1112
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1113
  require_once (B2S_PLUGIN_DIR . '/includes/B2S/Post/Tools.php');
1114
  if (isset($_POST['postId']) && !empty($_POST['postId'])) {
1115
  $postIds = explode(',', $_POST['postId']);
1127
  }
1128
 
1129
  public function deleteUserCcDraftPost() {
1130
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1131
  if (isset($_POST['postId']) && !empty($_POST['postId']) && (int) $_POST['postId'] > 0) {
1132
  $res = wp_update_post(array('ID' => (int) $_POST['postId'], 'post_status' => 'trash'), true);
1133
  if ((int) $res > 0) {
1144
  }
1145
 
1146
  public function sendTrailFeedback() {
1147
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1148
  require_once (B2S_PLUGIN_DIR . '/includes/Tools.php');
1149
  if (isset($_POST['feedback']) && !empty($_POST['feedback'])) {
1150
  $post = array('token' => B2S_PLUGIN_TOKEN,
1166
 
1167
  //NEW V5.1.0
1168
  public function saveUserTimeSettings() {
1169
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1170
  if (isset($_POST['b2s-user-sched-data']) && !empty($_POST['b2s-user-sched-data']) && isset($_POST['b2s-user-sched-data']['time']) && isset($_POST['b2s-user-sched-data']['delay_day'])) {
1171
  foreach ($_POST['b2s-user-sched-data']['time'] as $k => $v) {
1172
  $_POST['b2s-user-sched-data']['time'][$k] = date('H:i', strtotime(date('Y-m-d') . ' ' . $v));
1185
  }
1186
 
1187
  public function b2sShipNavbarSaveSettings() {
1188
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1189
  if (isset($_POST['mandantId'])) {
1190
  global $wpdb;
1191
 
1207
  }
1208
 
1209
  public function saveAuthToSettings() {
1210
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1211
  if (isset($_POST['mandandId']) && isset($_POST['networkAuthId']) && (int) $_POST['networkAuthId'] > 0 && isset($_POST['networkId']) && (int) $_POST['networkId'] > 0 && isset($_POST['networkType']) && isset($_POST['displayName']) && !empty($_POST['displayName'])) {
1212
  global $wpdb;
1213
  $networkDetailsIdSelect = $wpdb->get_col($wpdb->prepare("SELECT postNetworkDetails.id FROM {$wpdb->prefix}b2s_posts_network_details AS postNetworkDetails WHERE postNetworkDetails.network_auth_id = %s", $_POST['networkAuthId']));
1234
  }
1235
 
1236
  public function b2sPostMailUpdate() {
1237
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1238
  if (isset($_POST['email']) && !empty($_POST['email'])) {
1239
  require_once (B2S_PLUGIN_DIR . '/includes/Tools.php');
1240
  $post = array('action' => 'updateMail',
1252
  }
1253
 
1254
  public function updateApprovePost() {
1255
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1256
  //post_id
1257
  if (is_numeric($_POST['post_id']) && (int) $_POST['post_id'] > 0) {
1258
  global $wpdb;
1282
  }
1283
 
1284
  public function b2sCalendarMovePost() {
1285
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1286
  global $wpdb;
1287
  if (is_numeric($_POST['b2s_id']) && is_string($_POST['sched_date']) && isset($_POST['user_timezone'])) {
1288
 
1327
  }
1328
 
1329
  public function deleteUserSchedPost() {
1330
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1331
  require_once (B2S_PLUGIN_DIR . '/includes/B2S/Post/Tools.php');
1332
 
1333
  if (isset($_POST['postId']) && !empty($_POST['postId'])) {
1346
  }
1347
 
1348
  public function b2sDeletePost() {
1349
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1350
  require_once (B2S_PLUGIN_DIR . '/includes/B2S/Post/Tools.php');
1351
  global $wpdb;
1352
  if (isset($_POST['b2s_id']) && (int) $_POST['b2s_id'] > 0 && isset($_POST['post_id']) && (int) $_POST['post_id'] > 0) {
1380
  }
1381
 
1382
  public function b2sEditSavePost() {
1383
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1384
  global $wpdb;
1385
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Calendar/Save.php');
1386
 
1400
 
1401
  require_once(B2S_PLUGIN_DIR . 'includes/Options.php');
1402
  $options = new B2S_Options(B2S_PLUGIN_BLOG_USER_ID);
1403
+ $linkNoCache = $options->_getOption("link_no_cache");
1404
+ if($linkNoCache == false || !is_array($linkNoCache)) {
1405
+ $fb_linkNoCache = (((int) $linkNoCache > 0) ? 1 : 0);
1406
+ $linkNoCache = array(1 => $fb_linkNoCache, 3 => 1);
1407
+ $options->_setOption("link_no_cache", $linkNoCache);
1408
+ }
1409
 
1410
  foreach ($b2sids as $b2s_id) {
1411
  $b2sShipSend = new B2S_Calendar_Save();
1416
  'post_id' => (int) $post['post_id'],
1417
  'b2s_id' => (int) $b2s_id,
1418
  'default_titel' => isset($post['default_titel']) ? sanitize_text_field($post['default_titel']) : '',
1419
+ 'no_cache' => 0, //default inactive , 1=active 0=not
1420
  'lang' => trim(strtolower(substr(B2S_LANGUAGE, 0, 2))));
1421
 
1422
 
1442
  if (!isset($data['url']) || !isset($data['content']) || !isset($data['network_id'])) {
1443
  continue;
1444
  }
1445
+
1446
+ if ((int) $data['network_id'] == 1 || (int) $data['network_id'] == 3) {
1447
+ if(is_array($linkNoCache) && isset($linkNoCache[$data['network_id']]) && (int) $linkNoCache[$data['network_id']] > 0) {
1448
+ $defaultPostData['no_cache'] = $linkNoCache[$data['network_id']];
1449
+ }
1450
+ }
1451
+
1452
  //Change/Set MetaTags
1453
  if (in_array((int) $data['network_id'], json_decode(B2S_PLUGIN_NETWORK_META_TAGS, true)['og']) && $metaOg == false && (int) $post['post_id'] > 0 && isset($data['post_format']) && (int) $data['post_format'] == 0 && isset($post['change_og_meta']) && (int) $post['change_og_meta'] == 1) { //LinkPost
1454
  $metaOg = true;
1466
  $meta->updateMeta((int) $post['post_id']);
1467
  //TODO Update scheds
1468
  global $wpdb;
1469
+ $res = $wpdb->get_results($wpdb->prepare("SELECT * FROM {$wpdb->prefix}b2s_posts LEFT JOIN {$wpdb->prefix}b2s_posts_sched_details ON {$wpdb->prefix}b2s_posts.sched_details_id = {$wpdb->prefix}b2s_posts_sched_details.id LEFT JOIN {$wpdb->prefix}b2s_posts_network_details ON {$wpdb->prefix}b2s_posts.network_details_id = {$wpdb->prefix}b2s_posts_network_details.id WHERE {$wpdb->prefix}b2s_posts.sched_details_id > 0 AND {$wpdb->prefix}b2s_posts.post_id = %d AND {$wpdb->prefix}b2s_posts_network_details.network_id IN (" . implode(',', json_decode(B2S_PLUGIN_NETWORK_META_TAGS, true)['og']) . ") AND sched_date_utc > %s", $post['post_id'], gmdate('Y-m-d H:i:s')));
1470
  foreach ($res as $key => $sched) {
1471
  $schedData = unserialize($sched->sched_data);
1472
+ if ((isset($schedData['post_format']) && (int) $schedData['post_format'] == 0) || (!isset($schedData['post_format']) && isset($schedData['image_url']) && !empty($schedData['image_url']))) {
1473
+ $schedData['image_url'] = $data['image_url'];
1474
+ $wpdb->update($wpdb->prefix . 'b2s_posts_sched_details', array(
1475
  'sched_data' => serialize($schedData),
1476
  'image_url' => $data['image_url']
1477
+ ), array("id" => $sched->sched_details_id), array('%s', '%s', '%d'));
1478
  }
1479
  }
1480
  }
1495
  }
1496
  $meta->updateMeta((int) $post['post_id']);
1497
  }
1498
+
1499
  $sendData = array("board" => isset($data['board']) ? sanitize_text_field($data['board']) : '',
1500
  "group" => isset($data['group']) ? sanitize_text_field($data['group']) : '',
1501
  "custom_title" => isset($data['custom_title']) ? sanitize_text_field($data['custom_title']) : '',
1502
+ "content" => (isset($data['content']) && !empty($data['content'])) ? strip_tags(preg_replace("/(<[\/]*)em(>)/", "$1i$2", html_entity_decode($data['content'])), '<p><h1><h2><br><i><b><a><img>') : '',
1503
+ 'url' => isset($data['url']) ? htmlspecialchars_decode(esc_url($data['url'])) : '',
1504
  'image_url' => isset($data['image_url']) ? trim(esc_url($data['image_url'])) : '',
1505
  'tags' => isset($data['tags']) ? $data['tags'] : array(),
1506
  'network_id' => isset($data['network_id']) ? (int) $data['network_id'] : '',
1571
  }
1572
 
1573
  public function releaseLocks() {
1574
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1575
  require_once(B2S_PLUGIN_DIR . 'includes/Options.php');
1576
  $options = new B2S_Options(get_current_user_id());
1577
  $lock = $options->_getOption("B2S_PLUGIN_USER_CALENDAR_BLOCKED");
1591
  }
1592
 
1593
  public function hideRating() {
1594
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1595
  $forever = (isset($_POST['forever']) && $_POST['forever'] === true) ? true : false;
1596
  B2S_Rating::hide($forever);
1597
  } else {
1601
  }
1602
 
1603
  public function hidePremiumMessage() {
1604
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1605
  update_option("B2S_HIDE_PREMIUM_MESSAGE", true, false);
1606
  } else {
1607
  echo json_encode(array('result' => false, 'error' => 'nonce'));
1610
  }
1611
 
1612
  public function hideTrailMessage() {
1613
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1614
  update_option("B2S_HIDE_TRAIL_MESSAGE", true, false);
1615
  } else {
1616
  echo json_encode(array('result' => false, 'error' => 'nonce'));
1619
  }
1620
 
1621
  public function hideTrailEndedMessage() {
1622
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1623
  update_option("B2S_HIDE_TRAIL_ENDED", true, false);
1624
  } else {
1625
  echo json_encode(array('result' => false, 'error' => 'nonce'));
1628
  }
1629
 
1630
  public function moveUserAuthToProfile() {
1631
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1632
  if (isset($_POST['mandantId']) && isset($_POST['networkAuthId']) && (int) $_POST['networkAuthId'] > 0) {
1633
  $data = array('action' => 'moveUserAuthToProfile', 'token' => B2S_PLUGIN_TOKEN, 'networkAuthId' => (int) $_POST['networkAuthId'], 'mandantId' => (int) $_POST['mandantId']);
1634
  $moveUserAuth = json_decode(B2S_Api_Post::post(B2S_PLUGIN_API_ENDPOINT, $data, 30));
1653
  }
1654
 
1655
  public function assignNetworkUserAuth() {
1656
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1657
  if (isset($_POST['networkAuthId']) && (int) $_POST['networkAuthId'] > 0 && isset($_POST['assignBlogUserId']) && (int) $_POST['assignBlogUserId'] > 0) {
1658
  $assignToken = B2S_Tools::getTokenById($_POST['assignBlogUserId']);
1659
  $data = array('action' => 'approveUserAuth', 'token' => B2S_PLUGIN_TOKEN, 'networkAuthId' => (int) $_POST['networkAuthId'], 'assignToken' => $assignToken, 'tokenBlogUserId' => B2S_PLUGIN_BLOG_USER_ID, 'assignTokenBlogUserId' => $_POST['assignBlogUserId']);
1674
  $wpdb->insert($wpdb->prefix . 'b2s_user_network_settings', array('blog_user_id' => (int) $_POST['assignBlogUserId'], 'mandant_id' => 0, 'network_auth_id' => (int) $assignUserAuth['assign_network_auth_id']), array('%d', '%d', '%d'));
1675
 
1676
  $options = new B2S_Options((int) B2S_PLUGIN_BLOG_USER_ID);
1677
+ if (isset($_POST['optionBestTimes']) && $_POST['optionBestTimes'] == true) {
1678
  $userSchedData = $options->_getOption('auth_sched_time');
1679
+ if (isset($userSchedData['delay_day'][$_POST['networkAuthId']]) && isset($userSchedData['time'][$_POST['networkAuthId']])) {
1680
  $assignUserOptions = new B2S_Options((int) $_POST['assignBlogUserId']);
1681
  $assignUserSchedData = $assignUserOptions->_getOption('auth_sched_time');
1682
+ if ($assignUserSchedData != false && isset($assignUserSchedData['delay_day']) && isset($assignUserSchedData['time'])) {
1683
  $assignUserSchedData['delay_day'][$assignUserAuth['assign_network_auth_id']] = $userSchedData['delay_day'][$_POST['networkAuthId']];
1684
  $assignUserSchedData['time'][$assignUserAuth['assign_network_auth_id']] = $userSchedData['time'][$_POST['networkAuthId']];
1685
  } else {
1691
  $assignUserOptions->_setOption('auth_sched_time', $assignUserSchedData);
1692
  }
1693
  }
1694
+
1695
+ if (isset($_POST['optionPostingTemplate']) && $_POST['optionPostingTemplate'] == true) {
1696
  $userTemplateData = $options->_getOption('post_template');
1697
+ if (isset($userTemplateData[$assignUserAuth['assign_network_id']][$assignUserAuth['assign_network_type']])) {
1698
  $assignUserOptions = new B2S_Options((int) $_POST['assignBlogUserId']);
1699
  $assignUserTemplateData = $assignUserOptions->_getOption('post_template');
1700
+ if($assignUserTemplateData == false || !isset($assignUserTemplateData[$assignUserAuth['assign_network_id']])) {
1701
+ $defaultTemplate = unserialize(B2S_PLUGIN_NETWORK_SETTINGS_TEMPLATE_DEFAULT);
1702
+ if(isset($defaultTemplate[$assignUserAuth['assign_network_id']])) {
1703
+ $assignUserTemplateData = array($assignUserAuth['assign_network_id'] => $defaultTemplate[$assignUserAuth['assign_network_id']]);
1704
+ } else {
1705
+ $assignUserTemplateData[$assignUserAuth['assign_network_id']] = $userTemplateData[$assignUserAuth['assign_network_id']];
1706
+ }
1707
+ }
1708
  $assignUserTemplateData[$assignUserAuth['assign_network_id']][$assignUserAuth['assign_network_type']] = $userTemplateData[$assignUserAuth['assign_network_id']][$assignUserAuth['assign_network_type']];
1709
  $assignUserOptions->_setOption('post_template', $assignUserTemplateData);
1710
  }
1711
  }
1712
 
1713
+ if (isset($_POST['optionUrlParameter']) && $_POST['optionUrlParameter'] == true) {
1714
+ $sql = $wpdb->prepare("SELECT data FROM `{$wpdb->prefix}b2s_posts_network_details` WHERE `network_auth_id` = %d", (int) $_POST['networkAuthId']);
1715
+ $rawOriginalData = $wpdb->get_row($sql);
1716
+ $originalData = unserialize($rawOriginalData->data);
1717
+ if($originalData != false && $originalData != NULL && is_array($originalData) && isset($originalData) && !empty($originalData) && isset($originalData['url_parameter'])) {
1718
+ $sqlUpdateNetworkAuthId = $wpdb->prepare("UPDATE `{$wpdb->prefix}b2s_posts_network_details` SET `data` = %s WHERE `network_auth_id` = %d;", serialize(array('url_parameter' => $originalData['url_parameter'])), (int) $assignUserAuth['assign_network_auth_id']);
1719
+ $wpdb->query($sqlUpdateNetworkAuthId);
1720
+ }
1721
+ }
1722
+
1723
  $optionUserTimeZone = $options->_getOption('user_time_zone');
1724
  $userTimeZone = ($optionUserTimeZone !== false) ? $optionUserTimeZone : get_option('timezone_string');
1725
  $userTimeZoneOffset = (empty($userTimeZone)) ? get_option('gmt_offset') : B2S_Util::getOffsetToUtcByTimeZone($userTimeZone);
1748
  }
1749
 
1750
  public function savePostTemplate() {
1751
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1752
  if (isset($_POST['template_data']) && isset($_POST['networkId']) && (int) $_POST['networkId'] > 0) {
1753
  require_once(B2S_PLUGIN_DIR . 'includes/Options.php');
1754
  $options = new B2S_Options(get_current_user_id());
1785
  $post_template[$_POST['networkId']] = $new_template;
1786
  $post_template_result = $options->_setOption("post_template", $post_template);
1787
  }
1788
+
1789
+ if (((int) $_POST['networkId'] == 1 || (int) $_POST['networkId'] == 3) && isset($_POST['link_no_cache'])) {
1790
+ $linkNoCache = $options->_getOption("link_no_cache");
1791
+ if($linkNoCache == false || !is_array($linkNoCache)) {
1792
+ $fb_linkNoCache = (((int) $linkNoCache > 0) ? 1 : 0);
1793
+ $linkNoCache = array(1 => $fb_linkNoCache, 3 => 1);
1794
+ }
1795
+ $linkNoCache[$_POST['networkId']] = (int) $_POST['link_no_cache'];
1796
+ $link_no_cache_option = $options->_setOption('link_no_cache', $linkNoCache);
1797
  }
1798
 
1799
  if ($post_template_result == true || $link_no_cache_option == true) {
1814
  }
1815
 
1816
  public function loadDefaultPostTemplate() {
1817
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1818
  if (isset($_POST['networkId']) && (int) $_POST['networkId'] > 0 && isset($_POST['networkType']) && isset(unserialize(B2S_PLUGIN_NETWORK_SETTINGS_TEMPLATE_DEFAULT)[$_POST['networkId']])) {
1819
  $default = unserialize(B2S_PLUGIN_NETWORK_SETTINGS_TEMPLATE_DEFAULT)[$_POST['networkId']];
1820
  require_once B2S_PLUGIN_DIR . 'includes/B2S/Network/Item.php';
1832
  }
1833
 
1834
  public function saveDraftData() {
1835
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1836
  if (isset($_POST['post_id']) && (int) $_POST['post_id'] > 0) {
1837
  global $wpdb;
1838
  if ($wpdb->get_var("SHOW TABLES LIKE '{$wpdb->prefix}b2s_posts_drafts'") == $wpdb->prefix . 'b2s_posts_drafts') {
1842
  $userTimeZoneOffset = (empty($userTimeZone)) ? get_option('gmt_offset') : B2S_Util::getOffsetToUtcByTimeZone($userTimeZone);
1843
  $date = B2S_Util::getCustomLocaleDateTime($userTimeZoneOffset);
1844
 
1845
+ $sqlCheckDraft = $wpdb->prepare("SELECT `id` FROM `{$wpdb->prefix}b2s_posts_drafts` WHERE `blog_user_id` = %d AND `post_id` = %d AND `save_origin` = 0", B2S_PLUGIN_BLOG_USER_ID, (int) $_POST['post_id']);
1846
  $draftEntry = $wpdb->get_var($sqlCheckDraft);
1847
  if ($draftEntry !== NULL && (int) $draftEntry > 0) {
1848
  $wpdb->update($wpdb->prefix . 'b2s_posts_drafts', array('data' => serialize($_POST), 'last_save_date' => $date), array('id' => (int) $draftEntry));
1863
  }
1864
 
1865
  public function deleteDraft() {
1866
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1867
  if (isset($_POST['draftId']) && (int) $_POST['draftId'] > 0) {
1868
  global $wpdb;
1869
  $wpdb->delete($wpdb->prefix . 'b2s_posts_drafts', array('id' => (int) $_POST['draftId'], 'blog_user_id' => B2S_PLUGIN_BLOG_USER_ID), array('%d', '%d'));
1879
  }
1880
 
1881
  public function authNetworkLogin() {
1882
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1883
  if (isset($_POST['username']) && !empty($_POST['username']) && isset($_POST['password']) && !empty($_POST['password'])) {
1884
  require_once(B2S_PLUGIN_DIR . 'includes/B2S/Api/Network/Pinterest.php');
1885
  $location = 'en';
1886
+ if (isset($_POST['location']) && !empty($_POST['location'])) {
1887
  $location = $_POST['location'];
1888
  }
1889
  $pt = new B2S_Api_Network_Pinterest($location);
1922
  }
1923
 
1924
  public function authNetworkConfirm() {
1925
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1926
  if (isset($_POST['username']) && !empty($_POST['username']) && isset($_POST['password']) && !empty($_POST['password']) && isset($_POST['boardId']) && !empty($_POST['boardId']) && isset($_POST['identData']) && !empty($_POST['identData'])) {
1927
  $mandantId = ((isset($_POST['mandantId']) && (int) $_POST['mandantId'] >= 0) ? $_POST['mandantId'] : 0);
1928
  $publicKey = B2S_PLUGIN_DIR . '/includes/B2S/Api/Network/public_key.pem';
1957
  wp_die();
1958
  }
1959
  }
1960
+
1961
  public function changeFavoriteStatus() {
1962
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1963
+ if (isset($_POST['postId']) && (int) $_POST['postId'] > 0 && isset($_POST['setStatus']) && (int) $_POST['setStatus'] >= 0) {
1964
  global $wpdb;
1965
+ if ((int) $_POST['setStatus'] == 1) {
1966
  $sqlCheckFavorite = $wpdb->prepare("SELECT `id` FROM `{$wpdb->prefix}b2s_posts_favorites` WHERE `blog_user_id` = %d AND `post_id` = %d", B2S_PLUGIN_BLOG_USER_ID, (int) $_POST['postId']);
1967
  $favoriteEntry = $wpdb->get_var($sqlCheckFavorite);
1968
  if ($favoriteEntry == NULL) {
1969
  $wpdb->insert($wpdb->prefix . 'b2s_posts_favorites', array('blog_user_id' => B2S_PLUGIN_BLOG_USER_ID, 'post_id' => (int) $_POST['postId'], 'save_date' => gmdate('Y-m-d H:i:s')));
1970
  }
1971
+ } else {
1972
  $wpdb->delete($wpdb->prefix . 'b2s_posts_favorites', array('blog_user_id' => B2S_PLUGIN_BLOG_USER_ID, 'post_id' => (int) $_POST['postId']), array('%d', '%d'));
1973
  }
1974
  echo json_encode(array('result' => true));
1982
  }
1983
  }
1984
 
1985
+ public function saveUrlParameter() {
1986
+ if (isset($_POST['b2s_security_nonce']) && (int) wp_verify_nonce($_POST['b2s_security_nonce'], 'b2s_security_nonce') > 0) {
1987
+ if (isset($_POST['originNetworkAuthId']) && (int) $_POST['originNetworkAuthId'] > 0 && isset($_POST['networkId']) && (int) $_POST['networkId'] > 0 && isset($_POST['networks']) && !empty($_POST['networks']) && isset($_POST['urlParameter'])) {
1988
+ $inputParams = json_decode(stripslashes_deep($_POST['urlParameter']), true);
1989
+ if ($inputParams === false) {
1990
+ echo json_encode(array('result' => false));
1991
+ wp_die();
1992
+ }
1993
+ $newParams = array();
1994
+ foreach ($inputParams as $key => $value) {
1995
+ $key = urlencode(str_replace(" ", "", $key));
1996
+ $value = urlencode($value);
1997
+ $newParams[$key] = $value;
1998
+ }
1999
+ global $wpdb;
2000
+ if (is_array($_POST['networks'])) {
2001
+ foreach ($_POST['networks'] as $network) {
2002
+ if (isset($network['networkAuthId']) && (int) $network['networkAuthId'] > 0) {
2003
+ $sqlGetData = $wpdb->prepare("SELECT `id`, `data` FROM `{$wpdb->prefix}b2s_posts_network_details` WHERE `network_auth_id` = %d", (int) $network['networkAuthId']);
2004
+ $result = $wpdb->get_results($sqlGetData);
2005
+ if (!empty($result) && isset($result[0])) {
2006
+ if ($result[0]->data !== NULL && !empty($result[0]->data)) {
2007
+ $data = unserialize($result[0]->data);
2008
+ if ($data != false && is_array($data)) {
2009
+ $data['url_parameter'][0]['name'] = 'default';
2010
+ $data['url_parameter'][0]['querys'] = $newParams;
2011
+ } else {
2012
+ $data = array('url_parameter' => array(0 => array('name' => 'default', 'querys' => $newParams)));
2013
+ }
2014
+ } else {
2015
+ $data = array('url_parameter' => array(0 => array('name' => 'default', 'querys' => $newParams)));
2016
+ }
2017
+ $wpdb->update($wpdb->prefix . 'b2s_posts_network_details', array('data' => serialize($data)), array('network_auth_id' => (int) $network['networkAuthId']));
2018
+ } else {
2019
+ if (isset($network['networkId']) && isset($network['networkType']) && isset($network['networkAuthId']) && isset($network['displayName'])) {
2020
+ $data = array('url_parameter' => array(0 => array('name' => 'default', 'querys' => $newParams)));
2021
+ $wpdb->insert($wpdb->prefix . 'b2s_posts_network_details', array(
2022
+ 'network_id' => (int) $network['networkId'],
2023
+ 'network_type' => (int) $network['networkType'],
2024
+ 'network_auth_id' => (int) $network['networkAuthId'],
2025
+ 'network_display_name' => $network['displayName'],
2026
+ 'data' => serialize($data)), array('%d', '%d', '%d', '%s', '%s')
2027
+ );
2028
+ }
2029
+ }
2030
+ }
2031
+ }
2032
+ }
2033
+
2034
+ require_once (B2S_PLUGIN_DIR . 'includes/B2S/Network/Item.php');
2035
+ $networkItem = new B2S_Network_Item();
2036
+ $newHtml = $networkItem->getUrlParameterSettings((int) $_POST['originNetworkAuthId'], (int) $_POST['networkId']);
2037
+ echo json_encode(array('result' => true, 'html' => $newHtml));
2038
+ wp_die();
2039
+ }
2040
+ echo json_encode(array('result' => false));
2041
+ wp_die();
2042
+ } else {
2043
+ echo json_encode(array('result' => false, 'error' => 'nonce'));
2044
+ wp_die();
2045
+ }
2046
+ }
2047
+
2048
  }
includes/B2S/AutoPost.php CHANGED
@@ -39,6 +39,18 @@ class B2S_AutoPost {
39
 
40
  public function prepareShareData($networkAuthId = 0, $networkId = 0, $networkType = 0) {
41
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  if ((int) $networkId > 0 && (int) $networkAuthId > 0) {
43
  $postData = array('content' => '', 'custom_title' => '', 'tags' => array(), 'network_auth_id' => (int) $networkAuthId);
44
 
@@ -312,9 +324,9 @@ class B2S_AutoPost {
312
  'post_id' => $this->postId,
313
  'blog_user_id' => $this->blogPostData['blog_user_id'],
314
  'user_timezone' => $this->blogPostData['user_timezone'],
315
- 'publish_date' => (($sched_type == 3) ? $sched_date : "0000-00-00 00:00:00"),
316
  'sched_details_id' => $schedDetailsId,
317
- 'sched_type' => $sched_type,
318
  'sched_date' => $sched_date,
319
  'sched_date_utc' => $sched_date_utc,
320
  'network_details_id' => $networkDetailsId,
39
 
40
  public function prepareShareData($networkAuthId = 0, $networkId = 0, $networkType = 0) {
41
 
42
+ if(B2S_PLUGIN_USER_VERSION >= 3) {
43
+ global $wpdb;
44
+ $sqlGetData = $wpdb->prepare("SELECT `data` FROM `{$wpdb->prefix}b2s_posts_network_details` WHERE `network_auth_id` = %d", (int) $networkAuthId);
45
+ $dataString = $wpdb->get_var($sqlGetData);
46
+ if ($dataString !== NULL && !empty($dataString)) {
47
+ $networkAuthData = unserialize($dataString);
48
+ if($networkAuthData != false && is_array($networkAuthData) && isset($networkAuthData['url_parameter'][0]['querys']) && !empty($networkAuthData['url_parameter'][0]['querys'])) {
49
+ $this->url = B2S_Util::addUrlParameter($this->url, $networkAuthData['url_parameter'][0]['querys']);
50
+ }
51
+ }
52
+ }
53
+
54
  if ((int) $networkId > 0 && (int) $networkAuthId > 0) {
55
  $postData = array('content' => '', 'custom_title' => '', 'tags' => array(), 'network_auth_id' => (int) $networkAuthId);
56
 
324
  'post_id' => $this->postId,
325
  'blog_user_id' => $this->blogPostData['blog_user_id'],
326
  'user_timezone' => $this->blogPostData['user_timezone'],
327
+ 'publish_date' => (($sched_type == 3) ? $sched_date : "0000-00-00 00:00:00"), // selection for view publish / scheduled posts
328
  'sched_details_id' => $schedDetailsId,
329
+ 'sched_type' => 3, // Auto-Posting direkt or scheduled by wp post
330
  'sched_date' => $sched_date,
331
  'sched_date_utc' => $sched_date_utc,
332
  'network_details_id' => $networkDetailsId,
includes/B2S/Curation/Save.php CHANGED
@@ -41,10 +41,12 @@ class B2S_Curation_Save {
41
  $post = array(
42
  'ID' => $this->data['ID'],
43
  'post_title' => sanitize_text_field($this->data['title']),
44
- 'post_content' => $this->data['content'],
45
- 'guid' => ((isset($this->data['url']) && !empty($this->data['url'])) ? esc_url($this->data['url']) : '')
46
  );
47
  $res = wp_update_post($post, true);
 
 
 
48
  if((int) $res > 0 && isset($this->data['image_id']) && (int) $this->data['image_id'] > 0) {
49
  set_post_thumbnail($res, $this->data['image_id']);
50
  }
41
  $post = array(
42
  'ID' => $this->data['ID'],
43
  'post_title' => sanitize_text_field($this->data['title']),
44
+ 'post_content' => $this->data['content']
 
45
  );
46
  $res = wp_update_post($post, true);
47
+ //wp_update_post don't update guid
48
+ global $wpdb;
49
+ $wpdb->update($wpdb->posts, array('guid' => ((isset($this->data['url']) && !empty($this->data['url'])) ? esc_url($this->data['url']) : '')), array('ID' => $this->data['ID']));
50
  if((int) $res > 0 && isset($this->data['image_id']) && (int) $this->data['image_id'] > 0) {
51
  set_post_thumbnail($res, $this->data['image_id']);
52
  }
includes/B2S/Curation/View.php CHANGED
@@ -38,7 +38,7 @@ class B2S_Curation_View {
38
  $html .='<input type="hidden" id="b2s-post-curation-preview-title" class="form-control" name="title" value="' . esc_attr(addslashes($title)) . '" placeholder="'.esc_attr__('Title', 'blog2social').'">';
39
  $html .='<span class="b2s-post-item-details-preview-desc">' . esc_html($desc) . '</span>';
40
  $html .='<br>';
41
- $html .='<span class="b2s-post-item-details-preview-url"><a href="' . esc_url($url) . '" target="_blank" class="btn btn-link del-padding-left">' . esc_url($url) . '</a></span>';
42
  $html .='<input type="hidden" id="b2s-post-curation-url" name="url" value="' . esc_url($url) . '">';
43
  $html .='<span class="glyphicon glyphicon-pencil b2s-btn-change-url-preview"></span>';
44
  $html .='</div>';
38
  $html .='<input type="hidden" id="b2s-post-curation-preview-title" class="form-control" name="title" value="' . esc_attr(addslashes($title)) . '" placeholder="'.esc_attr__('Title', 'blog2social').'">';
39
  $html .='<span class="b2s-post-item-details-preview-desc">' . esc_html($desc) . '</span>';
40
  $html .='<br>';
41
+ $html .='<span class="b2s-post-item-details-preview-url"><a href="' . esc_url($url) . '" target="_blank" class="btn btn-link del-padding-left b2s-break-word">' . esc_url($url) . '</a></span>';
42
  $html .='<input type="hidden" id="b2s-post-curation-url" name="url" value="' . esc_url($url) . '">';
43
  $html .='<span class="glyphicon glyphicon-pencil b2s-btn-change-url-preview"></span>';
44
  $html .='</div>';
includes/B2S/Network/Item.php CHANGED
@@ -144,10 +144,11 @@ class B2S_Network_Item {
144
  $b2sAuthUrl = $this->authurl . '&portal_id=' . $networkId . '&transfer=' . (in_array($networkId, $this->oAuthPortal) ? 'oauth' : 'form' ) . '&mandant_id=' . $mandantId . '&version=3&affiliate_id=' . B2S_Tools::getAffiliateId();
145
 
146
  if (in_array($networkId, $this->allowProfil)) {
 
147
  if($networkId == 6){
148
  $html .= '<a href="#" class="btn btn-primary btn-sm b2s-network-auth-btn" data-auth-method="client" data-network-mandant-id="' . esc_attr($mandantId) . '">+ ' . esc_html__('Profile', 'blog2social') . '</a>';
149
  } else {
150
- $html .= ($networkId != 18 || (B2S_PLUGIN_USER_VERSION >= 2 && $networkId == 18)) ? '<a href="#" onclick="wop(\'' . $b2sAuthUrl . '&choose=profile\', \'Blog2Social Network\'); return false;" class="btn btn-primary btn-sm b2s-network-auth-btn">+ ' . esc_html__('Profile', 'blog2social') . '</a>' : '<a href="#" class="btn btn-primary btn-sm b2s-network-auth-btn b2s-btn-disabled b2sProFeatureModalBtn" data-title="' . esc_attr__('You want to connect a network profile?', 'blog2social') . '" data-type="auth-network">+ ' . esc_html__('Profile', 'blog2social') . ' <span class="label label-success">' . esc_html__("PRO", "blog2social") . '</a>';
151
  }
152
  }
153
  if (in_array($networkId, $this->allowPage)) {
@@ -162,12 +163,6 @@ class B2S_Network_Item {
162
  }
163
 
164
  $html .= '</span></h4>';
165
-
166
-
167
- if($networkId == 19) {
168
- $html .= '<div class="clearfix"></div>';
169
- $html .= '<div id="b2sXingBusinessPageInfo" class="alert alert-warning">'. sprintf(__('Business Pages will be closed by XING on december 31, 2019. Please use XING Employer Branding Pages instead. <a target="_blank" href="%s">More information.</a>', 'blog2social'), esc_url(B2S_Tools::getSupportLink('xing_business'))).'</div>';
170
- }
171
  $html .= '<div class="clearfix"></div>';
172
  $html .= '<ul class="b2s-network-item-auth-list" data-network-mandant-id="' . esc_attr($mandantId) . '" data-network-id="' . esc_attr($networkId) . '" ' . (($showAllAuths) ? 'data-network-count="true"' : '') . '>';
173
 
@@ -220,7 +215,8 @@ class B2S_Network_Item {
220
  $displayName = stripslashes(get_user_by('id', $v['owner_blog_user_id'])->display_name);
221
  $html .='<div class="b2s-network-approved-from">' . esc_html__("Assigned by", "blog2social") . ' ' . esc_html(((empty($displayName) || $displayName == false) ? __("Unknown username", "blog2social") : $displayName)) . '</div> ';
222
  }
223
- $html .= '<span class="b2s-network-item-auth-type">' . (($isDeprecated) ? '<span class="glyphicon glyphicon-exclamation-sign glyphicon-info"></span> ' : '') . esc_html__('Profile', 'blog2social') . '</span>: <span class="b2s-network-item-auth-user-name">' . esc_html(stripslashes($v['networkUserName'])) . '</span> ';
 
224
 
225
  if (!empty($mandantName)) {
226
  $html .='<span class="b2s-network-mandant-name">(' . esc_html($mandantName) . ')</span> ';
@@ -240,7 +236,7 @@ class B2S_Network_Item {
240
  } else {
241
  $html .= '<span class="b2s-add-padding-network-placeholder-btn pull-right"></span>';
242
  }
243
- $html .='<a href="#" class="pull-right b2s-network-item-team-btn-manage b2s-add-padding-network-team pull-right" data-network-auth-id="' . esc_attr($v['networkAuthId']) . '" data-network-id="' . esc_attr($networkId) . '" data-network-type="0" data-network-mandant-id="' . esc_attr($mandantId) . '" data-connection-owner="' . esc_attr((($v['owner_blog_user_id'] !== false) ? $v['owner_blog_user_id'] : '0')) . '"><span class="glyphicon glyphicon-user glyphicon-grey"></span></a>';
244
  if ($v['expiredDate'] == '0000-00-00' || $v['expiredDate'] > date('Y-m-d')) {
245
  if (isset($this->modifyBoardAndGroup[$networkId])) {
246
  if (in_array(0, $this->modifyBoardAndGroup[$networkId]['TYPE'])) {
@@ -305,7 +301,7 @@ class B2S_Network_Item {
305
  $html .= '<span class="b2s-add-padding-network-placeholder-btn pull-right"></span>';
306
  }
307
 
308
- $html .='<a href="#" class="pull-right b2s-network-item-team-btn-manage b2s-add-padding-network-team pull-right" data-network-auth-id="' . esc_attr($v['networkAuthId']) . '" data-network-id="' . esc_attr($networkId) . '" data-network-type="1" data-network-mandant-id="' . esc_attr($mandantId) . '" data-connection-owner="' . esc_attr((($v['owner_blog_user_id'] !== false) ? $v['owner_blog_user_id'] : '0')) . '"><span class="glyphicon glyphicon-user glyphicon-grey"></span></a>';
309
  if ($v['expiredDate'] == '0000-00-00' || $v['expiredDate'] > date('Y-m-d')) {
310
  if (isset($this->modifyBoardAndGroup[$networkId])) {
311
  if (in_array(1, $this->modifyBoardAndGroup[$networkId]['TYPE'])) {
@@ -367,7 +363,7 @@ class B2S_Network_Item {
367
  } else {
368
  $html .= '<span class="b2s-add-padding-network-placeholder-btn pull-right"></span>';
369
  }
370
- $html .='<a href="#" class="pull-right b2s-network-item-team-btn-manage b2s-add-padding-network-team pull-right" data-network-auth-id="' . esc_attr($v['networkAuthId']) . '" data-network-id="' . esc_attr($networkId) . '" data-network-type="2" data-network-mandant-id="' . esc_attr($mandantId) . '" data-connection-owner="' . esc_attr((($v['owner_blog_user_id'] !== false) ? $v['owner_blog_user_id'] : '0')) . '"><span class="glyphicon glyphicon-user glyphicon-grey"></span></a>';
371
  if ($v['expiredDate'] == '0000-00-00' || $v['expiredDate'] > date('Y-m-d')) {
372
  if (isset($this->modifyBoardAndGroup[$networkId])) {
373
  if (in_array(2, $this->modifyBoardAndGroup[$networkId]['TYPE'])) {
@@ -492,7 +488,9 @@ class B2S_Network_Item {
492
  $userDetails = get_option('B2S_PLUGIN_USER_VERSION_' . $listUser);
493
  if (isset($userDetails['B2S_PLUGIN_USER_VERSION']) && (int) $userDetails['B2S_PLUGIN_USER_VERSION'] == 3) {
494
  $displayName = stripslashes(get_user_by('id', $listUser)->display_name);
495
- $select .= '<option value="' . esc_attr($listUser) . '">' . esc_html(((empty($displayName) || $displayName == false) ? __("Unknown username", "blog2social") : $displayName)) . '</option>';
 
 
496
  }
497
  }
498
  }
@@ -503,12 +501,52 @@ class B2S_Network_Item {
503
  }
504
  return array('result' => false);
505
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
506
 
507
  public function getEditTemplateForm($networkId) {
508
  require_once(B2S_PLUGIN_DIR . 'includes/Options.php');
509
  $options = new B2S_Options(get_current_user_id());
510
  $post_template = $options->_getOption("post_template");
511
  $linkNoCache = $options->_getOption("link_no_cache");
 
 
 
 
 
512
  $defaultSchema = unserialize(B2S_PLUGIN_NETWORK_SETTINGS_TEMPLATE_DEFAULT)[$networkId];
513
  if (B2S_PLUGIN_USER_VERSION >= 1 && $post_template != false && isset($post_template[$networkId]) && !empty($post_template[$networkId])) {
514
  $schema = $post_template[$networkId];
@@ -550,8 +588,8 @@ class B2S_Network_Item {
550
  }
551
  $html .= '</ul>';
552
  $html .= '</div>';
553
- if ($networkId == 1) {
554
- $html .= '<div class="pull-right"><input id="link-no-cache" type="checkbox" ' . (($linkNoCache == 1) ? 'checked' : '') . ' name="no_cache"> <label for="link-no-cache">' . esc_html__('Activate Instant Caching', 'blog2social') . '</label> <a href="#" class="b2s-info-btn vertical-middle del-padding-left b2sInfoNoCacheBtn">' . esc_html__('Info', 'Blog2Social') . '</a></div>';
555
  }
556
  $html .= '<br>';
557
  $html .= '<hr>';
144
  $b2sAuthUrl = $this->authurl . '&portal_id=' . $networkId . '&transfer=' . (in_array($networkId, $this->oAuthPortal) ? 'oauth' : 'form' ) . '&mandant_id=' . $mandantId . '&version=3&affiliate_id=' . B2S_Tools::getAffiliateId();
145
 
146
  if (in_array($networkId, $this->allowProfil)) {
147
+ $name = ($networkId == 4) ? __('Blog', 'blog2social') : __('Profile', 'blog2social');
148
  if($networkId == 6){
149
  $html .= '<a href="#" class="btn btn-primary btn-sm b2s-network-auth-btn" data-auth-method="client" data-network-mandant-id="' . esc_attr($mandantId) . '">+ ' . esc_html__('Profile', 'blog2social') . '</a>';
150
  } else {
151
+ $html .= ($networkId != 18 || (B2S_PLUGIN_USER_VERSION >= 2 && $networkId == 18)) ? '<a href="#" onclick="wop(\'' . $b2sAuthUrl . '&choose=profile\', \'Blog2Social Network\'); return false;" class="btn btn-primary btn-sm b2s-network-auth-btn">+ ' . esc_html($name) . '</a>' : '<a href="#" class="btn btn-primary btn-sm b2s-network-auth-btn b2s-btn-disabled b2sProFeatureModalBtn" data-title="' . esc_attr__('You want to connect a network profile?', 'blog2social') . '" data-type="auth-network">+ ' . esc_html__('Profile', 'blog2social') . ' <span class="label label-success">' . esc_html__("PRO", "blog2social") . '</a>';
152
  }
153
  }
154
  if (in_array($networkId, $this->allowPage)) {
163
  }
164
 
165
  $html .= '</span></h4>';
 
 
 
 
 
 
166
  $html .= '<div class="clearfix"></div>';
167
  $html .= '<ul class="b2s-network-item-auth-list" data-network-mandant-id="' . esc_attr($mandantId) . '" data-network-id="' . esc_attr($networkId) . '" ' . (($showAllAuths) ? 'data-network-count="true"' : '') . '>';
168
 
215
  $displayName = stripslashes(get_user_by('id', $v['owner_blog_user_id'])->display_name);
216
  $html .='<div class="b2s-network-approved-from">' . esc_html__("Assigned by", "blog2social") . ' ' . esc_html(((empty($displayName) || $displayName == false) ? __("Unknown username", "blog2social") : $displayName)) . '</div> ';
217
  }
218
+ $name = ($networkId == 4) ? __('Blog', 'blog2social') : __('Profile', 'blog2social');
219
+ $html .= '<span class="b2s-network-item-auth-type">' . (($isDeprecated) ? '<span class="glyphicon glyphicon-exclamation-sign glyphicon-info"></span> ' : '') . esc_html($name) . '</span>: <span class="b2s-network-item-auth-user-name">' . esc_html(stripslashes($v['networkUserName'])) . '</span> ';
220
 
221
  if (!empty($mandantName)) {
222
  $html .='<span class="b2s-network-mandant-name">(' . esc_html($mandantName) . ')</span> ';
236
  } else {
237
  $html .= '<span class="b2s-add-padding-network-placeholder-btn pull-right"></span>';
238
  }
239
+ $html .='<a href="#" class="pull-right b2s-network-auth-settings-btn b2s-add-padding-network-team pull-right" data-network-auth-id="' . esc_attr($v['networkAuthId']) . '" data-network-id="' . esc_attr($networkId) . '" data-network-type="0" data-network-mandant-id="' . esc_attr($mandantId) . '" data-connection-owner="' . esc_attr((($v['owner_blog_user_id'] !== false) ? $v['owner_blog_user_id'] : '0')) . '"><span class="glyphicon glyphicon-cog glyphicon-grey"></span></a>';
240
  if ($v['expiredDate'] == '0000-00-00' || $v['expiredDate'] > date('Y-m-d')) {
241
  if (isset($this->modifyBoardAndGroup[$networkId])) {
242
  if (in_array(0, $this->modifyBoardAndGroup[$networkId]['TYPE'])) {
301
  $html .= '<span class="b2s-add-padding-network-placeholder-btn pull-right"></span>';
302
  }
303
 
304
+ $html .='<a href="#" class="pull-right b2s-network-auth-settings-btn b2s-add-padding-network-team pull-right" data-network-auth-id="' . esc_attr($v['networkAuthId']) . '" data-network-id="' . esc_attr($networkId) . '" data-network-type="1" data-network-mandant-id="' . esc_attr($mandantId) . '" data-connection-owner="' . esc_attr((($v['owner_blog_user_id'] !== false) ? $v['owner_blog_user_id'] : '0')) . '"><span class="glyphicon glyphicon-cog glyphicon-grey"></span></a>';
305
  if ($v['expiredDate'] == '0000-00-00' || $v['expiredDate'] > date('Y-m-d')) {
306
  if (isset($this->modifyBoardAndGroup[$networkId])) {
307
  if (in_array(1, $this->modifyBoardAndGroup[$networkId]['TYPE'])) {
363
  } else {
364
  $html .= '<span class="b2s-add-padding-network-placeholder-btn pull-right"></span>';
365
  }
366
+ $html .='<a href="#" class="pull-right b2s-network-auth-settings-btn b2s-add-padding-network-team pull-right" data-network-auth-id="' . esc_attr($v['networkAuthId']) . '" data-network-id="' . esc_attr($networkId) . '" data-network-type="2" data-network-mandant-id="' . esc_attr($mandantId) . '" data-connection-owner="' . esc_attr((($v['owner_blog_user_id'] !== false) ? $v['owner_blog_user_id'] : '0')) . '"><span class="glyphicon glyphicon-cog glyphicon-grey"></span></a>';
367
  if ($v['expiredDate'] == '0000-00-00' || $v['expiredDate'] > date('Y-m-d')) {
368
  if (isset($this->modifyBoardAndGroup[$networkId])) {
369
  if (in_array(2, $this->modifyBoardAndGroup[$networkId]['TYPE'])) {
488
  $userDetails = get_option('B2S_PLUGIN_USER_VERSION_' . $listUser);
489
  if (isset($userDetails['B2S_PLUGIN_USER_VERSION']) && (int) $userDetails['B2S_PLUGIN_USER_VERSION'] == 3) {
490
  $displayName = stripslashes(get_user_by('id', $listUser)->display_name);
491
+ if(!empty($displayName) && $displayName != false) {
492
+ $select .= '<option value="' . esc_attr($listUser) . '">' . esc_html($displayName) . '</option>';
493
+ }
494
  }
495
  }
496
  }
501
  }
502
  return array('result' => false);
503
  }
504
+
505
+ public function getUrlParameterSettings($networkAuthId, $networkId) {
506
+ $html = '<div class="col-md-12 b2s-text-bold"><span>' . sprintf(__('Define parameters that will be added to link posts on this network e.g. to create tracking links with UTM paramters. <a target="_blank" href="%s">More information</a>', 'blog2social'), esc_url(B2S_Tools::getSupportLink('url_parameter'))) . '</span></div>';
507
+ $html .= '<div class="b2s-col-name">';
508
+ $html .= '<div class="col-md-5 b2s-url-parameter-legend-text">' . esc_html__('Name', 'blog2social') . '</div>';
509
+ $html .= '<div class="col-md-5 b2s-url-parameter-legend-text">' . esc_html__('Value', 'blog2social') . '</div>';
510
+ $html .= '</div>';
511
+
512
+ $html .= '<ul class="b2s-url-parameter-list col-md-12">';
513
+
514
+ global $wpdb;
515
+ $sqlGetData = $wpdb->prepare("SELECT `data` FROM `{$wpdb->prefix}b2s_posts_network_details` WHERE `network_auth_id` = %d", (int) $networkAuthId);
516
+ $dataString = $wpdb->get_var($sqlGetData);
517
+ $counter = 0;
518
+ if ($dataString !== NULL && !empty($dataString)) {
519
+ $data = unserialize($dataString);
520
+ if($data != false && isset($data['url_parameter'][0]['querys']) && !empty($data['url_parameter'][0]['querys']) && is_array($data['url_parameter'][0]['querys'])) {
521
+ foreach ($data['url_parameter'][0]['querys'] as $param => $value) {
522
+ $html .= '<li class="b2s-url-parameter-entry row">';
523
+ $html .= '<div class="col-md-5"><input class="form-control b2s-link-parameter-name" value="'.urldecode($param).'"></div>';
524
+ $html .= '<div class="col-md-5"><input class="form-control b2s-link-parameter-value" value="'.urldecode($value).'"></div>';
525
+ $html .= '<div class="col-md-1"><span aria-hidden="true" class="b2s-url-parameter-remove-btn text-danger">&times;</span></div>';
526
+ $html .= '</li>';
527
+ $counter++;
528
+ }
529
+ }
530
+ }
531
+
532
+ $html .= '</ul>';
533
+ $html .= '<div class="col-md-12 padding-bottom-10"><button class="btn btn-sm btn-default b2s-url-parameter-add-btn" '.(($counter >= 10) ? 'style="display:none;"' : '').'>' . esc_html__('+ add Parameter', 'blog2social') . '</button></div>';
534
+ $html .= '<div class="col-md-12"><input type="checkbox" class="b2s-url-parameter-for-all-network" id="b2s-url-parameter-for-all-network"><label for="b2s-url-parameter-for-all-network"> '.sprintf(esc_html__('Apply for all %s connections', 'blog2social'), unserialize(B2S_PLUGIN_NETWORK)[$networkId]).'</label></div>';
535
+ $html .= '<div class="col-md-6"><input type="checkbox" class="b2s-url-parameter-for-all" id="b2s-url-parameter-for-all"><label for="b2s-url-parameter-for-all"> '.esc_html__('Apply for all connections','blog2social').'</label></div>';
536
+ $html .= '<div class="col-md-6"><button class="btn btn-sm btn-primary pull-right b2s-url-parameter-save-btn" data-network-auth-id="'.$networkAuthId.'" data-network-id="'.$networkId.'">' . esc_html__('save', 'blog2social') . '</button></div>';
537
+ return $html;
538
+ }
539
 
540
  public function getEditTemplateForm($networkId) {
541
  require_once(B2S_PLUGIN_DIR . 'includes/Options.php');
542
  $options = new B2S_Options(get_current_user_id());
543
  $post_template = $options->_getOption("post_template");
544
  $linkNoCache = $options->_getOption("link_no_cache");
545
+ if($linkNoCache == false || !is_array($linkNoCache)) {
546
+ $fb_linkNoCache = (((int) $linkNoCache > 0) ? 1 : 0);
547
+ $linkNoCache = array(1 => $fb_linkNoCache, 3 => 1);
548
+ $options->_setOption("link_no_cache", $linkNoCache);
549
+ }
550
  $defaultSchema = unserialize(B2S_PLUGIN_NETWORK_SETTINGS_TEMPLATE_DEFAULT)[$networkId];
551
  if (B2S_PLUGIN_USER_VERSION >= 1 && $post_template != false && isset($post_template[$networkId]) && !empty($post_template[$networkId])) {
552
  $schema = $post_template[$networkId];
588
  }
589
  $html .= '</ul>';
590
  $html .= '</div>';
591
+ if ($networkId == 1 || $networkId == 3) {
592
+ $html .= '<div class="pull-right"><input id="link-no-cache" type="checkbox" ' . ((isset($linkNoCache[$networkId]) && $linkNoCache[$networkId] == 1) ? 'checked' : '') . ' name="no_cache"> <label for="link-no-cache">' . esc_html__('Activate Instant Caching', 'blog2social') . '</label> <a href="#" class="b2s-info-btn vertical-middle del-padding-left b2sInfoNoCacheBtn">' . esc_html__('Info', 'Blog2Social') . '</a></div>';
593
  }
594
  $html .= '<br>';
595
  $html .= '<hr>';
includes/B2S/Post/Filter.php CHANGED
@@ -12,17 +12,24 @@ class B2S_Post_Filter {
12
  protected $searchPostType;
13
  protected $searchPublishDate;
14
  protected $searchSchedDate;
 
15
  protected $postAuthor;
16
 
17
- function __construct($type, $title = "", $authorId = 0, $postStatus = "", $schedDate = "", $postCat = "", $postType = "", $postShareStatus="") { //type=all,publish,sched
 
 
 
 
18
  $this->type = $type;
19
- $this->searchPostTitle = $title;
20
- $this->searchAuthorId = (int)$authorId;
21
- $this->searchPostStatus = $postStatus;
22
- $this->searchPostShareStatus = $postShareStatus;
23
- $this->searchSchedDate = $schedDate;
24
- $this->searchPostCat = $postCat;
25
- $this->searchPostType = $postType;
 
 
26
  }
27
 
28
  public function getAutorData() {
@@ -58,7 +65,7 @@ class B2S_Post_Filter {
58
  return $type;
59
  }
60
 
61
- private function getPostShareStatusHtml() {
62
  $typeData = array(array('key' => 'never', 'value' => __('not yet shared', 'blog2social')), array('key' => 'shared', 'value' => __('already shared', 'blog2social')), array('key' => 'scheduled', 'value' => __('currently scheduled', 'blog2social')));
63
  $type = '<div class="form-group"><select id="b2sSortPostShareStatus" name="b2sSortPostShareStatus" class="form-control b2s-select"><option value="">' . esc_html__('all statuses', 'blog2social') . '</option>';
64
  foreach ($typeData as $var) {
@@ -139,6 +146,25 @@ class B2S_Post_Filter {
139
  $type .= '</select></div>';
140
  return $type;
141
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
142
 
143
  public function getItemHtml() {
144
  $this->getAutorData();
@@ -147,6 +173,7 @@ class B2S_Post_Filter {
147
  </div>';
148
  if (B2S_PLUGIN_ADMIN && $this->type != 'draft-post') {
149
  $this->postFilter .= $this->getAutorHtml();
 
150
  }
151
  if($this->type != 'draft') {
152
  $this->postFilter .= $this->getPostCatHtml();
@@ -164,6 +191,8 @@ class B2S_Post_Filter {
164
  }
165
  }
166
 
 
 
167
  $this->postFilter .= '<div class="form-group">';
168
 
169
  $this->postFilter .='<a href="#" id="b2s-sort-submit-btn" class="btn btn-primary margin-top-8 btn-sm">' . esc_html__('sort', 'blog2social') . '</a>
12
  protected $searchPostType;
13
  protected $searchPublishDate;
14
  protected $searchSchedDate;
15
+ protected $postsPerPage;
16
  protected $postAuthor;
17
 
18
+ function __construct($type, $title = "", $authorId = 0, $postStatus = "", $schedDate = "", $postCat = "", $postType = "", $postShareStatus="", $postsPerPage = 15, $sharedById = 0) { //type=all,publish,sched
19
+ require_once(B2S_PLUGIN_DIR . 'includes/Options.php');
20
+ $options = new B2S_Options((int) B2S_PLUGIN_BLOG_USER_ID);
21
+ $optionPostFilters = $options->_getOption('post_filters');
22
+
23
  $this->type = $type;
24
+ $this->searchPostTitle = (empty($title) && isset($optionPostFilters['searchPostTitle'])) ? $optionPostFilters['searchPostTitle'] : $title;
25
+ $this->searchAuthorId = ((int)$authorId == 0 && isset($optionPostFilters['searchAuthorId']) && (int)$optionPostFilters['searchAuthorId'] > 0) ? (int)$optionPostFilters['searchAuthorId'] : (int)$authorId;
26
+ $this->searchPostStatus = (empty($postStatus) && isset($optionPostFilters['searchPostStatus'])) ? $optionPostFilters['searchPostStatus'] : $postStatus;
27
+ $this->searchPostShareStatus = (empty($postShareStatus) && isset($optionPostFilters['searchPostShareStatus'])) ? $optionPostFilters['searchPostShareStatus'] : $postShareStatus;
28
+ $this->searchSchedDate = (empty($schedDate) && isset($optionPostFilters['searchSchedDate'])) ? $optionPostFilters['searchSchedDate'] : $schedDate;
29
+ $this->searchPostCat = (empty($postCat) && isset($optionPostFilters['searchPostCat'])) ? $optionPostFilters['searchPostCat'] : $postCat;
30
+ $this->searchPostType = (empty($postType) && isset($optionPostFilters['searchPostType'])) ? $optionPostFilters['searchPostType'] : $postType;
31
+ $this->postsPerPage = ((int)$postsPerPage != 15 && isset($optionPostFilters['postsPerPage']) && (int)$optionPostFilters['postsPerPage'] > 0) ? (int)$optionPostFilters['searchAuthorId'] : (int)$postsPerPage;
32
+ $this->searchPostSharedById = ((int)$sharedById == 0 && isset($optionPostFilters['searchPostSharedById']) && (int)$optionPostFilters['searchPostSharedById'] > 0) ? (int)$optionPostFilters['searchPostSharedById'] : (int)$sharedById;
33
  }
34
 
35
  public function getAutorData() {
65
  return $type;
66
  }
67
 
68
+ private function getPostShareStatusHtml() {
69
  $typeData = array(array('key' => 'never', 'value' => __('not yet shared', 'blog2social')), array('key' => 'shared', 'value' => __('already shared', 'blog2social')), array('key' => 'scheduled', 'value' => __('currently scheduled', 'blog2social')));
70
  $type = '<div class="form-group"><select id="b2sSortPostShareStatus" name="b2sSortPostShareStatus" class="form-control b2s-select"><option value="">' . esc_html__('all statuses', 'blog2social') . '</option>';
71
  foreach ($typeData as $var) {
146
  $type .= '</select></div>';
147
  return $type;
148
  }
149
+
150
+ private function getPostPerPageHtml() {
151
+ return '<input type="hidden" id="b2sPostsPerPage" name="b2sPostsPerPage" value="25">';
152
+ }
153
+
154
+ private function getPostSharedByHtml() {
155
+ $autor = '<div class="form-group"><select id="b2sSortPostSharedBy" name="b2sSortPostSharedBy" class="form-control b2s-select"><option value="0">' . esc_html__('shared by user', 'blog2social') . '</option>';
156
+ foreach ($this->postAuthor as $var) {
157
+ $selected = ($var->ID == (int) $this->searchAuthorId) ? 'selected' : '';
158
+ $autorName = $var->display_name;
159
+ //Bug: Converting json + PHP Extension
160
+ if (function_exists('mb_strlen') && function_exists('mb_substr')) {
161
+ $autorName = mb_strlen($var->display_name, 'UTF-8') > 27 ? mb_substr($var->display_name, 0, 27, 'UTF-8') . '...' : $autorName;
162
+ }
163
+ $autor .= '<option ' . $selected . ' value="' . esc_attr($var->ID) . '">' . esc_html($autorName) . '</option>';
164
+ }
165
+ $autor .= '</select></div>';
166
+ return $autor;
167
+ }
168
 
169
  public function getItemHtml() {
170
  $this->getAutorData();
173
  </div>';
174
  if (B2S_PLUGIN_ADMIN && $this->type != 'draft-post') {
175
  $this->postFilter .= $this->getAutorHtml();
176
+ $this->postFilter .= $this->getPostSharedByHtml();
177
  }
178
  if($this->type != 'draft') {
179
  $this->postFilter .= $this->getPostCatHtml();
191
  }
192
  }
193
 
194
+ $this->postFilter .= $this->getPostPerPageHtml();
195
+
196
  $this->postFilter .= '<div class="form-group">';
197
 
198
  $this->postFilter .='<a href="#" id="b2s-sort-submit-btn" class="btn btn-primary margin-top-8 btn-sm">' . esc_html__('sort', 'blog2social') . '</a>
includes/B2S/Post/Item.php CHANGED
@@ -20,12 +20,13 @@ class B2S_Post_Item {
20
  protected $postCalendarSchedDates;
21
  protected $searchUserAuthId;
22
  protected $searchBlogPostId;
 
23
  protected $userLang;
24
  protected $results_per_page = null;
25
  public $currentPage = 0;
26
  public $type;
27
 
28
- function __construct($type = 'all', $title = "", $authorId = 0, $postStatus = "", $shareStatus = "", $publishDate = '', $schedDate = '', $showByDate = '', $showByNetwork = 0, $userAuthId = 0, $blogPostId = 0, $currentPage = 0, $postCat = 0, $postType = "", $userLang = "en", $results_per_page = B2S_PLUGIN_POSTPERPAGE) {
29
  $this->type = $type;
30
  $this->searchPostTitle = $title;
31
  $this->searchAuthorId = (int) $authorId;
@@ -42,6 +43,7 @@ class B2S_Post_Item {
42
  $this->searchPostType = $postType;
43
  $this->userLang = $userLang; //Plugin: qTranslate
44
  $this->results_per_page = (int) $results_per_page;
 
45
  }
46
 
47
  protected function getData() {
@@ -97,6 +99,11 @@ class B2S_Post_Item {
97
  $leftJoinWhere .= " AND b2s.post_id IS NULL";
98
  }
99
  }
 
 
 
 
 
100
 
101
  $postTypes = " ";
102
  if (!empty($this->searchPostType)) {
@@ -123,11 +130,12 @@ class B2S_Post_Item {
123
 
124
  $addNotAdmin = (B2S_PLUGIN_ADMIN == false) ? $wpdb->prepare(' AND posts.`post_author` = %d', B2S_PLUGIN_BLOG_USER_ID) : '';
125
  $addNotAdminPosts = (B2S_PLUGIN_ADMIN == false) ? $wpdb->prepare(' AND a.`blog_user_id` = %d', B2S_PLUGIN_BLOG_USER_ID) : '';
126
-
 
127
  if ($this->type == 'all') {
128
  $sqlPosts = "SELECT DISTINCT posts.`ID`, posts.`post_author`, posts.`post_date`, posts.`post_type`, posts.`post_status`, posts.`post_title`, b2s_drafts.blog_user_id as draft_blog_user_id, b2s_favorites.blog_user_id as favorites_blog_user_id
129
  FROM `$wpdb->posts` posts $leftJoin $leftJoin2 $leftJoin3
130
- LEFT JOIN ( SELECT post_id, blog_user_id FROM {$wpdb->prefix}b2s_posts_drafts WHERE blog_user_id = " . B2S_PLUGIN_BLOG_USER_ID . " ) as b2s_drafts ON posts.ID = b2s_drafts.post_id
131
  LEFT JOIN ( SELECT post_id, blog_user_id FROM {$wpdb->prefix}b2s_posts_favorites WHERE blog_user_id = " . B2S_PLUGIN_BLOG_USER_ID . " ) as b2s_favorites ON posts.ID = b2s_favorites.post_id
132
  WHERE $addSearchType $addSearchAuthorId $addSearchPostTitle $addNotAdmin
133
  AND $postTypes $leftJoinWhere
@@ -155,7 +163,7 @@ class B2S_Post_Item {
155
  $selectInnerJoin = ' `sched_date` , `publish_date` ';
156
  } else {
157
  $addWhere = ($this->type == 'notice') ? ' AND a.`publish_error_code` != "" ' : ' AND a.`publish_error_code` = "" ';
158
- $where = ($this->type == 'publish' || $this->type == 'notice') ? " a.`hide` = 0 AND a.`post_for_approve`= 0 AND (a.`sched_date`= '0000-00-00 00:00:00' OR a.`sched_type` = 3) $addWhere $addNotAdminPosts GROUP BY a.`post_id` ORDER BY a.`publish_date` " . $sortType : " a.`hide` = 0 AND ((a.`sched_date_utc` != '0000-00-00 00:00:00' AND a.`post_for_approve` = 0) OR (a.`sched_date_utc` >= '" . gmdate('Y-m-d H:i:s') . "' AND a.`post_for_approve` = 1)) AND a.`sched_type` != 3 AND a.`publish_date`= '0000-00-00 00:00:00' $addNotAdminPosts GROUP BY a.`post_id` ORDER BY a.`sched_date` " . $sortType;
159
  $orderBy = ($this->type == 'publish' || $this->type == 'notice') ? " ORDER BY filter.max_publish_date " . $sortType : " ORDER BY filter.`sched_date` " . $sortType;
160
  $addSearchBlogPostId = ((int) $this->searchBlogPostId != 0) ? " a.`post_id` = " . (int) $this->searchBlogPostId . " AND " : '';
161
  $addSearchShowByDate = (!empty($this->searchShowByDate)) ? (($this->type == 'publish' || $this->type == 'notice') ? " DATE_FORMAT(a.`publish_date`,'%Y-%m-%d') = '" . $this->searchShowByDate . "' AND " : " DATE_FORMAT(a.`sched_date`,'%Y-%m-%d') = '" . $this->searchShowByDate . "' AND ") : '';
@@ -195,7 +203,7 @@ class B2S_Post_Item {
195
  $this->postTotal = $wpdb->get_var($sqlPostsTotal);
196
  //for Calender (mark Event)
197
  } else {
198
- $where = " a.`hide` = 0 AND a.`sched_type` != 3 AND ((a.`sched_date_utc` != '0000-00-00 00:00:00' AND a.`post_for_approve` = 0)OR (a.`sched_date_utc` >= '" . gmdate('Y-m-d H:i:s') . "' AND a.`post_for_approve` = 1)) AND a.`publish_date`= '0000-00-00 00:00:00' $addNotAdminPosts ORDER BY a.`sched_date` " . $sortType;
199
  $sqlPostsTotal = "SELECT posts.`ID`, DATE_FORMAT(filter.`sched_date`,'%Y-%m-%d') AS sched
200
  FROM `$wpdb->posts` posts $leftJoin $leftJoin2
201
  INNER JOIN(
@@ -226,17 +234,18 @@ class B2S_Post_Item {
226
 
227
  if ($this->type == 'draft') {
228
  if ($wpdb->get_var("SHOW TABLES LIKE '{$wpdb->prefix}b2s_posts'") == $wpdb->prefix . 'b2s_posts') {
229
- $sqlPosts = "SELECT posts.`ID`, posts.`post_author`, posts.`post_date`, posts.`post_type`, posts.`post_status`, posts.`post_title`, posts.`post_content`, posts.`guid`, postmeta.meta_value
230
  FROM `$wpdb->posts` posts $leftJoin $leftJoin2
231
  LEFT JOIN {$wpdb->prefix}b2s_posts ON posts.ID = {$wpdb->prefix}b2s_posts.post_id
232
  LEFT JOIN (SELECT * FROM {$wpdb->prefix}postmeta WHERE meta_key = '_thumbnail_id') AS postmeta ON posts.ID = postmeta.post_id
 
233
  WHERE (posts.`post_type` LIKE '%b2s_ex_post%')
234
  AND {$wpdb->prefix}b2s_posts.post_id IS NULL AND (posts.`post_status` = 'private' OR posts.`post_status` = 'draft')
235
  $addSearchAuthorId $addSearchPostTitle $addNotAdmin $leftJoinWhere
236
  ORDER BY `" . $order . "` " . $sortType . "
237
  LIMIT " . (($this->currentPage - 1) * $this->results_per_page) . "," . $this->results_per_page;
238
  $this->postData = $wpdb->get_results($sqlPosts);
239
-
240
  $sqlPostsTotal = "SELECT COUNT(*)
241
  FROM `$wpdb->posts` posts $leftJoin $leftJoin2
242
  LEFT JOIN {$wpdb->prefix}b2s_posts ON posts.ID = {$wpdb->prefix}b2s_posts.post_id
@@ -251,7 +260,8 @@ class B2S_Post_Item {
251
  if ($wpdb->get_var("SHOW TABLES LIKE '{$wpdb->prefix}b2s_posts_drafts'") == $wpdb->prefix . 'b2s_posts_drafts') {
252
  $sqlPosts = "SELECT {$wpdb->prefix}b2s_posts_drafts.`ID` AS draft_id, posts.`ID`, {$wpdb->prefix}b2s_posts_drafts.`post_id`, {$wpdb->prefix}b2s_posts_drafts.`last_save_date`, {$wpdb->prefix}b2s_posts_drafts.`data`, posts.post_author, posts.post_type, posts.post_title
253
  FROM `$wpdb->posts` posts LEFT JOIN {$wpdb->prefix}b2s_posts_drafts ON {$wpdb->prefix}b2s_posts_drafts.post_id = posts.ID $leftJoin $leftJoin2 $leftJoin3
254
- WHERE {$wpdb->prefix}b2s_posts_drafts.`blog_user_id` = " . B2S_PLUGIN_BLOG_USER_ID . "
 
255
  AND $postTypes
256
  AND $addSearchType
257
  $addSearchAuthorId $addSearchPostTitle $addNotAdmin $leftJoinWhere
@@ -262,6 +272,7 @@ class B2S_Post_Item {
262
  $sqlPostsTotal = "SELECT COUNT(*)
263
  FROM `$wpdb->posts` posts LEFT JOIN {$wpdb->prefix}b2s_posts_drafts ON {$wpdb->prefix}b2s_posts_drafts.post_id = posts.ID $leftJoin $leftJoin2 $leftJoin3
264
  WHERE {$wpdb->prefix}b2s_posts_drafts.`blog_user_id` = " . B2S_PLUGIN_BLOG_USER_ID . "
 
265
  AND $postTypes
266
  AND $addSearchType
267
  $addSearchAuthorId $addSearchPostTitle $addNotAdmin $leftJoinWhere";
@@ -430,6 +441,7 @@ class B2S_Post_Item {
430
  $lastPublish = $this->getLastPublish($var->ID);
431
  $lastPublish = ($lastPublish != false) ? ' | ' . __('last shared on social media', 'blog2social') . ' ' . B2S_Util::getCustomDateFormat($lastPublish, substr(B2S_LANGUAGE, 0, 2)) : '';
432
  $url = (!empty($browser)) ? get_post_meta($var->ID, "b2s_original_url", true) : $var->guid;
 
433
 
434
  $this->postItem .= '<li class="list-group-item b2s-list-cc-draft" data-blog-post-id="' . esc_attr($var->ID) . '">
435
  <div class="media">
@@ -437,10 +449,10 @@ class B2S_Post_Item {
437
  <div class="media-body">
438
  <strong><a target="_blank" href="' . esc_url($url) . '">' . esc_html($postTitle) . '</a></strong>' . $browser . '
439
  <span class="pull-right padding-left-5 b2s-publish-btn">'.
440
- ((stripos($url, '/b2s_ex_post/') != false) ?
441
- '<a class="btn btn-primary btn-sm publishPostBtn" href="admin.php?page=blog2social-curation&postId=' . $var->ID . '&comment=' . urlencode($var->post_content) .(((int) $var->meta_value > 0) ? '&image_id='. urlencode($var->meta_value).'&image_url='. urlencode(wp_get_attachment_url($var->meta_value)) : ''). '">' . esc_html__('Share on Social Media', 'blog2social') . '</a>'
442
  :
443
- '<a class="btn btn-primary btn-sm publishPostBtn" href="admin.php?page=blog2social-curation&postId=' . $var->ID . '&url=' . urlencode($url) . '&title=' . urlencode($var->post_title) . '&comment=' . urlencode($var->post_content) . '">' . esc_html__('Share on Social Media', 'blog2social') . '</a>'
444
  )
445
  .'</span>
446
  <span class="pull-right">
@@ -509,7 +521,7 @@ class B2S_Post_Item {
509
  } else {
510
  $addSearchShowByDate = (!empty($this->searchShowByDate)) ? (($this->type == 'publish' || $this->type == 'notice') ? " AND DATE_FORMAT(posts.publish_date,'%Y-%m-%d') = '" . $this->searchShowByDate . "' " : " AND DATE_FORMAT(posts.sched_date,'%Y-%m-%d') = '" . $this->searchShowByDate . "' ") : '';
511
  $addWhere = ($this->type == 'notice') ? ' AND posts.`publish_error_code` != "" ' : ' AND posts.`publish_error_code` = "" ';
512
- $where = ($this->type == 'publish' || $this->type == 'notice') ? " (posts.`sched_date` = '0000-00-00 00:00:00' OR posts.`sched_type` = 3) AND posts.`post_for_approve`= 0 " . $addWhere : " posts.`sched_type` != 3 AND posts.`publish_date` = '0000-00-00 00:00:00' AND ((posts.`sched_date_utc` != '0000-00-00 00:00:00' AND posts.`post_for_approve` = 0) OR (posts.`sched_date_utc` >= '" . gmdate('Y-m-d H:i:s') . "' AND posts.`post_for_approve` = 1)) ";
513
  }
514
  $sqlPostsTotal = "SELECT COUNT(posts.`post_id`) FROM `{$wpdb->prefix}b2s_posts` posts $addLeftJoin $addLeftJoinNetwork WHERE $addLeftJoinWhere $addLeftJoinWhereNetwork $where $addNotAdmin $addSearchShowByDate AND posts.`hide` = 0 AND posts.`post_id` = " . $post_id;
515
  return $wpdb->get_var($sqlPostsTotal);
@@ -523,7 +535,7 @@ class B2S_Post_Item {
523
  $addNotAdmin = (B2S_PLUGIN_ADMIN == false) ? $wpdb->prepare(' AND `blog_user_id` = %d', B2S_PLUGIN_BLOG_USER_ID) : '';
524
  $order = ($this->type == 'publish' || $this->type == 'notice') ? " `publish_date` DESC" : " `sched_date` ASC ";
525
  $addWhere = ($this->type == 'notice') ? ' AND `publish_error_code` != "" ' : ' AND `publish_error_code` = "" ';
526
- $where = ($this->type == 'publish' || $this->type == 'notice') ? " `post_for_approve`= 0 AND (`sched_date`= '0000-00-00 00:00:00' OR `sched_type` = 3) " . $addWhere : " `sched_type` != 3 AND ((`sched_date_utc` != '0000-00-00 00:00:00' AND `post_for_approve` = 0) OR (`sched_date_utc` >= '" . gmdate('Y-m-d H:i:s') . "' AND `post_for_approve` = 1)) AND `publish_date` = '0000-00-00 00:00:00'";
527
  $fields = ($this->type == 'publish' || $this->type == 'notice') ? "publish_date" : "sched_date";
528
  $sqlLast = "SELECT $fields FROM `{$wpdb->prefix}b2s_posts` WHERE $where $addNotAdmin AND `hide` = 0 AND `post_id` = " . $post_id . " ORDER BY $order LIMIT 1";
529
  return $wpdb->get_var($sqlLast);
@@ -536,7 +548,7 @@ class B2S_Post_Item {
536
  global $wpdb;
537
  $addNotAdmin = (B2S_PLUGIN_ADMIN == false) ? $wpdb->prepare(' AND `blog_user_id` = %d', B2S_PLUGIN_BLOG_USER_ID) : '';
538
  $order = "`publish_date` DESC";
539
- $where = "(`sched_date`= '0000-00-00 00:00:00' OR `sched_type` = 3) ";
540
  $fields = "publish_date";
541
  $sqlLast = "SELECT $fields FROM `{$wpdb->prefix}b2s_posts` WHERE $where $addNotAdmin AND `hide` = 0 AND `post_for_approve`= 0 AND `post_id` = " . $post_id . " ORDER BY $order LIMIT 1";
542
  $result = $wpdb->get_results($sqlLast);
@@ -591,7 +603,7 @@ class B2S_Post_Item {
591
  $addNotAdminPosts = (!B2S_PLUGIN_ADMIN) ? (' AND blog_user_id =' . B2S_PLUGIN_BLOG_USER_ID) : '';
592
  $addSearchShowByDate = (!empty($showByDate)) ? " AND DATE_FORMAT(`{$wpdb->prefix}b2s_posts`.`publish_date`,'%%Y-%%m-%%d') = '" . $showByDate . "' " : '';
593
  $addWhere = ($type == 'notice') ? ' AND `' . $wpdb->prefix . 'b2s_posts`.`publish_error_code` != "" ' : ' AND `' . $wpdb->prefix . 'b2s_posts`.`publish_error_code` = "" ';
594
- $sqlData = $wpdb->prepare("SELECT `{$wpdb->prefix}b2s_posts`.`id`,`blog_user_id`, `sched_date`,`publish_date`,`publish_link`,`sched_type`,`publish_error_code`,`{$wpdb->prefix}b2s_posts_network_details`.`network_id`,`{$wpdb->prefix}b2s_posts_network_details`.`network_type`, `{$wpdb->prefix}b2s_posts_network_details`.`network_auth_id`, `{$wpdb->prefix}b2s_posts_network_details`.`network_display_name` FROM `{$wpdb->prefix}b2s_posts` LEFT JOIN `{$wpdb->prefix}b2s_posts_network_details` ON `{$wpdb->prefix}b2s_posts`.`network_details_id` = `{$wpdb->prefix}b2s_posts_network_details`.`id` WHERE `{$wpdb->prefix}b2s_posts`.`hide` = 0 AND `{$wpdb->prefix}b2s_posts`.`post_for_approve`= 0 AND (`{$wpdb->prefix}b2s_posts`.`sched_date` = '0000-00-00 00:00:00' OR `{$wpdb->prefix}b2s_posts`.`sched_type` = 3) $addWhere $addNotAdminPosts $addSearchShowByDate AND `{$wpdb->prefix}b2s_posts`.`post_id` = %d ORDER BY `{$wpdb->prefix}b2s_posts`.`publish_date` DESC", $post_id);
595
  $result = $wpdb->get_results($sqlData);
596
  $specialPostingData = array(3 => esc_html__('Auto-Posting', 'blog2social'), 4 => esc_html__('Retweet', 'blog2social'));
597
  if (!empty($result) && is_array($result)) {
@@ -727,9 +739,9 @@ class B2S_Post_Item {
727
  $addSearchShowByNetwork = ((int) $showByNetwork > 0) ? " AND `{$wpdb->prefix}b2s_posts_network_details`.`network_id` = '" . $showByNetwork . "' " : '';
728
  $addSearchUserAuthId = ($userAuthId != 0) ? " AND `{$wpdb->prefix}b2s_posts_network_details`.`network_auth_id` =" . $userAuthId . " " : '';
729
 
730
- $sqlData = $wpdb->prepare("SELECT `{$wpdb->prefix}b2s_posts`.`id`, `{$wpdb->prefix}b2s_posts`.`post_id`,`blog_user_id`,`last_edit_blog_user_id`,`v2_id`, `sched_date`, `sched_date_utc`, `sched_type`, `relay_primary_post_id`, `{$wpdb->prefix}b2s_posts_network_details`.`network_id`,`{$wpdb->prefix}b2s_posts_network_details`.`network_auth_id`,`{$wpdb->prefix}b2s_posts_network_details`.`network_type`,`{$wpdb->prefix}b2s_posts_network_details`.`network_display_name` FROM `{$wpdb->prefix}b2s_posts` LEFT JOIN `{$wpdb->prefix}b2s_posts_network_details` ON `{$wpdb->prefix}b2s_posts`.`network_details_id` = `{$wpdb->prefix}b2s_posts_network_details`.`id` WHERE `{$wpdb->prefix}b2s_posts`.`hide` = 0 AND ((`{$wpdb->prefix}b2s_posts`.`sched_date_utc` != '0000-00-00 00:00:00' AND `{$wpdb->prefix}b2s_posts`.`post_for_approve` = 0) OR (`{$wpdb->prefix}b2s_posts`.`sched_date_utc` >= '" . gmdate('Y-m-d H:i:s') . "' AND `{$wpdb->prefix}b2s_posts`.`post_for_approve` = 1)) AND `{$wpdb->prefix}b2s_posts`.`sched_type` != 3 AND `{$wpdb->prefix}b2s_posts`.`publish_date` = '0000-00-00 00:00:00' $addNotAdminPosts $addSearchShowByDate $addSearchShowByNetwork $addSearchUserAuthId AND `{$wpdb->prefix}b2s_posts`.`post_id` = %d ORDER BY `{$wpdb->prefix}b2s_posts`.`sched_date` ASC ", $post_id);
731
  $result = $wpdb->get_results($sqlData);
732
- $specialPostingData = array(4 => __('Retweet', 'blog2social'));
733
  if (!empty($result) && is_array($result)) {
734
  $networkType = unserialize(B2S_PLUGIN_NETWORK_TYPE);
735
  $networkName = unserialize(B2S_PLUGIN_NETWORK);
20
  protected $postCalendarSchedDates;
21
  protected $searchUserAuthId;
22
  protected $searchBlogPostId;
23
+ protected $searchPostSharedById;
24
  protected $userLang;
25
  protected $results_per_page = null;
26
  public $currentPage = 0;
27
  public $type;
28
 
29
+ function __construct($type = 'all', $title = "", $authorId = 0, $postStatus = "", $shareStatus = "", $publishDate = '', $schedDate = '', $showByDate = '', $showByNetwork = 0, $userAuthId = 0, $blogPostId = 0, $currentPage = 0, $postCat = 0, $postType = "", $userLang = "en", $results_per_page = B2S_PLUGIN_POSTPERPAGE, $searchPostSharedById = 0) {
30
  $this->type = $type;
31
  $this->searchPostTitle = $title;
32
  $this->searchAuthorId = (int) $authorId;
43
  $this->searchPostType = $postType;
44
  $this->userLang = $userLang; //Plugin: qTranslate
45
  $this->results_per_page = (int) $results_per_page;
46
+ $this->searchPostSharedById = (int) $searchPostSharedById;
47
  }
48
 
49
  protected function getData() {
99
  $leftJoinWhere .= " AND b2s.post_id IS NULL";
100
  }
101
  }
102
+
103
+ if ($this->searchPostSharedById > 0) {
104
+ $leftJoin3 = "LEFT JOIN `{$wpdb->prefix}b2s_posts` b2s on posts.ID = b2s.post_id";
105
+ $leftJoinWhere .= " AND b2s.blog_user_id = ".$this->searchPostSharedById;
106
+ }
107
 
108
  $postTypes = " ";
109
  if (!empty($this->searchPostType)) {
130
 
131
  $addNotAdmin = (B2S_PLUGIN_ADMIN == false) ? $wpdb->prepare(' AND posts.`post_author` = %d', B2S_PLUGIN_BLOG_USER_ID) : '';
132
  $addNotAdminPosts = (B2S_PLUGIN_ADMIN == false) ? $wpdb->prepare(' AND a.`blog_user_id` = %d', B2S_PLUGIN_BLOG_USER_ID) : '';
133
+
134
+ $wpdb->query("SET SQL_BIG_SELECTS = 1");
135
  if ($this->type == 'all') {
136
  $sqlPosts = "SELECT DISTINCT posts.`ID`, posts.`post_author`, posts.`post_date`, posts.`post_type`, posts.`post_status`, posts.`post_title`, b2s_drafts.blog_user_id as draft_blog_user_id, b2s_favorites.blog_user_id as favorites_blog_user_id
137
  FROM `$wpdb->posts` posts $leftJoin $leftJoin2 $leftJoin3
138
+ LEFT JOIN ( SELECT post_id, blog_user_id FROM {$wpdb->prefix}b2s_posts_drafts WHERE blog_user_id = " . B2S_PLUGIN_BLOG_USER_ID . " AND save_origin = 0 ) as b2s_drafts ON posts.ID = b2s_drafts.post_id
139
  LEFT JOIN ( SELECT post_id, blog_user_id FROM {$wpdb->prefix}b2s_posts_favorites WHERE blog_user_id = " . B2S_PLUGIN_BLOG_USER_ID . " ) as b2s_favorites ON posts.ID = b2s_favorites.post_id
140
  WHERE $addSearchType $addSearchAuthorId $addSearchPostTitle $addNotAdmin
141
  AND $postTypes $leftJoinWhere
163
  $selectInnerJoin = ' `sched_date` , `publish_date` ';
164
  } else {
165
  $addWhere = ($this->type == 'notice') ? ' AND a.`publish_error_code` != "" ' : ' AND a.`publish_error_code` = "" ';
166
+ $where = ($this->type == 'publish' || $this->type == 'notice') ? " a.`hide` = 0 AND a.`post_for_approve`= 0 AND (a.`sched_date`= '0000-00-00 00:00:00' OR (a.`sched_type` = 3 AND a.`publish_date` != '0000-00-00 00:00:00')) $addWhere $addNotAdminPosts GROUP BY a.`post_id` ORDER BY a.`publish_date` " . $sortType : " a.`hide` = 0 AND ((a.`sched_date_utc` != '0000-00-00 00:00:00' AND a.`post_for_approve` = 0) OR (a.`sched_date_utc` >= '" . gmdate('Y-m-d H:i:s') . "' AND a.`post_for_approve` = 1)) AND (a.`sched_type` != 3 OR (a.`sched_type` = 3 AND a.`publish_date` = '0000-00-00 00:00:00')) AND a.`publish_date`= '0000-00-00 00:00:00' $addNotAdminPosts GROUP BY a.`post_id` ORDER BY a.`sched_date` " . $sortType;
167
  $orderBy = ($this->type == 'publish' || $this->type == 'notice') ? " ORDER BY filter.max_publish_date " . $sortType : " ORDER BY filter.`sched_date` " . $sortType;
168
  $addSearchBlogPostId = ((int) $this->searchBlogPostId != 0) ? " a.`post_id` = " . (int) $this->searchBlogPostId . " AND " : '';
169
  $addSearchShowByDate = (!empty($this->searchShowByDate)) ? (($this->type == 'publish' || $this->type == 'notice') ? " DATE_FORMAT(a.`publish_date`,'%Y-%m-%d') = '" . $this->searchShowByDate . "' AND " : " DATE_FORMAT(a.`sched_date`,'%Y-%m-%d') = '" . $this->searchShowByDate . "' AND ") : '';
203
  $this->postTotal = $wpdb->get_var($sqlPostsTotal);
204
  //for Calender (mark Event)
205
  } else {
206
+ $where = " a.`hide` = 0 AND (a.`sched_type` != 3 OR (a.`sched_type` = 3 AND a.`publish_date` = '0000-00-00 00:00:00')) AND ((a.`sched_date_utc` != '0000-00-00 00:00:00' AND a.`post_for_approve` = 0)OR (a.`sched_date_utc` >= '" . gmdate('Y-m-d H:i:s') . "' AND a.`post_for_approve` = 1)) AND a.`publish_date`= '0000-00-00 00:00:00' $addNotAdminPosts ORDER BY a.`sched_date` " . $sortType;
207
  $sqlPostsTotal = "SELECT posts.`ID`, DATE_FORMAT(filter.`sched_date`,'%Y-%m-%d') AS sched
208
  FROM `$wpdb->posts` posts $leftJoin $leftJoin2
209
  INNER JOIN(
234
 
235
  if ($this->type == 'draft') {
236
  if ($wpdb->get_var("SHOW TABLES LIKE '{$wpdb->prefix}b2s_posts'") == $wpdb->prefix . 'b2s_posts') {
237
+ $sqlPosts = "SELECT posts.`ID`, posts.`post_author`, posts.`post_date`, posts.`post_type`, posts.`post_status`, posts.`post_title`, posts.`post_content`, posts.`guid`, postmeta.meta_value, posts_drafts.data AS draft_data
238
  FROM `$wpdb->posts` posts $leftJoin $leftJoin2
239
  LEFT JOIN {$wpdb->prefix}b2s_posts ON posts.ID = {$wpdb->prefix}b2s_posts.post_id
240
  LEFT JOIN (SELECT * FROM {$wpdb->prefix}postmeta WHERE meta_key = '_thumbnail_id') AS postmeta ON posts.ID = postmeta.post_id
241
+ LEFT JOIN (SELECT * FROM {$wpdb->prefix}b2s_posts_drafts WHERE save_origin = 1) AS posts_drafts ON posts.ID = posts_drafts.post_id
242
  WHERE (posts.`post_type` LIKE '%b2s_ex_post%')
243
  AND {$wpdb->prefix}b2s_posts.post_id IS NULL AND (posts.`post_status` = 'private' OR posts.`post_status` = 'draft')
244
  $addSearchAuthorId $addSearchPostTitle $addNotAdmin $leftJoinWhere
245
  ORDER BY `" . $order . "` " . $sortType . "
246
  LIMIT " . (($this->currentPage - 1) * $this->results_per_page) . "," . $this->results_per_page;
247
  $this->postData = $wpdb->get_results($sqlPosts);
248
+
249
  $sqlPostsTotal = "SELECT COUNT(*)
250
  FROM `$wpdb->posts` posts $leftJoin $leftJoin2
251
  LEFT JOIN {$wpdb->prefix}b2s_posts ON posts.ID = {$wpdb->prefix}b2s_posts.post_id
260
  if ($wpdb->get_var("SHOW TABLES LIKE '{$wpdb->prefix}b2s_posts_drafts'") == $wpdb->prefix . 'b2s_posts_drafts') {
261
  $sqlPosts = "SELECT {$wpdb->prefix}b2s_posts_drafts.`ID` AS draft_id, posts.`ID`, {$wpdb->prefix}b2s_posts_drafts.`post_id`, {$wpdb->prefix}b2s_posts_drafts.`last_save_date`, {$wpdb->prefix}b2s_posts_drafts.`data`, posts.post_author, posts.post_type, posts.post_title
262
  FROM `$wpdb->posts` posts LEFT JOIN {$wpdb->prefix}b2s_posts_drafts ON {$wpdb->prefix}b2s_posts_drafts.post_id = posts.ID $leftJoin $leftJoin2 $leftJoin3
263
+ WHERE {$wpdb->prefix}b2s_posts_drafts.`blog_user_id` = " . B2S_PLUGIN_BLOG_USER_ID . "
264
+ AND {$wpdb->prefix}b2s_posts_drafts.`save_origin` = 0
265
  AND $postTypes
266
  AND $addSearchType
267
  $addSearchAuthorId $addSearchPostTitle $addNotAdmin $leftJoinWhere
272
  $sqlPostsTotal = "SELECT COUNT(*)
273
  FROM `$wpdb->posts` posts LEFT JOIN {$wpdb->prefix}b2s_posts_drafts ON {$wpdb->prefix}b2s_posts_drafts.post_id = posts.ID $leftJoin $leftJoin2 $leftJoin3
274
  WHERE {$wpdb->prefix}b2s_posts_drafts.`blog_user_id` = " . B2S_PLUGIN_BLOG_USER_ID . "
275
+ AND {$wpdb->prefix}b2s_posts_drafts.`save_origin` = 0
276
  AND $postTypes
277
  AND $addSearchType
278
  $addSearchAuthorId $addSearchPostTitle $addNotAdmin $leftJoinWhere";
441
  $lastPublish = $this->getLastPublish($var->ID);
442
  $lastPublish = ($lastPublish != false) ? ' | ' . __('last shared on social media', 'blog2social') . ' ' . B2S_Util::getCustomDateFormat($lastPublish, substr(B2S_LANGUAGE, 0, 2)) : '';
443
  $url = (!empty($browser)) ? get_post_meta($var->ID, "b2s_original_url", true) : $var->guid;
444
+ $schedData = (!empty($var->draft_data)) ? http_build_query(unserialize($var->draft_data)) : '';
445
 
446
  $this->postItem .= '<li class="list-group-item b2s-list-cc-draft" data-blog-post-id="' . esc_attr($var->ID) . '">
447
  <div class="media">
449
  <div class="media-body">
450
  <strong><a target="_blank" href="' . esc_url($url) . '">' . esc_html($postTitle) . '</a></strong>' . $browser . '
451
  <span class="pull-right padding-left-5 b2s-publish-btn">'.
452
+ (empty($url) || (stripos($url, '/b2s_ex_post/') != false) ?
453
+ '<a class="btn btn-primary btn-sm publishPostBtn" href="admin.php?page=blog2social-curation&postId=' . $var->ID . '&comment=' . urlencode($var->post_content) .(((int) $var->meta_value > 0) ? '&image_id='. urlencode($var->meta_value).'&image_url='. urlencode(wp_get_attachment_url($var->meta_value)) : ''). '&' . $schedData . '">' . esc_html__('Share on Social Media', 'blog2social') . '</a>'
454
  :
455
+ '<a class="btn btn-primary btn-sm publishPostBtn" href="admin.php?page=blog2social-curation&postId=' . $var->ID . '&url=' . urlencode($url) . '&title=' . urlencode($var->post_title) . '&comment=' . urlencode($var->post_content) . '&' . $schedData . '">' . esc_html__('Share on Social Media', 'blog2social') . '</a>'
456
  )
457
  .'</span>
458
  <span class="pull-right">
521
  } else {
522
  $addSearchShowByDate = (!empty($this->searchShowByDate)) ? (($this->type == 'publish' || $this->type == 'notice') ? " AND DATE_FORMAT(posts.publish_date,'%Y-%m-%d') = '" . $this->searchShowByDate . "' " : " AND DATE_FORMAT(posts.sched_date,'%Y-%m-%d') = '" . $this->searchShowByDate . "' ") : '';
523
  $addWhere = ($this->type == 'notice') ? ' AND posts.`publish_error_code` != "" ' : ' AND posts.`publish_error_code` = "" ';
524
+ $where = ($this->type == 'publish' || $this->type == 'notice') ? " (posts.`sched_date` = '0000-00-00 00:00:00' OR (posts.`sched_type` = 3 AND posts.`publish_date` != '0000-00-00 00:00:00')) AND posts.`post_for_approve`= 0 " . $addWhere : " (posts.`sched_type` != 3 OR (posts.`sched_type` = 3 AND posts.`publish_date` = '0000-00-00 00:00:00')) AND posts.`publish_date` = '0000-00-00 00:00:00' AND ((posts.`sched_date_utc` != '0000-00-00 00:00:00' AND posts.`post_for_approve` = 0) OR (posts.`sched_date_utc` >= '" . gmdate('Y-m-d H:i:s') . "' AND posts.`post_for_approve` = 1)) ";
525
  }
526
  $sqlPostsTotal = "SELECT COUNT(posts.`post_id`) FROM `{$wpdb->prefix}b2s_posts` posts $addLeftJoin $addLeftJoinNetwork WHERE $addLeftJoinWhere $addLeftJoinWhereNetwork $where $addNotAdmin $addSearchShowByDate AND posts.`hide` = 0 AND posts.`post_id` = " . $post_id;
527
  return $wpdb->get_var($sqlPostsTotal);
535
  $addNotAdmin = (B2S_PLUGIN_ADMIN == false) ? $wpdb->prepare(' AND `blog_user_id` = %d', B2S_PLUGIN_BLOG_USER_ID) : '';
536
  $order = ($this->type == 'publish' || $this->type == 'notice') ? " `publish_date` DESC" : " `sched_date` ASC ";
537
  $addWhere = ($this->type == 'notice') ? ' AND `publish_error_code` != "" ' : ' AND `publish_error_code` = "" ';
538
+ $where = ($this->type == 'publish' || $this->type == 'notice') ? " `post_for_approve`= 0 AND (`sched_date`= '0000-00-00 00:00:00' OR (`sched_type` = 3 AND `publish_date` != '0000-00-00 00:00:00')) " . $addWhere : " (`sched_type` != 3 OR (`sched_type` = 3 AND `publish_date` = '0000-00-00 00:00:00')) AND ((`sched_date_utc` != '0000-00-00 00:00:00' AND `post_for_approve` = 0) OR (`sched_date_utc` >= '" . gmdate('Y-m-d H:i:s') . "' AND `post_for_approve` = 1)) AND `publish_date` = '0000-00-00 00:00:00'";
539
  $fields = ($this->type == 'publish' || $this->type == 'notice') ? "publish_date" : "sched_date";
540
  $sqlLast = "SELECT $fields FROM `{$wpdb->prefix}b2s_posts` WHERE $where $addNotAdmin AND `hide` = 0 AND `post_id` = " . $post_id . " ORDER BY $order LIMIT 1";
541
  return $wpdb->get_var($sqlLast);
548
  global $wpdb;
549
  $addNotAdmin = (B2S_PLUGIN_ADMIN == false) ? $wpdb->prepare(' AND `blog_user_id` = %d', B2S_PLUGIN_BLOG_USER_ID) : '';
550
  $order = "`publish_date` DESC";
551
+ $where = "(`sched_date`= '0000-00-00 00:00:00' OR (`sched_type` = 3 AND `publish_date` != '0000-00-00 00:00:00')) ";
552
  $fields = "publish_date";
553
  $sqlLast = "SELECT $fields FROM `{$wpdb->prefix}b2s_posts` WHERE $where $addNotAdmin AND `hide` = 0 AND `post_for_approve`= 0 AND `post_id` = " . $post_id . " ORDER BY $order LIMIT 1";
554
  $result = $wpdb->get_results($sqlLast);
603
  $addNotAdminPosts = (!B2S_PLUGIN_ADMIN) ? (' AND blog_user_id =' . B2S_PLUGIN_BLOG_USER_ID) : '';
604
  $addSearchShowByDate = (!empty($showByDate)) ? " AND DATE_FORMAT(`{$wpdb->prefix}b2s_posts`.`publish_date`,'%%Y-%%m-%%d') = '" . $showByDate . "' " : '';
605
  $addWhere = ($type == 'notice') ? ' AND `' . $wpdb->prefix . 'b2s_posts`.`publish_error_code` != "" ' : ' AND `' . $wpdb->prefix . 'b2s_posts`.`publish_error_code` = "" ';
606
+ $sqlData = $wpdb->prepare("SELECT `{$wpdb->prefix}b2s_posts`.`id`,`blog_user_id`, `sched_date`,`publish_date`,`publish_link`,`sched_type`,`publish_error_code`,`{$wpdb->prefix}b2s_posts_network_details`.`network_id`,`{$wpdb->prefix}b2s_posts_network_details`.`network_type`, `{$wpdb->prefix}b2s_posts_network_details`.`network_auth_id`, `{$wpdb->prefix}b2s_posts_network_details`.`network_display_name` FROM `{$wpdb->prefix}b2s_posts` LEFT JOIN `{$wpdb->prefix}b2s_posts_network_details` ON `{$wpdb->prefix}b2s_posts`.`network_details_id` = `{$wpdb->prefix}b2s_posts_network_details`.`id` WHERE `{$wpdb->prefix}b2s_posts`.`hide` = 0 AND `{$wpdb->prefix}b2s_posts`.`post_for_approve`= 0 AND (`{$wpdb->prefix}b2s_posts`.`sched_date` = '0000-00-00 00:00:00' OR (`{$wpdb->prefix}b2s_posts`.`sched_type` = 3 AND `{$wpdb->prefix}b2s_posts`.`publish_date` != '0000-00-00 00:00:00')) $addWhere $addNotAdminPosts $addSearchShowByDate AND `{$wpdb->prefix}b2s_posts`.`post_id` = %d ORDER BY `{$wpdb->prefix}b2s_posts`.`publish_date` DESC", $post_id);
607
  $result = $wpdb->get_results($sqlData);
608
  $specialPostingData = array(3 => esc_html__('Auto-Posting', 'blog2social'), 4 => esc_html__('Retweet', 'blog2social'));
609
  if (!empty($result) && is_array($result)) {
739
  $addSearchShowByNetwork = ((int) $showByNetwork > 0) ? " AND `{$wpdb->prefix}b2s_posts_network_details`.`network_id` = '" . $showByNetwork . "' " : '';
740
  $addSearchUserAuthId = ($userAuthId != 0) ? " AND `{$wpdb->prefix}b2s_posts_network_details`.`network_auth_id` =" . $userAuthId . " " : '';
741
 
742
+ $sqlData = $wpdb->prepare("SELECT `{$wpdb->prefix}b2s_posts`.`id`, `{$wpdb->prefix}b2s_posts`.`post_id`,`blog_user_id`,`last_edit_blog_user_id`,`v2_id`, `sched_date`, `sched_date_utc`, `sched_type`, `relay_primary_post_id`, `{$wpdb->prefix}b2s_posts_network_details`.`network_id`,`{$wpdb->prefix}b2s_posts_network_details`.`network_auth_id`,`{$wpdb->prefix}b2s_posts_network_details`.`network_type`,`{$wpdb->prefix}b2s_posts_network_details`.`network_display_name` FROM `{$wpdb->prefix}b2s_posts` LEFT JOIN `{$wpdb->prefix}b2s_posts_network_details` ON `{$wpdb->prefix}b2s_posts`.`network_details_id` = `{$wpdb->prefix}b2s_posts_network_details`.`id` WHERE `{$wpdb->prefix}b2s_posts`.`hide` = 0 AND ((`{$wpdb->prefix}b2s_posts`.`sched_date_utc` != '0000-00-00 00:00:00' AND `{$wpdb->prefix}b2s_posts`.`post_for_approve` = 0) OR (`{$wpdb->prefix}b2s_posts`.`sched_date_utc` >= '" . gmdate('Y-m-d H:i:s') . "' AND `{$wpdb->prefix}b2s_posts`.`post_for_approve` = 1)) AND (`{$wpdb->prefix}b2s_posts`.`sched_type` != 3 OR (`{$wpdb->prefix}b2s_posts`.`sched_type` = 3 AND `{$wpdb->prefix}b2s_posts`.`publish_date` = '0000-00-00 00:00:00')) AND `{$wpdb->prefix}b2s_posts`.`publish_date` = '0000-00-00 00:00:00' $addNotAdminPosts $addSearchShowByDate $addSearchShowByNetwork $addSearchUserAuthId AND `{$wpdb->prefix}b2s_posts`.`post_id` = %d ORDER BY `{$wpdb->prefix}b2s_posts`.`sched_date` ASC ", $post_id);
743
  $result = $wpdb->get_results($sqlData);
744
+ $specialPostingData = array(3 => esc_html__('Auto-Posting', 'blog2social'), 4 => esc_html__('Retweet', 'blog2social'));
745
  if (!empty($result) && is_array($result)) {
746
  $networkType = unserialize(B2S_PLUGIN_NETWORK_TYPE);
747
  $networkName = unserialize(B2S_PLUGIN_NETWORK);
includes/B2S/Post/Tools.php CHANGED
@@ -29,7 +29,7 @@ class B2S_Post_Tools {
29
  $row = $wpdb->get_row($sql);
30
  if (isset($row->id) && (int) $row->id == $v) {
31
  if ((int) $row->post_for_approve == 1) {
32
- $wpdb->update('b2s_posts', array('hide' => 1), array('id' => $v));
33
  } else {
34
  //TOS Crossposting delete entry
35
  if ($row->network_id != null && $row->network_type != null && (int) $row->sched_details_id > 0) {
29
  $row = $wpdb->get_row($sql);
30
  if (isset($row->id) && (int) $row->id == $v) {
31
  if ((int) $row->post_for_approve == 1) {
32
+ $wpdb->update($wpdb->prefix.'b2s_posts', array('hide' => 1), array('id' => $v));
33
  } else {
34
  //TOS Crossposting delete entry
35
  if ($row->network_id != null && $row->network_type != null && (int) $row->sched_details_id > 0) {
includes/B2S/PostBox.php CHANGED
@@ -14,35 +14,90 @@ class B2S_PostBox {
14
 
15
  public function getPostBox($postId = 0, $postType = 'post', $postStatus = '') {
16
 
17
- $isChecked = "";
18
- $lastPost = "";
19
 
20
- $autoPostOption = $this->userOption->_getOption('auto_post');
21
  $optionUserTimeZone = $this->userOption->_getOption('user_time_zone');
22
  $userTimeZone = ($optionUserTimeZone !== false) ? $optionUserTimeZone : get_option('timezone_string');
23
  $userTimeZoneOffset = (empty($userTimeZone)) ? get_option('gmt_offset') : B2S_Util::getOffsetToUtcByTimeZone($userTimeZone);
24
- $selectedProfileID = get_option('B2S_PLUGIN_SAVE_META_BOX_AUTO_SHARE_PROFILE_USER_' . B2S_PLUGIN_BLOG_USER_ID);
25
  $b2sHeartbeatFaqLink = '<a target="_blank" href="' . esc_url(B2S_Tools::getSupportLink('system')) . '">' . esc_html__('Please see FAQ', 'blog2social') . '</a>';
26
  $metaSettings = get_option('B2S_PLUGIN_GENERAL_OPTIONS');
27
  $autoPostImport = false;
28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  if (B2S_PLUGIN_USER_VERSION > 0) {
30
- if ($postId > 0) {
31
- global $wpdb;
32
- $lastAutopost = $wpdb->get_results($wpdb->prepare("SELECT publish_date FROM {$wpdb->prefix}b2s_posts WHERE post_id= %d AND blog_user_id= %d AND sched_type = 3 ORDER BY publish_date DESC LIMIT 1", $postId, B2S_PLUGIN_BLOG_USER_ID));
33
- if (!empty($lastAutopost) && isset($lastAutopost[0]) && !empty($lastAutopost[0]->publish_date) && $lastAutopost[0]->publish_date != '0000-00-00 00:00:00') {
34
- $lastPost = '<b>' . esc_html__('last auto-post:', 'blog2social') . '</b> ' . esc_html(B2S_Util::getCustomDateFormat($lastAutopost[0]->publish_date, substr(B2S_LANGUAGE, 0, 2))) . '<br>';
 
 
 
 
 
 
 
 
 
 
35
  }
36
  }
37
 
38
- if ($autoPostOption !== false) {
39
- $state = ($postId == 0) ? 'publish' : (($postStatus != '' && ($postStatus == 'publish' || $postStatus == 'future')) ? 'update' : '');
40
- if (is_array($autoPostOption) && isset($autoPostOption[$state])) {
41
- if (in_array($postType, $autoPostOption[$state])) {
42
- $isChecked = 'checked';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  }
 
44
  }
45
  }
 
46
  //Auto-Post-Import - Check Conditions - show notice
47
  $autoPostData = $this->userOption->_getOption('auto_post_import');
48
  if ($autoPostData !== false && is_array($autoPostData)) {
@@ -70,53 +125,55 @@ class B2S_PostBox {
70
  }
71
  }
72
  }
73
- }
74
-
75
- $content = '<div class="b2s-post-meta-box">
76
- <div id="b2s-server-connection-fail" class="b2s-info-error"><button class="b2s-btn-close-meta-box b2s-close-icon" data-area-id="b2s-server-connection-fail" title="close notice"></button>' . esc_html__('The connection to the server failed. Try again!', 'blog2social') . '</div>
77
- <div id="b2s-heartbeat-fail" class="b2s-info-error"><button class="b2s-btn-close-meta-box b2s-close-icon" data-area-id="b2s-heartbeat-fail" title="close notice"></button>' . esc_html__('WordPress uses heartbeats by default, Blog2Social as well. Please enable heartbeats for using Blog2Social!', 'blog2social') . $b2sHeartbeatFaqLink . ' </div>
78
- <div id="b2s-post-meta-box-state-no-publish-future-customize" class="b2s-info-error"><button class="b2s-btn-close-meta-box b2s-close-icon" data-area-id="b2s-post-meta-box-state-no-publish-future-customize" title="close notice"></button>' . esc_html__('Your post is still on draft or pending status. Please make sure that your post is published or scheduled to be published on this blog. You can then auto-post or schedule and customize your social media posts with Blog2Social.', 'blog2social') . '</div>
79
- <div id="b2s-post-meta-box-state-no-auth" class="b2s-info-error"><button class="b2s-btn-close-meta-box b2s-close-icon" data-area-id="b2s-post-meta-box-state-no-auth" title="close notice"></button>' . esc_html__('There are no social network accounts assigned to your selected network collection. Please assign at least one social network account or select another network collection.', 'blog2social') . '<a href="' . esc_url($this->b2sSiteUrl . 'wp-admin/admin.php?page=blog2social-network') . '" target="_bank">' . esc_html__('Network settings', 'blog2social') . '</a></div>
80
- <div id="b2s-post-meta-box-state-no-publish-future" class="b2s-info-error"><button class="b2s-btn-close-meta-box b2s-close-icon" data-area-id="b2s-post-meta-box-state-no-publish-future" title="close notice"></button>' . esc_html__('Your post is still on draft or pending status. Please make sure that your post is published or scheduled to be published on this blog. You can then auto-post or schedule and customize your social media posts with Blog2Social.', 'blog2social') . '</div>
81
- <div id="b2s-url-valid-warning" class="b2s-info-warning"><button class="b2s-btn-close-meta-box b2s-close-icon" data-area-id="b2s-url-valid-warning" title="close notice"></button>' . esc_html__('Notice: Please make sure, that your website address is reachable. The Social Networks do not allow postings from local installations.', 'blog2social') . '</div>
82
- <input type="hidden" id="b2s-redirect-url-customize" name="b2s-redirect-url-customize" value="' . esc_attr($this->b2sSiteUrl . 'wp-admin/admin.php?page=blog2social-ship&postId=') . '"/>
83
- <input type="hidden" id="b2s-user-last-selected-profile-id" name="b2s-user-last-selected-profile-id" value="' . esc_attr(($selectedProfileID !== false ? (int) $selectedProfileID : 0)) . '" />
84
- <input type="hidden" id="b2s-home-url" name="b2s-home-url" value="' . esc_attr(get_option('home')) . '"/>
85
- <input type="hidden" id="b2sLang" name="b2s-user-lang" value="' . esc_attr(strtolower(substr(get_locale(), 0, 2))) . '">
86
- <input type="hidden" id="b2sUserLang" name="b2s-user-lang" value="' . esc_attr(strtolower(substr(get_locale(), 0, 2))) . '">
87
- <input type="hidden" id="b2sPostLang" name="b2s-post-lang" value="' . esc_attr(substr($this->postLang, 0, 2)) . '">
88
- <input type="hidden" id="b2sPluginUrl" name="b2s-post-lang" value="' . esc_attr(B2S_PLUGIN_URL) . '">
89
- <input type="hidden" id="b2sBlogUserId" name="b2s-blog-user-id" value="' . esc_attr(B2S_PLUGIN_BLOG_USER_ID) . '">
90
- <input type="hidden" id="b2s-user-timezone" name="b2s-user-timezone" value="' . esc_attr($userTimeZoneOffset) . '"/>
91
- <input type="hidden" id="b2s-post-status" name="b2s-post-status" value="' . esc_attr(trim(strtolower($postStatus))) . '"/>
92
- <input type="hidden" name="b2s-post-meta-box-version" id="b2s-post-meta-box-version" value="' . esc_attr(B2S_PLUGIN_USER_VERSION) . '"/>
93
- <input type="hidden" id="isOgMetaChecked" name="isOgMetaChecked" value="' . esc_attr((isset($metaSettings['og_active']) ? (int) $metaSettings['og_active'] : 0)) . '">
94
- <input type="hidden" id="isCardMetaChecked" name="isCardMetaChecked" value="' . esc_attr((isset($metaSettings['card_active']) ? (int) $metaSettings['card_active'] : 0)) . '">
95
- <input type="hidden" id="b2sAutoPostImportIsActive" name="autoPostImportIsActive" value="' . (($autoPostImport) ? 1 : 0) . '">
96
-
97
- <h3 class="b2s-meta-box-headline">' . esc_html__('Custom Sharing & Scheduling', 'blog2social') . ' <a class="b2s-info-btn" data-modal-target="b2sInfoMetaBoxModalSched" href="#">' . esc_html__('Info', 'blog2social') . '</a></h3>
98
- <a id="b2s-meta-box-btn-customize" class="b2s-btn b2s-btn-success b2s-btn-sm b2s-center-block b2s-btn-margin-bottom-15" href="#">' . esc_html__('Customize & Schedule Social Media Posts', 'blog2social') . '</a>
99
- <hr>
100
- <div class="b2s-info-warning" style="display:block;"><b>' . esc_html__('Facebook Instant Sharing:', 'blog2social') . '</b><br>' . esc_html__('Auto-posts for Facebook Profiles will be shown in the "Instant Sharing" tab on your "Posts & Sharing" navigation bar and can be shared on your Facebook Profile by clicking on the "Share" button next to your auto-post.', 'blog2social') . '</div>
101
- <h3 class="b2s-meta-box-headline">' . esc_html__('Social Media Auto-Posting', 'blog2social') . ' <a class="b2s-info-btn" data-modal-target="b2sInfoMetaBoxModalAutoPost" href="#">' . esc_html__('Info', 'blog2social') . '</a></h3>
102
- ' . $lastPost;
103
-
104
- $content .='<input id="b2s-post-meta-box-time-dropdown-publish" class="post-format" ' . ((B2S_PLUGIN_USER_VERSION == 0) ? 'disabled' : '') . ' name="b2s-post-meta-box-time-dropdown" value="publish" type="checkbox" ' . $isChecked . '>
105
- <label for="b2s-post-meta-box-time-dropdown-publish" class="post-format-icon">' . esc_html__('enable Auto-Posting', 'blog2social') . '</label>';
106
 
107
- if (B2S_PLUGIN_USER_VERSION == 0) {
108
- $content .= ' <span class="b2s-label b2s-label-success"><a href="#" class="b2s-btn-label-premium b2s-info-btn" data-modal-target="b2sInfoMetaBoxModalAutoPost">' . esc_html__("SMART", "blog2social") . '</a></span>';
109
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110
 
111
- $content .='<div class="b2s-loading-area" style="display:none">
112
- <br>
113
- <div class="b2s-loader-impulse b2s-loader-impulse-md"></div>
114
- <div class="clearfix"></div>
115
- <small>' . esc_html__('Loading...', 'blog2social') . '</small>
116
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
117
  </div>';
 
118
 
119
- $content .=' <div class="b2s-meta-box-modal" id="b2sInfoMetaBoxModalSched" aria-hidden="true" style="display:none;">
120
  <div class="b2s-meta-box-modal-dialog">
121
  <div class="b2s-meta-box-modal-header">
122
  <a href="#" class="b2s-meta-box-modal-btn-close" data-modal-target="b2sInfoMetaBoxModalSched" aria-hidden="true">×</a>
@@ -165,16 +222,15 @@ class B2S_PostBox {
165
  </div>
166
  </div>
167
  ';
168
-
169
  return $content;
170
  }
171
 
172
- public function getPostBoxAutoHtml($mandant = array(), $auth = array()) {
173
  $authContent = '';
174
- $content = '<br><div class="b2s-meta-box-auto-post-area"><label for="b2s-post-meta-box-profil-dropdown">' . esc_html__('Select network collection:', 'blog2social') . ' <div style="float:right;"><a href="' . esc_url($this->b2sSiteUrl . 'wp-admin/admin.php?page=blog2social-network') . '" target="_blank">' . esc_html__('Network settings', 'blog2social') . '</a></div></label>
175
- <select style="width:100%;" id="b2s-post-meta-box-profil-dropdown" name="b2s-post-meta-box-profil-dropdown">';
176
  foreach ($mandant as $k => $m) {
177
- $content .= '<option value="' . esc_attr($m->id) . '">' . esc_html((($m->id == 0) ? __($m->name, 'blog2social') : $m->name)) . '</option>';
178
  $profilData = (isset($auth->{$m->id}) && isset($auth->{$m->id}[0]) && !empty($auth->{$m->id}[0])) ? json_encode($auth->{$m->id}) : '';
179
  $authContent .= "<input type='hidden' id='b2s-post-meta-box-profil-data-" . esc_attr($m->id) . "' name='b2s-post-meta-box-profil-data-" . esc_attr($m->id) . "' value='" . base64_encode($profilData) . "'/>";
180
  }
@@ -182,12 +238,12 @@ class B2S_PostBox {
182
  $content .= $authContent;
183
 
184
  //TOS Twitter 032018 - none multiple Accounts - User select once
185
- $content .='<div class="b2s-meta-box-auto-post-twitter-profile"><label for="b2s-post-meta-box-profil-dropdown-twitter">' . esc_html__('Select Twitter profile:', 'blog2social') . '</div></label> <select style="width:100%;" id="b2s-post-meta-box-profil-dropdown-twitter" name="b2s-post-meta-box-profil-dropdown-twitter">';
186
  foreach ($mandant as $k => $m) {
187
  if ((isset($auth->{$m->id}) && isset($auth->{$m->id}[0]) && !empty($auth->{$m->id}[0]))) {
188
  foreach ($auth->{$m->id} as $key => $value) {
189
  if ($value->networkId == 2) {
190
- $content .= '<option data-mandant-id="' . esc_attr($m->id) . '" value="' . esc_attr($value->networkAuthId) . '">' . esc_html($value->networkUserName) . '</option>';
191
  }
192
  }
193
  }
@@ -213,39 +269,56 @@ class B2S_PostBox {
213
  }
214
  }
215
  }
216
- $content .='<label>' . esc_html__('When do you want to share your post on social media?', 'blog2social') . '</label>';
217
- $content .= '<div class="b2s-post-meta-box-sched-area">';
218
- $content .='<select class="b2s-post-meta-box-sched-select" style="width:100%;" name="b2s-post-meta-box-sched-select">
219
- <option value="0">' . esc_html__('immediately after publishing', 'blog2social') . '</option>
220
- <option value="1">' . esc_html__('at scheduled times', 'blog2social') . '</option>
221
- <option value="2">' . esc_html__('schedule (best times)', 'blog2social') . '</option>
222
- </select>';
223
-
224
- $content .='<div id="b2s-post-meta-box-note-premium" class="b2s-info-success"><button class="b2s-btn-close-meta-box b2s-close-icon" data-area-id="b2s-post-meta-box-note-premium" title="close notice"></button><b>' . esc_html__('You want to schedule your blog post with Auto-Poster?', 'blog2social') . '</b><br> <a class="" target="_blank" href="' . esc_url(B2S_Tools::getSupportLink('affiliate')) . '">' . esc_html__('Upgrade to PRO', 'blog2social') . '</a></div>';
225
-
226
- $content .='<div class="b2s-post-meta-box-sched-once" style="display:none;">';
227
- //Opt: CustomDatePicker
228
- $dateFormat = (substr(B2S_LANGUAGE, 0, 2) == 'de') ? 'dd.mm.yyyy' : 'yyyy-mm-dd';
229
- $timeFormat = (substr(B2S_LANGUAGE, 0, 2) == 'de') ? 'hh:ii' : 'hh:ii aa';
230
- $content .='<label class="b2s-font-bold">' . esc_html__('Select date:', 'blog2social') . '</label>';
231
- $content .='<a href="#b2s-post-box-calendar-header" id="b2s-post-box-calendar-btn" class="pull-right">' . esc_html__('show calendar', 'blog2social') . '</a>';
232
- $content .='<br><span class="dashicons dashicons-calendar b2s-calendar-icon"></span><input style="width:88%;" id="b2s-post-meta-box-sched-date-picker" name="b2s-post-meta-box-sched-date" value="" readonly data-timepicker="true" data-language="' . esc_attr(substr(B2S_LANGUAGE, 0, 2)) . '" data-time-format="' . esc_attr($timeFormat) . '" data-date-format="' . esc_attr($dateFormat) . '" type="text"><br>';
233
-
234
- $content .="</div>";
235
 
236
  //Opt: Best Time Settings
237
  if (!empty($myBestTimeSettings) && is_array($myBestTimeSettings)) {
238
  $bestTimeSettings = array('type' => $bestTimeType, 'times' => $myBestTimeSettings);
239
- $content .="<input id='b2s-post-meta-box-best-time-settings' class='post-format' name='b2s-post-meta-box-best-time-settings' value='" . serialize($bestTimeSettings) . "' type='hidden'> ";
240
- $content .="<div class='b2s-post-meta-box-sched-best-time' style='display:none;'>";
241
- $content .="<span class='post-format-icon'>" . esc_html__('change', 'blog2social') . "</span>";
242
- $content .=' <a href="' . esc_attr($this->b2sSiteUrl . 'wp-admin/admin.php?page=blog2social-network') . '" target="_blank">' . esc_html__('best times', 'blog2social') . '</a></label>';
243
- $content .='<br><hr><span>' . esc_html__('Note: If you ​have​ not ​specified​ your own times, we automatically provide you with the best times to post​ on the social networks. You can always ​edit​ your own times in the settings.', 'blog2social') . '</span>';
244
- $content .="</div>";
 
245
  }
246
 
247
- $content .='</div>';
248
  return $content;
249
  }
250
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
251
  }
14
 
15
  public function getPostBox($postId = 0, $postType = 'post', $postStatus = '') {
16
 
17
+ $optionAutoPost = $this->userOption->_getOption('auto_post');
 
18
 
 
19
  $optionUserTimeZone = $this->userOption->_getOption('user_time_zone');
20
  $userTimeZone = ($optionUserTimeZone !== false) ? $optionUserTimeZone : get_option('timezone_string');
21
  $userTimeZoneOffset = (empty($userTimeZone)) ? get_option('gmt_offset') : B2S_Util::getOffsetToUtcByTimeZone($userTimeZone);
 
22
  $b2sHeartbeatFaqLink = '<a target="_blank" href="' . esc_url(B2S_Tools::getSupportLink('system')) . '">' . esc_html__('Please see FAQ', 'blog2social') . '</a>';
23
  $metaSettings = get_option('B2S_PLUGIN_GENERAL_OPTIONS');
24
  $autoPostImport = false;
25
 
26
+ $autoPostActive = false;
27
+
28
+ $lastPostDate = '---';
29
+ $shareCount = 0;
30
+ if ((int) $postId > 0) {
31
+ global $wpdb;
32
+ if ($wpdb->get_var("SHOW TABLES LIKE '{$wpdb->prefix}b2s_posts'") == $wpdb->prefix . 'b2s_posts') {
33
+ $lastPost = $wpdb->get_results($wpdb->prepare("SELECT publish_date FROM {$wpdb->prefix}b2s_posts WHERE post_id= %d AND hide = 0 ORDER BY publish_date DESC LIMIT 1", $postId));
34
+ if (!empty($lastPost) && isset($lastPost[0]) && !empty($lastPost[0]->publish_date) && $lastPost[0]->publish_date != '0000-00-00 00:00:00') {
35
+ $lastPostDate = esc_html(B2S_Util::getCustomDateFormat($lastPost[0]->publish_date, substr(B2S_LANGUAGE, 0, 2)));
36
+ }
37
+ $posts = $wpdb->get_results($wpdb->prepare("SELECT count(id) as shareCount FROM {$wpdb->prefix}b2s_posts WHERE post_id= %d AND hide = 0", $postId));
38
+ if (!empty($posts) && isset($posts[0]) && !empty($posts[0]->shareCount) && (int) $posts[0]->shareCount > 0) {
39
+ $shareCount = (int) $posts[0]->shareCount;
40
+ }
41
+ }
42
+ }
43
+
44
  if (B2S_PLUGIN_USER_VERSION > 0) {
45
+ if ($optionAutoPost !== false) {
46
+ if (!isset($optionAutoPost['active']) || (isset($optionAutoPost['active']) && (int) $optionAutoPost['active'] == 1)) {
47
+ $state = ($postId == 0) ? 'publish' : (($postStatus != '' && ($postStatus == 'publish')) ? 'update' : 'publish');
48
+ if (is_array($optionAutoPost) && isset($optionAutoPost[$state])) {
49
+ if (in_array($postType, $optionAutoPost[$state])) {
50
+ $autoPostActive = true;
51
+ }
52
+ }
53
+ }
54
+ }
55
+ if (isset($optionAutoPost['profile'])) {
56
+ //default from settings
57
+ $defaultProfile = $optionAutoPost['profile'];
58
+ if (isset($optionAutoPost['twitter']) && (int) $optionAutoPost['twitter'] > 0) {
59
+ $defaultTwitter = $optionAutoPost['twitter'];
60
  }
61
  }
62
 
63
+ $result = json_decode(B2S_Api_Post::post(B2S_PLUGIN_API_ENDPOINT, array('action' => 'getProfileUserAuth', 'token' => B2S_PLUGIN_TOKEN)));
64
+ if (isset($result->result) && (int) $result->result == 1 && isset($result->data) && !empty($result->data) && isset($result->data->mandant) && isset($result->data->auth) && !empty($result->data->mandant)) {
65
+ if (!empty($result->data->auth)) {
66
+ $selectedProfileId = -1;
67
+ $selectedTwitterId = -1;
68
+ $postOptions = get_option('B2S_PLUGIN_POST_OPTIONS_' . $postId);
69
+ if ($postOptions != false && isset($postOptions['auto_post_manuell']) && !empty($postOptions['auto_post_manuell']) && isset($postOptions['auto_post_manuell'][B2S_PLUGIN_BLOG_USER_ID]) && !empty($postOptions['auto_post_manuell'][B2S_PLUGIN_BLOG_USER_ID])) {
70
+ //selected at last post
71
+ if (isset($postOptions['auto_post_manuell'][B2S_PLUGIN_BLOG_USER_ID]['profile']) && (int) $postOptions['auto_post_manuell'][B2S_PLUGIN_BLOG_USER_ID]['profile'] > 0) {
72
+ $selectedProfileId = $postOptions['auto_post_manuell'][B2S_PLUGIN_BLOG_USER_ID]['profile'];
73
+ if (isset($postOptions['auto_post_manuell'][B2S_PLUGIN_BLOG_USER_ID]['twitter']) && (int) $postOptions['auto_post_manuell'][B2S_PLUGIN_BLOG_USER_ID]['twitter'] > 0) {
74
+ $selectedTwitterId = $postOptions['auto_post_manuell'][B2S_PLUGIN_BLOG_USER_ID]['twitter'];
75
+ }
76
+ }
77
+ }
78
+ if ($selectedProfileId < 0 && isset($defaultProfile)) {
79
+ //default from settings
80
+ $selectedProfileId = $defaultProfile;
81
+ if (isset($defaultTwitter) && (int) $defaultTwitter > 0) {
82
+ $selectedTwitterId = $defaultTwitter;
83
+ }
84
+ }
85
+ if ($selectedProfileId < 0) {
86
+ //old
87
+ $profilOption = get_option('B2S_PLUGIN_SAVE_META_BOX_AUTO_SHARE_PROFILE_USER_' . B2S_PLUGIN_BLOG_USER_ID);
88
+ if ((int) $profilOption > 0) {
89
+ $selectedProfileId = (int) $profilOption;
90
+ }
91
+ }
92
+ $bestTimes = (isset($optionAutoPost['best_times']) && (int) $optionAutoPost['best_times'] > 0) ? true : false;
93
+ $bestTimesDefault = $bestTimes;
94
+ if ($postOptions != false && isset($postOptions[B2S_PLUGIN_BLOG_USER_ID]) && !empty($postOptions[B2S_PLUGIN_BLOG_USER_ID] && isset($postOptions[B2S_PLUGIN_BLOG_USER_ID]['best_times']))) {
95
+ $bestTimes = ((int) $postOptions[B2S_PLUGIN_BLOG_USER_ID]['best_times'] > 0) ? true : false;
96
  }
97
+ $advancedOptions = $this->getAdvancedOptions($result->data->mandant, $result->data->auth, $selectedProfileId, $selectedTwitterId, $bestTimes);
98
  }
99
  }
100
+
101
  //Auto-Post-Import - Check Conditions - show notice
102
  $autoPostData = $this->userOption->_getOption('auto_post_import');
103
  if ($autoPostData !== false && is_array($autoPostData)) {
125
  }
126
  }
127
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
128
 
129
+ $content = '<div class="b2s-post-meta-box">
130
+ <div id="b2s-server-connection-fail" class="b2s-info-error"><button class="b2s-btn-close-meta-box b2s-close-icon" data-area-id="b2s-server-connection-fail" title="close notice"></button>' . esc_html__('The connection to the server failed. Try again!', 'blog2social') . '</div>
131
+ <div id="b2s-heartbeat-fail" class="b2s-info-error"><button class="b2s-btn-close-meta-box b2s-close-icon" data-area-id="b2s-heartbeat-fail" title="close notice"></button>' . esc_html__('WordPress uses heartbeats by default, Blog2Social as well. Please enable heartbeats for using Blog2Social!', 'blog2social') . $b2sHeartbeatFaqLink . ' </div>
132
+ <div id="b2s-post-meta-box-state-no-publish-future-customize" class="b2s-info-error"><button class="b2s-btn-close-meta-box b2s-close-icon" data-area-id="b2s-post-meta-box-state-no-publish-future-customize" title="close notice"></button>' . esc_html__('Your post is still on draft or pending status. Please make sure that your post is published or scheduled to be published on this blog. You can then auto-post or schedule and customize your social media posts with Blog2Social.', 'blog2social') . '</div>
133
+ <div id="b2s-post-meta-box-state-no-auth" class="b2s-info-error"><button class="b2s-btn-close-meta-box b2s-close-icon" data-area-id="b2s-post-meta-box-state-no-auth" title="close notice"></button>' . esc_html__('There are no social network accounts assigned to your selected network collection. Please assign at least one social network account or select another network collection.', 'blog2social') . '<a href="' . esc_url($this->b2sSiteUrl . 'wp-admin/admin.php?page=blog2social-network') . '" target="_bank">' . esc_html__('Network settings', 'blog2social') . '</a></div>
134
+ <div id="b2s-post-meta-box-state-no-publish-future" class="b2s-info-error"><button class="b2s-btn-close-meta-box b2s-close-icon" data-area-id="b2s-post-meta-box-state-no-publish-future" title="close notice"></button>' . esc_html__('Your post is still on draft or pending status. Please make sure that your post is published or scheduled to be published on this blog. You can then auto-post or schedule and customize your social media posts with Blog2Social.', 'blog2social') . '</div>
135
+ <div id="b2s-url-valid-warning" class="b2s-info-warning"><button class="b2s-btn-close-meta-box b2s-close-icon" data-area-id="b2s-url-valid-warning" title="close notice"></button>' . esc_html__('Notice: Please make sure, that your website address is reachable. The Social Networks do not allow postings from local installations.', 'blog2social') . '</div>
136
+ <input type="hidden" id="b2s-redirect-url-customize" name="b2s-redirect-url-customize" value="' . esc_attr($this->b2sSiteUrl . 'wp-admin/admin.php?page=blog2social-ship&postId=') . '"/>
137
+ <input type="hidden" id="b2s-user-last-selected-profile-id" name="b2s-user-last-selected-profile-id" value="' . esc_attr(($selectedProfileId !== false ? (int) $selectedProfileId : 0)) . '" />
138
+ <input type="hidden" id="b2s-home-url" name="b2s-home-url" value="' . esc_attr(get_option('home')) . '"/>
139
+ <input type="hidden" id="b2sLang" name="b2s-user-lang" value="' . esc_attr(strtolower(substr(get_locale(), 0, 2))) . '">
140
+ <input type="hidden" id="b2sUserLang" name="b2s-user-lang" value="' . esc_attr(strtolower(substr(get_locale(), 0, 2))) . '">
141
+ <input type="hidden" id="b2sPostLang" name="b2s-post-lang" value="' . esc_attr(substr($this->postLang, 0, 2)) . '">
142
+ <input type="hidden" id="b2sPluginUrl" name="b2s-post-lang" value="' . esc_attr(B2S_PLUGIN_URL) . '">
143
+ <input type="hidden" id="b2sBlogUserId" name="b2s-blog-user-id" value="' . esc_attr(B2S_PLUGIN_BLOG_USER_ID) . '">
144
+ <input type="hidden" id="b2s-user-timezone" name="b2s-user-timezone" value="' . esc_attr($userTimeZoneOffset) . '"/>
145
+ <input type="hidden" id="b2s-post-status" name="b2s-post-status" value="' . esc_attr(trim(strtolower($postStatus))) . '"/>
146
+ <input type="hidden" id="b2s-post-meta-box-version" name="b2s-post-meta-box-version" value="' . esc_attr(B2S_PLUGIN_USER_VERSION) . '"/>
147
+ <input type="hidden" id="isOgMetaChecked" name="isOgMetaChecked" value="' . esc_attr((isset($metaSettings['og_active']) ? (int) $metaSettings['og_active'] : 0)) . '">
148
+ <input type="hidden" id="isCardMetaChecked" name="isCardMetaChecked" value="' . esc_attr((isset($metaSettings['card_active']) ? (int) $metaSettings['card_active'] : 0)) . '">
149
+ <input type="hidden" id="b2s-logo-url" value="' . esc_url(plugins_url('/assets/images/b2s_icon.png', B2S_PLUGIN_FILE)) . '">
150
+ <input type="hidden" id="b2sAutoPostImportIsActive" name="autoPostImportIsActive" value="' . (($autoPostImport) ? 1 : 0) . '">
151
 
152
+ <h3 class="b2s-meta-box-headline">' . esc_html__('Custom Sharing & Scheduling', 'blog2social') . ' <a class="b2s-info-btn" data-modal-target="b2sInfoMetaBoxModalSched" href="#">' . esc_html__('Info', 'blog2social') . '</a></h3>
153
+ <a id="b2s-meta-box-btn-customize" class="b2s-btn b2s-btn-primary b2s-btn-sm b2s-center-block b2s-btn-margin-bottom-15" href="#">' . esc_html__('Customize & Schedule Social Media Posts', 'blog2social') . '</a>
154
+ <div class="b2s-post-box-content">
155
+ <h3 class="b2s-meta-box-headline">' . esc_html__('The Autoposter is', 'blog2social') . ' <span class="b2s-post-meta-box-active" style="color:green;' . ((!$autoPostActive) ? 'display:none;' : '') . '">' . esc_html__('activated', 'blog2social') . '</span><span class="b2s-post-meta-box-inactive" style="color:red;' . (($autoPostActive) ? 'display:none;' : '') . '">' . esc_html__('deactivated', 'blog2social') . '</span> <a class="b2s-info-btn" data-modal-target="b2sInfoMetaBoxModalAutoPost" href="#">' . esc_html__('Info', 'blog2social') . '</a></h3>
156
+ <div class="b2s-meta-box-share-info">
157
+ <div>' . esc_html__('Shared', 'blog2social') . ': <span class="b2s-meta-box-share-count">' . $shareCount . '</span> ' . esc_html__('times', 'blog2social') . '</div>
158
+ <span>' . esc_html__('Last shared', 'blog2social') . ': </span>
159
+ <span class="b2s-meta-box-last-post-date">' . $lastPostDate . '</span>
160
+ </div>
161
+ <div class="b2s-options-btn-area"><span class="b2s-options-btn" href="#">' . esc_html__('Advanced settings', 'blog2social') . ' <i class="glyphicon glyphicon-chevron-down"></i></span></div>
162
+ <div class="b2s-options" style="display:none;">
163
+ <br>
164
+ <input type="checkbox" class="b2s-enable-auto-post" id="b2s-enable-auto-post" name="b2s-enable-auto-post" value="1" ' . (($autoPostActive) ? 'checked' : '') . '><label for="b2s-enable-auto-post">'.esc_html__('enable Auto-Posting', 'blog2social').'</label>
165
+ ' . ((isset($advancedOptions)) ? $advancedOptions : '') . '
166
+ <a href="#b2s-post-box-calendar-header" id="b2s-post-box-calendar-btn">'.esc_html__('show calendar', 'blog2social').'</a>
167
+ <input type="hidden" name="b2s-profile-selected" value="' . ((isset($selectedProfileId)) ? $selectedProfileId : '-1') . '">
168
+ <input type="hidden" name="b2s-profile-default" value="' . ((isset($defaultProfile)) ? $defaultProfile : '-1') . '">
169
+ <input type="hidden" name="b2s-twitter-default" value="' . ((isset($defaultTwitter)) ? $defaultTwitter : '0') . '">
170
+ <input type="hidden" name="b2s-best-times-default" value="' . ((isset($bestTimesDefault)) ? $bestTimesDefault : '0') . '">
171
+ </div>
172
+ </div>
173
  </div>';
174
+ }
175
 
176
+ $content .= ' <div class="b2s-meta-box-modal" id="b2sInfoMetaBoxModalSched" aria-hidden="true" style="display:none;">
177
  <div class="b2s-meta-box-modal-dialog">
178
  <div class="b2s-meta-box-modal-header">
179
  <a href="#" class="b2s-meta-box-modal-btn-close" data-modal-target="b2sInfoMetaBoxModalSched" aria-hidden="true">×</a>
222
  </div>
223
  </div>
224
  ';
 
225
  return $content;
226
  }
227
 
228
+ public function getAdvancedOptions($mandant = array(), $auth = array(), $selectedProfileId = -1, $selectedTwitterId = -1, $bestTimes = false) {
229
  $authContent = '';
230
+ $content = '<br><div class="b2s-meta-box-auto-post-area"><label for="b2s-post-meta-box-profil-dropdown">' . esc_html__('Select network collection:', 'blog2social') . ' <div class="pull-right"><a href="' . esc_url($this->b2sSiteUrl . 'wp-admin/admin.php?page=blog2social-network') . '" target="_blank">' . esc_html__('Network settings', 'blog2social') . '</a></div></label>
231
+ <select class="b2s-w-100" id="b2s-post-meta-box-profil-dropdown" name="b2s-post-meta-box-profil-dropdown">';
232
  foreach ($mandant as $k => $m) {
233
+ $content .= '<option value="' . esc_attr($m->id) . '" ' . (((int) $m->id == (int) $selectedProfileId) ? 'selected' : '') . '>' . esc_html((($m->id == 0) ? __($m->name, 'blog2social') : $m->name)) . '</option>';
234
  $profilData = (isset($auth->{$m->id}) && isset($auth->{$m->id}[0]) && !empty($auth->{$m->id}[0])) ? json_encode($auth->{$m->id}) : '';
235
  $authContent .= "<input type='hidden' id='b2s-post-meta-box-profil-data-" . esc_attr($m->id) . "' name='b2s-post-meta-box-profil-data-" . esc_attr($m->id) . "' value='" . base64_encode($profilData) . "'/>";
236
  }
238
  $content .= $authContent;
239
 
240
  //TOS Twitter 032018 - none multiple Accounts - User select once
241
+ $content .= '<div class="b2s-meta-box-auto-post-twitter-profile"><label for="b2s-post-meta-box-profil-dropdown-twitter">' . esc_html__('Select Twitter profile:', 'blog2social') . '</label> <select class="b2s-w-100" id="b2s-post-meta-box-profil-dropdown-twitter" name="b2s-post-meta-box-profil-dropdown-twitter">';
242
  foreach ($mandant as $k => $m) {
243
  if ((isset($auth->{$m->id}) && isset($auth->{$m->id}[0]) && !empty($auth->{$m->id}[0]))) {
244
  foreach ($auth->{$m->id} as $key => $value) {
245
  if ($value->networkId == 2) {
246
+ $content .= '<option data-mandant-id="' . esc_attr($m->id) . '" value="' . esc_attr($value->networkAuthId) . '" ' . (((int) $value->networkAuthId == (int) $selectedTwitterId) ? 'selected' : '') . '>' . esc_html($value->networkUserName) . '</option>';
247
  }
248
  }
249
  }
269
  }
270
  }
271
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
272
 
273
  //Opt: Best Time Settings
274
  if (!empty($myBestTimeSettings) && is_array($myBestTimeSettings)) {
275
  $bestTimeSettings = array('type' => $bestTimeType, 'times' => $myBestTimeSettings);
276
+ $content .= '<br>
277
+ <div class="b2s-meta-box-auto-post-sched"><label for="b2s-post-meta-box-sched-select">' . esc_html__('When do you want to share your post on social media?', 'blog2social') . '</label>
278
+ <select id="b2s-post-meta-box-sched-select" class="b2s-w-100" name="b2s-post-meta-box-sched-select">
279
+ <option value="0" ' . ((!$bestTimes) ? 'selected' : '') . '>' . esc_html__('immediately after publishing', 'blog2social') . '</option>
280
+ <option value="1" ' . (($bestTimes) ? 'selected' : '') . '>' . esc_html__('at best times', 'blog2social') . '</option>
281
+ </select></div>';
282
+ $content .= "<input id='b2s-post-meta-box-best-time-settings' class='post-format' name='b2s-post-meta-box-best-time-settings' value='" . serialize($bestTimeSettings) . "' type='hidden'> ";
283
  }
284
 
 
285
  return $content;
286
  }
287
 
288
+ public function updateInfo($postId = 0) {
289
+ //>= V6.1 Gutenberg update Infobox
290
+ $autoPostActive = false;
291
+ $lastPostDate = '---';
292
+ $shareCount = 0;
293
+ if ((int) $postId > 0) {
294
+ $optionAutoPost = $this->userOption->_getOption('auto_post');
295
+ $postStatus = get_post_status($postId);
296
+ $postType = get_post_type($postId);
297
+ if ($optionAutoPost !== false) {
298
+ if (!isset($optionAutoPost['active']) || (isset($optionAutoPost['active']) && (int) $optionAutoPost['active'] == 1)) {
299
+ $state = ($postStatus != false && $postStatus != '' && ($postStatus == 'publish')) ? 'update' : 'publish';
300
+ if (is_array($optionAutoPost) && isset($optionAutoPost[$state])) {
301
+ if ($postType != false && in_array($postType, $optionAutoPost[$state])) {
302
+ $autoPostActive = true;
303
+ }
304
+ }
305
+ }
306
+ }
307
+
308
+ global $wpdb;
309
+ if ($wpdb->get_var("SHOW TABLES LIKE '{$wpdb->prefix}b2s_posts'") == $wpdb->prefix . 'b2s_posts') {
310
+ $lastPost = $wpdb->get_results($wpdb->prepare("SELECT publish_date FROM {$wpdb->prefix}b2s_posts WHERE post_id= %d ORDER BY publish_date DESC LIMIT 1", $postId));
311
+ if (!empty($lastPost) && isset($lastPost[0]) && !empty($lastPost[0]->publish_date) && $lastPost[0]->publish_date != '0000-00-00 00:00:00') {
312
+ $lastPostDate = esc_html(B2S_Util::getCustomDateFormat($lastPost[0]->publish_date, substr(B2S_LANGUAGE, 0, 2)));
313
+ }
314
+ $posts = $wpdb->get_results($wpdb->prepare("SELECT count(id) as shareCount FROM {$wpdb->prefix}b2s_posts WHERE post_id= %d AND hide = 0", $postId));
315
+ if (!empty($posts) && isset($posts[0]) && !empty($posts[0]->shareCount) && (int) $posts[0]->shareCount > 0) {
316
+ $shareCount = (int) $posts[0]->shareCount;
317
+ }
318
+ }
319
+ }
320
+
321
+ return array('active' => $autoPostActive, 'lastPostDate' => $lastPostDate, 'shareCount' => $shareCount);
322
+ }
323
+
324
  }
includes/B2S/Settings/Item.php CHANGED
@@ -53,11 +53,9 @@ class B2S_Settings_Item {
53
  $userTimeZone = ($optionUserTimeZone !== false) ? $optionUserTimeZone : get_option('timezone_string');
54
  $userTimeZoneOffset = (empty($userTimeZone)) ? get_option('gmt_offset') : B2S_Util::getOffsetToUtcByTimeZone($userTimeZone);
55
  $userInfo = get_user_meta(B2S_PLUGIN_BLOG_USER_ID);
56
- $isChecked = (isset($this->settings->short_url) && (int) $this->settings->short_url == 0) ? 1 : 0;
57
  $isCheckedAllowHashTag = ($optionUserHashTag === false || $optionUserHashTag == 1) ? 1 : 0; //default allow , 1=include 0=not include
58
- $isShortenerBitlyActive = (isset($this->settings->shortener_bitly_display_name) && !empty($this->settings->shortener_bitly_display_name)) ? true : false;
59
- $isChecked = ($isShortenerBitlyActive) ? 0 : 1;
60
-
61
  $content = '';
62
  $content .='<h4>' . esc_html__('Account', 'blog2social') . '</h4>';
63
  $content .='<div class="form-inline">';
@@ -75,13 +73,28 @@ class B2S_Settings_Item {
75
  $content .='<hr>';
76
  $content .='<h4>' . esc_html__('Content', 'blog2social') . '</h4>';
77
  $content .='<strong>' . esc_html__('Url Shortener', 'blog2social') . '</strong> <a href="#" class="b2s-info-btn del-padding-left b2sInfoUrlShortenerModalBtn">' . esc_html__('Info', 'Blog2Social') . '</a><br>';
78
- $content .='<input type="checkbox" value="' . esc_attr($isChecked) . '" id="b2s-user-network-settings-short-url" ' . (($isChecked == 0) ? 'checked="checked"' : '') . ' /><label for="b2s-user-network-settings-short-url"> <img class="b2s-shortener-image" alt="Bitly" src="' . plugins_url('/assets/images/settings/bitly.png', B2S_PLUGIN_FILE) . '"> ' . esc_html__('Bitly', 'blog2social') . '</label>';
79
- $content .='<span class="b2s-user-network-shortener-account-area" data-provider-id="0">';
80
- $content .='<input type="hidden" id="b2s-user-network-shortener-state" data-provider-id="0" value="' . (($isShortenerBitlyActive) ? 1 : 0) . '"/>';
81
- $content .='<span class="b2s-user-network-shortener-connect" data-provider-id="0" style="display:' . ((!$isShortenerBitlyActive) ? 'inline-block' : 'none') . ';" ><a href="#" class="b2s-shortener-account-connect-btn" data-provider-id="0" onclick="wopShortener(\'' . $this->authUrl . '&provider_id=0\', \'Blog2Social Network\'); return false;">' . esc_html__('connect', 'blog2social') . '</a> </span>';
82
- $content .='<span class="b2s-user-network-shortener-account-detail" data-provider-id="0" style="display:' . (($isShortenerBitlyActive) ? 'inline-block' : 'none') . ';">(' . esc_html__('Account', 'blog2social') . ': <span id="b2s-shortener-account-display-name" data-provider-id="0">' . esc_html((($isShortenerBitlyActive) ? $this->settings->shortener_bitly_display_name : '')) . '</span> <a href="#" class="b2s-shortener-account-change-btn" data-provider-id="0" onclick="wopShortener(\'' . $this->authUrl . '&provider_id=0\', \'Blog2Social Network\'); return false;">' . esc_html__('change', 'blog2social') . '</a> | <a href="#" class="b2s-shortener-account-delete-btn" data-provider-id="0">' . esc_html__('delete', 'blog2social') . '</a>)</span>';
83
- $content .='</span>';
84
- $content .= '<br><br>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  $content .= '<strong>' . esc_html__('Shortcodes', 'blog2social') . '</strong> <a href="#" class="b2s-info-btn del-padding-left b2sInfoAllowShortcodeModalBtn">' . esc_html__('Info', 'Blog2Social') . '</a> <br>';
86
  $content .= '<input type="checkbox" value="' . esc_attr($isCheckedAllowShortcode) . '" id="b2s-user-network-settings-allow-shortcode" ' . (($isCheckedAllowShortcode == 1) ? 'checked="checked"' : '') . ' /> ' . esc_html__('allow shortcodes in my post', 'blog2social');
87
  $content .= '<br><br>';
@@ -97,26 +110,36 @@ class B2S_Settings_Item {
97
  }
98
 
99
  public function getAutoPostingSettingsHtml() {
100
-
101
  $optionAutoPost = $this->options->_getOption('auto_post');
102
  $optionAutoPostImport = $this->options->_getOption('auto_post_import');
103
 
104
  $isPremium = (B2S_PLUGIN_USER_VERSION == 0) ? ' <span class="label label-success label-sm">' . esc_html__("SMART", "blog2social") . '</span>' : '';
105
  $versionType = unserialize(B2S_PLUGIN_VERSION_TYPE);
106
  $limit = unserialize(B2S_PLUGIN_AUTO_POST_LIMIT);
107
-
 
 
108
  $content = '';
109
  $content .='<div class="panel panel-group b2s-auto-post-own-general-warning"><div class="panel-body">';
110
  $content .='<span class="glyphicon glyphicon-exclamation-sign glyphicon-warning"></span> ' . esc_html__('Auto-posts for Facebook Profiles will be shown in the "Instant Sharing" tab on your "Posts & Sharing" navigation bar and can be shared on your Facebook Profile by clicking on the "Share" button next to your auto-post.', 'blog2social');
111
- //$content .='<br><span class="glyphicon glyphicon-exclamation-sign glyphicon-warning"></span> ' . __('XING is excluded due to the cross posting rules for auto posting', 'blog2social'). " <a target='_blank' href='".B2S_Tools::getSupportLink('xing_auto_posting')."'>".__("read more","blog2social")."</a>";
112
  $content .='</div>';
113
  $content .='</div>';
114
- $content .='<h4>' . esc_html__('Auto-post your own created posts', 'blog2social') . ' ' . $isPremium . ' <a href="#" class="b2s-info-btn del-padding-left b2sInfoAutoPosterMModalBtn">' . esc_html__('Info', 'Blog2Social') . '</a>';
115
- $content .='<br><div class="b2s-text-sm">' . esc_html__('Define by default to automatically post your posts on social media:', 'blog2social') . '</div>';
116
- $content .='</h4>';
117
- $content .='<p class="b2s-bold">' . esc_html__('Select by default if the auto-poster is activated when you publish a new post or update a post.', 'blog2social') . '</p>';
 
 
 
 
 
 
 
 
 
118
  $content .='<br>';
119
- $content .= '<form id = "b2s-user-network-settings-auto-post-own" method = "post">';
120
  $content .='<div class="row ' . (!empty($isPremium) ? 'b2s-btn-disabled' : '') . '">';
121
  $content .='<div class="col-xs-12 col-md-2">';
122
  $content .='<label class="b2s-auto-post-publish-label">' . esc_html__('new posts', 'blog2social') . '</label>';
@@ -138,18 +161,17 @@ class B2S_Settings_Item {
138
  $content .= $this->getPostTypesHtml($optionAutoPost, 'update');
139
  $content .='</div>';
140
  $content .='</div>';
141
- if (B2S_PLUGIN_USER_VERSION > 0) {
142
- $content .= '<button class="pull-right btn btn-primary btn-sm" id="b2s-auto-post-import-settings-btn" type="submit">';
143
- } else {
144
- $content .= '<button class="pull-right btn btn-primary btn-sm b2s-btn-disabled b2s-save-settings-pro-info b2sInfoAutoPosterMModalBtn">';
145
- }
146
- $content .= esc_html__('Save', 'blog2social') . '</button>';
 
147
  $content .='<br>';
148
  $content .='<hr>';
149
- $content .='<h4>' . esc_html__('Auto-post your imported posts to your social media accounts', 'blog2social') . ' ' . $isPremium . ' <a href="#" class="b2s-info-btn del-padding-left b2sInfoAutoPosterAModalBtn">' . esc_html__('Info', 'Blog2Social') . '</a>';
150
- $content .='<br><div class="b2s-text-sm">' . esc_html__('Define by default to automatically share your imported posts to social media:', 'blog2social') . '</div>';
151
- $content .='</h4>';
152
-
153
  $content .='<p>' . esc_html__('Your current license:', 'blog2social') . '<span class="b2s-key-name"> ' . $versionType[B2S_PLUGIN_USER_VERSION] . '</span> ';
154
  if (B2S_PLUGIN_USER_VERSION == 0) {
155
  $content .='<br>' . esc_html__('Immediate Cross-Posting across all networks: Share an unlimited number of posts', 'blog2social') . '<br>';
@@ -159,12 +181,12 @@ class B2S_Settings_Item {
159
  $content .='<a class="b2s-info-btn" href="' . esc_html(B2S_Tools::getSupportLink('affiliate')) . '" target="_blank">' . esc_html__('Upgrade', 'blog2social') . '</a>';
160
  }
161
  $content .='</p>';
162
-
163
  $content .='<br>';
164
  $content .='<div class="' . (!empty($isPremium) ? 'b2s-btn-disabled' : '') . '">';
165
- $content .='<p class="b2s-bold">' . esc_html__('Select by default to automatically share your imported posts', 'blog2social') . '</p>';
166
- $content .='<input data-size="mini" data-toggle="toggle" data-width="90" data-height="22" data-onstyle="primary" data-on="ON" data-off="OFF" ' . ((isset($optionAutoPostImport['active']) && (int) $optionAutoPostImport['active'] == 1) ? 'checked' : '') . ' name="b2s-import-auto-post" value="1" type="checkbox">';
167
  $content .='<br><br>';
 
168
  $content .='<p class="b2s-bold">' . esc_html__('Available networks to select your auto-post connecitons:', 'blog2social') . '</p>';
169
  $content .='<div class="b2s-network-tos-auto-post-import-warning"><div class="alert alert-danger">' . esc_html__('In accordance with the new Twitter TOS, one Twitter account can be selected as your primary Twitter account for auto-posting.', 'blog2social') . ' <a href="' . esc_url(B2S_Tools::getSupportLink('network_tos_faq_032018')) . '" target="_blank">' . esc_html__('More information', 'blog2social') . '</a></div></div>';
170
  $content .= $this->getNetworkAutoPostData($optionAutoPostImport);
@@ -172,21 +194,20 @@ class B2S_Settings_Item {
172
  $content .='<input id="b2s-import-auto-post-time-now" name="b2s-import-auto-post-time-state" ' . (((isset($optionAutoPostImport['ship_state']) && (int) $optionAutoPostImport['ship_state'] == 0) || !isset($optionAutoPostImport['ship_state'])) ? 'checked' : '') . ' value="0" type="radio"><label for="b2s-import-auto-post-time-now">' . esc_html__('immediately', 'blog2social') . '</label><br>';
173
  $content .='<input id="b2s-import-auto-post-time-delay" name="b2s-import-auto-post-time-state" value="1" ' . ((isset($optionAutoPostImport['ship_state']) && (int) $optionAutoPostImport['ship_state'] == 1) ? 'checked' : '') . ' type="radio"><label for="b2s-import-auto-post-time-delay">' . esc_html__('publish with a delay of', 'blog2social');
174
  $content .=' <input type="number" maxlength="2" max="10" min="1" class="b2s-input-text-size-45" name="b2s-import-auto-post-time-data" value="' . esc_attr((isset($optionAutoPostImport['ship_delay_time']) ? $optionAutoPostImport['ship_delay_time'] : 1)) . '" placeholder="1" > (1-10) ' . esc_html__('minutes', 'blog2social') . '</label>';
175
-
176
  $content .='<br>';
177
  $content .= $this->getChosenPostTypesData($optionAutoPostImport);
 
 
 
 
 
178
  if (B2S_PLUGIN_USER_VERSION > 0) {
179
- $content .= '<button class="pull-right btn btn-primary btn-sm" id="b2s-auto-post-import-settings-btn" type="submit">';
180
  } else {
181
  $content .= '<button class="pull-right btn btn-primary btn-sm b2s-btn-disabled b2s-save-settings-pro-info b2sInfoAutoPosterMModalBtn">';
182
  }
183
  $content .= esc_html__('Save', 'blog2social') . '</button>';
184
- $content .= '<input type="hidden" name="action" value="b2s_user_network_settings">';
185
- $content .= '<input type="hidden" name="type" value="auto_post">';
186
- $content .='</div>';
187
-
188
- $content .='</form>';
189
-
190
  return $content;
191
  }
192
 
@@ -376,13 +397,17 @@ class B2S_Settings_Item {
376
  $content .='<hr></div>';
377
  }
378
 
379
- foreach (array(1, 2, 3, 12, 19) as $n => $networkId) { //FB,TW,LI,IN
380
- $type = ($networkId == 1 || $networkId == 19) ? array(0, 1, 2) : (($networkId == 3) ? array(0, 1) : array(0));
381
  foreach ($type as $t => $typeId) { //Profile,Page,Group
382
- if (!isset($optionPostFormat[$networkId][$typeId]['format'])) {
383
- $postFormat = $defaultPostFormat[$networkId][$typeId]['format'];
384
  } else {
385
- $postFormat = $optionPostFormat[$networkId][$typeId]['format'];
 
 
 
 
386
  }
387
 
388
  $post_format_0 = (((int) $postFormat == 0) ? 'b2s-settings-checked' : '' ); //LinkPost
@@ -425,12 +450,12 @@ class B2S_Settings_Item {
425
  public function setNetworkSettingsHtml() {
426
  $optionPostFormat = $this->options->_getOption('post_template');
427
  $content = "<input type='hidden' class='b2sNetworkSettingsPostFormatText' value='" . json_encode(array('post' => array(__('Link Post', 'blog2social'), __('Image Post', 'blog2social')), 'image' => array(__('Image with frame'), __('Image cut out')))) . "'/>";
428
- foreach (array(1, 2, 3, 12, 19, 15) as $n => $networkId) { //FB,TW,LI,IN
429
  $postFormatType = ($networkId == 12) ? 'image' : 'post';
430
- $type = ($networkId == 1 || $networkId == 19) ? array(0, 1, 2) : (($networkId == 3) ? array(0, 1) : array(0));
431
  foreach ($type as $t => $typeId) { //Profile,Page,Group
432
  if (!isset($optionPostFormat[$networkId][$typeId]['format']) || (int) $optionPostFormat[$networkId][$typeId]['format'] < 0 || (int) $optionPostFormat[$networkId][$typeId]['format'] > 1) { //DEFAULT
433
- $value = ($networkId == 2) ? 1 : 0; //default see B2S_PLUGIN_NETWORK_SETTINGS_TEMPLATE_DEFAULT
434
  } else {
435
  $value = $optionPostFormat[$networkId][$typeId]['format'];
436
  }
@@ -447,11 +472,43 @@ class B2S_Settings_Item {
447
  foreach ($this->postTypesData as $k => $v) {
448
  if ($v != 'attachment' && $v != 'nav_menu_item' && $v != 'revision') {
449
  $selItem = (in_array($v, $selected)) ? 'checked' : '';
450
- $content .= ' <div class="b2s-post-type-list"><input id="b2s-post-type-item-' . esc_attr($type) . '-' . esc_attr($v) . '" class="b2s-post-type-item-' . $type . '" value="' . esc_attr($v) . '" name="b2s-settings-auto-post-' . $type . '[]" type="checkbox" ' . $selItem . '><label for="b2s-post-type-item-' . $type . '-' . $v . '">' . esc_html($v) . '</label></div>';
451
  }
452
  }
453
  }
454
  return $content;
455
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
456
 
457
  }
53
  $userTimeZone = ($optionUserTimeZone !== false) ? $optionUserTimeZone : get_option('timezone_string');
54
  $userTimeZoneOffset = (empty($userTimeZone)) ? get_option('gmt_offset') : B2S_Util::getOffsetToUtcByTimeZone($userTimeZone);
55
  $userInfo = get_user_meta(B2S_PLUGIN_BLOG_USER_ID);
56
+ $isCheckedShortener = (isset($this->settings->shortener_state) && (int) $this->settings->shortener_state > 0) ? ((int) $this->settings->shortener_state - 1) : -1;
57
  $isCheckedAllowHashTag = ($optionUserHashTag === false || $optionUserHashTag == 1) ? 1 : 0; //default allow , 1=include 0=not include
58
+
 
 
59
  $content = '';
60
  $content .='<h4>' . esc_html__('Account', 'blog2social') . '</h4>';
61
  $content .='<div class="form-inline">';
73
  $content .='<hr>';
74
  $content .='<h4>' . esc_html__('Content', 'blog2social') . '</h4>';
75
  $content .='<strong>' . esc_html__('Url Shortener', 'blog2social') . '</strong> <a href="#" class="b2s-info-btn del-padding-left b2sInfoUrlShortenerModalBtn">' . esc_html__('Info', 'Blog2Social') . '</a><br>';
76
+
77
+ $content .='<input type="radio" value="0" class="b2s-user-network-settings-short-url" id="b2s-user-network-settings-short-url-0" name="b2s-user-network-settings-short-url" ' . (($isCheckedShortener == -1) ? 'checked="checked"' : '') . ' data-provider-id="-1"/><label for="b2s-user-network-settings-short-url-0"> '.esc_html__('no URL Shortener', 'blog2social').'</label>';
78
+ $content .= '<br>';
79
+ foreach (unserialize(B2S_PLUGIN_SHORTENER) as $id => $name) {
80
+ $display_name = '';
81
+ if(isset($this->settings->shortener_data) && is_array($this->settings->shortener_data) && !empty($this->settings->shortener_data)) {
82
+ foreach ($this->settings->shortener_data as $shortenerObject) {
83
+ if(isset($shortenerObject->provider_id) && $shortenerObject->provider_id == $id && isset($shortenerObject->display_name)) {
84
+ $display_name = $shortenerObject->display_name;
85
+ }
86
+ }
87
+ }
88
+ $content .='<input type="radio" value="' . ($id+1) . '" class="b2s-user-network-settings-short-url" id="b2s-user-network-settings-short-url-'.($id+1).'" name="b2s-user-network-settings-short-url" ' . (($isCheckedShortener == $id) ? 'checked="checked"' : '') . ' data-provider-id="'.$id.'" /><label for="b2s-user-network-settings-short-url-'.($id+1).'"> <img class="b2s-shortener-image" alt="'.$name.'" src="' . plugins_url('/assets/images/settings/'. strtolower($name) .'.png', B2S_PLUGIN_FILE) . '"> ' . $name . '</label>';
89
+ $content .='<span class="b2s-user-network-shortener-account-area" data-provider-id="'.$id.'">';
90
+ $content .='<input type="hidden" class="b2s-user-network-shortener-state" data-provider-id="'.$id.'" value="' . ((!empty($display_name)) ? 1 : 0) . '"/>';
91
+ $content .='<span class="b2s-user-network-shortener-connect" data-provider-id="'.$id.'" style="display:' . ((empty($display_name)) ? 'inline-block' : 'none') . ';" ><a href="#" class="b2s-shortener-account-connect-btn" data-provider-id="'.$id.'" onclick="wopShortener(\'' . $this->authUrl . '&provider_id='.$id.'\', \'Blog2Social Network\'); return false;"> ' . esc_html__('authorize', 'blog2social') . '</a> </span>';
92
+ $content .=' <span class="b2s-user-network-shortener-account-detail" data-provider-id="'.$id.'" style="display:' . ((!empty($display_name)) ? 'inline-block' : 'none') . ';">(' . esc_html__('Account', 'blog2social') . ': <span class="b2s-shortener-account-display-name" data-provider-id="'.$id.'">' . (!empty($display_name) ? esc_html($display_name) : '') . '</span> <a href="#" class="b2s-shortener-account-change-btn" data-provider-id="'.$id.'" onclick="wopShortener(\'' . $this->authUrl . '&provider_id='.$id.'\', \'Blog2Social Network\'); return false;">' . esc_html__('change', 'blog2social') . '</a> | <a href="#" class="b2s-shortener-account-delete-btn" data-provider-id="'.$id.'">' . esc_html__('delete', 'blog2social') . '</a>)</span>';
93
+ $content .='</span>';
94
+ $content .= '<br>';
95
+ }
96
+
97
+ $content .= '<br>';
98
  $content .= '<strong>' . esc_html__('Shortcodes', 'blog2social') . '</strong> <a href="#" class="b2s-info-btn del-padding-left b2sInfoAllowShortcodeModalBtn">' . esc_html__('Info', 'Blog2Social') . '</a> <br>';
99
  $content .= '<input type="checkbox" value="' . esc_attr($isCheckedAllowShortcode) . '" id="b2s-user-network-settings-allow-shortcode" ' . (($isCheckedAllowShortcode == 1) ? 'checked="checked"' : '') . ' /> ' . esc_html__('allow shortcodes in my post', 'blog2social');
100
  $content .= '<br><br>';
110
  }
111
 
112
  public function getAutoPostingSettingsHtml() {
113
+
114
  $optionAutoPost = $this->options->_getOption('auto_post');
115
  $optionAutoPostImport = $this->options->_getOption('auto_post_import');
116
 
117
  $isPremium = (B2S_PLUGIN_USER_VERSION == 0) ? ' <span class="label label-success label-sm">' . esc_html__("SMART", "blog2social") . '</span>' : '';
118
  $versionType = unserialize(B2S_PLUGIN_VERSION_TYPE);
119
  $limit = unserialize(B2S_PLUGIN_AUTO_POST_LIMIT);
120
+ $autoPostActive = (isset($optionAutoPost['active'])) ? (((int) $optionAutoPost['active'] > 0) ? true : false) : (((isset($optionAutoPost['publish']) && !empty($optionAutoPost['publish'])) || (isset($optionAutoPost['update']) && !empty($optionAutoPost['update']))) ? true : false);
121
+ $autoPostImportActive = (isset($optionAutoPostImport['active']) && (int) $optionAutoPostImport['active'] == 1) ? true : false;
122
+
123
  $content = '';
124
  $content .='<div class="panel panel-group b2s-auto-post-own-general-warning"><div class="panel-body">';
125
  $content .='<span class="glyphicon glyphicon-exclamation-sign glyphicon-warning"></span> ' . esc_html__('Auto-posts for Facebook Profiles will be shown in the "Instant Sharing" tab on your "Posts & Sharing" navigation bar and can be shared on your Facebook Profile by clicking on the "Share" button next to your auto-post.', 'blog2social');
 
126
  $content .='</div>';
127
  $content .='</div>';
128
+ $content .='<h4 class="b2s-auto-post-header">' . esc_html__('Autoposter', 'blog2social') . '</h4><a target="_blank" href="'.B2S_Tools::getSupportLink('auto_post_manuell').'">Info</a>';
129
+ $content .='<p class="b2s-bold">' . esc_html__('Set up your autoposter to automatically share your new or updated posts, pages and custom post types on your social media channels.', 'blog2social') . '</p>';
130
+ $content .='<form id = "b2s-user-network-settings-auto-post-own" method = "post">';
131
+ $content .='<div class="' . (!empty($isPremium) ? 'b2s-btn-disabled' : '') . '">';
132
+ $content .='<input data-size="mini" data-toggle="toggle" data-width="90" data-height="22" data-onstyle="primary" data-on="ON" data-off="OFF" ' . (($autoPostActive) ? 'checked' : '') . ' name="b2s-manuell-auto-post" class="b2s-auto-post-area-toggle" data-area-type="manuell" value="1" type="checkbox">';
133
+ $content .='</div>';
134
+ $content .='<div class="b2s-auto-post-area" data-area-type="manuell"'.(($autoPostActive) ? '' : ' style="display:none;"').'>';
135
+ $content .='<br>';
136
+ $content .='<div class="' . (!empty($isPremium) ? 'b2s-btn-disabled' : '') . '">';
137
+ $content .='<div class="alert alert-danger b2s-auto-post-error" data-error-reason="no-auth-in-mandant" style="display:none;">' . esc_html__('There are no social network accounts assigned to your selected network collection. Please assign at least one social network account or select another network collection.', 'blog2social') . '<a href="' . esc_url(((substr(get_option('siteurl'), -1, 1) == '/') ? '' : '/') . 'wp-admin/admin.php?page=blog2social-network') . '" target="_bank">' . esc_html__('Network settings', 'blog2social') . '</a></div>';
138
+ $content .='<p class="b2s-bold">' . esc_html__('Select your preferred network collection for autoposting. This collection defines the social media accounts on which the autoposter will share your social media posts automatically.', 'blog2social') . '</p>';
139
+ $content .= $this->getMandantSelect((isset($optionAutoPost['profile']) ? $optionAutoPost['profile'] : 0), (isset($optionAutoPost['twitter']) ? $optionAutoPost['twitter'] : 0));
140
+ $content .='</div>';
141
  $content .='<br>';
142
+ $content .='<div class="alert alert-danger b2s-auto-post-error" data-error-reason="no-post-type" style="display:none;">'.esc_html__('Please select a post type', 'blog2social').'</div>';
143
  $content .='<div class="row ' . (!empty($isPremium) ? 'b2s-btn-disabled' : '') . '">';
144
  $content .='<div class="col-xs-12 col-md-2">';
145
  $content .='<label class="b2s-auto-post-publish-label">' . esc_html__('new posts', 'blog2social') . '</label>';
161
  $content .= $this->getPostTypesHtml($optionAutoPost, 'update');
162
  $content .='</div>';
163
  $content .='</div>';
164
+ $content .='<br>';
165
+ $content .='<div class="row ' . (!empty($isPremium) ? 'b2s-btn-disabled' : '') . '">';
166
+ $content .='<div class="col-md-12">';
167
+ $content .='<input id="b2s-auto-post-best-times" class="b2s-auto-post-best-times" name="b2s-auto-post-best-times" type="checkbox" value="1" '.((isset($optionAutoPost['best_times']) && (int) $optionAutoPost['best_times'] == 1) ? 'checked' : '').'><label for="b2s-auto-post-best-times"> ' . esc_html__('Apply best times', 'blog2social') . '</label>';
168
+ $content .='</div>';
169
+ $content .='</div>';
170
+ $content .='</div>';
171
  $content .='<br>';
172
  $content .='<hr>';
173
+ $content .='<h4 class="b2s-auto-post-header">' . esc_html__('Autoposter for Imported Posts', 'blog2social') . '</h4><a target="_blank" href="'.B2S_Tools::getSupportLink('auto_post_import').'">Info</a>';
174
+ $content .='<p class="b2s-bold">' . esc_html__('Set up your autoposter to automatically share your imported posts, pages and custom post types on your social media channels.', 'blog2social') . '</p>';
 
 
175
  $content .='<p>' . esc_html__('Your current license:', 'blog2social') . '<span class="b2s-key-name"> ' . $versionType[B2S_PLUGIN_USER_VERSION] . '</span> ';
176
  if (B2S_PLUGIN_USER_VERSION == 0) {
177
  $content .='<br>' . esc_html__('Immediate Cross-Posting across all networks: Share an unlimited number of posts', 'blog2social') . '<br>';
181
  $content .='<a class="b2s-info-btn" href="' . esc_html(B2S_Tools::getSupportLink('affiliate')) . '" target="_blank">' . esc_html__('Upgrade', 'blog2social') . '</a>';
182
  }
183
  $content .='</p>';
 
184
  $content .='<br>';
185
  $content .='<div class="' . (!empty($isPremium) ? 'b2s-btn-disabled' : '') . '">';
186
+ $content .='<input data-size="mini" data-toggle="toggle" data-width="90" data-height="22" data-onstyle="primary" data-on="ON" data-off="OFF" ' . (($autoPostImportActive) ? 'checked' : '') . ' name="b2s-import-auto-post" class="b2s-auto-post-area-toggle" data-area-type="import" value="1" type="checkbox">';
187
+ $content .='<div class="b2s-auto-post-area" data-area-type="import"'.(($autoPostImportActive) ? '' : ' style="display:none;"').'>';
188
  $content .='<br><br>';
189
+ $content .='<div class="alert alert-danger b2s-auto-post-error" data-error-reason="import-no-auth" style="display:none;">'.esc_html__('Please select a social media network', 'blog2social').'</div>';
190
  $content .='<p class="b2s-bold">' . esc_html__('Available networks to select your auto-post connecitons:', 'blog2social') . '</p>';
191
  $content .='<div class="b2s-network-tos-auto-post-import-warning"><div class="alert alert-danger">' . esc_html__('In accordance with the new Twitter TOS, one Twitter account can be selected as your primary Twitter account for auto-posting.', 'blog2social') . ' <a href="' . esc_url(B2S_Tools::getSupportLink('network_tos_faq_032018')) . '" target="_blank">' . esc_html__('More information', 'blog2social') . '</a></div></div>';
192
  $content .= $this->getNetworkAutoPostData($optionAutoPostImport);
194
  $content .='<input id="b2s-import-auto-post-time-now" name="b2s-import-auto-post-time-state" ' . (((isset($optionAutoPostImport['ship_state']) && (int) $optionAutoPostImport['ship_state'] == 0) || !isset($optionAutoPostImport['ship_state'])) ? 'checked' : '') . ' value="0" type="radio"><label for="b2s-import-auto-post-time-now">' . esc_html__('immediately', 'blog2social') . '</label><br>';
195
  $content .='<input id="b2s-import-auto-post-time-delay" name="b2s-import-auto-post-time-state" value="1" ' . ((isset($optionAutoPostImport['ship_state']) && (int) $optionAutoPostImport['ship_state'] == 1) ? 'checked' : '') . ' type="radio"><label for="b2s-import-auto-post-time-delay">' . esc_html__('publish with a delay of', 'blog2social');
196
  $content .=' <input type="number" maxlength="2" max="10" min="1" class="b2s-input-text-size-45" name="b2s-import-auto-post-time-data" value="' . esc_attr((isset($optionAutoPostImport['ship_delay_time']) ? $optionAutoPostImport['ship_delay_time'] : 1)) . '" placeholder="1" > (1-10) ' . esc_html__('minutes', 'blog2social') . '</label>';
 
197
  $content .='<br>';
198
  $content .= $this->getChosenPostTypesData($optionAutoPostImport);
199
+ $content .='</div>';
200
+ $content .= '<input type="hidden" name="action" value="b2s_user_network_settings">';
201
+ $content .= '<input type="hidden" name="type" value="auto_post">';
202
+ $content .='</div>';
203
+ $content .='</form>';
204
  if (B2S_PLUGIN_USER_VERSION > 0) {
205
+ $content .= '<button class="pull-right btn btn-primary btn-sm" id="b2s-auto-post-settings-btn" type="submit">';
206
  } else {
207
  $content .= '<button class="pull-right btn btn-primary btn-sm b2s-btn-disabled b2s-save-settings-pro-info b2sInfoAutoPosterMModalBtn">';
208
  }
209
  $content .= esc_html__('Save', 'blog2social') . '</button>';
210
+
 
 
 
 
 
211
  return $content;
212
  }
213
 
397
  $content .='<hr></div>';
398
  }
399
 
400
+ foreach (array(1, 2, 3, 12, 19, 17) as $n => $networkId) { //FB,TW,LI,IN
401
+ $type = ($networkId == 1 || $networkId == 19 || $networkId == 17) ? array(0, 1, 2) : (($networkId == 3) ? array(0, 1) : array(0));
402
  foreach ($type as $t => $typeId) { //Profile,Page,Group
403
+ if($networkId == 17) {
404
+ $postFormat = 1;
405
  } else {
406
+ if (!isset($optionPostFormat[$networkId][$typeId]['format'])) {
407
+ $postFormat = $defaultPostFormat[$networkId][$typeId]['format'];
408
+ } else {
409
+ $postFormat = $optionPostFormat[$networkId][$typeId]['format'];
410
+ }
411
  }
412
 
413
  $post_format_0 = (((int) $postFormat == 0) ? 'b2s-settings-checked' : '' ); //LinkPost
450
  public function setNetworkSettingsHtml() {
451
  $optionPostFormat = $this->options->_getOption('post_template');
452
  $content = "<input type='hidden' class='b2sNetworkSettingsPostFormatText' value='" . json_encode(array('post' => array(__('Link Post', 'blog2social'), __('Image Post', 'blog2social')), 'image' => array(__('Image with frame'), __('Image cut out')))) . "'/>";
453
+ foreach (array(1, 2, 3, 12, 19, 15, 17) as $n => $networkId) { //FB,TW,LI,IN
454
  $postFormatType = ($networkId == 12) ? 'image' : 'post';
455
+ $type = ($networkId == 1 || $networkId == 19 || $networkId == 17) ? array(0, 1, 2) : (($networkId == 3) ? array(0, 1) : array(0));
456
  foreach ($type as $t => $typeId) { //Profile,Page,Group
457
  if (!isset($optionPostFormat[$networkId][$typeId]['format']) || (int) $optionPostFormat[$networkId][$typeId]['format'] < 0 || (int) $optionPostFormat[$networkId][$typeId]['format'] > 1) { //DEFAULT
458
+ $value = ($networkId == 2 || $networkId == 17) ? 1 : 0; //default see B2S_PLUGIN_NETWORK_SETTINGS_TEMPLATE_DEFAULT
459
  } else {
460
  $value = $optionPostFormat[$networkId][$typeId]['format'];
461
  }
472
  foreach ($this->postTypesData as $k => $v) {
473
  if ($v != 'attachment' && $v != 'nav_menu_item' && $v != 'revision') {
474
  $selItem = (in_array($v, $selected)) ? 'checked' : '';
475
+ $content .= ' <div class="b2s-post-type-list"><input id="b2s-post-type-item-' . esc_attr($type) . '-' . esc_attr($v) . '" class="b2s-post-type-item-' . $type . '" value="' . esc_attr($v) . '" name="b2s-settings-auto-post-' . $type . '[]" type="checkbox" ' . $selItem . '><label for="b2s-post-type-item-' . $type . '-' . $v . '"> ' . esc_html($v) . '</label></div>';
476
  }
477
  }
478
  }
479
  return $content;
480
  }
481
+
482
+ private function getMandantSelect($mandantId = 0, $twitterId = 0) {
483
+ $result = json_decode(B2S_Api_Post::post(B2S_PLUGIN_API_ENDPOINT, array('action' => 'getProfileUserAuth', 'token' => B2S_PLUGIN_TOKEN)));
484
+ if (isset($result->result) && (int) $result->result == 1 && isset($result->data) && !empty($result->data) && isset($result->data->mandant) && isset($result->data->auth) && !empty($result->data->mandant) && !empty($result->data->auth)) {
485
+ $mandant = $result->data->mandant;
486
+ $auth = $result->data->auth;
487
+ $authContent = '';
488
+ $content = '<div class="row"><div class="col-md-3 b2s-auto-post-profile"><label for="b2s-auto-post-profil-dropdown">' . esc_html__('Select network collection:', 'blog2social') . '</label>
489
+ <select class="b2s-w-100" id="b2s-auto-post-profil-dropdown" name="b2s-auto-post-profil-dropdown">';
490
+ foreach ($mandant as $k => $m) {
491
+ $content .= '<option value="' . esc_attr($m->id) . '" '.(((int) $m->id == (int) $mandantId) ? 'selected' : '').'>' . esc_html((($m->id == 0) ? __($m->name, 'blog2social') : $m->name)) . '</option>';
492
+ $profilData = (isset($auth->{$m->id}) && isset($auth->{$m->id}[0]) && !empty($auth->{$m->id}[0])) ? json_encode($auth->{$m->id}) : '';
493
+ $authContent .= "<input type='hidden' id='b2s-auto-post-profil-data-" . esc_attr($m->id) . "' value='" . base64_encode($profilData) . "'/>";
494
+ }
495
+ $content .= '</select><div class="pull-right"><a href="' . esc_url(get_option('siteurl') . ((substr(get_option('siteurl'), -1, 1) == '/') ? '' : '/') . 'wp-admin/admin.php?page=blog2social-network') . '" target="_blank">' . esc_html__('Network settings', 'blog2social') . '</a></div></div>';
496
+ $content .= $authContent;
497
+
498
+ //TOS Twitter 032018 - none multiple Accounts - User select once
499
+ $content .='<div class="col-md-3 b2s-auto-post-twitter-profile"><label for="b2s-auto-post-profil-dropdown-twitter">' . esc_html__('Select Twitter profile:', 'blog2social') . '</label> <select class="b2s-w-100" id="b2s-auto-post-profil-dropdown-twitter" name="b2s-auto-post-profil-dropdown-twitter">';
500
+ foreach ($mandant as $k => $m) {
501
+ if ((isset($auth->{$m->id}) && isset($auth->{$m->id}[0]) && !empty($auth->{$m->id}[0]))) {
502
+ foreach ($auth->{$m->id} as $key => $value) {
503
+ if ($value->networkId == 2) {
504
+ $content .= '<option data-mandant-id="' . esc_attr($m->id) . '" value="' . esc_attr($value->networkAuthId) . '" '.(((int) $value->networkAuthId == (int) $twitterId) ? 'selected' : '').'>' . esc_html($value->networkUserName) . '</option>';
505
+ }
506
+ }
507
+ }
508
+ }
509
+ $content .= '</select><div class="pull-right"><a href="#" class="b2sTwitterInfoModalBtn">'.esc_html__('Info', 'blog2social').'</a></div></div></div>';
510
+ return $content;
511
+ }
512
+ }
513
 
514
  }
includes/B2S/Ship/Item.php CHANGED
@@ -5,12 +5,12 @@ class B2S_Ship_Item {
5
  private $allowTitleProfile = array(7, 9, 13, 15, 16, 21);
6
  private $allowTitlePage = array();
7
  private $allowTitleGroup = array();
8
- private $setPostFormat = array(1, 2, 3, 12, 19);
9
  private $isCommentProfile = array(1, 3, 8, 10, 17, 19);
10
  private $isCommentPage = array(1);
11
  private $isCommentGroup = array(1);
12
- private $allowTag = array(4, 9, 11, 16, 21);
13
- private $limitTag = array(21 => 5);
14
  private $allowHtml = array(4, 11, 14);
15
  private $showTitleProfile = array(4, 9, 11, 14, 16, 21);
16
  private $showTitlePage = array(8, 19 => array(1)); //Xing Business Page
@@ -34,13 +34,15 @@ class B2S_Ship_Item {
34
  private $limitCharacterTitlePage = array(19 => array(1 => 150)); //XING Business Page selected over networkKind
35
  private $setShortTextGroup = array(1 => 239, 8 => 239, 10 => 442, 17 => 442, 19 => 239);
36
  private $setShortTextGroupLimit = array(1 => 400, 8 => 400, 10 => 500);
37
- private $allowHashTags = array(1, 2, 3, 6, 10, 12, 17, 20);
 
38
  private $limitCharacterProfile = array(1 => 500, 2 => 280, 3 => 1300, 6 => 495, 8 => 420, 9 => 250, 15 => 300, 12 => 2000, 18 => 1500, 19 => 420, 20 => 500, 21 => 65535);
39
- private $showImageAreaProfile = array(6, 7, 10, 12, 16, 17, 18, 20, 21);
40
- private $showImageAreaPage = array(10, 17);
41
- private $showImageAreaGroup = array(8, 10, 17);
42
  private $showMarketplace = array(19);
43
  private $limitCharacterPage = array(3 => 1300, 8 => 1200, 19 => array(0 => 400, 1 => 2000)); // XING Company Page, Business Page
 
44
  private $requiredUrl = array(1, 3, 8, 9, 10, 19);
45
  private $getText = array(1, 7, 10, 12, 16, 17, 18, 21);
46
  private $allowSchedCustomizeContent = array(1, 2, 3, 6, 7, 8, 9, 10, 12, 15, 17, 18, 19, 20, 21);
@@ -128,6 +130,17 @@ class B2S_Ship_Item {
128
  $textareaLimitInfo = "";
129
  $textareaOnKeyUp = "";
130
  $this->defaultImage = plugins_url('/assets/images/no-image.png', B2S_PLUGIN_FILE);
 
 
 
 
 
 
 
 
 
 
 
131
 
132
  //Settings
133
  switch ($data->networkType) {
@@ -176,7 +189,7 @@ class B2S_Ship_Item {
176
  //Hashtags
177
  if (in_array($data->networkId, $this->allowHashTags) && ($allowUserHashTag === false || $allowUserHashTag == 1)) {
178
  $add = ($data->networkId != 2) ? "\n\n" : "";
179
- $message .= $this->getHashTagsString($add);
180
  }
181
  }
182
  }
@@ -212,9 +225,6 @@ class B2S_Ship_Item {
212
  $message = $this->getMessagebyTemplate($data);
213
  } else {
214
  if (isset($this->setShortTextPage[$data->networkId]) && (int) $this->setShortTextPage[$data->networkId] > 0) {
215
- if ($data->networkId == 8) { //Xing -1 Leerzeichen
216
- $this->setShortTextPage[$data->networkId] = (int) $this->setShortTextPage[$data->networkId] - mb_strlen($this->postUrl, 'UTF-8') - 1;
217
- }
218
  $message = B2S_Util::getExcerpt(B2S_Util::prepareContent($this->postId, $this->postData->post_content, $this->postUrl, false, (in_array($data->networkId, $this->allowNoEmoji) ? false : true), $this->userLang), (isset($this->setShortTextPage[$data->networkId]) ? (int) $this->setShortTextPage[$data->networkId] : false), (isset($this->setShortTextPageLimit[$data->networkId]) ? (( is_array($this->setShortTextPageLimit[$data->networkId]) && isset($this->setShortTextPageLimit[$data->networkId][$data->networkKind])) ? (int) $this->setShortTextPageLimit[$data->networkId][$data->networkKind] : (int) $this->setShortTextPageLimit[$data->networkId] ) : false));
219
  } else {
220
  $message = (in_array($data->networkId, $this->allowTitlePage) ? (in_array($data->networkId, $this->allowNoEmoji) ? B2S_Util::remove4byte(B2S_Util::getTitleByLanguage($this->postData->post_title, $this->userLang)) : B2S_Util::getTitleByLanguage($this->postData->post_title, $this->userLang)) : B2S_Util::prepareContent($this->postId, $this->postData->post_content, $this->postUrl, (in_array($data->networkId, $this->allowHtml) ? '<p><h1><h2><br><i><b><a><img>' : false), (in_array($data->networkId, $this->allowNoEmoji) ? false : true), $this->userLang));
@@ -222,7 +232,7 @@ class B2S_Ship_Item {
222
 
223
  //Hashtags
224
  if (in_array($data->networkId, $this->allowHashTags) && ($allowUserHashTag === false || $allowUserHashTag == 1)) {
225
- $message .= $this->getHashTagsString();
226
  }
227
  }
228
  }
@@ -244,6 +254,10 @@ class B2S_Ship_Item {
244
  case'2':
245
  //group
246
  //ShortText
 
 
 
 
247
  if ($isDraft && isset($draftData['content'])) {
248
  $message = $draftData['content'];
249
  } else {
@@ -257,7 +271,7 @@ class B2S_Ship_Item {
257
  }
258
  //Hashtags
259
  if (in_array($data->networkId, $this->allowHashTags) && ($allowUserHashTag === false || $allowUserHashTag == 1)) {
260
- $message .= $this->getHashTagsString();
261
  }
262
  }
263
  }
@@ -299,7 +313,7 @@ class B2S_Ship_Item {
299
  }
300
  $content .= '<h4 class="pull-left b2s-post-item-details-network-display-name" data-network-auth-id="' . esc_attr($data->networkAuthId) . '">' . esc_html(stripslashes($network_display_name)) . '</h4>';
301
  $content .= '<div class="clearfix"></div>';
302
- $content .= '<p class="pull-left">' . esc_html(($data->networkId == 19 && $data->networkType == 1 && isset($networkKindName[$data->networkKind]) ? $networkKindName[$data->networkKind] . '-' : '') . $networkTypeName[$data->networkType] . (($data->networkId == 19 && (int) $data->networkType == 1 && (int) $data->networkKind == 0) ? ' (' . __('Employer Branding', 'blog2social') . ')' : '') . ' | ' . $networkName[$data->networkId]);
303
  $content .= '<div class="b2s-post-item-details-message-result" data-network-auth-id="' . $data->networkAuthId . '" style="display:none;"></div>';
304
  $content .= '<span class="hidden-xs b2s-post-item-details-message-info" data-network-auth-id="' . esc_attr($data->networkAuthId) . '">' . $messageInfo . '</span></span>';
305
 
@@ -393,7 +407,7 @@ class B2S_Ship_Item {
393
 
394
  public function getCustomEditArea($networkId, $networkAuthId, $networkType, $message, $isRequiredTextarea, $textareaOnKeyUp, $limit, $limitValue, $imageUrl = null) {
395
  $meta = array();
396
- if ($networkId == 1 || ($networkId == 8 && $networkType == 0) || $networkId == 19 || $networkId == 3 || $networkId == 2 || $networkId == 15) {
397
  if (trim(strtolower($this->postStatus)) == 'publish' || $this->b2sPostType == 'ex') {
398
  //is calendar edit => scrape post url and not custom post url by override from edit function for meta tags!
399
  //$editPostUrl = $this->viewMode == 'modal') ? (get_permalink($this->postData->ID) !== false ? get_permalink($this->postData->ID) : $this->postData->guid) : $this->postUrl;
@@ -403,11 +417,11 @@ class B2S_Ship_Item {
403
  $meta = B2S_Util::getMetaTags($this->postId, $this->postUrl);
404
  }
405
  } else {
406
- $desc = B2S_Util::getExcerpt(B2S_Util::prepareContent($this->postId, $this->postData->post_content, $this->postUrl, false, (in_array($networkId, $this->allowNoEmoji) ? false : true), $this->userLang), 150);
407
  if (empty($desc) && isset($this->postData->post_excerpt) && !empty($this->postData->post_excerpt)) {
408
- $desc = B2S_Util::getExcerpt(B2S_Util::prepareContent($this->postId, $this->postData->post_excerpt, $this->postUrl, false, (in_array($networkId, $this->allowNoEmoji) ? false : true), $this->userLang), 150);
409
  }
410
- $meta = array('title' => B2S_Util::getExcerpt(B2S_Util::getTitleByLanguage($this->postData->post_title, $this->userLang), 50) . ' - ' . $this->websiteName, 'description' => $desc);
411
  }
412
 
413
  //EDIT Function - Calendar
@@ -461,6 +475,7 @@ class B2S_Ship_Item {
461
  $edit .= '<button class="btn btn-link btn-xs center-block b2s-select-image-modal-open" data-meta-type="card" data-network-count="-1" data-network-id="' . esc_attr($networkId) . '" data-network-auth-id="' . esc_attr($networkAuthId) . '" data-post-id="' . esc_attr($this->postId) . '" data-image-url="' . esc_attr($imageUrl) . '">' . esc_html__('Change image', 'blog2social') . '</button>';
462
  $edit .= '</div>';
463
  $edit .= '<div class="' . ((isset($this->viewMode) && $this->viewMode == 'modal') ? 'col-xs-12"' : 'col-xs-12 col-sm-7 col-lg-9 b2s-post-original-area" data-network-auth-id="' . $networkAuthId . '"') . '>';
 
464
  if (B2S_PLUGIN_USER_VERSION > 0) {
465
  $edit .= '<button data-network-auth-id="' . esc_attr($networkAuthId) . '" data-meta-type="card" data-meta-origin="ship" class=" btn btn-xs hidden-xs btn-link b2s-load-info-meta-tag-modal">' . esc_html__('Info: Change Card Meta tags image, title and description for this network', 'blog2social') . '</button>';
466
  } else {
@@ -519,6 +534,7 @@ class B2S_Ship_Item {
519
  $edit .= '<button class="btn btn-link btn-xs center-block b2s-select-image-modal-open" data-meta-type="og" data-network-count="-1" data-meta-type="og" data-network-id="' . esc_attr($networkId) . '" data-network-auth-id="' . esc_attr($networkAuthId) . '" data-post-id="' . esc_attr($this->postId) . '" data-image-url="' . esc_attr($imageUrl) . '">' . esc_html__('Change image', 'blog2social') . '</button>';
520
  $edit .= '</div>';
521
  $edit .= '<div class="' . ((isset($this->viewMode) && $this->viewMode == 'modal') ? 'col-xs-12"' : 'col-xs-12 col-sm-7 col-lg-9 b2s-post-original-area" data-network-auth-id="' . esc_attr($networkAuthId) . '"') . '>';
 
522
  if (B2S_PLUGIN_USER_VERSION > 0) {
523
  $edit .= '<button data-network-count="-1" data-network-auth-id="' . esc_attr($networkAuthId) . '" data-meta-type="og" data-meta-origin="ship" class=" btn btn-xs hidden-xs btn-link b2s-load-info-meta-tag-modal">' . esc_html__('Info: Change Open Graph Meta tags image, title and description for this network', 'blog2social') . '</button>';
524
  } else {
@@ -559,6 +575,34 @@ class B2S_Ship_Item {
559
  $edit .= '</div>';
560
  $edit .= '</div>';
561
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
562
  } else {
563
  $edit = '<div class="b2s-post-item-details-item-message-area" data-network-count="-1" data-network-id="' . esc_attr($networkId) . '" data-network-auth-id="' . esc_attr($networkAuthId) . '">';
564
  $edit .= '<textarea class="form-control b2s-post-item-details-item-message-input ' . (in_array($networkId, $this->allowHtml) ? 'b2s-post-item-details-item-message-input-allow-html' : '') . '"data-network-count="-1" data-network-id="' . esc_attr($networkId) . '" data-network-text-limit="' . esc_attr($limitValue) . '" data-network-auth-id="' . esc_attr($networkAuthId) . '" placeholder="' . esc_attr__('Write something about your post...', 'blog2social') . '" name="b2s[' . esc_attr($networkAuthId) . '][content]" ' . $isRequiredTextarea . ' ' . $textareaOnKeyUp . ' ' . (($networkId == 12) ? 'unique="currency"' : '') . '>' . esc_html($message) . '</textarea>';
@@ -579,7 +623,7 @@ class B2S_Ship_Item {
579
  }
580
 
581
  public function getCustomEditSchedArea($schedCount = 0, $networkId, $networkAuthId, $networkType, $message, $isRequiredTextarea, $textareaOnKeyUp, $limit, $limitValue, $infoArea, $imageUrl = null) {
582
- if ($networkId == 1 || ($networkId == 8 && $networkType == 0) || $networkId == 19 || $networkId == 3 || $networkId == 2 || $networkId == 15) {
583
  if ($networkId == 1) {
584
  $edit = '<div class="row"><br>';
585
  $edit .= '<div class="col-xs-12 col-sm-5 col-lg-3">';
@@ -686,6 +730,27 @@ class B2S_Ship_Item {
686
  $edit .= '</div>';
687
  $edit .= '</div>';
688
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
689
  } else {
690
  $edit = '<div class="row"><br>';
691
  if ((in_array($networkId, $this->showImageAreaProfile) && $networkType == 0) || (in_array($networkId, $this->showImageAreaPage) && $networkType == 1) || (in_array($networkId, $this->showImageAreaGroup) && $networkType == 2)) {
@@ -774,7 +839,7 @@ class B2S_Ship_Item {
774
  return $schedData;
775
  }
776
 
777
- private function getHashTagsString($add = "\n\n") {
778
  //WooCommerce keyword support
779
  if ($this->postData->post_type == 'product' && taxonomy_exists('product_tag')) {
780
  $hashTagsData = get_the_terms($this->postId, 'product_tag');
@@ -784,6 +849,11 @@ class B2S_Ship_Item {
784
  $hashTags = '';
785
  if (is_array($hashTagsData) && !empty($hashTagsData)) {
786
  foreach ($hashTagsData as $tag) {
 
 
 
 
 
787
  $hashTags .= ' #' . str_replace(array(" ", "-", '"', "'", "!", "?", ",", ".", ";", ":"), "", $tag->name);
788
  }
789
  }
@@ -1172,11 +1242,11 @@ class B2S_Ship_Item {
1172
  }
1173
 
1174
  if (strpos($message, "{KEYWORDS}") !== false) {
1175
- $hashtags = $this->getHashTagsString("");
1176
  $message = stripslashes(preg_replace("/\{KEYWORDS\}/", addcslashes($hashtags, "\\$"), $message));
1177
  } else if (in_array($data->networkId, $this->allowHashTags) && ($allowUserHashTag === false || $allowUserHashTag == 1)) {
1178
  $add = ($data->networkId != 2) ? "\n\n" : "";
1179
- $hashtags = $this->getHashTagsString($add);
1180
  $message .= " " . $hashtags;
1181
  }
1182
 
5
  private $allowTitleProfile = array(7, 9, 13, 15, 16, 21);
6
  private $allowTitlePage = array();
7
  private $allowTitleGroup = array();
8
+ private $setPostFormat = array(1, 2, 3, 12, 19, 17);
9
  private $isCommentProfile = array(1, 3, 8, 10, 17, 19);
10
  private $isCommentPage = array(1);
11
  private $isCommentGroup = array(1);
12
+ private $allowTag = array(4, 9, 11, 16);
13
+ private $limitTag = array();//networkId => Limit
14
  private $allowHtml = array(4, 11, 14);
15
  private $showTitleProfile = array(4, 9, 11, 14, 16, 21);
16
  private $showTitlePage = array(8, 19 => array(1)); //Xing Business Page
34
  private $limitCharacterTitlePage = array(19 => array(1 => 150)); //XING Business Page selected over networkKind
35
  private $setShortTextGroup = array(1 => 239, 8 => 239, 10 => 442, 17 => 442, 19 => 239);
36
  private $setShortTextGroupLimit = array(1 => 400, 8 => 400, 10 => 500);
37
+ private $allowHashTags = array(1, 2, 3, 6, 10, 12, 17, 20, 21);
38
+ private $limitHashTagCharacter = array(21 => 36);
39
  private $limitCharacterProfile = array(1 => 500, 2 => 280, 3 => 1300, 6 => 495, 8 => 420, 9 => 250, 15 => 300, 12 => 2000, 18 => 1500, 19 => 420, 20 => 500, 21 => 65535);
40
+ private $showImageAreaProfile = array(6, 7, 10, 12, 16, 18, 20, 21);
41
+ private $showImageAreaPage = array(10);
42
+ private $showImageAreaGroup = array(8, 10);
43
  private $showMarketplace = array(19);
44
  private $limitCharacterPage = array(3 => 1300, 8 => 1200, 19 => array(0 => 400, 1 => 2000)); // XING Company Page, Business Page
45
+ private $limitCharacterGroup = array(19 => 10000);
46
  private $requiredUrl = array(1, 3, 8, 9, 10, 19);
47
  private $getText = array(1, 7, 10, 12, 16, 17, 18, 21);
48
  private $allowSchedCustomizeContent = array(1, 2, 3, 6, 7, 8, 9, 10, 12, 15, 17, 18, 19, 20, 21);
130
  $textareaLimitInfo = "";
131
  $textareaOnKeyUp = "";
132
  $this->defaultImage = plugins_url('/assets/images/no-image.png', B2S_PLUGIN_FILE);
133
+ if(B2S_PLUGIN_USER_VERSION >= 3) {
134
+ global $wpdb;
135
+ $sqlGetData = $wpdb->prepare("SELECT `data` FROM `{$wpdb->prefix}b2s_posts_network_details` WHERE `network_auth_id` = %d", (int) $data->networkAuthId);
136
+ $dataString = $wpdb->get_var($sqlGetData);
137
+ if ($dataString !== NULL && !empty($dataString)) {
138
+ $networkAuthData = unserialize($dataString);
139
+ if($networkAuthData != false && is_array($networkAuthData) && isset($networkAuthData['url_parameter'][0]['querys']) && !empty($networkAuthData['url_parameter'][0]['querys'])) {
140
+ $this->postUrl = B2S_Util::addUrlParameter($this->postUrl, $networkAuthData['url_parameter'][0]['querys']);
141
+ }
142
+ }
143
+ }
144
 
145
  //Settings
146
  switch ($data->networkType) {
189
  //Hashtags
190
  if (in_array($data->networkId, $this->allowHashTags) && ($allowUserHashTag === false || $allowUserHashTag == 1)) {
191
  $add = ($data->networkId != 2) ? "\n\n" : "";
192
+ $message .= $this->getHashTagsString($add, ((isset($this->limitHashTagCharacter[$data->networkId])) ? $this->limitHashTagCharacter[$data->networkId] : 0));
193
  }
194
  }
195
  }
225
  $message = $this->getMessagebyTemplate($data);
226
  } else {
227
  if (isset($this->setShortTextPage[$data->networkId]) && (int) $this->setShortTextPage[$data->networkId] > 0) {
 
 
 
228
  $message = B2S_Util::getExcerpt(B2S_Util::prepareContent($this->postId, $this->postData->post_content, $this->postUrl, false, (in_array($data->networkId, $this->allowNoEmoji) ? false : true), $this->userLang), (isset($this->setShortTextPage[$data->networkId]) ? (int) $this->setShortTextPage[$data->networkId] : false), (isset($this->setShortTextPageLimit[$data->networkId]) ? (( is_array($this->setShortTextPageLimit[$data->networkId]) && isset($this->setShortTextPageLimit[$data->networkId][$data->networkKind])) ? (int) $this->setShortTextPageLimit[$data->networkId][$data->networkKind] : (int) $this->setShortTextPageLimit[$data->networkId] ) : false));
229
  } else {
230
  $message = (in_array($data->networkId, $this->allowTitlePage) ? (in_array($data->networkId, $this->allowNoEmoji) ? B2S_Util::remove4byte(B2S_Util::getTitleByLanguage($this->postData->post_title, $this->userLang)) : B2S_Util::getTitleByLanguage($this->postData->post_title, $this->userLang)) : B2S_Util::prepareContent($this->postId, $this->postData->post_content, $this->postUrl, (in_array($data->networkId, $this->allowHtml) ? '<p><h1><h2><br><i><b><a><img>' : false), (in_array($data->networkId, $this->allowNoEmoji) ? false : true), $this->userLang));
232
 
233
  //Hashtags
234
  if (in_array($data->networkId, $this->allowHashTags) && ($allowUserHashTag === false || $allowUserHashTag == 1)) {
235
+ $message .= $this->getHashTagsString('', ((isset($this->limitHashTagCharacter[$data->networkId])) ? $this->limitHashTagCharacter[$data->networkId] : 0));
236
  }
237
  }
238
  }
254
  case'2':
255
  //group
256
  //ShortText
257
+ if (isset($this->limitCharacterGroup[$data->networkId]) && ((int) $this->limitCharacterGroup[$data->networkId] > 0) || isset($this->limitCharacterGroup[$data->networkId][$data->networkKind])) {
258
+ $limitValue = (isset($this->limitCharacterGroup[$data->networkId][$data->networkKind])) ? $this->limitCharacterGroup[$data->networkId][$data->networkKind] : $this->limitCharacterGroup[$data->networkId];
259
+ $limit = true;
260
+ }
261
  if ($isDraft && isset($draftData['content'])) {
262
  $message = $draftData['content'];
263
  } else {
271
  }
272
  //Hashtags
273
  if (in_array($data->networkId, $this->allowHashTags) && ($allowUserHashTag === false || $allowUserHashTag == 1)) {
274
+ $message .= $this->getHashTagsString('', ((isset($this->limitHashTagCharacter[$data->networkId])) ? $this->limitHashTagCharacter[$data->networkId] : 0));
275
  }
276
  }
277
  }
313
  }
314
  $content .= '<h4 class="pull-left b2s-post-item-details-network-display-name" data-network-auth-id="' . esc_attr($data->networkAuthId) . '">' . esc_html(stripslashes($network_display_name)) . '</h4>';
315
  $content .= '<div class="clearfix"></div>';
316
+ $content .= '<p class="pull-left">' . esc_html(($data->networkId == 19 && $data->networkType == 1 && isset($networkKindName[$data->networkKind]) ? $networkKindName[$data->networkKind] . '-' : '') . (($data->networkId == 4) ? esc_html__('Blog', 'blog2social') : $networkTypeName[$data->networkType]) . (($data->networkId == 19 && (int) $data->networkType == 1 && (int) $data->networkKind == 0) ? ' (' . __('Employer Branding', 'blog2social') . ')' : '') . ' | ' . $networkName[$data->networkId]);
317
  $content .= '<div class="b2s-post-item-details-message-result" data-network-auth-id="' . $data->networkAuthId . '" style="display:none;"></div>';
318
  $content .= '<span class="hidden-xs b2s-post-item-details-message-info" data-network-auth-id="' . esc_attr($data->networkAuthId) . '">' . $messageInfo . '</span></span>';
319
 
407
 
408
  public function getCustomEditArea($networkId, $networkAuthId, $networkType, $message, $isRequiredTextarea, $textareaOnKeyUp, $limit, $limitValue, $imageUrl = null) {
409
  $meta = array();
410
+ if ($networkId == 1 || ($networkId == 8 && $networkType == 0) || $networkId == 19 || $networkId == 3 || $networkId == 2 || $networkId == 15 || $networkId == 17) {
411
  if (trim(strtolower($this->postStatus)) == 'publish' || $this->b2sPostType == 'ex') {
412
  //is calendar edit => scrape post url and not custom post url by override from edit function for meta tags!
413
  //$editPostUrl = $this->viewMode == 'modal') ? (get_permalink($this->postData->ID) !== false ? get_permalink($this->postData->ID) : $this->postData->guid) : $this->postUrl;
417
  $meta = B2S_Util::getMetaTags($this->postId, $this->postUrl);
418
  }
419
  } else {
420
+ $desc = B2S_Util::getExcerpt(B2S_Util::prepareContent($this->postId, $this->postData->post_content, $this->postUrl, false, (in_array($networkId, $this->allowNoEmoji) ? false : true), $this->userLang), 250);
421
  if (empty($desc) && isset($this->postData->post_excerpt) && !empty($this->postData->post_excerpt)) {
422
+ $desc = B2S_Util::getExcerpt(B2S_Util::prepareContent($this->postId, $this->postData->post_excerpt, $this->postUrl, false, (in_array($networkId, $this->allowNoEmoji) ? false : true), $this->userLang), 250);
423
  }
424
+ $meta = array('title' => B2S_Util::getExcerpt(B2S_Util::getTitleByLanguage($this->postData->post_title, $this->userLang), 250), 'description' => $desc);
425
  }
426
 
427
  //EDIT Function - Calendar
475
  $edit .= '<button class="btn btn-link btn-xs center-block b2s-select-image-modal-open" data-meta-type="card" data-network-count="-1" data-network-id="' . esc_attr($networkId) . '" data-network-auth-id="' . esc_attr($networkAuthId) . '" data-post-id="' . esc_attr($this->postId) . '" data-image-url="' . esc_attr($imageUrl) . '">' . esc_html__('Change image', 'blog2social') . '</button>';
476
  $edit .= '</div>';
477
  $edit .= '<div class="' . ((isset($this->viewMode) && $this->viewMode == 'modal') ? 'col-xs-12"' : 'col-xs-12 col-sm-7 col-lg-9 b2s-post-original-area" data-network-auth-id="' . $networkAuthId . '"') . '>';
478
+ $edit .= '<div class="alert alert-warning margin-bottom-0">' . esc_html__('Please note: Twitter stores the Card parameters of a link for up to 7 days. Changes may not be immediately visible on Twitter.', 'blog2social') . '</div>';
479
  if (B2S_PLUGIN_USER_VERSION > 0) {
480
  $edit .= '<button data-network-auth-id="' . esc_attr($networkAuthId) . '" data-meta-type="card" data-meta-origin="ship" class=" btn btn-xs hidden-xs btn-link b2s-load-info-meta-tag-modal">' . esc_html__('Info: Change Card Meta tags image, title and description for this network', 'blog2social') . '</button>';
481
  } else {
534
  $edit .= '<button class="btn btn-link btn-xs center-block b2s-select-image-modal-open" data-meta-type="og" data-network-count="-1" data-meta-type="og" data-network-id="' . esc_attr($networkId) . '" data-network-auth-id="' . esc_attr($networkAuthId) . '" data-post-id="' . esc_attr($this->postId) . '" data-image-url="' . esc_attr($imageUrl) . '">' . esc_html__('Change image', 'blog2social') . '</button>';
535
  $edit .= '</div>';
536
  $edit .= '<div class="' . ((isset($this->viewMode) && $this->viewMode == 'modal') ? 'col-xs-12"' : 'col-xs-12 col-sm-7 col-lg-9 b2s-post-original-area" data-network-auth-id="' . esc_attr($networkAuthId) . '"') . '>';
537
+ $edit .= '<div class="alert alert-warning margin-bottom-0">' . esc_html__('Please note: XING stores the Open Graph parameters of a link for up to 7 days. Changes may not be immediately visible on XING.', 'blog2social') . '</div>';
538
  if (B2S_PLUGIN_USER_VERSION > 0) {
539
  $edit .= '<button data-network-count="-1" data-network-auth-id="' . esc_attr($networkAuthId) . '" data-meta-type="og" data-meta-origin="ship" class=" btn btn-xs hidden-xs btn-link b2s-load-info-meta-tag-modal">' . esc_html__('Info: Change Open Graph Meta tags image, title and description for this network', 'blog2social') . '</button>';
540
  } else {
575
  $edit .= '</div>';
576
  $edit .= '</div>';
577
  }
578
+ if ($networkId == 17) {
579
+ $edit = '<div class="b2s-post-item-details-item-message-area" data-network-count="-1" data-network-id="' . esc_attr($networkId) . '" data-network-auth-id="' . esc_attr($networkAuthId) . '">';
580
+ $edit .= '<textarea class="form-control vk-textarea-input b2s-post-item-details-item-message-input ' . (in_array($networkId, $this->allowHtml) ? 'b2s-post-item-details-item-message-input-allow-html' : '') . '"data-network-count="-1" data-network-id="' . esc_attr($networkId) . '" data-network-text-limit="' . esc_attr($limitValue) . '" data-network-auth-id="' . esc_attr($networkAuthId) . '" placeholder="' . esc_attr__('Write something about your post...', 'blog2social') . '" name="b2s[' . esc_attr($networkAuthId) . '][content]" ' . $isRequiredTextarea . ' ' . $textareaOnKeyUp . '>' . esc_html($message) . '</textarea>';
581
+ if (!in_array($networkId, $this->allowNoEmoji)) {
582
+ $edit .= '<button type="button" class="btn btn-sm b2s-post-item-details-item-message-emoji-btn" data-network-count="-1" data-network-id="' . esc_attr($networkId) . '" data-network-auth-id="' . esc_attr($networkAuthId) . '">&#x263A;</button>';
583
+ }
584
+ $edit .= '</div>';
585
+ $edit .= '<div class="row">';
586
+ $edit .= '<div class="' . ((isset($this->viewMode) && $this->viewMode == 'modal') ? 'col-xs-12' : 'col-xs-12 col-sm-5 col-lg-3') . '" >';
587
+ $edit .= '<button class="btn btn-primary btn-circle b2s-image-remove-btn" data-network-count="-1" data-network-id="' . esc_attr($networkId) . '" data-network-auth-id="' . esc_attr($networkAuthId) . '" ' . ($imageUrl ? '' : 'style="display:none"') . '><i class="glyphicon glyphicon-trash"></i></button>';
588
+ $edit .= '<img src="' . esc_url((isset($meta['image']) && !empty($meta['image']) ? $meta['image'] : $this->defaultImage)) . '" class="b2s-url-image b2s-post-item-details-url-image center-block img-responsive" data-network-count="-1" data-network-id="' . esc_attr($networkId) . '" data-network-image-change="1" data-network-auth-id="' . esc_attr($networkAuthId) . '">';
589
+ $edit .= '<input type="hidden" class="b2s-image-url-hidden-field form-control" data-network-count="-1" data-network-id="' . esc_attr($networkId) . '" data-network-auth-id="' . esc_attr($networkAuthId) . '" value="' . esc_attr(($imageUrl ? $imageUrl : "")) . '" name="b2s[' . esc_attr($networkAuthId) . '][image_url]">';
590
+ $edit .= '<div class="clearfix"></div>';
591
+ $edit .= '<button class="btn btn-link btn-xs center-block b2s-select-image-modal-open" data-meta-type="og" data-network-count="-1" data-meta-type="og" data-network-id="' . esc_attr($networkId) . '" data-network-auth-id="' . esc_attr($networkAuthId) . '" data-post-id="' . esc_attr($this->postId) . '" data-image-url="' . esc_attr($imageUrl) . '">' . esc_html__('Change image', 'blog2social') . '</button>';
592
+ $edit .= '</div>';
593
+ $edit .= '<div class="' . ((isset($this->viewMode) && $this->viewMode == 'modal') ? 'col-xs-12"' : 'col-xs-12 col-sm-7 col-lg-9 b2s-post-original-area" data-network-auth-id="' . esc_attr($networkAuthId) . '"') . '>';
594
+ if (B2S_PLUGIN_USER_VERSION > 0) {
595
+ $edit .= '<button data-network-count="-1" data-network-auth-id="' . esc_attr($networkAuthId) . '" data-meta-type="og" data-meta-origin="ship" class=" btn btn-xs hidden-xs btn-link b2s-load-info-meta-tag-modal">' . esc_html__('Info: Change Open Graph Meta tags image, title and description for this network', 'blog2social') . '</button>';
596
+ } else {
597
+ $edit .= '<a target="_blank" class="btn-label-premium btn-label-premium-xs b2s-load-info-meta-tag-modal" data-meta-type="og" data-meta-origin="ship" href="#"><span class="label label-success">SMART</span></a>';
598
+ $edit .= '<a href="#" class="btn btn-link btn-xs b2s-load-info-meta-tag-modal" data-meta-type="og" data-meta-origin="ship">' . esc_html__('You want to change your link image, link title and link description for this network? Click here.', 'blog2social') . '</a> ';
599
+ }
600
+ $edit .= '<input type="text" class="form-control og-url-title b2s-post-item-details-preview-title change-meta-tag og_title" placeholder="' . esc_attr__('OG Meta title', 'blog2social') . '" name="b2s[' . esc_attr($networkAuthId) . '][og_title]" data-meta="og_title" data-meta-type="og" data-network-auth-id="' . esc_attr($networkAuthId) . '" value="' . esc_attr((isset($meta['title']) && !empty($meta['title']) ? $meta['title'] : '')) . '" />';
601
+ $edit .= '<input type="text" class="form-control og-url-desc b2s-post-item-details-preview-desc change-meta-tag og_desc" placeholder="' . esc_attr__('OG Meta description', 'blog2social') . '" name="b2s[' . esc_attr($networkAuthId) . '][og_desc]" data-meta="og_desc" data-meta-type="og" data-network-auth-id="' . esc_attr($networkAuthId) . '" value="' . esc_attr((isset($meta['description']) && !empty($meta['description']) ? $meta['description'] : '')) . '" />';
602
+ $edit .= $this->getUrlHtml($networkId, $networkType, $networkAuthId, $limit, $limitValue, true, 'og-url-input', true);
603
+ $edit .= '</div>';
604
+ $edit .= '</div>';
605
+ }
606
  } else {
607
  $edit = '<div class="b2s-post-item-details-item-message-area" data-network-count="-1" data-network-id="' . esc_attr($networkId) . '" data-network-auth-id="' . esc_attr($networkAuthId) . '">';
608
  $edit .= '<textarea class="form-control b2s-post-item-details-item-message-input ' . (in_array($networkId, $this->allowHtml) ? 'b2s-post-item-details-item-message-input-allow-html' : '') . '"data-network-count="-1" data-network-id="' . esc_attr($networkId) . '" data-network-text-limit="' . esc_attr($limitValue) . '" data-network-auth-id="' . esc_attr($networkAuthId) . '" placeholder="' . esc_attr__('Write something about your post...', 'blog2social') . '" name="b2s[' . esc_attr($networkAuthId) . '][content]" ' . $isRequiredTextarea . ' ' . $textareaOnKeyUp . ' ' . (($networkId == 12) ? 'unique="currency"' : '') . '>' . esc_html($message) . '</textarea>';
623
  }
624
 
625
  public function getCustomEditSchedArea($schedCount = 0, $networkId, $networkAuthId, $networkType, $message, $isRequiredTextarea, $textareaOnKeyUp, $limit, $limitValue, $infoArea, $imageUrl = null) {
626
+ if ($networkId == 1 || ($networkId == 8 && $networkType == 0) || $networkId == 19 || $networkId == 3 || $networkId == 2 || $networkId == 15 || $networkId == 17) {
627
  if ($networkId == 1) {
628
  $edit = '<div class="row"><br>';
629
  $edit .= '<div class="col-xs-12 col-sm-5 col-lg-3">';
730
  $edit .= '</div>';
731
  $edit .= '</div>';
732
  }
733
+
734
+ if ($networkId == 17) {
735
+ $edit = '<div class="row"><br>';
736
+ $edit .= '<div class="col-xs-12 col-sm-5 col-lg-3">';
737
+ $edit .= '<button class="btn btn-primary btn-circle b2s-image-remove-btn" data-network-count="' . esc_attr($schedCount) . '" data-network-id="' . esc_attr($networkId) . '" data-network-auth-id="' . esc_attr($networkAuthId) . '" ' . ($imageUrl ? '' : 'style="display:none"') . '><i class="glyphicon glyphicon-trash"></i></button>';
738
+ $edit .= '<img src="' . esc_url($this->defaultImage) . '" class="b2s-url-image b2s-post-item-details-url-image center-block img-responsive" data-network-count="' . esc_attr($schedCount) . '" data-network-id="' . esc_attr($networkId) . '" data-network-image-change="1" data-network-auth-id="' . esc_attr($networkAuthId) . '">';
739
+ $edit .= '<input type="hidden" class="b2s-image-url-hidden-field form-control" data-network-count="' . esc_attr($schedCount) . '" data-network-count="' . esc_attr($schedCount) . '" data-network-id="' . esc_attr($networkId) . '" data-network-auth-id="' . esc_attr($networkAuthId) . '" value="' . esc_attr(($imageUrl ? $imageUrl : "")) . '" name="b2s[' . esc_attr($networkAuthId) . '][sched_image_url][' . esc_attr($schedCount) . ']">';
740
+ $edit .= '<div class="clearfix"></div>';
741
+ $edit .= '<button class="btn btn-link btn-xs center-block b2s-select-image-modal-open" data-meta-type="og" data-network-count="' . esc_attr($schedCount) . '" data-network-id="' . esc_attr($networkId) . '" data-network-auth-id="' . esc_attr($networkAuthId) . '" data-post-id="' . esc_attr($this->postId) . '" data-image-url="' . esc_attr($imageUrl) . '">' . esc_html__('Change image', 'blog2social') . '</button>';
742
+ $edit .= '</div>';
743
+ $edit .= '<div class="col-xs-12 col-sm-7 col-lg-9">';
744
+ $edit .= $infoArea;
745
+ $edit .= '<div class="b2s-post-item-details-item-message-area" data-network-count="' . esc_attr($schedCount) . '" data-network-id="' . esc_attr($networkId) . '" data-network-auth-id="' . esc_attr($networkAuthId) . '">';
746
+ $edit .= '<textarea disabled="disabled" class="form-control vk-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="' . esc_attr($schedCount) . '" data-network-id="' . esc_attr($networkId) . '" data-network-text-limit="' . esc_attr($limitValue) . '" data-network-auth-id="' . esc_attr($networkAuthId) . '" placeholder="' . esc_attr__('Write something about your post...', 'blog2social') . '" name="b2s[' . esc_attr($networkAuthId) . '][sched_content][' . esc_attr($schedCount) . ']" ' . $isRequiredTextarea . ' ' . $textareaOnKeyUp . '>' . esc_html($message) . '</textarea>';
747
+ if (!in_array($networkId, $this->allowNoEmoji)) {
748
+ $edit .= '<button type="button" class="btn btn-sm b2s-post-item-details-item-message-emoji-btn" data-network-count="' . esc_attr($schedCount) . '" data-network-id="' . esc_attr($networkId) . '" data-network-auth-id="' . esc_attr($networkAuthId) . '">&#x263A;</button>';
749
+ }
750
+ $edit .= '</div>';
751
+ $edit .= '</div>';
752
+ $edit .= '</div>';
753
+ }
754
  } else {
755
  $edit = '<div class="row"><br>';
756
  if ((in_array($networkId, $this->showImageAreaProfile) && $networkType == 0) || (in_array($networkId, $this->showImageAreaPage) && $networkType == 1) || (in_array($networkId, $this->showImageAreaGroup) && $networkType == 2)) {
839
  return $schedData;
840
  }
841
 
842
+ private function getHashTagsString($add = "\n\n", $limit = 0) {
843
  //WooCommerce keyword support
844
  if ($this->postData->post_type == 'product' && taxonomy_exists('product_tag')) {
845
  $hashTagsData = get_the_terms($this->postId, 'product_tag');
849
  $hashTags = '';
850
  if (is_array($hashTagsData) && !empty($hashTagsData)) {
851
  foreach ($hashTagsData as $tag) {
852
+ if($limit > 0) {
853
+ if(strlen($tag->name) > $limit) {
854
+ continue;
855
+ }
856
+ }
857
  $hashTags .= ' #' . str_replace(array(" ", "-", '"', "'", "!", "?", ",", ".", ";", ":"), "", $tag->name);
858
  }
859
  }
1242
  }
1243
 
1244
  if (strpos($message, "{KEYWORDS}") !== false) {
1245
+ $hashtags = $this->getHashTagsString("", ((isset($this->limitHashTagCharacter[$data->networkId])) ? $this->limitHashTagCharacter[$data->networkId] : 0));
1246
  $message = stripslashes(preg_replace("/\{KEYWORDS\}/", addcslashes($hashtags, "\\$"), $message));
1247
  } else if (in_array($data->networkId, $this->allowHashTags) && ($allowUserHashTag === false || $allowUserHashTag == 1)) {
1248
  $add = ($data->networkId != 2) ? "\n\n" : "";
1249
+ $hashtags = $this->getHashTagsString($add, ((isset($this->limitHashTagCharacter[$data->networkId])) ? $this->limitHashTagCharacter[$data->networkId] : 0));
1250
  $message .= " " . $hashtags;
1251
  }
1252
 
includes/B2S/Ship/Navbar.php CHANGED
@@ -76,14 +76,14 @@ class B2S_Ship_Navbar {
76
  }
77
 
78
  $content = '<li class="b2s-sidbar-wrapper-nav-li i" data-mandant-id=\'' . json_encode($mandantIds) . '\' data-mandant-default-id="' . esc_attr($data->mandantId) . '">';
79
- $content .= '<div class="b2s-network-select-btn ' . (($data->expiredDate != '0000-00-00' && $data->expiredDate <= date('Y-m-d')) ? 'b2s-network-select-btn-deactivate" ' . $onclick : '"') . ' data-instant-sharing="'.esc_attr((isset($data->instant_sharing) ? (int)$data->instant_sharing : 0)).'" data-network-auth-id="' . esc_attr($data->networkAuthId) . '" data-network-type="' . esc_attr($data->networkType) . '" data-network-kind="' . esc_attr($data->networkKind) . '" data-network-id = "' . esc_attr($data->networkId) . '" data-network-tos-group-id="'.esc_attr($data->networkTosGroupId).'" data-network-display-name="' . esc_attr(strtolower($data->networkUserName)) . '" ' . (in_array($data->networkId, array(1, 3, 15, 19)) ? 'data-meta-type="og"' : '') . '>';
80
  $content .= '<div class="b2s-network-list">';
81
  $content .= '<div class="b2s-network-thumb">';
82
  $content .= '<img alt="" src="' . esc_url(plugins_url('/assets/images/portale/' . $data->networkId . '_flat.png', B2S_PLUGIN_FILE)) . '">';
83
  $content .= '</div>';
84
  $content .= '<div class="b2s-network-details">';
85
  $content .= '<h4>' . esc_html($username) . '</h4>';
86
- $content .= '<p>' .esc_html(($data->networkId == 19 && $data->networkType == 1 && isset($this->networkKindName[$data->networkKind]) ? $this->networkKindName[$data->networkKind].'-' :'').$this->networkTypeName[$data->networkType] . ' | ' . $this->neworkName[$data->networkId]) . '</p>';
87
  $content .= '</div>';
88
  $content .= '<div class="b2s-network-status" data-network-auth-id="' . esc_attr($data->networkAuthId) . '">';
89
  $content .= '<span class="b2s-network-hide b2s-network-status-img glyphicon glyphicon-ok glyphicon-success"></span>';
76
  }
77
 
78
  $content = '<li class="b2s-sidbar-wrapper-nav-li i" data-mandant-id=\'' . json_encode($mandantIds) . '\' data-mandant-default-id="' . esc_attr($data->mandantId) . '">';
79
+ $content .= '<div class="b2s-network-select-btn ' . (($data->expiredDate != '0000-00-00' && $data->expiredDate <= date('Y-m-d')) ? 'b2s-network-select-btn-deactivate" ' . $onclick : '"') . ' data-instant-sharing="'.esc_attr((isset($data->instant_sharing) ? (int)$data->instant_sharing : 0)).'" data-network-auth-id="' . esc_attr($data->networkAuthId) . '" data-network-type="' . esc_attr($data->networkType) . '" data-network-kind="' . esc_attr($data->networkKind) . '" data-network-id = "' . esc_attr($data->networkId) . '" data-network-tos-group-id="'.esc_attr($data->networkTosGroupId).'" data-network-display-name="' . esc_attr(strtolower($data->networkUserName)) . '" ' . (in_array($data->networkId, array(1, 3, 15, 19, 17)) ? 'data-meta-type="og"' : '') . '>';
80
  $content .= '<div class="b2s-network-list">';
81
  $content .= '<div class="b2s-network-thumb">';
82
  $content .= '<img alt="" src="' . esc_url(plugins_url('/assets/images/portale/' . $data->networkId . '_flat.png', B2S_PLUGIN_FILE)) . '">';
83
  $content .= '</div>';
84
  $content .= '<div class="b2s-network-details">';
85
  $content .= '<h4>' . esc_html($username) . '</h4>';
86
+ $content .= '<p>' .esc_html(($data->networkId == 19 && $data->networkType == 1 && isset($this->networkKindName[$data->networkKind]) ? $this->networkKindName[$data->networkKind].'-' :'').(($data->networkId == 4) ? esc_html__('Blog', 'blog2social') : $this->networkTypeName[$data->networkType]) . ' | ' . $this->neworkName[$data->networkId]) . '</p>';
87
  $content .= '</div>';
88
  $content .= '<div class="b2s-network-status" data-network-auth-id="' . esc_attr($data->networkAuthId) . '">';
89
  $content .= '<span class="b2s-network-hide b2s-network-status-img glyphicon glyphicon-ok glyphicon-success"></span>';
includes/B2S/Ship/Portale.php CHANGED
@@ -35,10 +35,11 @@ class B2S_Ship_Portale {
35
  $html .= (B2S_PLUGIN_USER_VERSION > 1 || (B2S_PLUGIN_USER_VERSION == 0 && $portal->id == 1) || (B2S_PLUGIN_USER_VERSION == 1 && ($portal->id == 1 || $portal->id == 10))) ? ('<button onclick="wop(\'' . $b2sAuthUrl . '&choose=page\', \'Blog2Social Network\'); return false;" class="btn btn-primary btn-sm b2s-network-list-add-btn">+ ' . esc_html__('Page', 'blog2social') . '</button>') : '<button type="button" class="btn btn-primary btn-sm b2s-network-list-add-btn b2s-network-list-add-btn-profeature b2s-btn-disabled ' . ((B2S_PLUGIN_USER_VERSION == 0) ? 'b2sPreFeatureModalBtn' : 'b2sProFeatureModalBtn') . '" data-title="' . esc_html__('You want to connect a network page?', 'blog2social') . '" data-type="auth-network" >+ ' . esc_html__('Page', 'blog2social') . ' <span class="label label-success">' . esc_html__("PRO", "blog2social") . '</a></button>';
36
  }
37
  if (in_array($portal->id, $this->allowProfil)) {
 
38
  if($portal->id == 6) {
39
  $html .= '<a href="#" class="btn btn-primary btn-sm b2s-network-list-add-btn" data-auth-method="client">+ ' . esc_html__('Profile', 'blog2social') . '</a>';
40
  } else {
41
- $html .= ($portal->id != 18 || (B2S_PLUGIN_USER_VERSION >= 2 && $portal->id == 18)) ? ('<a href="#" onclick="wop(\'' . $b2sAuthUrl . '&choose=profile\', \'Blog2Social Network\'); return false;" class="btn btn-primary btn-sm b2s-network-list-add-btn">+ ' . esc_html__('Profile', 'blog2social') . '</a>') : '<button type="button" class="btn btn-primary btn-sm b2s-network-list-add-btn b2s-network-list-add-btn-profeature b2s-btn-disabled b2sProFeatureModalBtn" data-title="' . esc_html__('You want to connect a network profile?', 'blog2social') . '" data-type="auth-network">+ ' . esc_html__('Profile', 'blog2social') . ' <span class="label label-success">' . esc_html__("PRO", "blog2social") . '</a></button>';
42
  }
43
  }
44
  $html .= '</li>';
35
  $html .= (B2S_PLUGIN_USER_VERSION > 1 || (B2S_PLUGIN_USER_VERSION == 0 && $portal->id == 1) || (B2S_PLUGIN_USER_VERSION == 1 && ($portal->id == 1 || $portal->id == 10))) ? ('<button onclick="wop(\'' . $b2sAuthUrl . '&choose=page\', \'Blog2Social Network\'); return false;" class="btn btn-primary btn-sm b2s-network-list-add-btn">+ ' . esc_html__('Page', 'blog2social') . '</button>') : '<button type="button" class="btn btn-primary btn-sm b2s-network-list-add-btn b2s-network-list-add-btn-profeature b2s-btn-disabled ' . ((B2S_PLUGIN_USER_VERSION == 0) ? 'b2sPreFeatureModalBtn' : 'b2sProFeatureModalBtn') . '" data-title="' . esc_html__('You want to connect a network page?', 'blog2social') . '" data-type="auth-network" >+ ' . esc_html__('Page', 'blog2social') . ' <span class="label label-success">' . esc_html__("PRO", "blog2social") . '</a></button>';
36
  }
37
  if (in_array($portal->id, $this->allowProfil)) {
38
+ $name = ($portal->id == 4) ? esc_html__('Blog', 'blog2social') : esc_html__('Profile', 'blog2social');
39
  if($portal->id == 6) {
40
  $html .= '<a href="#" class="btn btn-primary btn-sm b2s-network-list-add-btn" data-auth-method="client">+ ' . esc_html__('Profile', 'blog2social') . '</a>';
41
  } else {
42
+ $html .= ($portal->id != 18 || (B2S_PLUGIN_USER_VERSION >= 2 && $portal->id == 18)) ? ('<a href="#" onclick="wop(\'' . $b2sAuthUrl . '&choose=profile\', \'Blog2Social Network\'); return false;" class="btn btn-primary btn-sm b2s-network-list-add-btn">+ ' . esc_html($name) . '</a>') : '<button type="button" class="btn btn-primary btn-sm b2s-network-list-add-btn b2s-network-list-add-btn-profeature b2s-btn-disabled b2sProFeatureModalBtn" data-title="' . esc_html__('You want to connect a network profile?', 'blog2social') . '" data-type="auth-network">+ ' . esc_html__('Profile', 'blog2social') . ' <span class="label label-success">' . esc_html__("PRO", "blog2social") . '</a></button>';
43
  }
44
  }
45
  $html .= '</li>';
includes/B2S/Ship/Save.php CHANGED
@@ -400,7 +400,7 @@ class B2S_Ship_Save {
400
  $html .='<br><br>';
401
  $html .='<b>' . esc_html__('This is how it works:', 'blog2social') . '</b><br>';
402
  $html .= esc_html__('-To share your post immediately, click the "Share" button next to your selected Google+ account below.', 'blog2social') . '<br>';
403
- $html .= esc_html__('-For scheduled posts, Blog2Social will save your post and move it to the "Scheduled Posts" tab on your "Posts & Sharing" navigation bar. On your scheduled date and time, your post will move to the "Instant Sharing" tab and you can click on "Share" to post it to your account instantly.', 'blog2social') . '<br>';
404
  $html .= '<b>' . esc_html__('Please note: You post has to be marked as public to be posted in a group.', 'blog2social') . '</b>';
405
  $html .='</div>';
406
  }
400
  $html .='<br><br>';
401
  $html .='<b>' . esc_html__('This is how it works:', 'blog2social') . '</b><br>';
402
  $html .= esc_html__('-To share your post immediately, click the "Share" button next to your selected Google+ account below.', 'blog2social') . '<br>';
403
+ $html .= esc_html__('-For scheduled posts, Blog2Social will save your post and move it to the "Scheduled Posts" tab on your "Site & Blog Content" navigation bar. On your scheduled date and time, your post will move to the "Instant Sharing" tab and you can click on "Share" to post it to your account instantly.', 'blog2social') . '<br>';
404
  $html .= '<b>' . esc_html__('Please note: You post has to be marked as public to be posted in a group.', 'blog2social') . '</b>';
405
  $html .='</div>';
406
  }
includes/Loader.php CHANGED
@@ -57,7 +57,7 @@ class B2S_Loader {
57
  12 => array(0 => array('short_text' => array('active' => 0, 'range_min' => 240, 'range_max' => 400, 'excerpt_range_min' => 240, 'excerpt_range_max' => 400, 'limit' => 2000), 'content' => '{CONTENT}', 'format' => 1)),
58
  19 => array(0 => array('short_text' => array('active' => 0, 'range_min' => 239, 'range_max' => 320, 'excerpt_range_min' => 239, 'excerpt_range_max' => 320, 'limit' => 420), 'content' => '{CONTENT}', 'format' => 0),
59
  1 => array('short_text' => array('active' => 0, 'range_min' => 239, 'range_max' => 320, 'excerpt_range_min' => 239, 'excerpt_range_max' => 320, 'limit' => 420), 'content' => '{CONTENT}', 'format' => 1),
60
- 2 => array('short_text' => array('active' => 0, 'range_min' => 239, 'range_max' => 320, 'excerpt_range_min' => 239, 'excerpt_range_max' => 320, 'limit' => 420), 'content' => '{CONTENT}', 'format' => 1))
61
  )));
62
  define('B2S_PLUGIN_SYSTEMREQUIREMENT_WORDPRESSVERSION', '4.7.0');
63
  define('B2S_PLUGIN_SYSTEMREQUIREMENT_PHPVERSION', '5.5.3');
@@ -73,7 +73,8 @@ class B2S_Loader {
73
  define('B2S_PLUGIN_PAGE_SLUG', serialize(array('blog2social', 'blog2social-post', 'blog2social-calendar', 'blog2social-curation', 'blog2social-network', 'blog2social-settings', 'prg-post', 'blog2social-support', 'blog2social-premium', 'blog2social-sched', 'blog2social-approve', 'blog2social-publish', 'blog2social-notice', 'blog2social-ship', 'blog2social-curation-draft', 'blog2social-draft-post', 'prg-login', 'prg-ship')));
74
  define('B2S_PLUGIN_NETWORK_NOT_ALLOW_GIF', json_encode(array(16, 18)));
75
  define('B2S_PLUGIN_NETWORK_ANIMATE_GIF', json_encode(array(1 => array(0 => false, 1 => true), 2 => array(0 => false, 1 => true), 3 => array(0 => true, 1 => true), 4 => array(0 => true), 6 => array(0 => true), 7 => array(0 => false), 11 => array(0 => true), 12 => array(0 => false, 1 => false), 14 => array(0 => true), 15 => array(0 => false), 17 => array(0 => false), 19 => array(0 => true, 1 => true), 21 => array(0 => true))));
76
- define('B2S_PLUGIN_NETWORK_META_TAGS', json_encode(array('og' => array(1, 3, 15, 19), 'twitter' => array(2))));
 
77
 
78
  add_filter('heartbeat_received', array(B2S_Heartbeat::getInstance(), 'init'), 10, 2);
79
  add_action('wp_logout', array($this, 'releaseLocks'));
@@ -287,14 +288,19 @@ class B2S_Loader {
287
  $sched_date = date('Y-m-d H:i:s', strtotime($time, strtotime($current_user_datetime)));
288
  $sched_date_utc = date('Y-m-d H:i:s', strtotime($time, strtotime($current_utc_datetime)));
289
 
290
- $optionNoCache = $options->_getOption('link_no_cache');
 
 
 
 
 
291
  $optionUserHashTag = $options->_getOption('user_allow_hashtag');
292
  $allowHashTag = ($optionUserHashTag === false || $optionUserHashTag == 1) ? true : false;
293
 
294
  $defaultPostData = array('default_titel' => $title,
295
  'image_url' => ($image_url !== false) ? trim(urldecode($image_url)) : '',
296
  'lang' => trim(strtolower(substr(B2S_LANGUAGE, 0, 2))),
297
- 'no_cache' => (($optionNoCache === false || $optionNoCache == 0) ? 0 : 1), //default inactive , 1=active 0=not
298
  'board' => '', 'group' => '', 'url' => $url, 'user_timezone' => $userTimeZoneOffset);
299
 
300
  $defaultBlogPostData = array('post_id' => (int) $post->ID, 'blog_user_id' => (int) $post->post_author, 'user_timezone' => $userTimeZoneOffset, 'sched_type' => $sched_type, 'sched_date' => $sched_date, 'sched_date_utc' => $sched_date_utc);
@@ -310,6 +316,11 @@ class B2S_Loader {
310
  if ((int) $networkDetails[0]->network_id == 18 && $count > 10) {
311
  continue;
312
  }
 
 
 
 
 
313
  if (is_array($networkDetails) && isset($networkDetails[0]->network_id) && isset($networkDetails[0]->network_type) && isset($networkDetails[0]->network_display_name)) {
314
  //TOS Twitter 032018 - none multiple Accounts - User select once
315
  if ((int) $networkDetails[0]->network_id != 2 || ( (int) $networkDetails[0]->network_id == 2 && $networkTos)) {
@@ -385,8 +396,8 @@ class B2S_Loader {
385
  $post_types = get_post_types(array('public' => true));
386
  if (is_array($post_types) && !empty($post_types)) {
387
  foreach ($post_types as $post_type) {
388
- add_meta_box('b2s-post-meta-box-auto', '<span style="padding: 10px 0 10px 25px; background: url(\'' . plugins_url('/assets/images/b2s_icon.png', B2S_PLUGIN_FILE) . '\') no-repeat left center;"></span>' . __('Auto-Post on Social Media', 'blog2social'), array($this, 'b2s_view_post_box'), $post_type, 'side', 'high');
389
- add_meta_box('b2s-post-box-calendar-header', '<span style="padding: 10px 0 10px 25px; background: url(\'' . plugins_url('/assets/images/b2s_icon.png', B2S_PLUGIN_FILE) . '\') no-repeat left center;"></span>' . __('Social Media Content Calendar', 'blog2social'), array($this, 'b2s_view_post_box_calendar'), $post_type, 'normal', 'high');
390
  }
391
  }
392
  }
@@ -424,6 +435,23 @@ class B2S_Loader {
424
  if (!isset($_POST['wphb-clear-cache'])) { // WP-Hummingbird BTN clear cache - protection
425
  if (!isset($_POST['wp-preview']) || (isset($_POST['wp-preview']) && $_POST['wp-preview'] != 'dopreview')) {
426
  if (isset($_POST['post_ID']) && (int) $_POST['post_ID'] > 0) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
427
  //Gutenberg WP V5.0 - B2S V5.1.0 optimization
428
  if (!isset($_POST['post_title']) || !isset($_POST['content'])) {
429
  $content = get_post((int) $_POST['post_ID']);
@@ -470,188 +498,225 @@ class B2S_Loader {
470
  $meta->updateMeta((int) $_POST['post_ID']);
471
  }
472
 
473
- if (isset($_POST['post_ID']) && isset($_POST['user_ID']) && (int) $_POST['post_ID'] > 0 && (int) $_POST['user_ID'] > 0 && !defined("B2S_SAVE_META_BOX_AUTO_SHARE") && !wp_is_post_autosave($_POST['post_ID']) && isset($_POST['b2s-meta-box-nonce']) && wp_verify_nonce($_POST['b2s-meta-box-nonce'], 'b2s-meta-box-nonce-post-area') && isset($_POST['post_status']) && isset($_POST['b2s-post-meta-box-time-dropdown'])) {
474
- if (strtolower($_POST['b2s-post-meta-box-time-dropdown']) == 'publish') {
475
- if ((strtolower($_POST['post_status']) == "publish" || strtolower($_POST['post_status']) == "future") && isset($_POST['b2s-post-meta-box-profil-dropdown'])) {
476
- $profilId = (int) $_POST['b2s-post-meta-box-profil-dropdown'];
477
- if (isset($_POST['b2s-post-meta-box-profil-data-' . $profilId]) && !empty($_POST['b2s-post-meta-box-profil-data-' . $profilId])) {
478
- $networkData = json_decode(base64_decode($_POST['b2s-post-meta-box-profil-data-' . $profilId]));
479
- if ($networkData !== false && is_array($networkData) && !empty($networkData)) {
480
- $user_timezone = isset($_POST['b2s-user-timezone']) ? (int) $_POST['b2s-user-timezone'] : 0;
481
- $current_utc_date = gmdate('Y-m-d H:i:s');
482
- $current_user_date = date('Y-m-d H:i:s', strtotime(B2S_Util::getUTCForDate($current_utc_date, $user_timezone)));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
483
 
484
  //WP User Sched Post + B2S Share NOW FRIST SAVE
485
- $post_date = '';
486
- if (isset($_POST['post_date']) && !empty($_POST['post_date'])) {
487
- $post_date = date('Y-m-d H:i:s', strtotime($_POST['post_date']));
488
- }
489
 
490
  //WP User Sched Post + B2S Share NOW SECOND SAVE
491
- if (empty($post_date) && strtolower($_POST['post_status']) == "future") {
492
- if (isset($_POST['mm']) && isset($_POST['jj']) && isset($_POST['aa']) && isset($_POST['hh']) && isset($_POST['mn']) && isset($_POST['ss'])) {
493
- $wp_user_sched_post_date = $_POST['aa'] . '-' . $_POST['mm'] . '-' . $_POST['jj'] . ' ' . $_POST['hh'] . ':' . $_POST['mn'] . ':' . $_POST['ss'];
494
- } else {
495
- //V5.0.0 Gutenberg Editor
496
- $wp_user_sched_post_date = get_the_date('Y-m-d H:i:s', $_POST['post_ID']);
 
 
497
  }
498
- $post_date = date('Y-m-d H:i:s', strtotime($wp_user_sched_post_date));
499
- }
500
 
501
  //ShareNow
502
- $sched_type = 3;
503
- $sched_date = $current_user_date;
504
- $sched_date_utc = date('Y-m-d H:i:s', strtotime("-30 seconds", strtotime($current_utc_date)));
505
- $myTimeSettings = false;
506
 
507
  //allow for User Post Date (Schedule)
508
- if (!empty($post_date) && $current_user_date <= $post_date) {
509
- $sched_type = 2;
510
- $sched_date = date('Y-m-d H:i:59', strtotime($post_date));
511
- $sched_date_utc = date('Y-m-d H:i:s', strtotime(B2S_Util::getUTCForDate($sched_date, $user_timezone * (-1))));
512
- }
513
-
514
- //Schedule post once
515
- if (isset($_POST['b2s-post-meta-box-sched-select']) && $_POST['b2s-post-meta-box-sched-select'] == 1) {
516
- $user_sched_date = (isset($_POST['b2s-post-meta-box-sched-date']) && strtotime($_POST['b2s-post-meta-box-sched-date']) !== false) ? date('Y-m-d H:i:s', strtotime($_POST['b2s-post-meta-box-sched-date'])) : date('Y-m-d H:i:00', current_time('timestamp'));
517
- //Check User Schedule Date in past!
518
- if ($user_sched_date >= $sched_date) {
519
  $sched_type = 2;
520
- $sched_date = $user_sched_date;
521
  $sched_date_utc = date('Y-m-d H:i:s', strtotime(B2S_Util::getUTCForDate($sched_date, $user_timezone * (-1))));
522
  }
523
- } else if (isset($_POST['b2s-post-meta-box-sched-select']) && $_POST['b2s-post-meta-box-sched-select'] == 2) {
524
- //allow for my Time Settings
525
- if (isset($_POST['b2s-post-meta-box-best-time-settings'])) {
526
- $sched_type = 2;
527
- $myTimeSettings = unserialize(stripslashes($_POST['b2s-post-meta-box-best-time-settings']));
528
- if ($myTimeSettings !== false && is_array($myTimeSettings) && isset($myTimeSettings['times']) && isset($myTimeSettings['type'])) {
529
- $myTimeSettings = $myTimeSettings;
530
- }
531
- }
532
- }
533
 
534
- delete_option('B2S_PLUGIN_POST_CONTENT_' . (int) $_POST['post_ID']);
535
- $image_url = wp_get_attachment_url(get_post_thumbnail_id((int) $_POST['post_ID']));
536
- //WooCommerce keyword support
537
- if (get_post_type((int) $_POST['post_ID']) == 'product' && taxonomy_exists('product_tag')) {
538
- $keywords = get_the_terms((int) $_POST['post_ID'], 'product_tag');
539
- } else {
540
- $keywords = get_the_tags((int) $_POST['post_ID']);
541
- }
542
- $url = get_permalink($_POST['post_ID']);
543
- $title = isset($_POST['post_title']) ? B2S_Util::getTitleByLanguage(strip_tags($_POST['post_title']), strtolower($b2sPostLang)) : '';
544
- $content = (isset($_POST['content']) && !empty($_POST['content'])) ? trim($_POST['content']) : '';
545
- $excerpt = (isset($_POST['excerpt']) && !empty($_POST['excerpt'])) ? trim($_POST['excerpt']) : get_the_excerpt((int) $_POST['post_ID']);
546
-
547
- $options = new B2S_Options((int) $_POST['user_ID']);
548
- $optionPostFormat = $options->_getOption('post_template');
549
- $optionNoCache = $options->_getOption('link_no_cache');
550
- $optionUserHashTag = $options->_getOption('user_allow_hashtag');
551
- $allowHashTag = ($optionUserHashTag === false || $optionUserHashTag == 1) ? true : false;
552
-
553
- $defaultPostData = array('default_titel' => $title,
554
- 'image_url' => ($image_url !== false) ? trim(urldecode($image_url)) : '',
555
- 'lang' => trim(strtolower(substr(B2S_LANGUAGE, 0, 2))),
556
- 'no_cache' => (($optionNoCache === false || $optionNoCache == 0) ? 0 : 1), //default inactive , 1=active 0=not
557
- 'board' => '', 'group' => '', 'url' => $url, 'user_timezone' => $user_timezone); // 'publish_date' => $sched_date, OLD FOR Share Now?
558
-
559
- $defaultBlogPostData = array('post_id' => (int) $_POST['post_ID'], 'blog_user_id' => (int) $_POST['user_ID'], 'user_timezone' => $user_timezone, 'sched_type' => $sched_type, 'sched_date' => $sched_date, 'sched_date_utc' => $sched_date_utc);
560
-
561
- $autoShare = new B2S_AutoPost((int) $_POST['post_ID'], $defaultBlogPostData, $current_user_date, $myTimeSettings, $title, $content, $excerpt, $url, $image_url, $keywords, $b2sPostLang, $optionPostFormat, $allowHashTag);
562
- define('B2S_SAVE_META_BOX_AUTO_SHARE', (int) $_POST['post_ID']);
563
- if (isset($_POST['b2s-user-last-selected-profile-id']) && (int) $_POST['b2s-user-last-selected-profile-id'] != (int) $_POST['b2s-post-meta-box-profil-dropdown'] && (int) $_POST['b2s-post-meta-box-profil-dropdown'] != 0) {
564
- update_option('B2S_PLUGIN_SAVE_META_BOX_AUTO_SHARE_PROFILE_USER_' . (int) $_POST['user_ID'], (int) $_POST['b2s-post-meta-box-profil-dropdown'], false);
565
- }
566
-
567
- $metaOg = false;
568
- $metaCard = false;
569
- $tosCrossPosting = unserialize(B2S_PLUGIN_NETWORK_CROSSPOSTING_LIMIT);
570
-
571
-
572
- //>V5.6.0 Scheduling lookup existing posts - delete entries (hook_action) - merge with current networkData & insert
573
- if ($sched_type == 2) {
574
- global $wpdb;
575
- $getSchedData = $wpdb->prepare("SELECT b.id as b2sPostId,d.network_id as networkId,d.network_type as networkType,d.network_auth_id as networkAuthId,d.network_display_name as networkUserName FROM {$wpdb->prefix}b2s_posts b LEFT JOIN {$wpdb->prefix}b2s_posts_network_details d ON (d.id = b.network_details_id) WHERE b.post_id = %d AND b.sched_type = %d AND b.publish_date = %s AND b.hide = %d", (int) $_POST['post_ID'], 2, "0000-00-00 00:00:00", 0);
576
- $schedDataResult = $wpdb->get_results($getSchedData);
577
- $delete_scheds = array();
578
- foreach ($schedDataResult as $k => $value) {
579
- $isNew = true;
580
- foreach ($networkData as $j => $currvalue) {
581
- if ($value->networkAuthId == $currvalue->networkAuthId) {
582
- $isNew = false;
583
  }
584
  }
585
- if ($isNew) {
586
- array_push($networkData, $value);
587
- }
588
- array_push($delete_scheds, $value->b2sPostId);
589
  }
590
- if (!empty($delete_scheds)) {
591
- require_once (B2S_PLUGIN_DIR . '/includes/B2S/Post/Tools.php');
592
- B2S_Post_Tools::deleteUserSchedPost($delete_scheds);
 
 
 
 
 
593
  }
594
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
595
 
 
 
 
 
 
 
 
596
 
597
- //TOS Twitter 032018 - none multiple Accounts - User select once
598
- $selectedTwitterProfile = (isset($_POST['b2s-post-meta-box-profil-dropdown-twitter']) && !empty($_POST['b2s-post-meta-box-profil-dropdown-twitter'])) ? (int) $_POST['b2s-post-meta-box-profil-dropdown-twitter'] : '';
599
- foreach ($networkData as $k => $value) {
600
- if (isset($value->networkAuthId) && (int) $value->networkAuthId > 0 && isset($value->networkId) && (int) $value->networkId > 0 && isset($value->networkType)) {
601
- //TOS Twitter 032018 - none multiple Accounts - User select once
602
- if ((int) $value->networkId != 2 || ((int) $value->networkId == 2 && (empty($selectedTwitterProfile) || ((int) $selectedTwitterProfile == (int) $value->networkAuthId)))) {
603
 
604
- //TOS Crossposting ignore
605
- //Filter: TOS Crossposting ignore
606
- if (isset($tosCrossPosting[$value->networkId][$value->networkType])) {
607
- continue;
 
 
608
  }
 
 
 
 
 
 
 
 
 
 
609
 
610
- $res = $autoShare->prepareShareData($value->networkAuthId, $value->networkId, $value->networkType);
611
- if ($res !== false && is_array($res)) {
612
- $res = array_merge($res, $defaultPostData);
613
- $shareApprove = (isset($value->instant_sharing) && (int) $value->instant_sharing == 1) ? 1 : 0;
614
- $autoShare->saveShareData($res, $value->networkId, $value->networkType, $value->networkAuthId, $shareApprove, strip_tags($value->networkUserName));
615
-
616
- //Start - Change/Set MetaTags
617
- //TODO Check Enable Feature
618
- if ((int) $value->networkId == 1 && $metaOg == false && (int) $_POST['post_ID'] > 0 && isset($res['post_format']) && (int) $res['post_format'] == 0) { //LinkPost
619
- $metaOg = true;
620
- $meta = B2S_Meta::getInstance();
621
- $meta->getMeta((int) $_POST['post_ID']);
622
- if (isset($res['image_url']) && !empty($res['image_url'])) {
623
- $meta->setMeta('og_image', trim(esc_url($res['image_url'])));
624
- $meta->updateMeta((int) $_POST['post_ID']);
 
625
  }
626
- }
627
- if ((int) $value->networkId == 2 && $metaCard == false && (int) $_POST['post_ID'] > 0 && isset($res['post_format']) && (int) $res['post_format'] == 0) { //LinkPost
628
- $metaCard = true;
629
- $meta = B2S_Meta::getInstance();
630
- $meta->getMeta((int) $_POST['post_ID']);
631
- if (isset($res['image_url']) && !empty($res['image_url'])) {
632
- $meta->setMeta('card_image', trim(esc_url($res['image_url'])));
633
- $meta->updateMeta((int) $_POST['post_ID']);
634
  }
635
- }
636
  //END MetaTags
 
637
  }
638
  }
639
  }
640
- }
641
- if ($sched_type != 3) {
642
- if (isset($_POST['b2s-user-lang']) && !empty($_POST['b2s-user-lang'])) {
643
- $dateFormat = ($_POST['b2s-user-lang'] == 'de') ? 'd.m.Y' : 'Y-m-d';
644
- $_POST['b2s_update_publish_date'] = date($dateFormat, strtotime($sched_date));
645
  }
 
 
646
  }
647
- add_filter('redirect_post_location', array($this, 'b2s_add_param_auto_share_meta_box'));
 
648
  }
649
  } else {
650
- add_filter('redirect_post_location', array($this, 'b2s_add_param_auto_share_error_data_meta_box'));
 
 
651
  }
652
- } else {
653
- if (strtolower($_POST['post_status']) == "publish" || strtolower($_POST['post_status']) == "future") {
654
- add_filter('redirect_post_location', array($this, 'b2s_add_param_auto_share_error_meta_box'));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
655
  }
656
  }
657
  }
@@ -692,7 +757,7 @@ class B2S_Loader {
692
  }
693
  }
694
  if ((int) $b2sAction == 2) {
695
- echo '<div class="error"><p>' . esc_html__('Please, make sure that your post are publish on this blog on this moment. Then you can auto post your post with Blog2social.', 'blog2social') . '</p></div>';
696
  }
697
  if ((int) $b2sAction == 3) {
698
  echo '<div class="error"><p>' . esc_html__('There are no social network accounts assigned to your selected network collection. Please assign at least one social network account or select another network collection.', 'blog2social') . '</p></div>';
@@ -778,7 +843,7 @@ class B2S_Loader {
778
  'BLOGPOST_NOT_PUBLISHED' => esc_html__('Your blog post was not available for the network at the time of publication.', 'blog2social'),
779
  'EXISTS_RELAY' => esc_html__('You have already retweeted this post.', 'blog2social'),
780
  'DEPRECATED_NETWORK_8' => esc_html__('This XING API is no longer supported by XING. Please connect your XING accounts with the new XING interface to reschedule your posts.', 'blog2social'),
781
- 'IMAGE_FOR_CURATION' => esc_html__('The network requires a image.', 'blog2social'), // special for content curation V.5.0.0
782
  'LINK_FOR_CURATION' => esc_html__('To share social media posts on Reddit or Diigo, a link is required.', 'blog2social'), // special for content curation V.6.0.0
783
  'IMAGE_NETWORK' => esc_html__('Your post could not be posted, because your image can not be processed by the network.', 'blog2social'),
784
  'TEXT_NOT_PUBLISHED_12' => sprintf(__('Instagram published your post without text. Please see <a target="_blank" href="%s">FAQ</a>', 'blog2social'), esc_url(B2S_Tools::getSupportLink('instagram_without_text'))),
@@ -1548,9 +1613,24 @@ class B2S_Loader {
1548
  `network_type` TINYINT NOT NULL,
1549
  `network_auth_id` int(11) NOT NULL,
1550
  `network_display_name` varchar(100) NOT NULL,
 
1551
  PRIMARY KEY (`id`)
1552
  ) DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci AUTO_INCREMENT=1 ;";
1553
  $wpdb->query($sqlCreateUserNetworkDetails);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1554
 
1555
  $sqlCreateUserContact = "CREATE TABLE IF NOT EXISTS `{$wpdb->prefix}b2s_user_contact`(
1556
  `id` int(5) NOT NULL AUTO_INCREMENT ,
@@ -1591,11 +1671,26 @@ class B2S_Loader {
1591
  `last_save_date` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
1592
  `blog_user_id` int(11) NOT NULL,
1593
  `post_id` int(11) NOT NULL,
 
1594
  `data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
1595
  PRIMARY KEY (`id`),
1596
  INDEX `blog_user_id` (`blog_user_id`), INDEX `post_id` (`post_id`)
1597
  ) DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci AUTO_INCREMENT=1;";
1598
  $wpdb->query($sqlCreateDrafts);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1599
 
1600
  $sqlCreateFavorites = "CREATE TABLE IF NOT EXISTS `{$wpdb->prefix}b2s_posts_favorites` (
1601
  `id` int(11) NOT NULL AUTO_INCREMENT,
57
  12 => array(0 => array('short_text' => array('active' => 0, 'range_min' => 240, 'range_max' => 400, 'excerpt_range_min' => 240, 'excerpt_range_max' => 400, 'limit' => 2000), 'content' => '{CONTENT}', 'format' => 1)),
58
  19 => array(0 => array('short_text' => array('active' => 0, 'range_min' => 239, 'range_max' => 320, 'excerpt_range_min' => 239, 'excerpt_range_max' => 320, 'limit' => 420), 'content' => '{CONTENT}', 'format' => 0),
59
  1 => array('short_text' => array('active' => 0, 'range_min' => 239, 'range_max' => 320, 'excerpt_range_min' => 239, 'excerpt_range_max' => 320, 'limit' => 420), 'content' => '{CONTENT}', 'format' => 1),
60
+ 2 => array('short_text' => array('active' => 0, 'range_min' => 239, 'range_max' => 320, 'excerpt_range_min' => 239, 'excerpt_range_max' => 320, 'limit' => 10000), 'content' => '{CONTENT}', 'format' => 1))
61
  )));
62
  define('B2S_PLUGIN_SYSTEMREQUIREMENT_WORDPRESSVERSION', '4.7.0');
63
  define('B2S_PLUGIN_SYSTEMREQUIREMENT_PHPVERSION', '5.5.3');
73
  define('B2S_PLUGIN_PAGE_SLUG', serialize(array('blog2social', 'blog2social-post', 'blog2social-calendar', 'blog2social-curation', 'blog2social-network', 'blog2social-settings', 'prg-post', 'blog2social-support', 'blog2social-premium', 'blog2social-sched', 'blog2social-approve', 'blog2social-publish', 'blog2social-notice', 'blog2social-ship', 'blog2social-curation-draft', 'blog2social-draft-post', 'prg-login', 'prg-ship')));
74
  define('B2S_PLUGIN_NETWORK_NOT_ALLOW_GIF', json_encode(array(16, 18)));
75
  define('B2S_PLUGIN_NETWORK_ANIMATE_GIF', json_encode(array(1 => array(0 => false, 1 => true), 2 => array(0 => false, 1 => true), 3 => array(0 => true, 1 => true), 4 => array(0 => true), 6 => array(0 => true), 7 => array(0 => false), 11 => array(0 => true), 12 => array(0 => false, 1 => false), 14 => array(0 => true), 15 => array(0 => false), 17 => array(0 => false), 19 => array(0 => true, 1 => true), 21 => array(0 => true))));
76
+ define('B2S_PLUGIN_NETWORK_META_TAGS', json_encode(array('og' => array(1, 3, 15, 19, 17), 'twitter' => array(2))));
77
+ define('B2S_PLUGIN_SHORTENER', serialize(array(0 => esc_html__('Bitly', 'blog2social'), 1 => esc_html__('Rebrandly', 'blog2social'))));
78
 
79
  add_filter('heartbeat_received', array(B2S_Heartbeat::getInstance(), 'init'), 10, 2);
80
  add_action('wp_logout', array($this, 'releaseLocks'));
288
  $sched_date = date('Y-m-d H:i:s', strtotime($time, strtotime($current_user_datetime)));
289
  $sched_date_utc = date('Y-m-d H:i:s', strtotime($time, strtotime($current_utc_datetime)));
290
 
291
+ $linkNoCache = $options->_getOption("link_no_cache");
292
+ if($linkNoCache == false || !is_array($linkNoCache)) {
293
+ $fb_linkNoCache = (((int) $linkNoCache > 0) ? 1 : 0);
294
+ $linkNoCache = array(1 => $fb_linkNoCache, 3 => 1);
295
+ $options->_setOption("link_no_cache", $linkNoCache);
296
+ }
297
  $optionUserHashTag = $options->_getOption('user_allow_hashtag');
298
  $allowHashTag = ($optionUserHashTag === false || $optionUserHashTag == 1) ? true : false;
299
 
300
  $defaultPostData = array('default_titel' => $title,
301
  'image_url' => ($image_url !== false) ? trim(urldecode($image_url)) : '',
302
  'lang' => trim(strtolower(substr(B2S_LANGUAGE, 0, 2))),
303
+ 'no_cache' => 0, //default inactive , 1=active 0=not
304
  'board' => '', 'group' => '', 'url' => $url, 'user_timezone' => $userTimeZoneOffset);
305
 
306
  $defaultBlogPostData = array('post_id' => (int) $post->ID, 'blog_user_id' => (int) $post->post_author, 'user_timezone' => $userTimeZoneOffset, 'sched_type' => $sched_type, 'sched_date' => $sched_date, 'sched_date_utc' => $sched_date_utc);
316
  if ((int) $networkDetails[0]->network_id == 18 && $count > 10) {
317
  continue;
318
  }
319
+ if ((int) $networkDetails[0]->network_id == 1 || (int) $networkDetails[0]->network_id == 3) {
320
+ if(is_array($linkNoCache) && isset($linkNoCache[$networkDetails[0]->network_id]) && (int) $linkNoCache[$networkDetails[0]->network_id] > 0) {
321
+ $defaultPostData['no_cache'] = $linkNoCache[$networkDetails[0]->network_id];
322
+ }
323
+ }
324
  if (is_array($networkDetails) && isset($networkDetails[0]->network_id) && isset($networkDetails[0]->network_type) && isset($networkDetails[0]->network_display_name)) {
325
  //TOS Twitter 032018 - none multiple Accounts - User select once
326
  if ((int) $networkDetails[0]->network_id != 2 || ( (int) $networkDetails[0]->network_id == 2 && $networkTos)) {
396
  $post_types = get_post_types(array('public' => true));
397
  if (is_array($post_types) && !empty($post_types)) {
398
  foreach ($post_types as $post_type) {
399
+ add_meta_box('b2s-post-meta-box-auto', esc_html__('Blog2Social: Autoposter', 'blog2social'), array($this, 'b2s_view_post_box'), $post_type, 'side', 'high');
400
+ add_meta_box('b2s-post-box-calendar-header', esc_html__('Blog2Social: Social Media Content Calendar', 'blog2social'), array($this, 'b2s_view_post_box_calendar'), $post_type, 'normal', 'high');
401
  }
402
  }
403
  }
435
  if (!isset($_POST['wphb-clear-cache'])) { // WP-Hummingbird BTN clear cache - protection
436
  if (!isset($_POST['wp-preview']) || (isset($_POST['wp-preview']) && $_POST['wp-preview'] != 'dopreview')) {
437
  if (isset($_POST['post_ID']) && (int) $_POST['post_ID'] > 0) {
438
+
439
+ //delete scheds (don't delete, if network group changed)
440
+ if(!isset($_POST['b2s-profile-selected']) || $_POST['b2s-profile-selected'] < 0 || !isset($_POST['b2s-post-meta-box-profil-dropdown']) || (int) $_POST['b2s-post-meta-box-profil-dropdown'] == (int) $_POST['b2s-profile-selected']) {
441
+ global $wpdb;
442
+ $getSchedData = $wpdb->prepare("SELECT b.id as b2sPostId,d.network_id as networkId,d.network_type as networkType,d.network_auth_id as networkAuthId,d.network_display_name as networkUserName FROM {$wpdb->prefix}b2s_posts b LEFT JOIN {$wpdb->prefix}b2s_posts_network_details d ON (d.id = b.network_details_id) WHERE b.post_id = %d AND b.sched_type = %d AND b.publish_date = %s AND b.hide = %d", (int) $_POST['post_ID'], 3, "0000-00-00 00:00:00", 0);
443
+ $schedDataResult = $wpdb->get_results($getSchedData);
444
+ $delete_scheds = array();
445
+ foreach ($schedDataResult as $k => $value) {
446
+ array_push($delete_scheds, $value->b2sPostId);
447
+ }
448
+ if (!empty($delete_scheds)) {
449
+ require_once (B2S_PLUGIN_DIR . '/includes/B2S/Post/Tools.php');
450
+ B2S_Post_Tools::deleteUserSchedPost($delete_scheds);
451
+ }
452
+ }
453
+
454
+
455
  //Gutenberg WP V5.0 - B2S V5.1.0 optimization
456
  if (!isset($_POST['post_title']) || !isset($_POST['content'])) {
457
  $content = get_post((int) $_POST['post_ID']);
498
  $meta->updateMeta((int) $_POST['post_ID']);
499
  }
500
 
501
+ if (isset($_POST['post_ID']) && isset($_POST['user_ID']) && (int) $_POST['post_ID'] > 0 && (int) $_POST['user_ID'] > 0 && !defined("B2S_SAVE_META_BOX_AUTO_SHARE") && !wp_is_post_autosave($_POST['post_ID']) && isset($_POST['b2s-meta-box-nonce']) && wp_verify_nonce($_POST['b2s-meta-box-nonce'], 'b2s-meta-box-nonce-post-area') && isset($_POST['post_status'])) {
502
+ if (isset($_POST['b2s-enable-auto-post'])) {
503
+ if ((int) $_POST['b2s-enable-auto-post'] == 1) {
504
+ if ((strtolower($_POST['post_status']) == "publish" || strtolower($_POST['post_status']) == "future") && isset($_POST['b2s-post-meta-box-profil-dropdown'])) {
505
+ $profilId = (int) $_POST['b2s-post-meta-box-profil-dropdown'];
506
+
507
+ //save network settings and besttimes if different than default
508
+ $postOptions = new B2S_Options($_POST['post_ID'], 'B2S_PLUGIN_POST_OPTIONS');
509
+ $newPostOption = $postOptions->_getOption('auto_post_manuell');
510
+ if($newPostOption == false || !is_array($newPostOption)) {
511
+ $newPostOption = array();
512
+ }
513
+ $tempOption = array();
514
+ if(isset($_POST['b2s-profile-default']) && $profilId != (int) $_POST['b2s-profile-default']) {
515
+ $tempOption['profile'] = $profilId;
516
+ } else {
517
+ unset($tempOption['profile']);
518
+ }
519
+ if(isset($_POST['b2s-post-meta-box-profil-dropdown-twitter']) && (int) $_POST['b2s-post-meta-box-profil-dropdown-twitter'] > 0 && isset($_POST['b2s-twitter-default']) && (int) $_POST['b2s-post-meta-box-profil-dropdown-twitter'] != (int) $_POST['b2s-twitter-default']) {
520
+ $tempOption['twitter'] = (int) $_POST['b2s-post-meta-box-profil-dropdown-twitter'];
521
+ } else {
522
+ unset($tempOption['twitter']);
523
+ }
524
+ if(isset($_POST['b2s-post-meta-box-sched-select']) && isset($_POST['b2s-best-times-default']) && (int) $_POST['b2s-post-meta-box-sched-select'] != (int) $_POST['b2s-best-times-default']) {
525
+ $tempOption['best_times'] = (int) $_POST['b2s-post-meta-box-sched-select'];
526
+ } else {
527
+ unset($tempOption['best_times']);
528
+ }
529
+ $newPostOption[B2S_PLUGIN_BLOG_USER_ID] = $tempOption;
530
+ $postOptions->_setOption('auto_post_manuell', $newPostOption);
531
+
532
+ if (isset($_POST['b2s-post-meta-box-profil-data-' . $profilId]) && !empty($_POST['b2s-post-meta-box-profil-data-' . $profilId])) {
533
+ $networkData = json_decode(base64_decode($_POST['b2s-post-meta-box-profil-data-' . $profilId]));
534
+ if ($networkData !== false && is_array($networkData) && !empty($networkData)) {
535
+ $user_timezone = isset($_POST['b2s-user-timezone']) ? (int) $_POST['b2s-user-timezone'] : 0;
536
+ $current_utc_date = gmdate('Y-m-d H:i:s');
537
+ $current_user_date = date('Y-m-d H:i:s', strtotime(B2S_Util::getUTCForDate($current_utc_date, $user_timezone)));
538
 
539
  //WP User Sched Post + B2S Share NOW FRIST SAVE
540
+ $post_date = '';
541
+ if (isset($_POST['post_date']) && !empty($_POST['post_date'])) {
542
+ $post_date = date('Y-m-d H:i:s', strtotime($_POST['post_date']));
543
+ }
544
 
545
  //WP User Sched Post + B2S Share NOW SECOND SAVE
546
+ if (empty($post_date) && strtolower($_POST['post_status']) == "future") {
547
+ if (isset($_POST['mm']) && isset($_POST['jj']) && isset($_POST['aa']) && isset($_POST['hh']) && isset($_POST['mn']) && isset($_POST['ss'])) {
548
+ $wp_user_sched_post_date = $_POST['aa'] . '-' . $_POST['mm'] . '-' . $_POST['jj'] . ' ' . $_POST['hh'] . ':' . $_POST['mn'] . ':' . $_POST['ss'];
549
+ } else {
550
+ //V5.0.0 Gutenberg Editor
551
+ $wp_user_sched_post_date = get_the_date('Y-m-d H:i:s', $_POST['post_ID']);
552
+ }
553
+ $post_date = date('Y-m-d H:i:s', strtotime($wp_user_sched_post_date));
554
  }
 
 
555
 
556
  //ShareNow
557
+ $sched_type = 3;
558
+ $sched_date = $current_user_date;
559
+ $sched_date_utc = date('Y-m-d H:i:s', strtotime("-30 seconds", strtotime($current_utc_date)));
560
+ $myTimeSettings = false;
561
 
562
  //allow for User Post Date (Schedule)
563
+ if (!empty($post_date) && $current_user_date <= $post_date) {
 
 
 
 
 
 
 
 
 
 
564
  $sched_type = 2;
565
+ $sched_date = date('Y-m-d H:i:59', strtotime($post_date));
566
  $sched_date_utc = date('Y-m-d H:i:s', strtotime(B2S_Util::getUTCForDate($sched_date, $user_timezone * (-1))));
567
  }
 
 
 
 
 
 
 
 
 
 
568
 
569
+ //Schedule post for best times
570
+ if (isset($_POST['b2s-post-meta-box-sched-select']) && $_POST['b2s-post-meta-box-sched-select'] == 1) {
571
+ if (isset($_POST['b2s-post-meta-box-best-time-settings'])) {
572
+ $sched_type = 2;
573
+ $myTimeSettings = unserialize(stripslashes($_POST['b2s-post-meta-box-best-time-settings']));
574
+ if ($myTimeSettings !== false && is_array($myTimeSettings) && isset($myTimeSettings['times']) && isset($myTimeSettings['type'])) {
575
+ $myTimeSettings = $myTimeSettings;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
576
  }
577
  }
 
 
 
 
578
  }
579
+
580
+ delete_option('B2S_PLUGIN_POST_CONTENT_' . (int) $_POST['post_ID']);
581
+ $image_url = wp_get_attachment_url(get_post_thumbnail_id((int) $_POST['post_ID']));
582
+ //WooCommerce keyword support
583
+ if (get_post_type((int) $_POST['post_ID']) == 'product' && taxonomy_exists('product_tag')) {
584
+ $keywords = get_the_terms((int) $_POST['post_ID'], 'product_tag');
585
+ } else {
586
+ $keywords = get_the_tags((int) $_POST['post_ID']);
587
  }
588
+ $url = get_permalink($_POST['post_ID']);
589
+ $title = isset($_POST['post_title']) ? B2S_Util::getTitleByLanguage(strip_tags($_POST['post_title']), strtolower($b2sPostLang)) : '';
590
+ $content = (isset($_POST['content']) && !empty($_POST['content'])) ? trim($_POST['content']) : '';
591
+ $excerpt = (isset($_POST['excerpt']) && !empty($_POST['excerpt'])) ? trim($_POST['excerpt']) : get_the_excerpt((int) $_POST['post_ID']);
592
+
593
+ $options = new B2S_Options((int) $_POST['user_ID']);
594
+ $optionPostFormat = $options->_getOption('post_template');
595
+ $linkNoCache = $options->_getOption("link_no_cache");
596
+ if($linkNoCache == false || !is_array($linkNoCache)) {
597
+ $fb_linkNoCache = (((int) $linkNoCache > 0) ? 1 : 0);
598
+ $linkNoCache = array(1 => $fb_linkNoCache, 3 => 1);
599
+ $options->_setOption("link_no_cache", $linkNoCache);
600
+ }
601
+ $optionUserHashTag = $options->_getOption('user_allow_hashtag');
602
+ $allowHashTag = ($optionUserHashTag === false || $optionUserHashTag == 1) ? true : false;
603
+
604
+ $defaultPostData = array('default_titel' => $title,
605
+ 'image_url' => ($image_url !== false) ? trim(urldecode($image_url)) : '',
606
+ 'lang' => trim(strtolower(substr(B2S_LANGUAGE, 0, 2))),
607
+ 'no_cache' => 0, //default inactive , 1=active 0=not
608
+ 'board' => '', 'group' => '', 'url' => $url, 'user_timezone' => $user_timezone); // 'publish_date' => $sched_date, OLD FOR Share Now?
609
 
610
+ $defaultBlogPostData = array('post_id' => (int) $_POST['post_ID'], 'blog_user_id' => (int) $_POST['user_ID'], 'user_timezone' => $user_timezone, 'sched_type' => $sched_type, 'sched_date' => $sched_date, 'sched_date_utc' => $sched_date_utc);
611
+
612
+ $autoShare = new B2S_AutoPost((int) $_POST['post_ID'], $defaultBlogPostData, $current_user_date, $myTimeSettings, $title, $content, $excerpt, $url, $image_url, $keywords, $b2sPostLang, $optionPostFormat, $allowHashTag);
613
+ define('B2S_SAVE_META_BOX_AUTO_SHARE', (int) $_POST['post_ID']);
614
+ if (isset($_POST['b2s-user-last-selected-profile-id']) && (int) $_POST['b2s-user-last-selected-profile-id'] != (int) $_POST['b2s-post-meta-box-profil-dropdown'] && (int) $_POST['b2s-post-meta-box-profil-dropdown'] != 0) {
615
+ update_option('B2S_PLUGIN_SAVE_META_BOX_AUTO_SHARE_PROFILE_USER_' . (int) $_POST['user_ID'], (int) $_POST['b2s-post-meta-box-profil-dropdown'], false);
616
+ }
617
 
618
+ $metaOg = false;
619
+ $metaCard = false;
620
+ $tosCrossPosting = unserialize(B2S_PLUGIN_NETWORK_CROSSPOSTING_LIMIT);
 
 
 
621
 
622
+ //TOS Twitter 032018 - none multiple Accounts - User select once
623
+ $selectedTwitterProfile = (isset($_POST['b2s-post-meta-box-profil-dropdown-twitter']) && !empty($_POST['b2s-post-meta-box-profil-dropdown-twitter'])) ? (int) $_POST['b2s-post-meta-box-profil-dropdown-twitter'] : '';
624
+ foreach ($networkData as $k => $value) {
625
+ if ((int) $value->networkId == 1 || (int) $value->networkId == 3) {
626
+ if(is_array($linkNoCache) && isset($linkNoCache[$value->networkId]) && (int) $linkNoCache[$value->networkId] > 0) {
627
+ $defaultPostData['no_cache'] = $linkNoCache[$value->networkId];
628
  }
629
+ }
630
+ if (isset($value->networkAuthId) && (int) $value->networkAuthId > 0 && isset($value->networkId) && (int) $value->networkId > 0 && isset($value->networkType)) {
631
+ //TOS Twitter 032018 - none multiple Accounts - User select once
632
+ if ((int) $value->networkId != 2 || ((int) $value->networkId == 2 && (empty($selectedTwitterProfile) || ((int) $selectedTwitterProfile == (int) $value->networkAuthId)))) {
633
+
634
+ //TOS Crossposting ignore
635
+ //Filter: TOS Crossposting ignore
636
+ if (isset($tosCrossPosting[$value->networkId][$value->networkType])) {
637
+ continue;
638
+ }
639
 
640
+ $res = $autoShare->prepareShareData($value->networkAuthId, $value->networkId, $value->networkType);
641
+ if ($res !== false && is_array($res)) {
642
+ $res = array_merge($res, $defaultPostData);
643
+ $shareApprove = (isset($value->instant_sharing) && (int) $value->instant_sharing == 1) ? 1 : 0;
644
+ $autoShare->saveShareData($res, $value->networkId, $value->networkType, $value->networkAuthId, $shareApprove, strip_tags($value->networkUserName));
645
+
646
+ //Start - Change/Set MetaTags
647
+ //TODO Check Enable Feature
648
+ if ((int) $value->networkId == 1 && $metaOg == false && (int) $_POST['post_ID'] > 0 && isset($res['post_format']) && (int) $res['post_format'] == 0) { //LinkPost
649
+ $metaOg = true;
650
+ $meta = B2S_Meta::getInstance();
651
+ $meta->getMeta((int) $_POST['post_ID']);
652
+ if (isset($res['image_url']) && !empty($res['image_url'])) {
653
+ $meta->setMeta('og_image', trim(esc_url($res['image_url'])));
654
+ $meta->updateMeta((int) $_POST['post_ID']);
655
+ }
656
  }
657
+ if ((int) $value->networkId == 2 && $metaCard == false && (int) $_POST['post_ID'] > 0 && isset($res['post_format']) && (int) $res['post_format'] == 0) { //LinkPost
658
+ $metaCard = true;
659
+ $meta = B2S_Meta::getInstance();
660
+ $meta->getMeta((int) $_POST['post_ID']);
661
+ if (isset($res['image_url']) && !empty($res['image_url'])) {
662
+ $meta->setMeta('card_image', trim(esc_url($res['image_url'])));
663
+ $meta->updateMeta((int) $_POST['post_ID']);
664
+ }
665
  }
 
666
  //END MetaTags
667
+ }
668
  }
669
  }
670
  }
671
+ if ($sched_type != 3) {
672
+ if (isset($_POST['b2s-user-lang']) && !empty($_POST['b2s-user-lang'])) {
673
+ $dateFormat = ($_POST['b2s-user-lang'] == 'de') ? 'd.m.Y' : 'Y-m-d';
674
+ $_POST['b2s_update_publish_date'] = date($dateFormat, strtotime($sched_date));
675
+ }
676
  }
677
+
678
+ add_filter('redirect_post_location', array($this, 'b2s_add_param_auto_share_meta_box'));
679
  }
680
+ } else {
681
+ add_filter('redirect_post_location', array($this, 'b2s_add_param_auto_share_error_data_meta_box'));
682
  }
683
  } else {
684
+ if (strtolower($_POST['post_status']) == "publish" || strtolower($_POST['post_status']) == "future") {
685
+ add_filter('redirect_post_location', array($this, 'b2s_add_param_auto_share_error_meta_box'));
686
+ }
687
  }
688
+ }
689
+ } elseif(isset($_POST['post_status']) && strtolower($_POST['post_status']) == "future") {
690
+ //update existing posts, if shed date before future date
691
+ $user_timezone = isset($_POST['b2s-user-timezone']) ? (int) $_POST['b2s-user-timezone'] : 0;
692
+ $current_utc_date = gmdate('Y-m-d H:i:s');
693
+ $current_user_date = date('Y-m-d H:i:s', strtotime(B2S_Util::getUTCForDate($current_utc_date, $user_timezone)));
694
+
695
+ $post_date = '';
696
+ if (isset($_POST['post_date']) && !empty($_POST['post_date'])) {
697
+ $post_date = date('Y-m-d H:i:s', strtotime($_POST['post_date']));
698
+ }
699
+
700
+ if (empty($post_date)) {
701
+ if (isset($_POST['mm']) && isset($_POST['jj']) && isset($_POST['aa']) && isset($_POST['hh']) && isset($_POST['mn']) && isset($_POST['ss'])) {
702
+ $wp_user_sched_post_date = $_POST['aa'] . '-' . $_POST['mm'] . '-' . $_POST['jj'] . ' ' . $_POST['hh'] . ':' . $_POST['mn'] . ':' . $_POST['ss'];
703
+ } else {
704
+ //V5.0.0 Gutenberg Editor
705
+ $wp_user_sched_post_date = get_the_date('Y-m-d H:i:s', $_POST['post_ID']);
706
+ }
707
+ $post_date = date('Y-m-d H:i:s', strtotime($wp_user_sched_post_date));
708
+ }
709
+
710
+ $sched_date = date('Y-m-d H:i:59', strtotime($post_date));
711
+ $sched_date_utc = date('Y-m-d H:i:s', strtotime(B2S_Util::getUTCForDate($sched_date, $user_timezone * (-1))));
712
+
713
+ global $wpdb;
714
+ $getSchedData = $wpdb->prepare("SELECT b.sched_date_utc, b.id as b2sPostId,d.network_id as networkId,d.network_type as networkType,d.network_auth_id as networkAuthId,d.network_display_name as networkUserName FROM {$wpdb->prefix}b2s_posts b LEFT JOIN {$wpdb->prefix}b2s_posts_network_details d ON (d.id = b.network_details_id) WHERE b.post_id = %d AND b.sched_type = %d AND b.publish_date = %s AND b.hide = %d", (int) $_POST['post_ID'], 2, "0000-00-00 00:00:00", 0);
715
+ $schedDataResult = $wpdb->get_results($getSchedData);
716
+ foreach ($schedDataResult as $k => $value) {
717
+ if($value->sched_date_utc <= $sched_date_utc) {
718
+ require_once (B2S_PLUGIN_DIR . '/includes/B2S/Post/Tools.php');
719
+ B2S_Post_Tools::updateUserSchedTimePost($value->b2sPostId, substr($sched_date, 0, 10), substr($sched_date, 11), $user_timezone);
720
  }
721
  }
722
  }
757
  }
758
  }
759
  if ((int) $b2sAction == 2) {
760
+ echo '<div class="error"><p>' . esc_html__('Please make sure that your post, page or custom post type is published or scheduled to be published on this blog before you try to post it with Blog2Social. Published WP posts will be shared with your chosen permalink, scheduled WP posts will be shared with the posting id link.', 'blog2social') . '</p></div>';
761
  }
762
  if ((int) $b2sAction == 3) {
763
  echo '<div class="error"><p>' . esc_html__('There are no social network accounts assigned to your selected network collection. Please assign at least one social network account or select another network collection.', 'blog2social') . '</p></div>';
843
  'BLOGPOST_NOT_PUBLISHED' => esc_html__('Your blog post was not available for the network at the time of publication.', 'blog2social'),
844
  'EXISTS_RELAY' => esc_html__('You have already retweeted this post.', 'blog2social'),
845
  'DEPRECATED_NETWORK_8' => esc_html__('This XING API is no longer supported by XING. Please connect your XING accounts with the new XING interface to reschedule your posts.', 'blog2social'),
846
+ 'IMAGE_FOR_CURATION' => esc_html__('An image is required to post on this social network.', 'blog2social'), // special for content curation V.5.0.0
847
  'LINK_FOR_CURATION' => esc_html__('To share social media posts on Reddit or Diigo, a link is required.', 'blog2social'), // special for content curation V.6.0.0
848
  'IMAGE_NETWORK' => esc_html__('Your post could not be posted, because your image can not be processed by the network.', 'blog2social'),
849
  'TEXT_NOT_PUBLISHED_12' => sprintf(__('Instagram published your post without text. Please see <a target="_blank" href="%s">FAQ</a>', 'blog2social'), esc_url(B2S_Tools::getSupportLink('instagram_without_text'))),
1613
  `network_type` TINYINT NOT NULL,
1614
  `network_auth_id` int(11) NOT NULL,
1615
  `network_display_name` varchar(100) NOT NULL,
1616
+ `data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
1617
  PRIMARY KEY (`id`)
1618
  ) DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci AUTO_INCREMENT=1 ;";
1619
  $wpdb->query($sqlCreateUserNetworkDetails);
1620
+
1621
+ //since 6.1.0 add settings
1622
+ $b2sNetworkDetailsCols = $wpdb->get_results('SHOW COLUMNS FROM ' . $wpdb->prefix . 'b2s_posts_network_details');
1623
+ if (is_array($b2sNetworkDetailsCols) && isset($b2sNetworkDetailsCols[0])) {
1624
+ $b2sNetworkDetailsColsData = array();
1625
+ foreach ($b2sNetworkDetailsCols as $key => $value) {
1626
+ if (isset($value->Field) && !empty($value->Field)) {
1627
+ $b2sNetworkDetailsColsData[] = $value->Field;
1628
+ }
1629
+ }
1630
+ if (!in_array("data", $b2sNetworkDetailsColsData)) {
1631
+ $wpdb->query("ALTER TABLE {$wpdb->prefix}b2s_posts_network_details ADD data text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci");
1632
+ }
1633
+ }
1634
 
1635
  $sqlCreateUserContact = "CREATE TABLE IF NOT EXISTS `{$wpdb->prefix}b2s_user_contact`(
1636
  `id` int(5) NOT NULL AUTO_INCREMENT ,
1671
  `last_save_date` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
1672
  `blog_user_id` int(11) NOT NULL,
1673
  `post_id` int(11) NOT NULL,
1674
+ `save_origin` tinyint(4) NOT NULL DEFAULT 0,
1675
  `data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
1676
  PRIMARY KEY (`id`),
1677
  INDEX `blog_user_id` (`blog_user_id`), INDEX `post_id` (`post_id`)
1678
  ) DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci AUTO_INCREMENT=1;";
1679
  $wpdb->query($sqlCreateDrafts);
1680
+
1681
+ //since V6.1.0
1682
+ $b2sPostsDraftsCols = $wpdb->get_results('SHOW COLUMNS FROM ' . $wpdb->prefix . 'b2s_posts_drafts');
1683
+ if (is_array($b2sPostsDraftsCols) && isset($b2sPostsDraftsCols[0])) {
1684
+ $b2sPostsDraftsColsData = array();
1685
+ foreach ($b2sPostsDraftsCols as $key => $value) {
1686
+ if (isset($value->Field) && !empty($value->Field)) {
1687
+ $b2sPostsDraftsColsData[] = $value->Field;
1688
+ }
1689
+ }
1690
+ if (!in_array("save_origin", $b2sPostsDraftsColsData)) {
1691
+ $wpdb->query("ALTER TABLE {$wpdb->prefix}b2s_posts_drafts ADD save_origin TINYINT NOT NULL DEFAULT 0");
1692
+ }
1693
+ }
1694
 
1695
  $sqlCreateFavorites = "CREATE TABLE IF NOT EXISTS `{$wpdb->prefix}b2s_posts_favorites` (
1696
  `id` int(11) NOT NULL AUTO_INCREMENT,
includes/Meta.php CHANGED
@@ -53,23 +53,23 @@ class B2S_Meta {
53
  }
54
 
55
  //other plugins remove
56
- /*public function _remove() {
57
- $this->options = get_option('B2S_PLUGIN_GENERAL_OPTIONS');
58
- //Remove other plugin meta tags
59
- if ((isset($this->options['og_active']) && (int) $this->options['og_active'] == 1) || (isset($this->options['card_active']) && (int) $this->options['card_active'] == 1)) {
60
- //Remove Social Warfare tags open graph tags (Sorry Social Warfare guys - You do a great job)
61
- add_filter('sw_meta_tags', '__return_false', 99);
62
- if ((isset($this->options['og_active']) && (int) $this->options['og_active'] == 1)) {
63
- add_filter('mashsb_opengraph_meta', '__return_false', 99);
64
- if (class_exists('JetPack')) {
65
- add_filter('jetpack_enable_opengraph', '__return_false', 99);
66
- }
67
- }
68
- if ((isset($this->options['card_active']) && (int) $this->options['card_active'] == 1)) {
69
- add_filter('mashsb_twittercard_meta', '__return_false', 99);
70
- }
71
- }
72
- }*/
73
 
74
  public function getOgMeta() {
75
  if ($this->print) {
@@ -78,6 +78,7 @@ class B2S_Meta {
78
  $this->getTitle();
79
  $this->getDesc();
80
  $this->getUrl();
 
81
  $this->getImage();
82
  //$this->getSocialAuthor();
83
  if ($this->print) {
@@ -131,6 +132,12 @@ class B2S_Meta {
131
  }
132
  }
133
 
 
 
 
 
 
 
134
  private function getDesc($type = 'og') {
135
  if (is_singular()) {
136
  if (isset($this->metaData[$type . '_desc']) && !empty($this->metaData[$type . '_desc'])) {
53
  }
54
 
55
  //other plugins remove
56
+ /* public function _remove() {
57
+ $this->options = get_option('B2S_PLUGIN_GENERAL_OPTIONS');
58
+ //Remove other plugin meta tags
59
+ if ((isset($this->options['og_active']) && (int) $this->options['og_active'] == 1) || (isset($this->options['card_active']) && (int) $this->options['card_active'] == 1)) {
60
+ //Remove Social Warfare tags open graph tags (Sorry Social Warfare guys - You do a great job)
61
+ add_filter('sw_meta_tags', '__return_false', 99);
62
+ if ((isset($this->options['og_active']) && (int) $this->options['og_active'] == 1)) {
63
+ add_filter('mashsb_opengraph_meta', '__return_false', 99);
64
+ if (class_exists('JetPack')) {
65
+ add_filter('jetpack_enable_opengraph', '__return_false', 99);
66
+ }
67
+ }
68
+ if ((isset($this->options['card_active']) && (int) $this->options['card_active'] == 1)) {
69
+ add_filter('mashsb_twittercard_meta', '__return_false', 99);
70
+ }
71
+ }
72
+ } */
73
 
74
  public function getOgMeta() {
75
  if ($this->print) {
78
  $this->getTitle();
79
  $this->getDesc();
80
  $this->getUrl();
81
+ //$this->getPublishDate();
82
  $this->getImage();
83
  //$this->getSocialAuthor();
84
  if ($this->print) {
132
  }
133
  }
134
 
135
+ //case Linkedin
136
+ /*private function getPublishDate() {
137
+ $date = date('c');
138
+ echo '<meta name="publish_date" property="og:publish_date" content="' . esc_attr(apply_filters('b2s_og_meta_publish_date', $date)) . '" />' . "\n";
139
+ }*/
140
+
141
  private function getDesc($type = 'og') {
142
  if (is_singular()) {
143
  if (isset($this->metaData[$type . '_desc']) && !empty($this->metaData[$type . '_desc'])) {
includes/Tools.php CHANGED
@@ -216,7 +216,16 @@ class B2S_Tools {
216
  }
217
  if($type == 'xing_business'){
218
  return ($lang == 'en') ? 'https://www.blog2social.com/en/faq/index.php?action=artikel&cat=2&id=146&artlang=en' : 'https://www.blog2social.com/de/faq/index.php?action=artikel&cat=11&id=122&artlang=de';
219
- }
 
 
 
 
 
 
 
 
 
220
  }
221
 
222
  public static function getAffiliateId() {
@@ -257,12 +266,16 @@ class B2S_Tools {
257
  $userResult = $getUser->get_results();
258
  $options = '<option value="0"></option>';
259
  if (!empty($userResult) && is_array($userResult)) {
 
260
  foreach ($userResult as $k => $user) {
261
  if (isset($user->data->ID) && isset($user->data->display_name) && isset($user->data->user_email)) {
262
  $userDetails = get_option('B2S_PLUGIN_USER_VERSION_' . $user->data->ID);
263
  $ver = "";
264
  if (isset($userDetails['B2S_PLUGIN_USER_VERSION']) && (int) $userDetails['B2S_PLUGIN_USER_VERSION'] > 0) {
265
- $ver = " (Blog2Social " . esc_html__('License', 'blog2social') . ": " . unserialize(B2S_PLUGIN_VERSION_TYPE)[$userDetails['B2S_PLUGIN_USER_VERSION']] . ")";
 
 
 
266
  }
267
  $options .= '<option value="' . $user->data->ID . '" ' . (($user->data->ID == $selectId) ? "selected" : "") . '>' . esc_attr($user->data->display_name) . " (" . esc_attr($user->data->user_email) . ")" . $ver . '</option>';
268
  }
216
  }
217
  if($type == 'xing_business'){
218
  return ($lang == 'en') ? 'https://www.blog2social.com/en/faq/index.php?action=artikel&cat=2&id=146&artlang=en' : 'https://www.blog2social.com/de/faq/index.php?action=artikel&cat=11&id=122&artlang=de';
219
+ }
220
+ if($type == 'auto_post_manuell'){
221
+ return ($lang == 'en') ? 'https://www.blog2social.com/en/faq/index.php?action=artikel&cat=3&id=72&artlang=en' : 'https://www.blog2social.com/de/faq/content/3/79/de/wie-kann-ich-meine-blogbeitraege-automatisiert-und-zeitgesteuert-auf-social-media-planen-social-media-auto_poster.html';
222
+ }
223
+ if($type == 'auto_post_import'){
224
+ return ($lang == 'en') ? 'https://www.blog2social.com/en/faq/index.php?action=artikel&lang=en&cat=3&id=116&artlang=en' : 'https://www.blog2social.com/de/faq/index.php?action=artikel&cat=3&id=116&artlang=de';
225
+ }
226
+ if($type == 'url_parameter'){
227
+ return ($lang == 'en') ? 'https://www.blog2social.com/en/faq/index.php?action=artikel&lang=en&cat=3&id=116&artlang=en' : 'https://www.blog2social.com/de/faq/index.php?action=artikel&cat=3&id=116&artlang=de';
228
+ }
229
  }
230
 
231
  public static function getAffiliateId() {
266
  $userResult = $getUser->get_results();
267
  $options = '<option value="0"></option>';
268
  if (!empty($userResult) && is_array($userResult)) {
269
+ $b2sVersionType = unserialize(B2S_PLUGIN_VERSION_TYPE);
270
  foreach ($userResult as $k => $user) {
271
  if (isset($user->data->ID) && isset($user->data->display_name) && isset($user->data->user_email)) {
272
  $userDetails = get_option('B2S_PLUGIN_USER_VERSION_' . $user->data->ID);
273
  $ver = "";
274
  if (isset($userDetails['B2S_PLUGIN_USER_VERSION']) && (int) $userDetails['B2S_PLUGIN_USER_VERSION'] > 0) {
275
+ $userVersion = $userDetails['B2S_PLUGIN_USER_VERSION'];
276
+ if(is_array($b2sVersionType) && isset($b2sVersionType[$userVersion]) && !empty($b2sVersionType[$userVersion])){
277
+ $ver = " (Blog2Social " . esc_html__('License', 'blog2social') . ": " . $b2sVersionType[$userVersion] . ")";
278
+ }
279
  }
280
  $options .= '<option value="' . $user->data->ID . '" ' . (($user->data->ID == $selectId) ? "selected" : "") . '>' . esc_attr($user->data->display_name) . " (" . esc_attr($user->data->user_email) . ")" . $ver . '</option>';
281
  }
includes/Util.php CHANGED
@@ -277,6 +277,8 @@ class B2S_Util {
277
  //$prepareContent = preg_replace('/(?:[ \t]*(?:\n|\r\n?)){3,}/', "\n\n", $prepareContent);
278
 
279
  if ($allowHtml !== false) {
 
 
280
  $tempContent = nl2br(preg_replace('/(?:[ \t]*(?:\n|\r\n?)){3,}/', "\n", trim(strip_tags($prepareContent, $allowHtml))));
281
  if (preg_match_all('%<img.*?src=[\"\'](.*?)[\"\'].*?/>%', $tempContent, $matches)) {
282
  foreach ($matches[1] as $key => $imgUrl) {
@@ -406,7 +408,7 @@ class B2S_Util {
406
 
407
  public static function getExcerpt($text, $count = 400, $max = false, $add = false) {
408
  //Bug: Converting json + PHP Extension
409
- if (function_exists('mb_strlen') && function_exists('mb_substr') && function_exists('mb_stripos')) {
410
  if (mb_strlen($text, 'UTF-8') < $count) {
411
  return trim($text);
412
  }
@@ -579,5 +581,17 @@ class B2S_Util {
579
 
580
  return (float) $offset / 3600;
581
  }
 
 
 
 
 
 
 
 
 
 
 
 
582
 
583
  }
277
  //$prepareContent = preg_replace('/(?:[ \t]*(?:\n|\r\n?)){3,}/', "\n\n", $prepareContent);
278
 
279
  if ($allowHtml !== false) {
280
+ $prepareContent = preg_replace("/(<[\/]*)strong(>)/", "$1b$2", $prepareContent);
281
+ $prepareContent = preg_replace("/(<[\/]*)em(>)/", "$1i$2", $prepareContent);
282
  $tempContent = nl2br(preg_replace('/(?:[ \t]*(?:\n|\r\n?)){3,}/', "\n", trim(strip_tags($prepareContent, $allowHtml))));
283
  if (preg_match_all('%<img.*?src=[\"\'](.*?)[\"\'].*?/>%', $tempContent, $matches)) {
284
  foreach ($matches[1] as $key => $imgUrl) {
408
 
409
  public static function getExcerpt($text, $count = 400, $max = false, $add = false) {
410
  //Bug: Converting json + PHP Extension
411
+ if (function_exists('mb_strlen') && function_exists('mb_substr') && function_exists('mb_stripos') && function_exists('mb_strripos')) {
412
  if (mb_strlen($text, 'UTF-8') < $count) {
413
  return trim($text);
414
  }
581
 
582
  return (float) $offset / 3600;
583
  }
584
+
585
+ public static function addUrlParameter($url = '', $parameter = array()) {
586
+ $add = '&';
587
+ if(!parse_url($url, PHP_URL_QUERY)) {
588
+ $add = '?';
589
+ }
590
+ foreach ($parameter as $key => $value) {
591
+ $url .= $add . $key . '=' . $value;
592
+ $add = '&';
593
+ }
594
+ return $url;
595
+ }
596
 
597
  }
languages/blog2social-de_DE.mo CHANGED
Binary file
languages/blog2social-de_DE.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Plugins - Blog2Social: Social Media Auto Post &amp; Scheduler - Stable (latest release) package.
3
  msgid ""
4
  msgstr ""
5
- "PO-Revision-Date: 2019-11-27 11:36+0000\n"
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
@@ -12,10 +12,10 @@ msgstr ""
12
  "Project-Id-Version: Plugins - Blog2Social: Social Media Auto Post &amp; "
13
  "Scheduler - Stable (latest release)\n"
14
  "Report-Msgid-Bugs-To: \n"
15
- "POT-Creation-Date: 2019-11-27 11:35+0000\n"
16
  "Last-Translator: marius <wolf.12345@gmx.de>\n"
17
  "Language-Team: Deutsch\n"
18
- "X-Loco-Version: 2.3.0; wp-5.3"
19
 
20
  #: includes/Loader.php:45
21
  msgid "Modify pin board"
@@ -33,36 +33,50 @@ msgstr "Modify subreddit"
33
  msgid "Modify forum"
34
  msgstr "Modify forum"
35
 
36
- #: includes/Loader.php:388
37
- msgid "Auto-Post on Social Media"
38
- msgstr "Automatisch auf Social Media teilen"
39
 
40
- #: includes/Loader.php:389
41
- msgid "Social Media Content Calendar"
42
- msgstr "Social Media Kalender"
 
 
 
 
43
 
44
- #: includes/Loader.php:689
 
 
 
 
45
  msgid "This post will be shared into your social media from"
46
  msgstr ""
47
  "Dein Beitrag ist zur Veröffentlichung in den Social Media geplant ab dem"
48
 
49
- #: includes/Loader.php:689 includes/Loader.php:691
50
  msgid "show details"
51
  msgstr "siehe Details"
52
 
53
- #: includes/Loader.php:691
54
  msgid "This post will be shared on social media in 2-3 minutes!"
55
  msgstr "Dein Beitrag wird in ca. 2-3 Minuten in die Social Media eingestellt!"
56
 
57
- #: includes/Loader.php:695
58
  msgid ""
59
- "Please, make sure that your post are publish on this blog on this moment. "
60
- "Then you can auto post your post with Blog2social."
 
 
61
  msgstr ""
62
- "Bitte stelle sicher, dass Dein Beitrag in diesem Moment veröffentlicht wurde."
63
- " Dann kannst Du Deinen Beitrag automatisch mit Blog2Social posten."
 
 
 
64
 
65
- #: includes/Loader.php:698 includes/B2S/PostBox.php:79
 
66
  msgid ""
67
  "There are no social network accounts assigned to your selected network "
68
  "collection. Please assign at least one social network account or select "
@@ -72,75 +86,75 @@ msgstr ""
72
  "verbunden. Bitte füge mindestens ein Social Media Account hinzu oder wähle "
73
  "eine andere Netzwerkgruppierung aus. "
74
 
75
- #: includes/Loader.php:710 views/b2s/html/sidebar.php:45
76
  #: views/b2s/html/sidebar.ship.php:44
77
  msgid "Upgrade to Premium"
78
  msgstr "Premium freischalten"
79
 
80
- #: includes/Loader.php:762 views/b2s/html/post.navbar.php:18
81
  msgid "Notifications"
82
  msgstr "Benachrichtigungen"
83
 
84
- #: includes/Loader.php:762 views/b2s/html/post.navbar.php:17
85
  #: views/b2s/html/sidebar.php:119
86
  msgid "Shared Posts"
87
  msgstr "geteilte Beiträge"
88
 
89
- #: includes/Loader.php:762 views/b2s/html/post.navbar.php:14
90
  #: views/b2s/html/sidebar.php:113
91
  msgid "Instant Sharing"
92
  msgstr "Instant Sharing"
93
 
94
- #: includes/Loader.php:762 views/b2s/html/post.navbar.php:10
95
  #: views/b2s/html/post.navbar.php:12 views/b2s/html/sidebar.php:88
96
  #: views/b2s/html/sidebar.php:110
97
  msgid "Drafts"
98
  msgstr "Entwürfe"
99
 
100
- #: includes/Loader.php:762 views/b2s/html/post.navbar.php:15
101
  #: views/b2s/html/sidebar.php:116 views/b2s/widgets/posts.php:18
102
  msgid "Scheduled Posts"
103
  msgstr "geplante Beiträge"
104
 
105
- #: includes/Loader.php:762
106
  msgid "Social Media Post Drafts"
107
  msgstr "Social Media Posts Entwürfe"
108
 
109
- #: includes/Loader.php:762 views/b2s/html/post.navbar.php:9
110
  #: views/b2s/html/sidebar.php:107
111
  msgid "Favorites"
112
  msgstr "Favoriten"
113
 
114
- #: includes/Loader.php:763 includes/B2S/Network/Item.php:148
115
- #: includes/B2S/Network/Item.php:150 includes/B2S/Network/Item.php:150
116
- #: includes/B2S/Network/Item.php:223 includes/B2S/Network/Item.php:544
117
- #: includes/B2S/Settings/Item.php:245 includes/B2S/Ship/Portale.php:39
118
  #: includes/B2S/Ship/Portale.php:41 includes/B2S/Ship/Portale.php:41
119
  msgid "Profile"
120
  msgstr "Profil"
121
 
122
- #: includes/Loader.php:763 includes/B2S/Network/Item.php:154
123
- #: includes/B2S/Network/Item.php:154 includes/B2S/Network/Item.php:288
124
- #: includes/B2S/Network/Item.php:546 includes/B2S/Settings/Item.php:245
125
  #: includes/B2S/Ship/Portale.php:35 includes/B2S/Ship/Portale.php:35
126
  msgid "Page"
127
  msgstr "Seite"
128
 
129
- #: includes/Loader.php:763 includes/B2S/Network/Item.php:157
130
- #: includes/B2S/Network/Item.php:355 includes/B2S/Network/Item.php:549
131
  #: includes/B2S/Ship/Portale.php:31 includes/B2S/Ship/Portale.php:32
132
  msgid "Group"
133
  msgstr "Gruppe"
134
 
135
- #: includes/Loader.php:764 views/prg/html/form.php:74
136
  msgid "Company"
137
  msgstr "Unternehmen"
138
 
139
- #: includes/Loader.php:764
140
  msgid "Business"
141
  msgstr "Business"
142
 
143
- #: includes/Loader.php:765
144
  #, php-format
145
  msgid ""
146
  "The network could not publish your post. Please see <a target=\"_blank\" "
@@ -149,7 +163,7 @@ msgstr ""
149
  "Dein Post ist vom Netzwerk nicht veröffentlicht worden. Siehe <a "
150
  "target=\"_blank\" href=\"%s\">FAQ</a>"
151
 
152
- #: includes/Loader.php:766
153
  msgid ""
154
  "Your authorization has expired. Please reconnect your account in the "
155
  "Blog2Social network settings."
@@ -157,11 +171,11 @@ msgstr ""
157
  "Deine Authorisierung ist abgelaufen. Bitte verbinde Deinen Account in den "
158
  "Blog2Social Netzwerkeinstellungen erneut."
159
 
160
- #: includes/Loader.php:767
161
  msgid "The network has marked the post as spam or abusive."
162
  msgstr "Das Netzwerk hat Deinen Post als Spam oder missbräuchlich markiert."
163
 
164
- #: includes/Loader.php:768
165
  msgid ""
166
  "We don't have the permission to publish your post. Please check your "
167
  "authorization."
@@ -169,7 +183,7 @@ msgstr ""
169
  "Wir haben nicht Deine Erlaubnis, den Post zu veröffentlichen. Bitte "
170
  "überprüfe deine Autorisierung."
171
 
172
- #: includes/Loader.php:769
173
  #, php-format
174
  msgid ""
175
  "Your authorization is interrupted. Please check your authorization. Please "
@@ -178,11 +192,11 @@ msgstr ""
178
  "Deine Autorisierung ist unterbrochen. Bitte überprüfe Deine Verbindung. "
179
  "Siehe <a target=\"_blank\" href=\"%s\">FAQ</a>"
180
 
181
- #: includes/Loader.php:770
182
  msgid "Your daily limit has been reached."
183
  msgstr "Dein tägliches Beitragslimit wurde erreicht."
184
 
185
- #: includes/Loader.php:771
186
  msgid ""
187
  "Your post could not be posted, because your image is not available or the "
188
  "image source does not allow to publish"
@@ -190,7 +204,7 @@ msgstr ""
190
  "Dein Beitrag kann nicht veröffentlicht werden, da Dein Bild nicht verfügbar "
191
  "ist oder die Bildquelle es nicht erlaubt zu veröffentlichen"
192
 
193
- #: includes/Loader.php:772
194
  #, php-format
195
  msgid ""
196
  "The network has blocked your account. Please see <a target=\"_blank\" "
@@ -199,7 +213,7 @@ msgstr ""
199
  "Das Netzwerk hat Dein Konto gesperrt. Siehe <a target=\"_blank\" href=\"%s\">"
200
  "FAQ</a>"
201
 
202
- #: includes/Loader.php:773
203
  #, php-format
204
  msgid ""
205
  "The number of images is reached. Please see <a target=\"_blank\" href=\"%s\">"
@@ -208,14 +222,14 @@ msgstr ""
208
  "Die Anzahl der Bilder ist erreicht. Siehe <a target=\"_blank\" href=\"%s\">"
209
  "FAQ</a>"
210
 
211
- #: includes/Loader.php:774
212
  msgid ""
213
  "Your daily limit for this network has been reached. Please try again later."
214
  msgstr ""
215
  "Dein tägliches Beitragslimit für dieses Netzwerk wurde erreicht. Bitte "
216
  "versuche es später noch einmal."
217
 
218
- #: includes/Loader.php:775
219
  #, php-format
220
  msgid ""
221
  "The network can not publish special characters such as Emoji. Please see <a "
@@ -224,26 +238,26 @@ msgstr ""
224
  "Das Netzwerk kann keine Sonderzeichen wie Emoji veröffentlichen. Siehe <a "
225
  "target=\"_blank\" href=\"%s\">FAQ</a>"
226
 
227
- #: includes/Loader.php:776
228
  msgid "Your post is a duplicate."
229
  msgstr "Du kannst auf dem Netzwerke keine Duplikate veröffentlichen."
230
 
231
- #: includes/Loader.php:777
232
  msgid "The network requires a public url."
233
  msgstr "Das Netzwerk benötigt eine öffentlich zugängliche URL."
234
 
235
- #: includes/Loader.php:778
236
  msgid ""
237
  "Your blog post was not available for the network at the time of publication."
238
  msgstr ""
239
  "Dein Blogbeitrag war zum Zeitpunkt der Veröffentlichung für das Netzwerk "
240
  "nicht verfügbar."
241
 
242
- #: includes/Loader.php:779
243
  msgid "You have already retweeted this post."
244
  msgstr "Du hast diesen Post bereits retweetet."
245
 
246
- #: includes/Loader.php:780
247
  msgid ""
248
  "This XING API is no longer supported by XING. Please connect your XING "
249
  "accounts with the new XING interface to reschedule your posts."
@@ -252,17 +266,19 @@ msgstr ""
252
  "Deinen XING-Konten über die neue XING-Schnittstelle, um Deine Beiträge neu "
253
  "zu planen."
254
 
255
- #: includes/Loader.php:781
256
- msgid "The network requires a image."
257
- msgstr "Das Netzwerk benötigt ein Bild."
 
 
258
 
259
- #: includes/Loader.php:782
260
  msgid "To share social media posts on Reddit or Diigo, a link is required."
261
  msgstr ""
262
  "Um Social Media Posts auf Reddit oder Diigo zu teilen, ist ein Link "
263
  "erforderlich."
264
 
265
- #: includes/Loader.php:783
266
  msgid ""
267
  "Your post could not be posted, because your image can not be processed by "
268
  "the network."
@@ -270,7 +286,7 @@ msgstr ""
270
  "Dein Beitrag kann nicht veröffentlicht werden, da Dein Bild nicht vom "
271
  "Netzwerk verarbeitet werden kann"
272
 
273
- #: includes/Loader.php:784
274
  #, php-format
275
  msgid ""
276
  "Instagram published your post without text. Please see <a target=\"_blank\" "
@@ -279,71 +295,71 @@ msgstr ""
279
  "Instagram hat Deinen Beitrag ohne Text veröffentlicht. Siehe <a "
280
  "target=\"_blank\" href=\"%s\">FAQ</a>"
281
 
282
- #: includes/Loader.php:785
283
  msgid "Your group can not be found by the network."
284
  msgstr "Deine Gruppe kann vom Netzwerk nicht gefunden werden."
285
 
286
- #: includes/Loader.php:841 includes/Loader.php:884
287
  msgid "Dashboard"
288
  msgstr "Dashboard"
289
 
290
- #: includes/Loader.php:842
291
  msgid "Share Website & Blog Content"
292
  msgstr "Webseiten- & Blog Content teilen"
293
 
294
- #: includes/Loader.php:842 includes/Loader.php:891
295
  msgid "Site & Blog Content"
296
  msgstr "Seiten & Blog Content"
297
 
298
- #: includes/Loader.php:843
299
  msgid "Create Social Media Posts"
300
  msgstr "Erstelle Social Media Posts"
301
 
302
- #: includes/Loader.php:843 includes/Loader.php:898
303
  msgid "Social Media Posts"
304
  msgstr "Social Media Posts"
305
 
306
- #: includes/Loader.php:844 includes/Loader.php:905 views/b2s/dashboard.php:31
307
  #: views/b2s/html/post.navbar.php:19 views/b2s/html/sidebar.php:122
308
  msgid "Calendar"
309
  msgstr "Kalender"
310
 
311
- #: includes/Loader.php:845 includes/Loader.php:912
312
  msgid "Networks"
313
  msgstr "Netzwerke"
314
 
315
- #: includes/Loader.php:846 includes/Loader.php:918
316
  #: views/b2s/html/sidebar.php:131
317
  msgid "Settings"
318
  msgstr "Einstellungen"
319
 
320
- #: includes/Loader.php:848 includes/Loader.php:926
321
  msgid "PR-Service"
322
  msgstr "PR-Service"
323
 
324
- #: includes/Loader.php:850 includes/Loader.php:934 views/b2s/html/header.php:35
325
  #: views/b2s/html/sidebar.php:134 views/b2s/html/sidebar.ship.php:66
326
  msgid "Help & Support"
327
  msgstr "Hilfe & Support"
328
 
329
- #: includes/Loader.php:852
330
  msgid "Premium"
331
  msgstr "Premium"
332
 
333
- #: includes/Loader.php:852 includes/Loader.php:942
334
  msgid "PREMIUM"
335
  msgstr "PREMIUM"
336
 
337
- #: includes/Loader.php:875 views/b2s/html/sidebar.php:25
338
  #: views/b2s/html/sidebar.ship.php:24
339
  msgid "Blog2Social"
340
  msgstr "Blog2Social"
341
 
342
- #: includes/Loader.php:1383
343
  msgid "Blog2Social needs Wordpress Version 4.7.0 or higher."
344
  msgstr "Blog2Social benötigt WordPress Version 4.7.0 oder höher."
345
 
346
- #: includes/Loader.php:1383 includes/System.php:72 includes/System.php:78
347
  #: includes/System.php:84
348
  #, php-format
349
  msgid ""
@@ -353,11 +369,11 @@ msgstr ""
353
  "<a href=\"%s\" target=\"_blank\">Weitere Informationen und Hilfe findest Du "
354
  "in unserem FAQs.</a>"
355
 
356
- #: includes/Loader.php:1383 includes/Loader.php:1404 includes/Loader.php:1626
357
  msgid "or"
358
  msgstr "oder"
359
 
360
- #: includes/Loader.php:1383 includes/Loader.php:1404 includes/Loader.php:1626
361
  msgid "back to install plugins"
362
  msgstr "zurück zur Pluginübersicht"
363
 
@@ -417,200 +433,200 @@ msgstr ""
417
  "oder höher läuft, oder bitten Sie Ihren Server-Administrator, dies für Sie "
418
  "zu tun."
419
 
420
- #: includes/Tools.php:265 views/b2s/html/sidebar.php:30
421
  #: views/b2s/html/sidebar.ship.php:29
422
  msgid "License"
423
  msgstr "Lizenz"
424
 
425
- #: includes/Tools.php:279
426
  msgid "Greece"
427
  msgstr "Griechenland"
428
 
429
- #: includes/Tools.php:280
430
  msgid "India"
431
  msgstr "Indien"
432
 
433
- #: includes/Tools.php:281
434
  msgid "United States of America"
435
  msgstr "Vereinigte Staaten von Amerika"
436
 
437
- #: includes/Tools.php:282
438
  msgid "Ireland"
439
  msgstr "Irland"
440
 
441
- #: includes/Tools.php:283
442
  msgid "Italy"
443
  msgstr "Italien"
444
 
445
- #: includes/Tools.php:284
446
  msgid "Switzerland"
447
  msgstr "Schweiz"
448
 
449
- #: includes/Tools.php:285
450
  msgid "Czechoslovakia"
451
  msgstr "Tschechoslowakei"
452
 
453
- #: includes/Tools.php:286
454
  msgid "Indonesia"
455
  msgstr "Indonesien"
456
 
457
- #: includes/Tools.php:287
458
  msgid "Spain"
459
  msgstr "Spanien"
460
 
461
- #: includes/Tools.php:288
462
  msgid "Canada"
463
  msgstr "Kanada"
464
 
465
- #: includes/Tools.php:289
466
  msgid "Great Britain"
467
  msgstr "Großbritannien"
468
 
469
- #: includes/Tools.php:290
470
  msgid "Russia"
471
  msgstr "Russland"
472
 
473
- #: includes/Tools.php:291
474
  msgid "Netherlands"
475
  msgstr "Niederlande"
476
 
477
- #: includes/Tools.php:292 includes/Tools.php:306
478
  msgid "Portugal"
479
  msgstr "Portugal"
480
 
481
- #: includes/Tools.php:293
482
  msgid "Norway"
483
  msgstr "Norwegen"
484
 
485
- #: includes/Tools.php:294
486
  msgid "Turkey"
487
  msgstr "Türkei"
488
 
489
- #: includes/Tools.php:295
490
  msgid "Australia"
491
  msgstr "Australien"
492
 
493
- #: includes/Tools.php:296
494
  msgid "Austria"
495
  msgstr "Österreich"
496
 
497
- #: includes/Tools.php:297
498
  msgid "Poland"
499
  msgstr "Polen"
500
 
501
- #: includes/Tools.php:298
502
  msgid "France"
503
  msgstr "Frankreich"
504
 
505
- #: includes/Tools.php:299
506
  msgid "Romania"
507
  msgstr "Rumänien"
508
 
509
- #: includes/Tools.php:300
510
  msgid "Germany"
511
  msgstr "Deutschland"
512
 
513
- #: includes/Tools.php:301
514
  msgid "Denmark"
515
  msgstr "Dänemark"
516
 
517
- #: includes/Tools.php:302
518
  msgid "New Zealand"
519
  msgstr "Neuseeland"
520
 
521
- #: includes/Tools.php:303
522
  msgid "Finland"
523
  msgstr "Finnland"
524
 
525
- #: includes/Tools.php:304
526
  msgid "Hungary"
527
  msgstr "Ungarn"
528
 
529
- #: includes/Tools.php:305
530
  msgid "Japan"
531
  msgstr "Japan"
532
 
533
- #: includes/Tools.php:307
534
  msgid "Argentina"
535
  msgstr "Argentinien"
536
 
537
- #: includes/Tools.php:308
538
  msgid "Korea"
539
  msgstr "Korea"
540
 
541
- #: includes/Tools.php:309
542
  msgid "Sweden"
543
  msgstr "Schweden"
544
 
545
- #: includes/Tools.php:310
546
  msgid "Mexico"
547
  msgstr "Mexiko"
548
 
549
- #: includes/Tools.php:311
550
  msgid "Slovakia"
551
  msgstr "Slowakei"
552
 
553
- #: includes/Tools.php:312
554
  msgid "Chile"
555
  msgstr "Chile"
556
 
557
- #: includes/Tools.php:313
558
  msgid "Colombia"
559
  msgstr "Kolumbien"
560
 
561
- #: includes/Tools.php:314
562
  msgid "South Africa"
563
  msgstr "Südafrika"
564
 
565
- #: includes/Tools.php:315
566
  msgid "Philippines"
567
  msgstr "Philippinen"
568
 
569
- #: includes/Tools.php:318
570
  msgid "is determined automatically"
571
  msgstr "wird automatisch ermittelt"
572
 
573
- #: includes/Tools.php:325
574
  msgid "Search"
575
  msgstr "Suche"
576
 
577
- #: includes/Tools.php:326
578
  msgid "Recently Used"
579
  msgstr "Zuletzt verwendet"
580
 
581
- #: includes/Tools.php:327
582
  msgid "Smileys & People"
583
  msgstr "Smileys & Personen"
584
 
585
- #: includes/Tools.php:328
586
  msgid "Animals & Nature"
587
  msgstr "Tiere & Natur"
588
 
589
- #: includes/Tools.php:329
590
  msgid "Food & Drink"
591
  msgstr "Essen & Trinken"
592
 
593
- #: includes/Tools.php:330
594
  msgid "Activities"
595
  msgstr "Aktivitäten"
596
 
597
- #: includes/Tools.php:331
598
  msgid "Travel & Places"
599
  msgstr "Reisen & Orte"
600
 
601
- #: includes/Tools.php:332
602
  msgid "Objects"
603
  msgstr "Objekte"
604
 
605
- #: includes/Tools.php:333
606
  msgid "Symbols"
607
  msgstr "Symbole"
608
 
609
- #: includes/Tools.php:334
610
  msgid "Flags"
611
  msgstr "Flaggen"
612
 
613
- #: includes/Tools.php:335
614
  msgid "No emojis found"
615
  msgstr "Keine Ergebnisse"
616
 
@@ -657,37 +673,32 @@ msgstr "Es ist ein unbekannter Fehler aufgetreten!"
657
  msgid "Please contact our support!"
658
  msgstr "Bitte kontaktiere unseren Support!"
659
 
660
- #: includes/Ajax/Post.php:1655 views/b2s/network.php:6
661
- #: includes/B2S/Network/Item.php:221 includes/B2S/Network/Item.php:286
662
- #: includes/B2S/Network/Item.php:353 includes/B2S/Network/Item.php:479
663
- #: includes/B2S/Network/Item.php:495
664
  msgid "Unknown username"
665
  msgstr "unbekannter Blog-Nutzer"
666
 
667
- #: includes/Ajax/Post.php:1656 includes/B2S/Network/Item.php:480
668
- #: includes/B2S/Post/Item.php:447 includes/B2S/Post/Item.php:467
669
- #: includes/B2S/Post/Item.php:714 includes/B2S/Post/Item.php:763
670
- #: includes/B2S/Settings/Item.php:82 includes/B2S/Ship/Item.php:916
671
- #: includes/B2S/Ship/Item.php:1066
672
  msgid "delete"
673
  msgstr "löschen"
674
 
675
- #: includes/B2S/PostBox.php:25
676
  msgid "Please see FAQ"
677
  msgstr "Siehe FAQ"
678
 
679
- #: includes/B2S/PostBox.php:34
680
- msgid "last auto-post:"
681
- msgstr "letzter Auto-Post:"
682
-
683
- #: includes/B2S/PostBox.php:76 views/b2s/ship.php:660
684
  #: views/b2s/html/header.php:55
685
  msgid "The connection to the server failed. Try again!"
686
  msgstr ""
687
  "Eine Verbindung zum Server konnte nicht hergestellt werden. Versuche es "
688
  "erneut!"
689
 
690
- #: includes/B2S/PostBox.php:77
691
  msgid ""
692
  "WordPress uses heartbeats by default, Blog2Social as well. Please enable "
693
  "heartbeats for using Blog2Social!"
@@ -695,7 +706,7 @@ msgstr ""
695
  "WordPress verwendet standardmäßig den Heartbeat und Blog2Social auch. "
696
  "Aktiviere den Heartbeat damit Du Blog2Social problemlos nutzen kannst."
697
 
698
- #: includes/B2S/PostBox.php:78 includes/B2S/PostBox.php:80
699
  msgid ""
700
  "Your post is still on draft or pending status. Please make sure that your "
701
  "post is published or scheduled to be published on this blog. You can then "
@@ -705,11 +716,12 @@ msgstr ""
705
  "geplant ist. Dann kannst Du Deinen Beitrag mit Blog2Social anpassen und "
706
  "planen."
707
 
708
- #: includes/B2S/PostBox.php:79 includes/B2S/PostBox.php:174
 
709
  msgid "Network settings"
710
  msgstr "Netzwerkeinstellungen"
711
 
712
- #: includes/B2S/PostBox.php:81 views/b2s/ship.php:198
713
  msgid ""
714
  "Notice: Please make sure, that your website address is reachable. The Social "
715
  "Networks do not allow postings from local installations."
@@ -717,73 +729,62 @@ msgstr ""
717
  "Hinweis: Bitte stelle sicher, dass Dein Blog von außen erreichbar ist. Bei "
718
  "Fragen wende Dich bitte an unseren Support."
719
 
720
- #: includes/B2S/PostBox.php:97
721
  msgid "Custom Sharing & Scheduling"
722
  msgstr "Anpassen & Planen"
723
 
724
- #: includes/B2S/PostBox.php:97 includes/B2S/PostBox.php:101
725
  #: views/b2s/ship.php:76 views/b2s/ship.php:166 views/b2s/ship.php:258
726
- #: includes/B2S/Network/Item.php:177 includes/B2S/Ship/Item.php:880
 
727
  msgid "Info"
728
  msgstr "Info"
729
 
730
- #: includes/B2S/PostBox.php:98
731
  msgid "Customize & Schedule Social Media Posts"
732
  msgstr "Social Media Posts anpassen & planen"
733
 
734
- #: includes/B2S/PostBox.php:100
735
- msgid "Facebook Instant Sharing:"
736
- msgstr "Facebook Instant Sharing:"
737
 
738
- #: includes/B2S/PostBox.php:100 includes/B2S/Settings/Item.php:110
739
- msgid ""
740
- "Auto-posts for Facebook Profiles will be shown in the \"Instant Sharing\" "
741
- "tab on your \"Posts & Sharing\" navigation bar and can be shared on your "
742
- "Facebook Profile by clicking on the \"Share\" button next to your auto-post."
743
- msgstr ""
744
- "Auto-Posts für Facebook-Profile laufen automatisch im \"Instant Sharing\" "
745
- "Tab in der Navigationsleiste unter \"Beiträge\" ein und können durch einen "
746
- "Klick auf den “Teilen” Button neben dem Post an Dein Facebook-Profil "
747
- "gesendet werden."
748
 
749
- #: includes/B2S/PostBox.php:101 views/b2s/html/header.php:324
750
- msgid "Social Media Auto-Posting"
751
- msgstr "Social Media Auto-Posting"
 
 
 
 
 
 
 
 
 
 
 
 
752
 
753
- #: includes/B2S/PostBox.php:105
 
 
 
 
754
  msgid "enable Auto-Posting"
755
  msgstr "Auto-Posting aktivieren"
756
 
757
- #: includes/B2S/PostBox.php:108 views/b2s/curation.php:49
758
- #: views/b2s/network.php:349 views/b2s/ship.php:23
759
- #: includes/B2S/Curation/View.php:56 includes/B2S/Network/Item.php:161
760
- #: includes/B2S/Network/Item.php:260 includes/B2S/Network/Item.php:326
761
- #: includes/B2S/Network/Item.php:388 includes/B2S/Settings/Item.php:104
762
- #: includes/B2S/Settings/Item.php:318 includes/B2S/Ship/Image.php:80
763
- #: includes/B2S/Ship/Item.php:939 views/b2s/html/post.navbar.php:15
764
- #: views/b2s/html/post.navbar.php:19 views/b2s/partials/post-edit-modal.php:9
765
- #: views/b2s/widgets/posts.php:18
766
- msgid "SMART"
767
- msgstr "SMART"
768
-
769
- #: includes/B2S/PostBox.php:115 views/b2s/curation.draft.php:47
770
- #: views/b2s/network.php:58 views/b2s/network.php:146 views/b2s/network.php:222
771
- #: views/b2s/network.php:355 views/b2s/network.php:458
772
- #: views/b2s/post.approve.php:51 views/b2s/post.calendar.php:60
773
- #: views/b2s/post.calendar.php:243 views/b2s/post.draft.php:42
774
- #: views/b2s/post.favorites.php:41 views/b2s/post.notice.php:45
775
- #: views/b2s/post.php:41 views/b2s/post.publish.php:45
776
- #: views/b2s/post.sched.php:59 views/b2s/ship.php:188 views/b2s/ship.php:570
777
- #: views/b2s/ship.php:658 views/b2s/support.php:204
778
- #: views/prg/html/header.php:86
779
- msgid "Loading..."
780
- msgstr "Wird geladen..."
781
 
782
- #: includes/B2S/PostBox.php:123
783
  msgid "Blog2Social: Customize & Schedule Social Media Posts"
784
  msgstr "Blog2Social : Beiträge anpassen & planen"
785
 
786
- #: includes/B2S/PostBox.php:126
787
  msgid ""
788
  "Customize and schedule your social media posts on the one page preview for "
789
  "all your selected networks: tailor your posts with individual comments, "
@@ -797,12 +798,12 @@ msgstr ""
797
  "mehrfach oder wiederholt, um mehr Sichtbarkeit und Feedback von Deiner "
798
  "Community zu erzielen"
799
 
800
- #: includes/B2S/PostBox.php:135 views/b2s/html/footer.php:305
801
  #: views/b2s/html/footer.php:345
802
  msgid "Blog2Social: Social Media Auto-Posting"
803
  msgstr "Blog2Social: Social Media Auto-Posting"
804
 
805
- #: includes/B2S/PostBox.php:139 views/b2s/html/footer.php:309
806
  msgid ""
807
  "Share your blog posts with the Auto Poster: Your blog posts will be shared "
808
  "automatically on your social media channels as soon as you publish or update "
@@ -815,7 +816,7 @@ msgstr ""
815
  "in WordPress vorgeplante Blogbeiträge automatisch geteilt werden, sobald sie "
816
  "veröffentlicht werden."
817
 
818
- #: includes/B2S/PostBox.php:140 views/b2s/html/footer.php:310
819
  #, php-format
820
  msgid ""
821
  "<a target=\"_blank\" href=\"%s\">Learn how to set up auto posting for your "
@@ -824,12 +825,12 @@ msgstr ""
824
  "<a target=\"_blank\" href=\"%s\">Erfahre, wie Du den Auto-Poster für Deine "
825
  "Blogbeiträge einrichtest.</a>"
826
 
827
- #: includes/B2S/PostBox.php:144 views/b2s/html/footer.php:316
828
  #: views/b2s/html/footer.php:355
829
  msgid "You want to auto-post your blog post?"
830
  msgstr "Du möchtest Deinen Beitrag automatisch posten?"
831
 
832
- #: includes/B2S/PostBox.php:145 views/b2s/curation.php:171
833
  #: views/b2s/curation.php:210 views/b2s/post.calendar.php:281
834
  #: views/b2s/ship.php:309 views/b2s/ship.php:369 views/b2s/ship.php:415
835
  #: views/b2s/html/footer.php:26 views/b2s/html/footer.php:144
@@ -839,7 +840,7 @@ msgstr "Du möchtest Deinen Beitrag automatisch posten?"
839
  msgid "With Blog2Social Premium you can:"
840
  msgstr "Mit Blog2Social kannst Du:"
841
 
842
- #: includes/B2S/PostBox.php:148 views/b2s/curation.php:174
843
  #: views/b2s/curation.php:213 views/b2s/post.calendar.php:284
844
  #: views/b2s/ship.php:312 views/b2s/ship.php:372 views/b2s/ship.php:418
845
  #: views/b2s/html/footer.php:29 views/b2s/html/footer.php:147
@@ -849,7 +850,7 @@ msgstr "Mit Blog2Social kannst Du:"
849
  msgid "Post on pages and groups"
850
  msgstr "Poste auf Seiten und in Gruppen"
851
 
852
- #: includes/B2S/PostBox.php:149 views/b2s/curation.php:175
853
  #: views/b2s/curation.php:214 views/b2s/post.calendar.php:285
854
  #: views/b2s/ship.php:313 views/b2s/ship.php:373 views/b2s/ship.php:419
855
  #: views/b2s/html/footer.php:30 views/b2s/html/footer.php:148
@@ -859,7 +860,7 @@ msgstr "Poste auf Seiten und in Gruppen"
859
  msgid "Share on multiple profiles, pages and groups"
860
  msgstr "Auf mehreren Profilen, Seiten und Gruppen teilen"
861
 
862
- #: includes/B2S/PostBox.php:150 views/b2s/curation.php:176
863
  #: views/b2s/curation.php:215 views/b2s/post.calendar.php:286
864
  #: views/b2s/ship.php:314 views/b2s/ship.php:374 views/b2s/ship.php:420
865
  #: views/b2s/html/footer.php:31 views/b2s/html/footer.php:65
@@ -871,7 +872,7 @@ msgstr ""
871
  " Auto-posten und Auto-planen: Beiträge automatisch bei Veröffentlichung oder "
872
  "Aktualisierung posten und zeitversetzt planen"
873
 
874
- #: includes/B2S/PostBox.php:151 views/b2s/curation.php:177
875
  #: views/b2s/curation.php:216 views/b2s/post.calendar.php:287
876
  #: views/b2s/ship.php:315 views/b2s/ship.php:375 views/b2s/ship.php:421
877
  #: views/b2s/html/footer.php:32 views/b2s/html/footer.php:150
@@ -881,7 +882,7 @@ msgstr ""
881
  msgid "Schedule your posts at the best times on each network"
882
  msgstr "Plane Deine Beiträge zu den besten Zeiten für jedes Netzwerk"
883
 
884
- #: includes/B2S/PostBox.php:152 views/b2s/curation.php:178
885
  #: views/b2s/curation.php:217 views/b2s/post.calendar.php:288
886
  #: views/b2s/ship.php:316 views/b2s/ship.php:376 views/b2s/ship.php:422
887
  #: views/b2s/html/footer.php:33 views/b2s/html/footer.php:151
@@ -893,7 +894,7 @@ msgid ""
893
  "social media posts"
894
  msgstr " Beste Zeiten Manager: vordefinierte Zeiten für Deine Beiträge nutzen"
895
 
896
- #: includes/B2S/PostBox.php:153 views/b2s/curation.php:179
897
  #: views/b2s/curation.php:218 views/b2s/post.calendar.php:289
898
  #: views/b2s/ship.php:317 views/b2s/ship.php:377 views/b2s/ship.php:423
899
  #: views/b2s/html/footer.php:34 views/b2s/html/footer.php:152
@@ -905,7 +906,7 @@ msgstr ""
905
  "Veröffentlichungen zur besten Zeit pro Netzwerk planen: einmalig, mehrmalig "
906
  "oder nach einem regelmäßigen Muster"
907
 
908
- #: includes/B2S/PostBox.php:154 views/b2s/curation.php:180
909
  #: views/b2s/curation.php:219 views/b2s/post.calendar.php:290
910
  #: views/b2s/ship.php:318 views/b2s/ship.php:378 views/b2s/ship.php:424
911
  #: views/b2s/html/footer.php:35 views/b2s/html/footer.php:153
@@ -915,7 +916,7 @@ msgstr ""
915
  msgid "Schedule and re-share old posts"
916
  msgstr "Plane und teile alte Beiträge"
917
 
918
- #: includes/B2S/PostBox.php:155 views/b2s/curation.php:181
919
  #: views/b2s/curation.php:220 views/b2s/post.calendar.php:291
920
  #: views/b2s/ship.php:319 views/b2s/ship.php:379 views/b2s/ship.php:425
921
  #: views/b2s/html/footer.php:36 views/b2s/html/footer.php:67
@@ -926,7 +927,7 @@ msgid "Select link format or image format for your posts"
926
  msgstr ""
927
  "Link-Posts oder Bild-Posts als Posting-Format für Deine Beiträge auswählen"
928
 
929
- #: includes/B2S/PostBox.php:156 views/b2s/curation.php:182
930
  #: views/b2s/curation.php:221 views/b2s/post.calendar.php:292
931
  #: views/b2s/ship.php:320 views/b2s/ship.php:380 views/b2s/ship.php:426
932
  #: views/b2s/html/footer.php:37 views/b2s/html/footer.php:68
@@ -937,7 +938,7 @@ msgid "Select individual images per post"
937
  msgstr ""
938
  "Individuelle Bilder für Deine Social Media Posts pro Netzwerk auswählen"
939
 
940
- #: includes/B2S/PostBox.php:157 views/b2s/curation.php:183
941
  #: views/b2s/curation.php:222 views/b2s/post.calendar.php:293
942
  #: views/b2s/ship.php:321 views/b2s/ship.php:381 views/b2s/ship.php:427
943
  #: views/b2s/html/footer.php:38 views/b2s/html/footer.php:156
@@ -951,7 +952,7 @@ msgstr ""
951
  "Reporting & Kalender: Verfolge Deine veröffentlichten und geplanten Social "
952
  "Media Beiträge"
953
 
954
- #: includes/B2S/PostBox.php:159 views/b2s/curation.php:185
955
  #: views/b2s/curation.php:224 views/b2s/post.calendar.php:295
956
  #: views/b2s/ship.php:323 views/b2s/ship.php:383 views/b2s/ship.php:429
957
  #: views/b2s/html/footer.php:40 views/b2s/html/footer.php:158
@@ -961,7 +962,7 @@ msgstr ""
961
  msgid "Upgrade to SMART and above"
962
  msgstr "Upgrade auf SMART und höher"
963
 
964
- #: includes/B2S/PostBox.php:161 views/b2s/curation.php:187
965
  #: views/b2s/curation.php:226 views/b2s/post.calendar.php:297
966
  #: views/b2s/ship.php:325 views/b2s/ship.php:385 views/b2s/ship.php:431
967
  #: views/b2s/html/footer.php:42 views/b2s/html/footer.php:73
@@ -978,64 +979,27 @@ msgstr ""
978
  "Testversion von Blog2Social Premium</a> (keine Zahlungsinformationen "
979
  "erforderlich)"
980
 
981
- #: includes/B2S/PostBox.php:174 includes/B2S/Curation/View.php:73
 
982
  msgid "Select network collection:"
983
  msgstr "Netzwerk-Gruppierung auswählen:"
984
 
985
- #: includes/B2S/PostBox.php:185 includes/B2S/Curation/View.php:97
 
986
  msgid "Select Twitter profile:"
987
  msgstr "Wählen Sie ein Twitter-Profil aus:"
988
 
989
- #: includes/B2S/PostBox.php:216
990
  msgid "When do you want to share your post on social media?"
991
  msgstr "Wann möchtest Du Deinen Beitrag auf den Social Media teilen?"
992
 
993
- #: includes/B2S/PostBox.php:219
994
  msgid "immediately after publishing"
995
  msgstr "sofort nach Veröffentlichung"
996
 
997
- #: includes/B2S/PostBox.php:220 includes/B2S/Curation/View.php:65
998
- msgid "at scheduled times"
999
- msgstr "zu geplanten Zeiten"
1000
-
1001
- #: includes/B2S/PostBox.php:221
1002
- msgid "schedule (best times)"
1003
- msgstr "geplant (Beste Zeiten)"
1004
-
1005
- #: includes/B2S/PostBox.php:224
1006
- msgid "You want to schedule your blog post with Auto-Poster?"
1007
- msgstr "Du willst Deinen Blogbeitrag mit dem Autoposter planen?"
1008
-
1009
- #: includes/B2S/PostBox.php:224
1010
- msgid "Upgrade to PRO"
1011
- msgstr "Upgrade auf PRO"
1012
-
1013
- #: includes/B2S/PostBox.php:230
1014
- msgid "Select date:"
1015
- msgstr "Datum auswählen:"
1016
-
1017
- #: includes/B2S/PostBox.php:231 includes/B2S/Ship/Item.php:364
1018
- msgid "show calendar"
1019
- msgstr "Planungskalender anzeigen"
1020
-
1021
- #: includes/B2S/PostBox.php:241 includes/B2S/Settings/Item.php:82
1022
- msgid "change"
1023
- msgstr "ändern"
1024
-
1025
- #: includes/B2S/PostBox.php:242
1026
- msgid "best times"
1027
- msgstr "Beste Zeiten"
1028
-
1029
- #: includes/B2S/PostBox.php:243
1030
- msgid ""
1031
- "Note: If you ​have​ not ​specified​ your own times, we automatically provide "
1032
- "you with the best times to post​ on the social networks. You can always "
1033
- "​edit​ your own times in the settings."
1034
- msgstr ""
1035
- "Hinweis: Wenn Du keinen eigenen Zeiten angegeben hast, stellen wir Dir "
1036
- "automatisch die besten Zeiten zur Verfügung, um in die Social Media zu "
1037
- "posten. Du kannst jederzeit Deine eigenen Zeiten unter Einstellungen "
1038
- "bearbeiten."
1039
 
1040
  #: views/b2s/curation.draft.php:17
1041
  msgid ""
@@ -1049,27 +1013,40 @@ msgstr ""
1049
  msgid "Get the Blog2Social Browser Extension"
1050
  msgstr "Blog2Social Browser Erweiterung"
1051
 
1052
- #: views/b2s/curation.draft.php:76
 
 
 
 
 
 
 
 
 
 
 
 
 
1053
  msgid "Delete Draft"
1054
  msgstr "Entwurf löschen"
1055
 
1056
- #: views/b2s/curation.draft.php:79
1057
  msgid "Are you sure you want to delete this draft?"
1058
  msgstr "Bist Du Dir sicher, dass du Deinen Entwurf löschen möchtest? "
1059
 
1060
- #: views/b2s/curation.draft.php:83 views/b2s/curation.php:141
1061
- #: views/b2s/network.php:106 views/b2s/post.approve.php:91
1062
- #: views/b2s/post.approve.php:108 views/b2s/post.draft.php:80
1063
- #: views/b2s/post.notice.php:78 views/b2s/post.publish.php:78
1064
- #: views/b2s/post.sched.php:92 views/b2s/ship.php:474 views/b2s/ship.php:553
1065
  #: views/prg/ship.php:94 views/b2s/widgets/posts.php:67
1066
  msgid "NO"
1067
  msgstr "NEIN"
1068
 
1069
- #: views/b2s/curation.draft.php:84 views/b2s/network.php:107
1070
- #: views/b2s/network.php:170 views/b2s/post.approve.php:92
1071
- #: views/b2s/post.draft.php:81 views/b2s/post.notice.php:79
1072
- #: views/b2s/post.publish.php:79 views/b2s/post.sched.php:93
1073
  #: views/b2s/widgets/posts.php:68
1074
  msgid "YES, delete"
1075
  msgstr "Ja, löschen"
@@ -1096,14 +1073,14 @@ msgid "Saved as draft."
1096
  msgstr "Als Entwurf gespeichert."
1097
 
1098
  #: views/b2s/curation.php:45 views/b2s/post.calendar.php:70
1099
- #: views/b2s/post.sched.php:182 includes/B2S/Settings/Item.php:394
1100
- #: includes/B2S/Settings/Item.php:427 views/b2s/html/footer.php:111
1101
  msgid "Link Post"
1102
  msgstr "Link-Beitrag"
1103
 
1104
  #: views/b2s/curation.php:47 views/b2s/curation.php:49
1105
- #: views/b2s/post.calendar.php:70 views/b2s/post.sched.php:182
1106
- #: includes/B2S/Settings/Item.php:408 includes/B2S/Settings/Item.php:427
1107
  msgid "Image Post"
1108
  msgstr "Bild-Beitrag"
1109
 
@@ -1112,6 +1089,17 @@ msgstr "Bild-Beitrag"
1112
  msgid "NEW"
1113
  msgstr "Neu"
1114
 
 
 
 
 
 
 
 
 
 
 
 
1115
  #: views/b2s/curation.php:59
1116
  msgid "Load data..."
1117
  msgstr "Daten werden geladen..."
@@ -1133,13 +1121,14 @@ msgstr "Link eingeben"
1133
  msgid "continue"
1134
  msgstr "weiter"
1135
 
1136
- #: views/b2s/curation.php:93 includes/B2S/Ship/Item.php:432
1137
- #: includes/B2S/Ship/Item.php:461 includes/B2S/Ship/Item.php:490
1138
- #: includes/B2S/Ship/Item.php:519 includes/B2S/Ship/Item.php:547
1139
- #: includes/B2S/Ship/Item.php:590 includes/B2S/Ship/Item.php:613
1140
- #: includes/B2S/Ship/Item.php:634 includes/B2S/Ship/Item.php:655
1141
- #: includes/B2S/Ship/Item.php:676 includes/B2S/Ship/Item.php:697
1142
- #: includes/B2S/Ship/Item.php:741
 
1143
  msgid "Change image"
1144
  msgstr "Bild ändern"
1145
 
@@ -1148,7 +1137,7 @@ msgid "Write something..."
1148
  msgstr "Schreibe etwas..."
1149
 
1150
  #: views/b2s/curation.php:112 views/b2s/ship.php:260 views/b2s/ship.php:262
1151
- #: includes/B2S/Post/Item.php:368
1152
  msgid "Re-share this post"
1153
  msgstr "Diesen Beitrag nochmal teilen"
1154
 
@@ -1157,18 +1146,18 @@ msgid "Create a new post"
1157
  msgstr "Neuen Social Media Post erstellen"
1158
 
1159
  #: views/b2s/curation.php:119 views/b2s/post.calendar.php:38
1160
- #: views/b2s/ship.php:18 views/b2s/ship.php:659 includes/B2S/Post/Filter.php:50
1161
- #: includes/B2S/Post/Item.php:297 includes/B2S/Ship/Save.php:417
1162
  #: includes/PRG/Post/Filter.php:37 includes/PRG/Post/Item.php:86
1163
  msgid "published"
1164
  msgstr "veröffentlicht"
1165
 
1166
- #: views/b2s/curation.php:135 views/b2s/post.approve.php:102
1167
  #: views/b2s/ship.php:468
1168
  msgid "Do you want to mark this post as published ?"
1169
  msgstr "Möchtest Du diesen Beitrag als veröffentlicht markieren?"
1170
 
1171
- #: views/b2s/curation.php:140 views/b2s/post.approve.php:107
1172
  #: views/b2s/ship.php:473 views/b2s/ship.php:554
1173
  msgid "YES"
1174
  msgstr "JA"
@@ -1184,7 +1173,7 @@ msgid "Blog2Social Premium covers everything you need."
1184
  msgstr "Blog2Social Premium deckt alles ab, was Du brauchst."
1185
 
1186
  #: views/b2s/curation.php:160 views/b2s/post.calendar.php:270
1187
- #: views/b2s/ship.php:404 includes/B2S/Ship/Item.php:940
1188
  msgid "Schedule for specific dates"
1189
  msgstr "Für bestimmte Termine planen"
1190
 
@@ -1241,9 +1230,9 @@ msgid "This is a premium feature."
1241
  msgstr "Das ist eine Premium-Funktion."
1242
 
1243
  #: views/b2s/curation.php:209
1244
- msgid "You wannt to create image posts with any image from your media library?"
1245
  msgstr ""
1246
- "Du möchtest Bild-Posts mit einem beliebigen Bild aus Deiner Mediathek "
1247
  "erstellen?"
1248
 
1249
  #: views/b2s/curation.php:238
@@ -1285,8 +1274,8 @@ msgstr "Neue Netzwerkgruppierung anlegen"
1285
  msgid "You want to define a new combination of networks?"
1286
  msgstr "Du möchtest eine neue Kombination von Netzwerken anlegen?"
1287
 
1288
- #: views/b2s/network.php:34 includes/B2S/Network/Item.php:150
1289
- #: includes/B2S/Network/Item.php:154 includes/B2S/Network/Item.php:158
1290
  #: includes/B2S/Ship/Image.php:87 includes/B2S/Ship/Portale.php:32
1291
  #: includes/B2S/Ship/Portale.php:35 includes/B2S/Ship/Portale.php:41
1292
  msgid "PRO"
@@ -1348,7 +1337,7 @@ msgstr ""
1348
  "Business Brancheneinträgen zu erweitern."
1349
 
1350
  #: views/b2s/network.php:127 views/b2s/premium.php:36 views/b2s/ship.php:490
1351
- #: includes/B2S/Ship/Item.php:978 views/b2s/partials/post-edit-modal.php:48
1352
  msgid "Learn more"
1353
  msgstr "Mehr erfahren"
1354
 
@@ -1417,136 +1406,38 @@ msgstr "Could not be changed"
1417
  msgid "modfiy"
1418
  msgstr "modify"
1419
 
1420
- #: views/b2s/network.php:212
1421
- msgid "Advanced Connection Preferences"
1422
- msgstr "Erweiterte Verbindungseinstellungen"
1423
-
1424
- #: views/b2s/network.php:229 views/b2s/network.php:313
1425
- msgid "Move the connection to another network collection."
1426
- msgstr "Verbindung in eine andere Netzwerk-Gruppierung verschieben"
1427
-
1428
- #: views/b2s/network.php:234 views/b2s/network.php:263
1429
- #: views/b2s/network.php:266 views/b2s/network.php:269
1430
- msgid "An error occured. Please contact our support."
1431
- msgstr "Ein Fehler ist aufgetreten. Bitte kontaktiere unseren Support."
1432
-
1433
- #: views/b2s/network.php:241 views/b2s/network.php:320
1434
- msgid "move"
1435
- msgstr "verschieben"
1436
-
1437
- #: views/b2s/network.php:249
1438
- msgid "You need at least one network collection"
1439
- msgstr "Du brauchst mindestens eine Netzwerkgruppierung."
1440
-
1441
- #: views/b2s/network.php:258 views/b2s/network.php:327
1442
- msgid "Assign the connection to other blog users"
1443
- msgstr "Weise Deine Verbindung anderen Blog-Benutzern zu"
1444
-
1445
- #: views/b2s/network.php:272
1446
- msgid "You don't have a Business License"
1447
- msgstr "Du hast keine Business-Lizenz"
1448
-
1449
- #: views/b2s/network.php:275
1450
- msgid "This user don't have a Business License, or it is not the same"
1451
- msgstr ""
1452
- "Dieser Benutzer hat keine Business-Lizenz oder nutzt nicht dieselbe Lizenz"
1453
-
1454
- #: views/b2s/network.php:278
1455
- msgid "The connection has already been assigned to this user."
1456
- msgstr "Die Verbindung wurde diesem Benutzer bereits zugewiesen."
1457
-
1458
- #: views/b2s/network.php:281
1459
- msgid "The connection dose not exist"
1460
- msgstr "Diese Verbindung existiert nicht."
1461
-
1462
- #: views/b2s/network.php:284
1463
- msgid "This connection has already been assigned to this user."
1464
- msgstr "Die Verbindung wurde diesem Benutzer bereits zugewiesen."
1465
-
1466
- #: views/b2s/network.php:287
1467
- msgid ""
1468
- "You can only share the connection with blog users who use the same license "
1469
- "as you."
1470
- msgstr ""
1471
- "Du kannst Deine Verbindung nur mit Blog-Benutzern teilen, die dieselbe "
1472
- "Lizenz verwenden wie Du."
1473
-
1474
- #: views/b2s/network.php:290
1475
- msgid "There are no other users to whom the connection can be assigned."
1476
- msgstr ""
1477
- "Es sind keine weiteren Benutzer vorhanden, denen die Verbindung zugewiesen "
1478
- "werden kann."
1479
-
1480
- #: views/b2s/network.php:293 views/b2s/network.php:330
1481
- msgid "assign"
1482
- msgstr "zuweisen"
1483
-
1484
- #: views/b2s/network.php:294
1485
- msgid "Apply best time settings"
1486
- msgstr "Beste Zeiten verwenden"
1487
-
1488
- #: views/b2s/network.php:295
1489
- msgid "Apply post template settings"
1490
- msgstr "Beitragsvorlagen verwenden"
1491
-
1492
- #: views/b2s/network.php:306
1493
- msgid ""
1494
- "Upgrade to Blog2Social Business to easily bundle your connections into "
1495
- "network collection and assign your social media connections to other blog "
1496
- "users. You can update and delete the connections as well as select forums or "
1497
- "boards. Other users will be able to use the social media connection you "
1498
- "assigned to them to post and schedule to your social media profile, page or "
1499
- "group."
1500
- msgstr ""
1501
- "Update auf Blog2Social Business, um Deine Verbindungen einfach in eine "
1502
- "Netzwerkgruppierung zu verschieben und Deine Social Media-Verbindungen "
1503
- "anderen Blog-Benutzern zuzuweisen. Du kannst die Verbindungen aktualisieren "
1504
- "und löschen, sowie Foren oder Pinnwände auswählen. Andere Benutzer können "
1505
- "die von Dir zugewiesenen Social-Media-Verbindungen verwenden, um Beiträge "
1506
- "auf Deinem Social-Media-Profil, Deiner Seite oder Gruppe zu veröffentlichen "
1507
- "oder vorzuplanen."
1508
-
1509
- #: views/b2s/network.php:307
1510
- msgid "Upgrade to Blog2Social Business"
1511
- msgstr "Upgrade auf Blog2Social Business"
1512
-
1513
- #: views/b2s/network.php:318 includes/B2S/Ship/Navbar.php:37
1514
- msgid "My Profile"
1515
- msgstr "Mein Profil"
1516
-
1517
- #: views/b2s/network.php:349 includes/B2S/Network/Item.php:161
1518
- #: includes/B2S/Network/Item.php:161
1519
  msgid "Edit Post Template"
1520
  msgstr "Beitragsvorlage bearbeiten"
1521
 
1522
- #: views/b2s/network.php:361 views/b2s/settings.php:52
1523
- #: includes/B2S/Settings/Item.php:292
1524
  msgid "save"
1525
  msgstr "speichern"
1526
 
1527
- #: views/b2s/network.php:373 views/b2s/settings.php:129
1528
- msgid "Instant Caching for Facebook Link Posts"
1529
- msgstr "Instant Caching für Facebook Link-Beiträge"
1530
 
1531
- #: views/b2s/network.php:376 views/b2s/settings.php:132
1532
  msgid ""
1533
  "Please enable this feature, if you are using varnish caching (HTTP "
1534
  "accelerator to relieve your website). Blog2Social will add a \"no-cache=1\" "
1535
- "parameter to the post URL of your Facebook link posts to ensure that "
1536
- "Facebook always pulls the current meta data of your blog post."
1537
  msgstr ""
1538
  "Bitte aktiviere diese Funktion, wenn Du varnish caching (HTTP-Beschleuniger "
1539
- "zur Entlastung Deiner Website) nutzt. Blog2Social hängt dann bei Deinen "
1540
- "Facebook Link-Beiträgen den “no-cache=1” Parameter an die Beitrags-URL, um "
1541
- "sicherzustellen, dass Facebook immer die aktuellen Meta Daten Deines "
1542
- "Blogbeitrags zieht."
1543
 
1544
- #: views/b2s/network.php:387
1545
  msgid "Choose your Post Format"
1546
  msgstr "Wähle Dein Postformat "
1547
 
1548
- #: views/b2s/network.php:391 views/b2s/network.php:394
1549
- #: views/b2s/network.php:397
1550
  msgid ""
1551
  "Decide in which post format you want to post your content: Link post or "
1552
  "image post."
@@ -1554,7 +1445,7 @@ msgstr ""
1554
  "Entscheide, in welchem Format Du Deine Inhalte veröffentlichen möchtest: "
1555
  "Link-Beitrag oder Bild-Beitrag."
1556
 
1557
- #: views/b2s/network.php:400
1558
  msgid ""
1559
  "Decide in wich form you want to post your Content. Either as image with "
1560
  "frame, or as image cut out."
@@ -1562,11 +1453,11 @@ msgstr ""
1562
  " Entscheide, in welcher Form Du Deine Inhalte veröffentlichen möchtest. "
1563
  "Entweder als Bild mit Rahmen oder als Bildausschnitt."
1564
 
1565
- #: views/b2s/network.php:412
1566
  msgid "Post Content"
1567
  msgstr "Post-Inhalt"
1568
 
1569
- #: views/b2s/network.php:415
1570
  msgid ""
1571
  "Edit the content of your post. Move elements by drag and drop into the "
1572
  "textarea and customize them as you like."
@@ -1574,37 +1465,37 @@ msgstr ""
1574
  "Bearbeite den Inhalt Deines Posts. Verschiebe Elemente per Drag & Drop in "
1575
  "das Textfeld und passe sie nach Deinen Wünschen an."
1576
 
1577
- #: views/b2s/network.php:418
1578
  msgid "Legend"
1579
  msgstr "Legende"
1580
 
1581
- #: views/b2s/network.php:420
1582
  msgid "The title of your post"
1583
  msgstr "Der Titel deines Beitrags."
1584
 
1585
- #: views/b2s/network.php:421
1586
  msgid "The summary of your post (you define it in the side menu of your post)."
1587
  msgstr ""
1588
  " Die Zusammenfassung Deines Beitrags (wird von dir im Seitenmenü deines "
1589
  "Beitrags festgelegt)."
1590
 
1591
- #: views/b2s/network.php:422
1592
  msgid "The content of your post"
1593
  msgstr "Der Inhalt Deines Beitrags."
1594
 
1595
- #: views/b2s/network.php:423
1596
  msgid "The tags you have set in your post."
1597
  msgstr "Die Tags, die Du in deinem Beitrag gesetzt hast."
1598
 
1599
- #: views/b2s/network.php:424
1600
  msgid "The name of the post author."
1601
  msgstr "Der Name des Autors Deines Beitrags."
1602
 
1603
- #: views/b2s/network.php:437 includes/B2S/Network/Item.php:659
1604
  msgid "Character limit"
1605
  msgstr "Zeichenbegrenzung"
1606
 
1607
- #: views/b2s/network.php:440
1608
  msgid ""
1609
  "Define the character limit for the variables \"EXCERPT\" and \"CONTENT\" "
1610
  "individually. Your text will be shortened after the last comma, period, or "
@@ -1614,7 +1505,7 @@ msgstr ""
1614
  "\"Inhalt\" (CONTENT) einzeln fest. Dein Text wird nach dem letzten Komma, "
1615
  "Punkt oder Leerzeichen innerhalb Deiner Zeichenbegrenzung abgeschnitten."
1616
 
1617
- #: views/b2s/network.php:441
1618
  msgid ""
1619
  "An \"EXCERPT\" will only be added to your social media post if you have "
1620
  "added a manual excerpt in the excerpt editing box of the Gutenberg side menu "
@@ -1624,7 +1515,7 @@ msgstr ""
1624
  "einen manuellen Textauszug in der Textauszug-Box im Gutenberg Seitenmenü "
1625
  "(Dokumenten-Einstellungen) Deines Blogbeitrages eingetragen hast. "
1626
 
1627
- #: views/b2s/network.php:442
1628
  msgid ""
1629
  "\"TITLES\" and \"KEYWORDS\" (Hashtags) are not shortened. If you select the "
1630
  "\"TITLE\" and \"KEYWORD\" variables for your social media posts, the "
@@ -1638,11 +1529,11 @@ msgstr ""
1638
  "und/oder \"Inhalt\" innerhalb der darüber hinaus verfügbaren Zeichenanzahl "
1639
  "des jeweiligen Social Networks berücksichtigt."
1640
 
1641
- #: views/b2s/network.php:453 views/b2s/ship.php:565
1642
  msgid "Connect with Pinterest"
1643
  msgstr "Mit Pinterest verbinden"
1644
 
1645
- #: views/b2s/network.php:461 views/b2s/ship.php:573
1646
  msgid ""
1647
  "Please make sure to use your original Pinterest login data (email and "
1648
  "password). Social Login via Facebook or Google login data will not work here."
@@ -1654,11 +1545,11 @@ msgstr ""
1654
  "dass die Zwei-Faktor-Authentifizierung in Pinterest deaktiviert ist, um eine "
1655
  "stabile Verbindung zu Blog2Social sicherzustellen."
1656
 
1657
- #: views/b2s/network.php:462 views/b2s/ship.php:574
1658
  msgid "An error occurred! Please try again."
1659
  msgstr "Es ist ein Fehler aufgetreten! Bitte versuche es erneut."
1660
 
1661
- #: views/b2s/network.php:463 views/b2s/network.php:464 views/b2s/ship.php:575
1662
  #: views/b2s/ship.php:576
1663
  #, php-format
1664
  msgid ""
@@ -1668,11 +1559,11 @@ msgstr ""
1668
  "Du möchtest ein zusätzliches Konto verbinden? <a target=\"_blank\" "
1669
  "href=\"%s\">Upgrade auf Blog2Social Premium</a>"
1670
 
1671
- #: views/b2s/network.php:465 views/b2s/ship.php:577
1672
  msgid "Invalid Data! Please try again."
1673
  msgstr "Ungültige Daten! Bitte versuche es erneut."
1674
 
1675
- #: views/b2s/network.php:466 views/b2s/ship.php:578
1676
  msgid ""
1677
  "You have not yet created any pinboards in your Pinterest account. Please set "
1678
  "up at least one pinboard to pin on your Pinterest account!"
@@ -1680,7 +1571,7 @@ msgstr ""
1680
  "Du hast noch keine Pinnwände in Deinem Pinterest Konto angelegt. Bitte "
1681
  "richte mindestens eine Pinnwand auf Deinem Pinterest Konto ein!"
1682
 
1683
- #: views/b2s/network.php:467 views/b2s/ship.php:579
1684
  #, php-format
1685
  msgid ""
1686
  "Login failed. Please check your login data for typos and please check your "
@@ -1692,16 +1583,16 @@ msgstr ""
1692
  "Authentifizierung für dieses Konto deaktiviert ist: <a target=\"_blank\" "
1693
  "href=\"%s\">%s</a>"
1694
 
1695
- #: views/b2s/network.php:468 views/b2s/ship.php:580
1696
  msgid "Pinterest has rejected the connection to your blog"
1697
  msgstr "Pinterest hat die Verbindung zu Deinem Blog abgelehnt"
1698
 
1699
- #: views/b2s/network.php:469 views/b2s/ship.php:581
1700
  msgid "Please select your currect server location and connect again"
1701
  msgstr ""
1702
  "Bitte wähle Deinen richtigen Serverstandort aus und verbinde Dich erneut"
1703
 
1704
- #: views/b2s/network.php:470 views/b2s/ship.php:582
1705
  msgid ""
1706
  "Access to this resource on your server is denied! Please check your "
1707
  "webserver configuration for caching."
@@ -1709,7 +1600,7 @@ msgstr ""
1709
  "Der Zugriff auf diese Ressource auf Ihrem Server ist verweigert! Bitte "
1710
  "überprüfen Sie Ihre Webserver-Konfiguration auf Caching."
1711
 
1712
- #: views/b2s/network.php:471 views/b2s/ship.php:583
1713
  msgid ""
1714
  "Login up successful. Please confirm that Blog2Social is allowed to publish "
1715
  "on your profile."
@@ -1717,43 +1608,175 @@ msgstr ""
1717
  "Anmeldung erfolgreich. Bitte bestätige, dass Blog2Social auf Deinem Profil "
1718
  "veröffentlichen darf."
1719
 
1720
- #: views/b2s/network.php:473 views/b2s/ship.php:585
1721
  #: views/b2s/html/header.php:331 views/prg/html/form.php:141
1722
  #: views/prg/html/form.php:143 views/prg/html/form.php:218
1723
  #: views/prg/html/form.php:220
1724
  msgid "E-Mail"
1725
  msgstr "E-Mail"
1726
 
1727
- #: views/b2s/network.php:479 views/b2s/ship.php:591 views/prg/login.php:25
1728
  msgid "Password"
1729
  msgstr "Passwort"
1730
 
1731
- #: views/b2s/network.php:490 views/b2s/ship.php:602
1732
  msgid "Server-Location"
1733
  msgstr "Serverstandort"
1734
 
1735
- #: views/b2s/network.php:504 views/b2s/ship.php:616
1736
  msgid "Select Pinboard"
1737
  msgstr "Pinnwand auswählen"
1738
 
1739
- #: views/b2s/network.php:512 views/b2s/ship.php:624
 
1740
  msgid "authorize"
1741
  msgstr "autorisieren"
1742
 
1743
- #: views/b2s/network.php:513 views/b2s/ship.php:625
1744
  msgid "confirm"
1745
  msgstr "bestätigen"
1746
 
1747
- #: views/b2s/post.approve.php:82
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1748
  msgid "Delete Social Media Posts"
1749
  msgstr "Social Media Posts löschen"
1750
 
1751
- #: views/b2s/post.approve.php:85
1752
  msgid "Are you sure you want to delete these Social Media posts?"
1753
  msgstr "Bist Du sicher, dass Du diese Social Media Posts löschen möchtest?"
1754
 
1755
- #: views/b2s/post.approve.php:87 views/b2s/post.notice.php:74
1756
- #: views/b2s/post.publish.php:74 views/b2s/post.sched.php:88
1757
  #: views/b2s/widgets/posts.php:63
1758
  msgid "Number of entries"
1759
  msgstr "Anzahl der Einträge"
@@ -1767,43 +1790,43 @@ msgid "show all"
1767
  msgstr "alles anzeigen"
1768
 
1769
  #: views/b2s/post.calendar.php:39 views/b2s/ship.php:18
1770
- #: includes/B2S/Post/Filter.php:50 includes/B2S/Post/Item.php:297
1771
  #: includes/PRG/Post/Filter.php:37 includes/PRG/Post/Item.php:86
1772
  msgid "scheduled"
1773
  msgstr "geplant"
1774
 
1775
- #: views/b2s/post.calendar.php:70 views/b2s/post.sched.php:182
1776
- #: includes/B2S/Network/Item.php:607 includes/B2S/Network/Item.php:610
1777
- #: includes/B2S/Settings/Item.php:394 views/b2s/html/footer.php:128
1778
  msgid "Image with frame"
1779
  msgstr "Bild mit Rahmen"
1780
 
1781
- #: views/b2s/post.calendar.php:70 views/b2s/post.sched.php:182
1782
- #: includes/B2S/Network/Item.php:608 includes/B2S/Network/Item.php:611
1783
- #: includes/B2S/Settings/Item.php:408 views/b2s/html/footer.php:133
1784
  msgid "Image cut out"
1785
  msgstr "Bild zuschneiden"
1786
 
1787
- #: views/b2s/post.calendar.php:87 views/b2s/post.sched.php:165
1788
  msgid "add post"
1789
  msgstr "Beitrag hinzufügen"
1790
 
1791
- #: views/b2s/post.calendar.php:110 views/b2s/post.sched.php:123
1792
  #: views/b2s/ship.php:503
1793
  msgid "Choose your"
1794
  msgstr "Wähle Deinen"
1795
 
1796
- #: views/b2s/post.calendar.php:110 views/b2s/post.sched.php:123
1797
  #: views/b2s/ship.php:503
1798
  msgid "Post Format"
1799
  msgstr "Postformat"
1800
 
1801
- #: views/b2s/post.calendar.php:112 views/b2s/post.sched.php:125
1802
  #: views/b2s/ship.php:505
1803
  msgid "for:"
1804
  msgstr "für:"
1805
 
1806
- #: views/b2s/post.calendar.php:131 views/b2s/post.sched.php:144
1807
  #: views/b2s/ship.php:523
1808
  msgid ""
1809
  "Define the default settings for the custom post format for all of your "
@@ -1812,7 +1835,7 @@ msgstr ""
1812
  "Speichere Dein bevorzugtes Facebook Post-Format als Standardeinstellung in "
1813
  "den Blog2Social Einstellungen."
1814
 
1815
- #: views/b2s/post.calendar.php:134 views/b2s/post.sched.php:147
1816
  #: views/b2s/ship.php:526
1817
  msgid ""
1818
  "Define the default settings for the custom post format for all of your "
@@ -1821,7 +1844,7 @@ msgstr ""
1821
  "Definiere Dein Standard-Beitragsformat für alle Deine Twitter-Verbindungen "
1822
  "unter den Blog2Social Einstellungen."
1823
 
1824
- #: views/b2s/post.calendar.php:137 views/b2s/post.sched.php:150
1825
  #: views/b2s/ship.php:529
1826
  msgid ""
1827
  "Define the default settings for the custom post format for all of your "
@@ -1830,7 +1853,7 @@ msgstr ""
1830
  "Definiere Dein Standard-Beitragsformat für alle Deine Google+ Verbindungen "
1831
  "unter den Blog2Social Einstellungen."
1832
 
1833
- #: views/b2s/post.calendar.php:140 views/b2s/post.sched.php:153
1834
  #: views/b2s/ship.php:532
1835
  msgid ""
1836
  "Define the default settings for the custom post format for all of your "
@@ -1839,7 +1862,7 @@ msgstr ""
1839
  "Definiere die Standardeinstellungen für das benutzerdefinierte Postformat "
1840
  "für alle Instagram-Konten in den Blog2Social-Einstellungen."
1841
 
1842
- #: views/b2s/post.calendar.php:155 views/b2s/post.sched.php:104
1843
  #: views/b2s/ship.php:444
1844
  msgid "Select image for"
1845
  msgstr "Wähle Bild aus für"
@@ -1864,24 +1887,24 @@ msgstr "Teile Beiträge aus beliebigen Quellen"
1864
  msgid "Select a post"
1865
  msgstr "Wähle einen Beitrag aus"
1866
 
1867
- #: views/b2s/post.draft.php:73
1868
  msgid "Delete Social Media Draft"
1869
  msgstr "Entwurf löschen"
1870
 
1871
- #: views/b2s/post.draft.php:76
1872
  msgid "Are you sure you want to delete this Social Media draft?"
1873
  msgstr "Bist Du Dir sicher, dass du Deinen Entwurf löschen möchtest? "
1874
 
1875
- #: views/b2s/post.favorites.php:60 includes/B2S/Post/Item.php:303
1876
  msgid "You have not saved any favorites."
1877
  msgstr "Du hast keine Favoriten gespeichert."
1878
 
1879
- #: views/b2s/post.notice.php:69 views/b2s/post.publish.php:69
1880
  #: views/b2s/widgets/posts.php:58
1881
  msgid "Delete entries from the reporting"
1882
  msgstr "Einträge aus dem Reporting löschen"
1883
 
1884
- #: views/b2s/post.notice.php:72 views/b2s/post.publish.php:72
1885
  #: views/b2s/widgets/posts.php:61
1886
  msgid "You are sure, you want to delete entries from the reporting?"
1887
  msgstr "Bist Du sicher, dass Du Einträge aus dem Reporting löschen möchtest?"
@@ -1890,15 +1913,15 @@ msgstr "Bist Du sicher, dass Du Einträge aus dem Reporting löschen möchtest?"
1890
  msgid "Uhr"
1891
  msgstr "Uhr"
1892
 
1893
- #: views/b2s/post.sched.php:83
1894
  msgid "Delete entries form the scheduling"
1895
  msgstr "Einträge aus der Planung löschen"
1896
 
1897
- #: views/b2s/post.sched.php:86
1898
  msgid "You are sure, you want to delete entries from the scheduling?"
1899
  msgstr "Bist Du sicher, dass Du Einträge aus Deiner Planung löschen möchtest?"
1900
 
1901
- #: views/b2s/premium.php:14 includes/B2S/Settings/Item.php:153
1902
  msgid "Your current license:"
1903
  msgstr "Deine aktuelle Lizenz:"
1904
 
@@ -1911,8 +1934,8 @@ msgstr "Teste Blog2Social Premium kostenlos"
1911
  msgid "End of Trial"
1912
  msgstr "Ende der Testzeit"
1913
 
1914
- #: views/b2s/premium.php:31 includes/B2S/Settings/Item.php:156
1915
- #: includes/B2S/Settings/Item.php:159
1916
  msgid "Upgrade"
1917
  msgstr "Upgrade"
1918
 
@@ -2002,7 +2025,7 @@ msgstr ""
2002
  "oder Dein eigenes bestes Zeitschema zu definieren."
2003
 
2004
  #: views/b2s/premium.php:109 views/b2s/settings.php:35
2005
- #: includes/B2S/Post/Item.php:596
2006
  msgid "Auto-Posting"
2007
  msgstr "Auto-Posting"
2008
 
@@ -2181,7 +2204,24 @@ msgstr ""
2181
  "Plugininhalte werden nacheinander geladen, um den Server Deines Blogs zu "
2182
  "entlasten."
2183
 
2184
- #: views/b2s/settings.php:143 includes/B2S/Settings/Item.php:65
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2185
  msgid "Personal Time Zone"
2186
  msgstr "Persönliche Zeitzone"
2187
 
@@ -2199,8 +2239,20 @@ msgstr ""
2199
  "für die Planung Deiner Social Media Posts festlegen. Wähle dazu die "
2200
  "gewünschte Zeitzone aus dem Drop-Down Menü."
2201
 
2202
- #: views/b2s/ship.php:18 includes/B2S/Post/Filter.php:50
2203
- #: includes/B2S/Post/Item.php:297 includes/PRG/Post/Item.php:86
 
 
 
 
 
 
 
 
 
 
 
 
2204
  msgid "draft"
2205
  msgstr "Entwurf"
2206
 
@@ -2209,13 +2261,13 @@ msgid "Social Media Scheduling & Sharing"
2209
  msgstr "Beitrag auf Social Media planen und teilen"
2210
 
2211
  #: views/b2s/ship.php:53 views/prg/ship.php:43 views/prg/ship.php:45
2212
- #: includes/B2S/Curation/View.php:38 includes/B2S/Settings/Item.php:328
2213
- #: includes/B2S/Settings/Item.php:349 views/prg/html/form.php:26
2214
  #: views/prg/html/form.php:28
2215
  msgid "Title"
2216
  msgstr "Titel"
2217
 
2218
- #: views/b2s/ship.php:55 includes/B2S/Post/Item.php:351
2219
  msgid "on blog"
2220
  msgstr "auf dem Blog"
2221
 
@@ -2269,7 +2321,7 @@ msgstr ""
2269
  "Verbinde Dich zuerst mit einem Netzwerk oder wähle ein Netzwerk aus, bevor "
2270
  "Du den Beitrag teilst!"
2271
 
2272
- #: views/b2s/ship.php:219 includes/B2S/Settings/Item.php:81
2273
  msgid "connect"
2274
  msgstr "Jetzt mit Netzwerken verbinden"
2275
 
@@ -2413,7 +2465,7 @@ msgstr "Zeitplan hinzufügen"
2413
  msgid "Give me more information"
2414
  msgstr "Erhalte mehr Infomationen"
2415
 
2416
- #: views/b2s/support.php:16 includes/B2S/Post/Item.php:612
2417
  #: includes/B2S/Ship/Save.php:438
2418
  msgid "FAQ"
2419
  msgstr "FAQ"
@@ -2655,12 +2707,16 @@ msgstr "Ja,einverstanden"
2655
  msgid "Share your post"
2656
  msgstr "Teile Deinen Post"
2657
 
2658
- #: includes/B2S/Curation/View.php:64 includes/B2S/Settings/Item.php:172
2659
  msgid "immediately"
2660
  msgstr "sofort"
2661
 
 
 
 
 
2662
  #: includes/B2S/Curation/View.php:69 includes/B2S/Curation/View.php:70
2663
- #: includes/B2S/Ship/Item.php:1048 views/b2s/partials/post-edit-modal.php:62
2664
  #: views/b2s/partials/post-edit-modal.php:65
2665
  msgid "Date"
2666
  msgstr "Startdatum"
@@ -2677,7 +2733,7 @@ msgstr "Standard"
2677
  msgid "Show all"
2678
  msgstr "alle anzeigen"
2679
 
2680
- #: includes/B2S/Network/Item.php:62 includes/B2S/Network/Item.php:183
2681
  msgid "My profile"
2682
  msgstr "Mein Profil"
2683
 
@@ -2689,88 +2745,105 @@ msgstr "weitere Profile:"
2689
  msgid "Best times"
2690
  msgstr "Beste Zeiten"
2691
 
2692
- #: includes/B2S/Network/Item.php:150 includes/B2S/Ship/Portale.php:41
 
 
 
 
 
2693
  msgid "You want to connect a network profile?"
2694
  msgstr "Du möchtest Dich mit einem Netzwerkprofil verbinden?"
2695
 
2696
- #: includes/B2S/Network/Item.php:154 includes/B2S/Ship/Portale.php:35
2697
  msgid "You want to connect a network page?"
2698
  msgstr "Du möchtest eine Netzwerk-Seite verbinden?"
2699
 
2700
- #: includes/B2S/Network/Item.php:157 includes/B2S/Network/Item.php:355
2701
  #: includes/B2S/Ship/Portale.php:31
2702
  msgid "Publication"
2703
  msgstr "Publication"
2704
 
2705
- #: includes/B2S/Network/Item.php:158 includes/B2S/Ship/Portale.php:32
2706
  msgid "You want to connect a social media group?"
2707
  msgstr "Du möchtest eine Social-Media-Gruppe verbinden?"
2708
 
2709
- #: includes/B2S/Network/Item.php:169
2710
- #, php-format
2711
- msgid ""
2712
- "Business Pages will be closed by XING on december 31, 2019. Please use XING "
2713
- "Employer Branding Pages instead. <a target=\"_blank\" href=\"%s\">More "
2714
- "information.</a>"
2715
- msgstr ""
2716
- "Die Business Seiten werden von XING zum 31.12.2019 abgeschaltet. Bitte nutze "
2717
- "stattdessen die Unternehmens-Seiten (Employer Branding). <a "
2718
- "target=\"_blank\" href=\"%s\">weitere Informationen</a>"
2719
-
2720
- #: includes/B2S/Network/Item.php:176 includes/B2S/Settings/Item.php:236
2721
  msgid "Connections"
2722
  msgstr "Verbindungen"
2723
 
2724
- #: includes/B2S/Network/Item.php:177 views/b2s/html/footer.php:192
2725
  msgid "Best Time Manager"
2726
  msgstr "Best Time Manager"
2727
 
2728
- #: includes/B2S/Network/Item.php:214 includes/B2S/Network/Item.php:279
2729
- #: includes/B2S/Network/Item.php:346
2730
  msgid "To reactivate this connection,"
2731
  msgstr "Um die Verbindung wieder zu aktivieren,"
2732
 
2733
- #: includes/B2S/Network/Item.php:214 includes/B2S/Network/Item.php:279
2734
- #: includes/B2S/Network/Item.php:346 includes/B2S/Ship/Image.php:30
2735
  msgid "please upgrade"
2736
  msgstr "Bitte upgraden"
2737
 
2738
- #: includes/B2S/Network/Item.php:217 includes/B2S/Network/Item.php:282
2739
- #: includes/B2S/Network/Item.php:349
2740
  msgid "Authorization is interrupted since"
2741
  msgstr "Autorisierung ist unterbrochen seit"
2742
 
2743
- #: includes/B2S/Network/Item.php:221 includes/B2S/Network/Item.php:286
2744
- #: includes/B2S/Network/Item.php:353
2745
  msgid "Assigned by"
2746
  msgstr "Zugewiesen von"
2747
 
2748
- #: includes/B2S/Network/Item.php:258 includes/B2S/Network/Item.php:324
2749
- #: includes/B2S/Network/Item.php:386 includes/B2S/Ship/Item.php:996
2750
  msgid "Days"
2751
  msgstr "Tage"
2752
 
2753
- #: includes/B2S/Network/Item.php:288 includes/B2S/Ship/Item.php:302
2754
  msgid "Employer Branding"
2755
  msgstr "Employer Branding"
2756
 
2757
- #: includes/B2S/Network/Item.php:467
2758
  msgid "Connection currently assigned to"
2759
  msgstr "Diese Verbindung ist aktuell zugewiesen an"
2760
 
2761
- #: includes/B2S/Network/Item.php:524
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2762
  msgid "Successfully saved"
2763
  msgstr "Erfolgreich gespeichert"
2764
 
2765
- #: includes/B2S/Network/Item.php:525
2766
  msgid "Failed to save"
2767
  msgstr "Speichern fehlgeschlagen"
2768
 
2769
- #: includes/B2S/Network/Item.php:526
2770
  msgid "Failed to load the default template"
2771
  msgstr "Fehler beim Laden der Standardeinstellungen"
2772
 
2773
- #: includes/B2S/Network/Item.php:533
2774
  msgid ""
2775
  "Upgrade to Blog2Social Smart or higher to customize your individual post "
2776
  "templates that will automatically pre-format the structure of your social "
@@ -2790,36 +2863,36 @@ msgstr ""
2790
  "auch statische Inhalte (z.B. individuelle Hashtags oder Slogans) zu Deinen "
2791
  "Beitragsvorlagen hinzu."
2792
 
2793
- #: includes/B2S/Network/Item.php:534
2794
  msgid "Upgrade to Blog2Social Smart"
2795
  msgstr "Upgrade auf Blog2Social Smart"
2796
 
2797
- #: includes/B2S/Network/Item.php:554
2798
  msgid "Activate Instant Caching"
2799
  msgstr "Instant Caching aktivieren"
2800
 
2801
- #: includes/B2S/Network/Item.php:600
2802
  msgid "Format"
2803
  msgstr "Format"
2804
 
2805
- #: includes/B2S/Network/Item.php:601 includes/B2S/Network/Item.php:622
2806
  msgid "Load default settings"
2807
  msgstr "Lade Standardeinstellungen"
2808
 
2809
- #: includes/B2S/Network/Item.php:607 includes/B2S/Network/Item.php:610
2810
- #: includes/B2S/Ship/Item.php:748 includes/B2S/Ship/Item.php:750
2811
  msgid "Link"
2812
  msgstr "Link"
2813
 
2814
- #: includes/B2S/Network/Item.php:608 includes/B2S/Network/Item.php:611
2815
  msgid "Image"
2816
  msgstr "Bild"
2817
 
2818
- #: includes/B2S/Network/Item.php:620 includes/B2S/Settings/Item.php:76
2819
  msgid "Content"
2820
  msgstr "Inhalt"
2821
 
2822
- #: includes/B2S/Network/Item.php:629 includes/B2S/Ship/Item.php:343
2823
  msgid ""
2824
  "Instagram supports up to 30 hashtags. Please reduce the number of hashtags "
2825
  "in your post."
@@ -2827,290 +2900,298 @@ msgstr ""
2827
  "Instagram unterstützt bis zu 30 Hashtags. Bitte reduziere die Anzahl der "
2828
  "Hashtags in Deinem Beitrag."
2829
 
2830
- #: includes/B2S/Network/Item.php:641
2831
  msgid "clear"
2832
  msgstr "löschen"
2833
 
2834
- #: includes/B2S/Network/Item.php:650
2835
  msgid "The link will be added automatically at the end of the post."
2836
  msgstr "Der Link wird automatisch am Ende des Posts eingefügt."
2837
 
2838
- #: includes/B2S/Network/Item.php:652 includes/B2S/Network/Item.php:678
2839
  msgid "Network limit"
2840
  msgstr "Netzwerkbegrenzung"
2841
 
2842
- #: includes/B2S/Network/Item.php:652 includes/B2S/Network/Item.php:678
2843
- #: includes/B2S/Network/Item.php:678 includes/B2S/Ship/Item.php:188
2844
- #: includes/B2S/Ship/Item.php:192 includes/B2S/Ship/Item.php:237
2845
- #: includes/B2S/Ship/Item.php:241 includes/B2S/Ship/Item.php:270
2846
- #: includes/B2S/Ship/Item.php:274 includes/B2S/Ship/Item.php:1075
2847
- #: includes/B2S/Ship/Item.php:1077
2848
  msgid "characters"
2849
  msgstr "Zeichen"
2850
 
2851
- #: includes/B2S/Network/Item.php:678
2852
  msgid "recommended length"
2853
  msgstr "Empfohlene Länge"
2854
 
2855
- #: includes/B2S/Network/Item.php:698 includes/B2S/Network/Item.php:750
2856
- #: includes/B2S/Network/Item.php:804 includes/B2S/Network/Item.php:856
2857
- #: includes/B2S/Network/Item.php:890
2858
  msgid "Preview"
2859
  msgstr "Vorschau"
2860
 
2861
- #: includes/B2S/Post/Filter.php:35
2862
  msgid "all authors"
2863
  msgstr "alle Autoren"
2864
 
2865
- #: includes/B2S/Post/Filter.php:51
2866
  msgid "all posts"
2867
  msgstr "alle Beiträge"
2868
 
2869
- #: includes/B2S/Post/Filter.php:62
2870
  msgid "not yet shared"
2871
  msgstr "noch nicht geteilt"
2872
 
2873
- #: includes/B2S/Post/Filter.php:62
2874
  msgid "already shared"
2875
  msgstr "geteilt"
2876
 
2877
- #: includes/B2S/Post/Filter.php:62
2878
  msgid "currently scheduled"
2879
  msgstr "geplant"
2880
 
2881
- #: includes/B2S/Post/Filter.php:63
2882
  msgid "all statuses"
2883
  msgstr "kein Status"
2884
 
2885
- #: includes/B2S/Post/Filter.php:74 includes/B2S/Post/Filter.php:86
2886
  msgid "newest first"
2887
  msgstr "neuste zuerst"
2888
 
2889
- #: includes/B2S/Post/Filter.php:74 includes/B2S/Post/Filter.php:86
2890
  msgid "oldest first"
2891
  msgstr "älteste zuerst"
2892
 
2893
- #: includes/B2S/Post/Filter.php:99
2894
  msgid "all categories & tags"
2895
  msgstr "alle Kategorien & Schlagwörter"
2896
 
2897
- #: includes/B2S/Post/Filter.php:121 includes/PRG/Post/Filter.php:49
2898
  msgid "all post types"
2899
  msgstr "alle Typen"
2900
 
2901
- #: includes/B2S/Post/Filter.php:146 includes/PRG/Post/Filter.php:70
 
 
 
 
2902
  msgid "Search Title"
2903
  msgstr "Suche nach Titel"
2904
 
2905
- #: includes/B2S/Post/Filter.php:169 includes/PRG/Post/Filter.php:81
2906
  msgid "sort"
2907
  msgstr "sortieren"
2908
 
2909
- #: includes/B2S/Post/Filter.php:170 includes/PRG/Post/Filter.php:82
2910
  msgid "reset"
2911
  msgstr "zurücksetzen"
2912
 
2913
- #: includes/B2S/Post/Filter.php:175
2914
  msgid "selected date"
2915
  msgstr "ausgewähltes Datum"
2916
 
2917
- #: includes/B2S/Post/Filter.php:175
2918
  msgid "scheduled post(s)"
2919
  msgstr "geplante Beiträge"
2920
 
2921
- #: includes/B2S/Post/Item.php:301
2922
  msgid "You have not saved any drafts."
2923
  msgstr "Du hast keine Entwürfe gespeichert."
2924
 
2925
- #: includes/B2S/Post/Item.php:305
2926
  msgid "You have not published or scheduled any posts."
2927
  msgstr "Du hast keine Beiträge veröffentlicht oder geplant."
2928
 
2929
- #: includes/B2S/Post/Item.php:328
2930
  msgid "curated post"
2931
  msgstr "kuratierter Beitrag"
2932
 
2933
- #: includes/B2S/Post/Item.php:333 includes/B2S/Post/Item.php:431
2934
  msgid "last shared on social media"
2935
  msgstr "zuletzt auf Social Media geteilt"
2936
 
2937
- #: includes/B2S/Post/Item.php:345 includes/B2S/Post/Item.php:441
2938
- #: includes/B2S/Post/Item.php:443 includes/B2S/Post/Item.php:464
2939
- #: includes/B2S/Post/Item.php:485
2940
  msgid "Share on Social Media"
2941
  msgstr "auf Social Media teilen"
2942
 
2943
- #: includes/B2S/Post/Item.php:349
2944
  msgid "load Draft"
2945
  msgstr "Entwurf aufrufen"
2946
 
2947
- #: includes/B2S/Post/Item.php:351 includes/B2S/Post/Item.php:449
2948
- #: includes/B2S/Post/Item.php:469 includes/B2S/Post/Item.php:487
2949
  #: includes/PRG/Post/Item.php:121
2950
  msgid "Author"
2951
  msgstr "Autor"
2952
 
2953
- #: includes/B2S/Post/Item.php:369 includes/B2S/Post/Item.php:393
2954
- #: includes/B2S/Post/Item.php:415
2955
  msgid "Details"
2956
  msgstr "Details"
2957
 
2958
- #: includes/B2S/Post/Item.php:371
2959
  msgid "shared social media posts"
2960
  msgstr "geteilte Beiträge"
2961
 
2962
- #: includes/B2S/Post/Item.php:371
2963
  #, php-format
2964
  msgid "latest share by %s"
2965
  msgstr "zuletzt von %s geteilt"
2966
 
2967
- #: includes/B2S/Post/Item.php:395 views/b2s/widgets/activity.php:10
2968
  msgid "scheduled social media posts"
2969
  msgstr "geplante Beiträge"
2970
 
2971
- #: includes/B2S/Post/Item.php:395
2972
  #, php-format
2973
  msgid "next share by %s"
2974
  msgstr "wird als nächstes von %s geteilt"
2975
 
2976
- #: includes/B2S/Post/Item.php:417
2977
  msgid "social media posts ready to be shared"
2978
  msgstr "Social Media Posts sind bereit, geteilt zu werden"
2979
 
2980
- #: includes/B2S/Post/Item.php:428
2981
  msgid "via Browser-Extension"
2982
  msgstr "via Browser-Extension"
2983
 
2984
- #: includes/B2S/Post/Item.php:449
2985
  msgid "saved"
2986
  msgstr "gespeichert"
2987
 
2988
- #: includes/B2S/Post/Item.php:469
2989
  msgid "last saved"
2990
  msgstr "zuletzt gespeichert:"
2991
 
2992
- #: includes/B2S/Post/Item.php:596 includes/B2S/Post/Item.php:732
2993
  #: includes/B2S/Ship/Save.php:427
2994
  msgid "Retweet"
2995
  msgstr "Retweet"
2996
 
2997
- #: includes/B2S/Post/Item.php:602 includes/B2S/Post/Item.php:672
2998
- #: includes/B2S/Post/Item.php:737
2999
  msgid "select all"
3000
  msgstr "alle auswählen"
3001
 
3002
- #: includes/B2S/Post/Item.php:605
3003
  msgid "show"
3004
  msgstr "ansehen"
3005
 
3006
- #: includes/B2S/Post/Item.php:612 includes/B2S/Ship/Save.php:438
3007
  msgid "Please see"
3008
  msgstr "siehe"
3009
 
3010
- #: includes/B2S/Post/Item.php:618
3011
  #, php-format
3012
  msgid "sharing in progress by %s"
3013
  msgstr "wird gerade von %s geteilt"
3014
 
3015
- #: includes/B2S/Post/Item.php:618
3016
  #, php-format
3017
  msgid "shared by %s"
3018
  msgstr "von %s geteilt"
3019
 
3020
- #: includes/B2S/Post/Item.php:639 includes/B2S/Post/Item.php:652
3021
  msgid "You want to delete a publish post entry?"
3022
  msgstr "Du möchtest einen veröffentlichten Beitrag löschen?"
3023
 
3024
- #: includes/B2S/Post/Item.php:640 includes/B2S/Post/Item.php:653
3025
  msgid "delete from reporting"
3026
  msgstr "aus Reporting löschen"
3027
 
3028
- #: includes/B2S/Post/Item.php:643
3029
  msgid "re-share"
3030
  msgstr "erneut teilen"
3031
 
3032
- #: includes/B2S/Post/Item.php:675
3033
  #, php-format
3034
  msgid "is waiting to shared by %s"
3035
  msgstr "wartet darauf von %s geteilt zu werden"
3036
 
3037
- #: includes/B2S/Post/Item.php:705 includes/B2S/Ship/Save.php:408
3038
  msgid "share"
3039
  msgstr "teilen"
3040
 
3041
- #: includes/B2S/Post/Item.php:713
3042
  msgid "You want to delete your Social Media post?"
3043
  msgstr "Du möchtest Deinen Social Media Post löschen?"
3044
 
3045
- #: includes/B2S/Post/Item.php:747
3046
  #, php-format
3047
  msgid "last modified by %s"
3048
  msgstr "zuletzt von %s bearbeitet"
3049
 
3050
- #: includes/B2S/Post/Item.php:749
3051
  msgid "is processed by the network"
3052
  msgstr "wird vom Netzwerk verarbeitet"
3053
 
3054
- #: includes/B2S/Post/Item.php:754
3055
  #, php-format
3056
  msgid "scheduled by %s"
3057
  msgstr "von %s vorgeplant "
3058
 
3059
- #: includes/B2S/Post/Item.php:759
3060
  msgid "You want to edit your scheduled post?"
3061
  msgstr "Sie möchten Ihre vorgeplanten Beiträge bearbeiten?"
3062
 
3063
- #: includes/B2S/Post/Item.php:760
3064
  msgid "edit"
3065
  msgstr "edit"
3066
 
3067
- #: includes/B2S/Post/Item.php:771
3068
  msgid "delete scheduling"
3069
  msgstr "Planung löschen"
3070
 
3071
- #: includes/B2S/Settings/Item.php:62 includes/B2S/Settings/Item.php:82
3072
- #: includes/B2S/Ship/Item.php:898
3073
  msgid "Account"
3074
  msgstr "Konto"
3075
 
3076
- #: includes/B2S/Settings/Item.php:71
3077
  msgid "Timezone for Scheduling"
3078
  msgstr "Zeitzone für die Planung"
3079
 
3080
- #: includes/B2S/Settings/Item.php:71
3081
  msgid "User"
3082
  msgstr "Benutzer"
3083
 
3084
- #: includes/B2S/Settings/Item.php:77
3085
  msgid "Url Shortener"
3086
  msgstr "Url Shortener"
3087
 
3088
- #: includes/B2S/Settings/Item.php:78
3089
- msgid "Bitly"
3090
- msgstr "Bitly"
3091
 
3092
- #: includes/B2S/Settings/Item.php:85
 
 
 
 
3093
  msgid "Shortcodes"
3094
  msgstr "Shortcodes"
3095
 
3096
- #: includes/B2S/Settings/Item.php:86
3097
  msgid "allow shortcodes in my post"
3098
  msgstr "berücksichtige Shortcodes in meinen Beiträgen"
3099
 
3100
- #: includes/B2S/Settings/Item.php:88 includes/B2S/Ship/Item.php:844
3101
  msgid "Hashtags"
3102
  msgstr "Hashtags"
3103
 
3104
- #: includes/B2S/Settings/Item.php:89
3105
  msgid "include Wordpress tags as hashtags in my post"
3106
  msgstr " Füge WordPress-Tags als Hashtags zu Deinen Social Media-Posts hinzu"
3107
 
3108
- #: includes/B2S/Settings/Item.php:93
3109
  msgid "System"
3110
  msgstr "System"
3111
 
3112
- #: includes/B2S/Settings/Item.php:94 includes/B2S/Settings/Item.php:284
3113
- #: includes/B2S/Settings/Item.php:311
3114
  msgid ""
3115
  "This is a global feature for your blog, which can only be edited by users "
3116
  "with admin rights."
@@ -3118,41 +3199,59 @@ msgstr ""
3118
  "Dies ist eine globale Einstellung für Deinen Blog, die nur von Usern mit "
3119
  "Admin Rechten bearbeitet werden kann."
3120
 
3121
- #: includes/B2S/Settings/Item.php:95
3122
  msgid "activate Legacy mode"
3123
  msgstr "Kompatibilitätsmodus aktivieren"
3124
 
3125
- #: includes/B2S/Settings/Item.php:114
3126
- msgid "Auto-post your own created posts"
3127
- msgstr "Auto-Poste Deine selbsterstellten Blogbeiträge"
 
 
 
 
 
 
 
 
 
 
 
3128
 
3129
- #: includes/B2S/Settings/Item.php:115
3130
- msgid "Define by default to automatically post your posts on social media:"
 
 
3131
  msgstr ""
3132
- "Definiere standardmäßig Blogbeiträge oder Seiten, die Du auf Social Media "
3133
- "automatisch teilen möchtest:"
3134
 
3135
- #: includes/B2S/Settings/Item.php:117
3136
  msgid ""
3137
- "Select by default if the auto-poster is activated when you publish a new "
3138
- "post or update a post."
 
3139
  msgstr ""
3140
- "Wählen standardmäßig aus, dass das automatische Teilen aktiviert wird, wenn "
3141
- "Du einen neuen Post veröffentlichst oder einen Post aktualisierst."
3142
 
3143
- #: includes/B2S/Settings/Item.php:122
 
 
 
 
3144
  msgid "new posts"
3145
  msgstr "Neue Beiträge"
3146
 
3147
- #: includes/B2S/Settings/Item.php:123 includes/B2S/Settings/Item.php:135
3148
  msgid "Unselect all"
3149
  msgstr "Alle abwählen"
3150
 
3151
- #: includes/B2S/Settings/Item.php:123 includes/B2S/Settings/Item.php:135
3152
  msgid "Select all"
3153
  msgstr "Alle auswählen"
3154
 
3155
- #: includes/B2S/Settings/Item.php:131
3156
  msgid ""
3157
  "By enabling this feature your previously published social media posts will "
3158
  "be sent again to your selected social media channels as soon as the post is "
@@ -3162,28 +3261,27 @@ msgstr ""
3162
  "Beiträge erneut an die Social Media Kanäle gesendet werden, sobald der "
3163
  "Beitrag aktualisiert wird."
3164
 
3165
- #: includes/B2S/Settings/Item.php:134
3166
  msgid "updating existing posts"
3167
  msgstr "Bestehenden Beitrag aktualisieren"
3168
 
3169
- #: includes/B2S/Settings/Item.php:146 includes/B2S/Settings/Item.php:183
3170
- msgid "Save"
3171
- msgstr " Speichern"
3172
 
3173
- #: includes/B2S/Settings/Item.php:149
3174
- msgid "Auto-post your imported posts to your social media accounts"
3175
- msgstr ""
3176
- "Teile Deine importierten Beiträge automatisch auf Deinen Social Media "
3177
- "Accounts"
3178
 
3179
- #: includes/B2S/Settings/Item.php:150
3180
  msgid ""
3181
- "Define by default to automatically share your imported posts to social media:"
 
3182
  msgstr ""
3183
- "Definiere standardmäßig, dass Deine importierten Beiträge automatisch in den "
3184
- "Social Media geteilt werden. "
3185
 
3186
- #: includes/B2S/Settings/Item.php:155
3187
  msgid ""
3188
  "Immediate Cross-Posting across all networks: Share an unlimited number of "
3189
  "posts"
@@ -3191,28 +3289,27 @@ msgstr ""
3191
  "Immediate Cross-Posting über alle Netzwerke hinweg: Teile eine unbegrenzte "
3192
  "Anzahl an Beiträgen"
3193
 
3194
- #: includes/B2S/Settings/Item.php:156
3195
  msgid "Scheduled Auto-Posting"
3196
  msgstr "Scheduled Auto-Posting"
3197
 
3198
- #: includes/B2S/Settings/Item.php:158
3199
  msgid "share up to"
3200
  msgstr "teile bis zu"
3201
 
3202
- #: includes/B2S/Settings/Item.php:158
3203
  msgid "posts per day, Google My Business max. 10 posts per day"
3204
  msgstr "Beiträge pro Tag, Google My Business maximal 10 Beiträge pro Tag"
3205
 
3206
- #: includes/B2S/Settings/Item.php:165
3207
- msgid "Select by default to automatically share your imported posts"
3208
- msgstr ""
3209
- "Teile standardmäßig automatisch importierte Beiträge auf meinen Social Media"
3210
 
3211
- #: includes/B2S/Settings/Item.php:168
3212
  msgid "Available networks to select your auto-post connecitons:"
3213
  msgstr "Verfügbare Netwerkverbindungen:"
3214
 
3215
- #: includes/B2S/Settings/Item.php:169
3216
  msgid ""
3217
  "In accordance with the new Twitter TOS, one Twitter account can be selected "
3218
  "as your primary Twitter account for auto-posting."
@@ -3220,54 +3317,54 @@ msgstr ""
3220
  "In Übereinstimmung mit den neuen Twitter-AGB kann ein Twitter-Account als "
3221
  "Ihr primärer Twitter-Account für das Auto-Posting ausgewählt werden"
3222
 
3223
- #: includes/B2S/Settings/Item.php:169
3224
- msgid "More information"
3225
- msgstr "Zusätzliche Informationen"
3226
-
3227
- #: includes/B2S/Settings/Item.php:171
3228
  msgid "Select to auto-post immediately after publishing or with a delay"
3229
  msgstr "Importierte Beiträge direkt veröffentlichen oder mit einer Verzögerung"
3230
 
3231
- #: includes/B2S/Settings/Item.php:173
3232
  msgid "publish with a delay of"
3233
  msgstr "Veröffentliche mit einer Verzögerung von"
3234
 
3235
- #: includes/B2S/Settings/Item.php:174
3236
  msgid "minutes"
3237
  msgstr "Minuten"
3238
 
3239
- #: includes/B2S/Settings/Item.php:198
 
 
 
 
3240
  msgid ""
3241
  "Filter Posts (Only posts that meet the following criteria will be autoposted)"
3242
  msgstr ""
3243
  "Beiträge filtern (Nur Beiträge, die die Kriterien erfüllen, werden "
3244
  "automatisch veröffentlicht)"
3245
 
3246
- #: includes/B2S/Settings/Item.php:199
3247
  msgid "Post Types"
3248
  msgstr "Posttypen"
3249
 
3250
- #: includes/B2S/Settings/Item.php:200
3251
  msgid "Include (Post only...)"
3252
  msgstr "enthält (nur Beiträge, mit ...)"
3253
 
3254
- #: includes/B2S/Settings/Item.php:201
3255
  msgid "Exclude (Do no post ...)"
3256
  msgstr "enthält nicht (Veröffentliche keine Beiträge, mit...)"
3257
 
3258
- #: includes/B2S/Settings/Item.php:238
3259
  msgid "add/change connection"
3260
  msgstr "Verbindung hinzufügen/ändern"
3261
 
3262
- #: includes/B2S/Settings/Item.php:282
3263
  msgid "Reset all page and post meta data"
3264
  msgstr "Lösche alle Seiten und Beitrags Meta Angaben"
3265
 
3266
- #: includes/B2S/Settings/Item.php:287
3267
  msgid "Meta Tags Settings for Posts and Pages"
3268
  msgstr "Meta Tag Einstellungen für Beiträge und Seiten"
3269
 
3270
- #: includes/B2S/Settings/Item.php:288
3271
  msgid ""
3272
  "Add Open Graph meta tags to your shared posts or pages, required by Facebook "
3273
  "and other social networks to display your post or page image, title and "
@@ -3277,7 +3374,7 @@ msgstr ""
3277
  "Facebook und andere soziale Netzwerke Bilder, Titel und Beschreibung Deines "
3278
  "Beitrag/Seite korrekt darstellen können."
3279
 
3280
- #: includes/B2S/Settings/Item.php:290
3281
  msgid ""
3282
  "Add Twitter Card meta tags to your shared posts or pages, required by "
3283
  "Twitter to display your post or page image, title and description correctly."
@@ -3286,15 +3383,15 @@ msgstr ""
3286
  "Twitter Bilder, Titel und Beschreibung Deines Beitrag/Seite korrekt "
3287
  "darstellen kann."
3288
 
3289
- #: includes/B2S/Settings/Item.php:313
3290
  msgid "Frontpage Settings"
3291
  msgstr "Frontpage Einstellungen"
3292
 
3293
- #: includes/B2S/Settings/Item.php:315
3294
  msgid "Check Settings with Sharing-Debugger"
3295
  msgstr "Einstellungen mit Sharing-Debugger überprüfen"
3296
 
3297
- #: includes/B2S/Settings/Item.php:325
3298
  msgid ""
3299
  "Add the default Open Graph parameters for title, description and image you "
3300
  "want Facebook to display, if you share the frontpage of your blog as link "
@@ -3304,20 +3401,20 @@ msgstr ""
3304
  "die Open Graph Parameter bei Facebook, wenn Du die Frontpage Deines Blogs "
3305
  "als Link Post teilst (http://www.DeinBlog.de)"
3306
 
3307
- #: includes/B2S/Settings/Item.php:329 includes/B2S/Settings/Item.php:350
3308
  msgid "Description"
3309
  msgstr "Beschreibung"
3310
 
3311
- #: includes/B2S/Settings/Item.php:330 includes/B2S/Settings/Item.php:351
3312
  msgid "Image URL"
3313
  msgstr "Bild Url"
3314
 
3315
- #: includes/B2S/Settings/Item.php:332 includes/B2S/Settings/Item.php:353
3316
  #: includes/B2S/Ship/Image.php:85 includes/B2S/Ship/Image.php:87
3317
  msgid "Image upload / Media Gallery"
3318
  msgstr "Bild hochladen / Mediathek"
3319
 
3320
- #: includes/B2S/Settings/Item.php:335
3321
  msgid ""
3322
  "Please note: Facebook supports images with a minimum dimension of 200x200 "
3323
  "pixels and an aspect ratio of 1:1."
@@ -3325,7 +3422,7 @@ msgstr ""
3325
  "Bitte beachte: Facebook unterstützt Bilder mit einer Mindestgröße von "
3326
  "200x200 Pixel and einem Bildgrößenverhältnis von 1:1."
3327
 
3328
- #: includes/B2S/Settings/Item.php:341
3329
  msgid ""
3330
  "Add the default Twitter Card parameters for title, description and image you "
3331
  "want Twitter to display, if you share the frontpage of your blog as link "
@@ -3335,23 +3432,23 @@ msgstr ""
3335
  "Image, wenn Du die Frontpage Deines Blogs als Link Post teilst (http://www."
3336
  "DeinBlog.de)"
3337
 
3338
- #: includes/B2S/Settings/Item.php:344
3339
  msgid "The default card type to use"
3340
  msgstr "Wählen Sie Ihre Standard-Twitter-Card"
3341
 
3342
- #: includes/B2S/Settings/Item.php:346
3343
  msgid "Summary"
3344
  msgstr "Link-Darstellung"
3345
 
3346
- #: includes/B2S/Settings/Item.php:347
3347
  msgid "Summary with large image"
3348
  msgstr "Link-Darstellung mit großem Bild"
3349
 
3350
- #: includes/B2S/Settings/Item.php:347
3351
  msgid "(SMART)"
3352
  msgstr "(SMART)"
3353
 
3354
- #: includes/B2S/Settings/Item.php:356
3355
  msgid ""
3356
  "Please note: Twitter supports images with a minimum dimension of 144x144 "
3357
  "pixels and a maximum dimension of 4096x4096 pixels and less than 5 BM. The "
@@ -3363,11 +3460,11 @@ msgstr ""
3363
  "Bilder werden auf ein quadratisches Maß übertragen. Twitter unterstützt die "
3364
  "Bildformate JPG, PNG, WEBP und GIF. "
3365
 
3366
- #: includes/B2S/Settings/Item.php:374
3367
  msgid "Did you know?"
3368
  msgstr "Wusstest Du schon?"
3369
 
3370
- #: includes/B2S/Settings/Item.php:375
3371
  msgid ""
3372
  "With Premium Pro, you can change the custom post format photo post or link "
3373
  "post for each individual social media post and channel (profile, page, group)"
@@ -3377,15 +3474,15 @@ msgstr ""
3377
  "pro Social Media Kanal verändern und Deine Beiträge als BildPost oder als "
3378
  "Link-Post auf Deinen Profilen, Seiten oder Gruppen teilen."
3379
 
3380
- #: includes/B2S/Settings/Item.php:375
3381
  msgid "Upgrade to Premium Pro now."
3382
  msgstr "Upgrade auf Premium PRO"
3383
 
3384
- #: includes/B2S/Settings/Item.php:399
3385
  msgid "The image will be changed"
3386
  msgstr "Das Bild wird geändert"
3387
 
3388
- #: includes/B2S/Settings/Item.php:402 views/b2s/html/footer.php:129
3389
  msgid ""
3390
  "Insert white frames to show the whole image in your timeline. All image "
3391
  "information will be shown in your timeline."
@@ -3393,7 +3490,7 @@ msgstr ""
3393
  "Füge weiße Rahmen ein, um das gesamte Bild in Deiner Zeitleiste anzuzeigen. "
3394
  "Alle Bildinformationen werden in Deiner Zeitleiste angezeigt."
3395
 
3396
- #: includes/B2S/Settings/Item.php:404 views/b2s/html/footer.php:112
3397
  msgid ""
3398
  "The link post format displays posts title, link address and the first one or "
3399
  "two sentences of the post. The networks scan this information from your META "
@@ -3416,7 +3513,7 @@ msgstr ""
3416
  "ausgewählt hast, zeigen einige Netzwerke das erste Bild an, dass sie auf "
3417
  "Deiner Seite finden."
3418
 
3419
- #: includes/B2S/Settings/Item.php:413 views/b2s/html/footer.php:134
3420
  msgid ""
3421
  "The image preview will be cropped automatically to fit the default Instagram "
3422
  "layout for your Instagram timeline. The image will be shown uncropped when "
@@ -3427,7 +3524,7 @@ msgstr ""
3427
  "Ganzes angezeigt, wenn Du die Vorschauseite für Deinen Instagram-Beitrag "
3428
  "öffnest. "
3429
 
3430
- #: includes/B2S/Settings/Item.php:415 views/b2s/html/footer.php:117
3431
  msgid ""
3432
  "A photo or image post displays the selected image in the one-page preview of "
3433
  "Blog2Social and your comment above the image. The image links to the image "
@@ -3505,56 +3602,56 @@ msgstr "Bild für diesen Post übernehmen"
3505
  msgid "Apply image for all og-meta networks"
3506
  msgstr "Bild für alle og-meta-Netzwerke anwenden"
3507
 
3508
- #: includes/B2S/Ship/Item.php:140
3509
  msgid "Network does not support image for profiles"
3510
  msgstr "Netzwerk unterstützt keine Bilder für Profile"
3511
 
3512
- #: includes/B2S/Ship/Item.php:141 includes/B2S/Ship/Item.php:204
3513
  msgid "Network defines image by link"
3514
  msgstr "Netzwerk wählt selber das Bild aus"
3515
 
3516
- #: includes/B2S/Ship/Item.php:143
3517
  msgid "Supported HTML tags"
3518
  msgstr "Erlaubte HTML-Elemente"
3519
 
3520
- #: includes/B2S/Ship/Item.php:144 includes/B2S/Ship/Item.php:203
3521
  msgid "Network does not support emojis"
3522
  msgstr "Netzwerk unterstützt keine Emojis"
3523
 
3524
- #: includes/B2S/Ship/Item.php:145 includes/B2S/Ship/Item.php:205
3525
  msgid "Network does not support GIFs"
3526
  msgstr "Das Netzwerk unterstützt keine GIFs"
3527
 
3528
- #: includes/B2S/Ship/Item.php:187
3529
  msgid "Text only"
3530
  msgstr "nur Text"
3531
 
3532
- #: includes/B2S/Ship/Item.php:202
3533
  msgid "Network does not support image for pages"
3534
  msgstr "Netzwerk unterstützt keine Bilder für Seiten"
3535
 
3536
- #: includes/B2S/Ship/Item.php:294
3537
  msgid "Connection expires on 31 March 2019"
3538
  msgstr "Die Verbindung endet am 31. März 2019."
3539
 
3540
- #: includes/B2S/Ship/Item.php:298
3541
  msgid "Connection expires on 2 April 2019"
3542
  msgstr "Die Verbindung endet am 2. April 2019."
3543
 
3544
- #: includes/B2S/Ship/Item.php:311
3545
  msgid "post format"
3546
  msgstr "Postformat"
3547
 
3548
- #: includes/B2S/Ship/Item.php:326 includes/B2S/Ship/Item.php:1083
3549
  msgid "Insert full-text"
3550
  msgstr "ganzen Text einfügen"
3551
 
3552
- #: includes/B2S/Ship/Item.php:328 includes/B2S/Ship/Item.php:1085
3553
  msgid "Delete text"
3554
  msgstr "Text löschen"
3555
 
3556
- #: includes/B2S/Ship/Item.php:335 includes/B2S/Ship/Item.php:607
3557
- #: includes/B2S/Ship/Item.php:949
3558
  msgid ""
3559
  "Please keep in mind that according to Twitter’s new TOS, users are no longer "
3560
  "allowed to post identical or substantially similar content to multiple "
@@ -3565,8 +3662,8 @@ msgstr ""
3565
  "Accounts oder mehrere identische Updates auf einem Twitter Account oder auch "
3566
  "mehreren Accounts zu posten."
3567
 
3568
- #: includes/B2S/Ship/Item.php:335 includes/B2S/Ship/Item.php:607
3569
- #: includes/B2S/Ship/Item.php:949
3570
  msgid ""
3571
  "Violating these rules can result in Twitter suspending your account. Always "
3572
  "vary your Tweets with different comments, hashtags or handles to prevent "
@@ -3576,12 +3673,12 @@ msgstr ""
3576
  "sperrt. Variieren Sie Ihre Tweets mit unterschiedlichen Kommentaren, "
3577
  "Hashtags und Handles um doppelte Beiträge zu vermeiden."
3578
 
3579
- #: includes/B2S/Ship/Item.php:335 includes/B2S/Ship/Item.php:607
3580
- #: includes/B2S/Ship/Item.php:949
3581
  msgid "Learn more about this"
3582
  msgstr "Erfahre mehr darüber"
3583
 
3584
- #: includes/B2S/Ship/Item.php:339
3585
  msgid ""
3586
  "Please note: XING allows identical posts to be published only once within a "
3587
  "group and no more than three times across different groups."
@@ -3590,11 +3687,11 @@ msgstr ""
3590
  "einmal innerhalb einer Gruppe und nicht mehr als dreimal in verschiedenen "
3591
  "Gruppen."
3592
 
3593
- #: includes/B2S/Ship/Item.php:339
3594
  msgid "Read more"
3595
  msgstr "Weiterlesen"
3596
 
3597
- #: includes/B2S/Ship/Item.php:344
3598
  msgid ""
3599
  "Please keep in mind that users are not allowed to post identical or "
3600
  "substantially similar content to multiple accounts or multiple duplicate "
@@ -3604,7 +3701,7 @@ msgstr ""
3604
  "im Wesentlichen ähnliche Inhalte in mehreren Konten oder mehrere doppelte "
3605
  "Updates in einem Konto zu veröffentlichen."
3606
 
3607
- #: includes/B2S/Ship/Item.php:344
3608
  msgid ""
3609
  "Violating these rules can result in suspending your account. Always vary "
3610
  "your content with different images, comments, hashtags or handles to prevent "
@@ -3614,102 +3711,123 @@ msgstr ""
3614
  "Variieren Sie Ihre Inhalte immer mit unterschiedlichen Bildern, Kommentaren, "
3615
  "Hashtags oder Handles, um doppelte Beiträge zu vermeiden."
3616
 
3617
- #: includes/B2S/Ship/Item.php:364
3618
  msgid "hide calendar"
3619
  msgstr "Planungskalender verbergen"
3620
 
3621
- #: includes/B2S/Ship/Item.php:421 includes/B2S/Ship/Item.php:450
3622
- #: includes/B2S/Ship/Item.php:479 includes/B2S/Ship/Item.php:508
3623
- #: includes/B2S/Ship/Item.php:536 includes/B2S/Ship/Item.php:564
3624
- #: includes/B2S/Ship/Item.php:595 includes/B2S/Ship/Item.php:618
3625
- #: includes/B2S/Ship/Item.php:639 includes/B2S/Ship/Item.php:660
3626
- #: includes/B2S/Ship/Item.php:681 includes/B2S/Ship/Item.php:702
3627
- #: includes/B2S/Ship/Item.php:712
 
3628
  msgid "Write something about your post..."
3629
  msgstr "Schreibe etwas..."
3630
 
3631
- #: includes/B2S/Ship/Item.php:436 includes/B2S/Ship/Item.php:494
3632
- #: includes/B2S/Ship/Item.php:523 includes/B2S/Ship/Item.php:551
 
3633
  msgid ""
3634
  "Info: Change Open Graph Meta tags image, title and description for this "
3635
  "network"
3636
  msgstr "Info: Ändere die Open Graph Parameter für diese Netzwerk"
3637
 
3638
- #: includes/B2S/Ship/Item.php:439 includes/B2S/Ship/Item.php:468
3639
- #: includes/B2S/Ship/Item.php:497 includes/B2S/Ship/Item.php:526
3640
- #: includes/B2S/Ship/Item.php:554
3641
  msgid ""
3642
  "You want to change your link image, link title and link description for this "
3643
  "network? Click here."
3644
  msgstr ""
3645
  "Du möchtest das Bild, den Titel und die Beschreibung ändern? Hier Klicken."
3646
 
3647
- #: includes/B2S/Ship/Item.php:441 includes/B2S/Ship/Item.php:499
3648
- #: includes/B2S/Ship/Item.php:528 includes/B2S/Ship/Item.php:556
 
3649
  msgid "OG Meta title"
3650
  msgstr "OG Titel"
3651
 
3652
- #: includes/B2S/Ship/Item.php:442 includes/B2S/Ship/Item.php:500
3653
- #: includes/B2S/Ship/Item.php:529 includes/B2S/Ship/Item.php:557
 
3654
  msgid "OG Meta description"
3655
  msgstr "OG Beschreibung"
3656
 
3657
- #: includes/B2S/Ship/Item.php:465
 
 
 
 
 
 
 
 
3658
  msgid ""
3659
  "Info: Change Card Meta tags image, title and description for this network"
3660
  msgstr "Info: Ändere die Twitter Card Parameter für diese Netzwerk"
3661
 
3662
- #: includes/B2S/Ship/Item.php:470
3663
  msgid "Card Meta title"
3664
  msgstr "Card Titel"
3665
 
3666
- #: includes/B2S/Ship/Item.php:471
3667
  msgid "Card Meta description"
3668
  msgstr "Card Beschreibung"
3669
 
3670
- #: includes/B2S/Ship/Item.php:728
 
 
 
 
 
 
 
 
 
3671
  msgid "required"
3672
  msgstr "erforderlich"
3673
 
3674
- #: includes/B2S/Ship/Item.php:818
3675
  msgid "Jobs & Projects"
3676
  msgstr "Stellenangebote & Projekte"
3677
 
3678
- #: includes/B2S/Ship/Item.php:819
3679
  msgid "Events"
3680
  msgstr "Events"
3681
 
3682
- #: includes/B2S/Ship/Item.php:820
3683
  msgid "Classified Ads"
3684
  msgstr "Kleinanzeigen"
3685
 
3686
- #: includes/B2S/Ship/Item.php:822
3687
  msgid "Offer"
3688
  msgstr "Angebot"
3689
 
3690
- #: includes/B2S/Ship/Item.php:823
3691
  msgid "Request"
3692
  msgstr "Anfrage"
3693
 
3694
- #: includes/B2S/Ship/Item.php:834
3695
  msgid "The Headline..."
3696
  msgstr "Die Überschrift..."
3697
 
3698
- #: includes/B2S/Ship/Item.php:842
3699
  #, php-format
3700
  msgid "max. %s Tags"
3701
  msgstr "max. %s Tags"
3702
 
3703
- #: includes/B2S/Ship/Item.php:880
3704
  msgid "Enable Retweets for all Tweets with the selected profile"
3705
  msgstr "Retweets für alle Tweets mit dem gewählten Profil aktivieren"
3706
 
3707
- #: includes/B2S/Ship/Item.php:899 views/b2s/partials/post-edit-modal.php:73
3708
  msgid "Delay"
3709
  msgstr "Verzögerung"
3710
 
3711
- #: includes/B2S/Ship/Item.php:909 includes/B2S/Ship/Item.php:910
3712
- #: includes/B2S/Ship/Item.php:911 includes/B2S/Ship/Item.php:912
3713
  #: views/b2s/partials/post-edit-modal.php:77
3714
  #: views/b2s/partials/post-edit-modal.php:78
3715
  #: views/b2s/partials/post-edit-modal.php:79
@@ -3717,19 +3835,19 @@ msgstr "Verzögerung"
3717
  msgid "min"
3718
  msgstr "min"
3719
 
3720
- #: includes/B2S/Ship/Item.php:917
3721
  msgid "Add Retweet"
3722
  msgstr "Retweet hinzufügen"
3723
 
3724
- #: includes/B2S/Ship/Item.php:937
3725
  msgid "Share Now"
3726
  msgstr "Sofort teilen"
3727
 
3728
- #: includes/B2S/Ship/Item.php:942
3729
  msgid "Schedule Recurrent Post"
3730
  msgstr "regelmäßig Planen"
3731
 
3732
- #: includes/B2S/Ship/Item.php:978 views/b2s/partials/post-edit-modal.php:47
3733
  msgid ""
3734
  "Please note: Your account is connected via an old XING API that is no longer "
3735
  "supported by XING after March 31. Please connect your XING profile, as well "
@@ -3744,7 +3862,7 @@ msgstr ""
3744
  "mit der neuen XING-Schnittstelle. Gehe dazu in den Bereich Blog2Social "
3745
  "\"Netzwerke\" und verbinde Dein XING-Konto über die neue XING-Schnittstelle."
3746
 
3747
- #: includes/B2S/Ship/Item.php:982 views/b2s/partials/post-edit-modal.php:51
3748
  msgid ""
3749
  "Please note: Google will shut down Google+ for all private accounts "
3750
  "(profiles, pages, groups) on 2nd April 2019. You can find further "
@@ -3756,116 +3874,116 @@ msgstr ""
3756
  "Informationen zu den nächsten Schritten, u. a. dazu, wie Du Deine Fotos und "
3757
  "andere Inhalte herunterladen kannst:"
3758
 
3759
- #: includes/B2S/Ship/Item.php:985
3760
  msgid "Repeats"
3761
  msgstr "Wiederholen"
3762
 
3763
- #: includes/B2S/Ship/Item.php:986 includes/B2S/Ship/Item.php:989
3764
  msgid "Duration"
3765
  msgstr "Dauer"
3766
 
3767
- #: includes/B2S/Ship/Item.php:990
3768
  msgid "Number of repeats"
3769
  msgstr "Anzahl der Wiederholungen"
3770
 
3771
- #: includes/B2S/Ship/Item.php:991
3772
  msgid "Day of month"
3773
  msgstr "Tag im Monat"
3774
 
3775
- #: includes/B2S/Ship/Item.php:992
3776
  msgid "Repeats every (days)"
3777
  msgstr "Wiederholt sich alle X Tage"
3778
 
3779
- #: includes/B2S/Ship/Item.php:994
3780
  msgid "Start date"
3781
  msgstr "Startdatum"
3782
 
3783
- #: includes/B2S/Ship/Item.php:995
3784
  msgid "Time to publish"
3785
  msgstr "Veröffentlichungszeitpunkt"
3786
 
3787
- #: includes/B2S/Ship/Item.php:1004
3788
  msgid "weekly"
3789
  msgstr "wöchentlich"
3790
 
3791
- #: includes/B2S/Ship/Item.php:1005
3792
  msgid "monthly"
3793
  msgstr "monatlich"
3794
 
3795
- #: includes/B2S/Ship/Item.php:1006
3796
  msgid "own period"
3797
  msgstr "Eigener Zeitraum"
3798
 
3799
- #: includes/B2S/Ship/Item.php:1012
3800
  msgid "Week"
3801
  msgstr "Woche"
3802
 
3803
- #: includes/B2S/Ship/Item.php:1012
3804
  msgid "Weeks"
3805
  msgstr "Wochen"
3806
 
3807
- #: includes/B2S/Ship/Item.php:1021
3808
  msgid "Month"
3809
  msgstr "Monat"
3810
 
3811
- #: includes/B2S/Ship/Item.php:1021
3812
  msgid "Months"
3813
  msgstr "Monate"
3814
 
3815
- #: includes/B2S/Ship/Item.php:1041
3816
  msgid "End Of Month"
3817
  msgstr "Monatsende"
3818
 
3819
- #: includes/B2S/Ship/Item.php:1046
3820
  msgid "Timespan"
3821
  msgstr "Zeitspanne"
3822
 
3823
- #: includes/B2S/Ship/Item.php:1049 views/b2s/partials/post-edit-modal.php:63
3824
  #: views/b2s/partials/post-edit-modal.php:66
3825
  msgid "Time"
3826
  msgstr "Mal"
3827
 
3828
- #: includes/B2S/Ship/Item.php:1054
3829
  msgid "Mon"
3830
  msgstr "Mo"
3831
 
3832
- #: includes/B2S/Ship/Item.php:1055
3833
  msgid "Tue"
3834
  msgstr "Di"
3835
 
3836
- #: includes/B2S/Ship/Item.php:1056
3837
  msgid "Wed"
3838
  msgstr "Mi"
3839
 
3840
- #: includes/B2S/Ship/Item.php:1057
3841
  msgid "Thu"
3842
  msgstr "Do"
3843
 
3844
- #: includes/B2S/Ship/Item.php:1058
3845
  msgid "Fri"
3846
  msgstr "Fr"
3847
 
3848
- #: includes/B2S/Ship/Item.php:1059
3849
  msgid "Sat"
3850
  msgstr "Sa"
3851
 
3852
- #: includes/B2S/Ship/Item.php:1060
3853
  msgid "Sun"
3854
  msgstr "So"
3855
 
3856
- #: includes/B2S/Ship/Item.php:1067
3857
  msgid "add another post"
3858
  msgstr "einen weiteren Post anlegen"
3859
 
3860
- #: includes/B2S/Ship/Item.php:1081
3861
  msgid "Copy from original"
3862
  msgstr "Originaltext kopieren"
3863
 
3864
- #: includes/B2S/Ship/Item.php:1097
3865
  msgid "Apply Settings To All Networks"
3866
  msgstr "Planung für alle Netzwerke übernehmen"
3867
 
3868
- #: includes/B2S/Ship/Item.php:1098
3869
  msgid "Save as best time for this network"
3870
  msgstr "Diese Zeit als \"Beste Zeit\" für dieses Netzwerk speichern"
3871
 
@@ -3924,14 +4042,15 @@ msgstr ""
3924
  #: includes/B2S/Ship/Save.php:403
3925
  msgid ""
3926
  "-For scheduled posts, Blog2Social will save your post and move it to the "
3927
- "\"Scheduled Posts\" tab on your \"Posts & Sharing\" navigation bar. On your "
3928
- "scheduled date and time, your post will move to the \"Instant Sharing\" tab "
3929
- "and you can click on \"Share\" to post it to your account instantly."
3930
  msgstr ""
3931
- "Bei geplanten Beiträgen speichert Blog2Social Deinen Beitrag und verschiebt "
3932
- "ihn in das Geplante Beiträge Tab in der Navigationsleiste unter \"Beiträge\"."
3933
- " An Deinem geplanten Termin erscheint dein Post im Instant Sharing Tab. "
3934
- "Klicke dann auf Teilen, um Deinen Post dann an Dein Google+ Konto zu senden!"
 
3935
 
3936
  #: includes/B2S/Ship/Save.php:404
3937
  msgid ""
@@ -4801,6 +4920,10 @@ msgstr ""
4801
  "Die kostenlose Testversion kann nicht gestartet werden. Dieser Blog wurde "
4802
  "bereits für die kostenlose Testversion registriert."
4803
 
 
 
 
 
4804
  #: views/b2s/html/header.php:326
4805
  msgid "Share on multiple accounts per network"
4806
  msgstr "Teile auf mehreren Netzwerk-Konten "
@@ -5044,11 +5167,6 @@ msgstr "Kontaktdaten"
5044
  msgid "Press"
5045
  msgstr "Presse"
5046
 
5047
- #: views/prg/html/form.php:84 views/prg/html/form.php:86
5048
- #: views/prg/html/form.php:161 views/prg/html/form.php:163
5049
- msgid "Name"
5050
- msgstr "Name"
5051
-
5052
  #: views/prg/html/form.php:95 views/prg/html/form.php:172
5053
  msgid "Mrs."
5054
  msgstr "Frau"
2
  # This file is distributed under the same license as the Plugins - Blog2Social: Social Media Auto Post &amp; Scheduler - Stable (latest release) package.
3
  msgid ""
4
  msgstr ""
5
+ "PO-Revision-Date: 2020-01-28 09:07+0000\n"
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
12
  "Project-Id-Version: Plugins - Blog2Social: Social Media Auto Post &amp; "
13
  "Scheduler - Stable (latest release)\n"
14
  "Report-Msgid-Bugs-To: \n"
15
+ "POT-Creation-Date: 2020-01-28 08:44+0000\n"
16
  "Last-Translator: marius <wolf.12345@gmx.de>\n"
17
  "Language-Team: Deutsch\n"
18
+ "X-Loco-Version: 2.3.0; wp-5.4-alpha-47111"
19
 
20
  #: includes/Loader.php:45
21
  msgid "Modify pin board"
33
  msgid "Modify forum"
34
  msgstr "Modify forum"
35
 
36
+ #: includes/Loader.php:77
37
+ msgid "Bitly"
38
+ msgstr "Bitly"
39
 
40
+ #: includes/Loader.php:77
41
+ msgid "Rebrandly"
42
+ msgstr "Rebrandly"
43
+
44
+ #: includes/Loader.php:399
45
+ msgid "Blog2Social: Autoposter"
46
+ msgstr "Blog2Social: Auto-Poster"
47
 
48
+ #: includes/Loader.php:400
49
+ msgid "Blog2Social: Social Media Content Calendar"
50
+ msgstr "Blog2Social: Social-Media-Content-Kalender"
51
+
52
+ #: includes/Loader.php:754
53
  msgid "This post will be shared into your social media from"
54
  msgstr ""
55
  "Dein Beitrag ist zur Veröffentlichung in den Social Media geplant ab dem"
56
 
57
+ #: includes/Loader.php:754 includes/Loader.php:756
58
  msgid "show details"
59
  msgstr "siehe Details"
60
 
61
+ #: includes/Loader.php:756
62
  msgid "This post will be shared on social media in 2-3 minutes!"
63
  msgstr "Dein Beitrag wird in ca. 2-3 Minuten in die Social Media eingestellt!"
64
 
65
+ #: includes/Loader.php:760
66
  msgid ""
67
+ "Please make sure that your post, page or custom post type is published or "
68
+ "scheduled to be published on this blog before you try to post it with "
69
+ "Blog2Social. Published WP posts will be shared with your chosen permalink, "
70
+ "scheduled WP posts will be shared with the posting id link."
71
  msgstr ""
72
+ "Bitte achte darauf, dass Dein Beitrag, Deine Seite oder Dein Custom Post "
73
+ "Type auf diesem Blog veröffentlicht oder zur Veröffentlichung vorgeplant ist,"
74
+ " bevor Du versucht den Beitrag mit Blog2Social zu teilen. Veröffentlichte WP-"
75
+ "Posts werden mit dem von Dir gewählten Permalink geteilt, geplante WP-Posts "
76
+ "werden mit dem Posting-ID-Link geteilt."
77
 
78
+ #: includes/Loader.php:763 includes/B2S/PostBox.php:133
79
+ #: includes/B2S/Settings/Item.php:137
80
  msgid ""
81
  "There are no social network accounts assigned to your selected network "
82
  "collection. Please assign at least one social network account or select "
86
  "verbunden. Bitte füge mindestens ein Social Media Account hinzu oder wähle "
87
  "eine andere Netzwerkgruppierung aus. "
88
 
89
+ #: includes/Loader.php:775 views/b2s/html/sidebar.php:45
90
  #: views/b2s/html/sidebar.ship.php:44
91
  msgid "Upgrade to Premium"
92
  msgstr "Premium freischalten"
93
 
94
+ #: includes/Loader.php:827 views/b2s/html/post.navbar.php:18
95
  msgid "Notifications"
96
  msgstr "Benachrichtigungen"
97
 
98
+ #: includes/Loader.php:827 views/b2s/html/post.navbar.php:17
99
  #: views/b2s/html/sidebar.php:119
100
  msgid "Shared Posts"
101
  msgstr "geteilte Beiträge"
102
 
103
+ #: includes/Loader.php:827 views/b2s/html/post.navbar.php:14
104
  #: views/b2s/html/sidebar.php:113
105
  msgid "Instant Sharing"
106
  msgstr "Instant Sharing"
107
 
108
+ #: includes/Loader.php:827 views/b2s/html/post.navbar.php:10
109
  #: views/b2s/html/post.navbar.php:12 views/b2s/html/sidebar.php:88
110
  #: views/b2s/html/sidebar.php:110
111
  msgid "Drafts"
112
  msgstr "Entwürfe"
113
 
114
+ #: includes/Loader.php:827 views/b2s/html/post.navbar.php:15
115
  #: views/b2s/html/sidebar.php:116 views/b2s/widgets/posts.php:18
116
  msgid "Scheduled Posts"
117
  msgstr "geplante Beiträge"
118
 
119
+ #: includes/Loader.php:827
120
  msgid "Social Media Post Drafts"
121
  msgstr "Social Media Posts Entwürfe"
122
 
123
+ #: includes/Loader.php:827 views/b2s/html/post.navbar.php:9
124
  #: views/b2s/html/sidebar.php:107
125
  msgid "Favorites"
126
  msgstr "Favoriten"
127
 
128
+ #: includes/Loader.php:828 includes/B2S/Network/Item.php:147
129
+ #: includes/B2S/Network/Item.php:149 includes/B2S/Network/Item.php:151
130
+ #: includes/B2S/Network/Item.php:218 includes/B2S/Network/Item.php:582
131
+ #: includes/B2S/Settings/Item.php:266 includes/B2S/Ship/Portale.php:39
132
  #: includes/B2S/Ship/Portale.php:41 includes/B2S/Ship/Portale.php:41
133
  msgid "Profile"
134
  msgstr "Profil"
135
 
136
+ #: includes/Loader.php:828 includes/B2S/Network/Item.php:155
137
+ #: includes/B2S/Network/Item.php:155 includes/B2S/Network/Item.php:284
138
+ #: includes/B2S/Network/Item.php:584 includes/B2S/Settings/Item.php:266
139
  #: includes/B2S/Ship/Portale.php:35 includes/B2S/Ship/Portale.php:35
140
  msgid "Page"
141
  msgstr "Seite"
142
 
143
+ #: includes/Loader.php:828 includes/B2S/Network/Item.php:158
144
+ #: includes/B2S/Network/Item.php:351 includes/B2S/Network/Item.php:587
145
  #: includes/B2S/Ship/Portale.php:31 includes/B2S/Ship/Portale.php:32
146
  msgid "Group"
147
  msgstr "Gruppe"
148
 
149
+ #: includes/Loader.php:829 views/prg/html/form.php:74
150
  msgid "Company"
151
  msgstr "Unternehmen"
152
 
153
+ #: includes/Loader.php:829
154
  msgid "Business"
155
  msgstr "Business"
156
 
157
+ #: includes/Loader.php:830
158
  #, php-format
159
  msgid ""
160
  "The network could not publish your post. Please see <a target=\"_blank\" "
163
  "Dein Post ist vom Netzwerk nicht veröffentlicht worden. Siehe <a "
164
  "target=\"_blank\" href=\"%s\">FAQ</a>"
165
 
166
+ #: includes/Loader.php:831
167
  msgid ""
168
  "Your authorization has expired. Please reconnect your account in the "
169
  "Blog2Social network settings."
171
  "Deine Authorisierung ist abgelaufen. Bitte verbinde Deinen Account in den "
172
  "Blog2Social Netzwerkeinstellungen erneut."
173
 
174
+ #: includes/Loader.php:832
175
  msgid "The network has marked the post as spam or abusive."
176
  msgstr "Das Netzwerk hat Deinen Post als Spam oder missbräuchlich markiert."
177
 
178
+ #: includes/Loader.php:833
179
  msgid ""
180
  "We don't have the permission to publish your post. Please check your "
181
  "authorization."
183
  "Wir haben nicht Deine Erlaubnis, den Post zu veröffentlichen. Bitte "
184
  "überprüfe deine Autorisierung."
185
 
186
+ #: includes/Loader.php:834
187
  #, php-format
188
  msgid ""
189
  "Your authorization is interrupted. Please check your authorization. Please "
192
  "Deine Autorisierung ist unterbrochen. Bitte überprüfe Deine Verbindung. "
193
  "Siehe <a target=\"_blank\" href=\"%s\">FAQ</a>"
194
 
195
+ #: includes/Loader.php:835
196
  msgid "Your daily limit has been reached."
197
  msgstr "Dein tägliches Beitragslimit wurde erreicht."
198
 
199
+ #: includes/Loader.php:836
200
  msgid ""
201
  "Your post could not be posted, because your image is not available or the "
202
  "image source does not allow to publish"
204
  "Dein Beitrag kann nicht veröffentlicht werden, da Dein Bild nicht verfügbar "
205
  "ist oder die Bildquelle es nicht erlaubt zu veröffentlichen"
206
 
207
+ #: includes/Loader.php:837
208
  #, php-format
209
  msgid ""
210
  "The network has blocked your account. Please see <a target=\"_blank\" "
213
  "Das Netzwerk hat Dein Konto gesperrt. Siehe <a target=\"_blank\" href=\"%s\">"
214
  "FAQ</a>"
215
 
216
+ #: includes/Loader.php:838
217
  #, php-format
218
  msgid ""
219
  "The number of images is reached. Please see <a target=\"_blank\" href=\"%s\">"
222
  "Die Anzahl der Bilder ist erreicht. Siehe <a target=\"_blank\" href=\"%s\">"
223
  "FAQ</a>"
224
 
225
+ #: includes/Loader.php:839
226
  msgid ""
227
  "Your daily limit for this network has been reached. Please try again later."
228
  msgstr ""
229
  "Dein tägliches Beitragslimit für dieses Netzwerk wurde erreicht. Bitte "
230
  "versuche es später noch einmal."
231
 
232
+ #: includes/Loader.php:840
233
  #, php-format
234
  msgid ""
235
  "The network can not publish special characters such as Emoji. Please see <a "
238
  "Das Netzwerk kann keine Sonderzeichen wie Emoji veröffentlichen. Siehe <a "
239
  "target=\"_blank\" href=\"%s\">FAQ</a>"
240
 
241
+ #: includes/Loader.php:841
242
  msgid "Your post is a duplicate."
243
  msgstr "Du kannst auf dem Netzwerke keine Duplikate veröffentlichen."
244
 
245
+ #: includes/Loader.php:842
246
  msgid "The network requires a public url."
247
  msgstr "Das Netzwerk benötigt eine öffentlich zugängliche URL."
248
 
249
+ #: includes/Loader.php:843
250
  msgid ""
251
  "Your blog post was not available for the network at the time of publication."
252
  msgstr ""
253
  "Dein Blogbeitrag war zum Zeitpunkt der Veröffentlichung für das Netzwerk "
254
  "nicht verfügbar."
255
 
256
+ #: includes/Loader.php:844
257
  msgid "You have already retweeted this post."
258
  msgstr "Du hast diesen Post bereits retweetet."
259
 
260
+ #: includes/Loader.php:845
261
  msgid ""
262
  "This XING API is no longer supported by XING. Please connect your XING "
263
  "accounts with the new XING interface to reschedule your posts."
266
  "Deinen XING-Konten über die neue XING-Schnittstelle, um Deine Beiträge neu "
267
  "zu planen."
268
 
269
+ #: includes/Loader.php:846
270
+ msgid "An image is required to post on this social network."
271
+ msgstr ""
272
+ "Für die Veröffentlichung in diesem sozialen Netzwerk ist ein Bild "
273
+ "erforderlich."
274
 
275
+ #: includes/Loader.php:847
276
  msgid "To share social media posts on Reddit or Diigo, a link is required."
277
  msgstr ""
278
  "Um Social Media Posts auf Reddit oder Diigo zu teilen, ist ein Link "
279
  "erforderlich."
280
 
281
+ #: includes/Loader.php:848
282
  msgid ""
283
  "Your post could not be posted, because your image can not be processed by "
284
  "the network."
286
  "Dein Beitrag kann nicht veröffentlicht werden, da Dein Bild nicht vom "
287
  "Netzwerk verarbeitet werden kann"
288
 
289
+ #: includes/Loader.php:849
290
  #, php-format
291
  msgid ""
292
  "Instagram published your post without text. Please see <a target=\"_blank\" "
295
  "Instagram hat Deinen Beitrag ohne Text veröffentlicht. Siehe <a "
296
  "target=\"_blank\" href=\"%s\">FAQ</a>"
297
 
298
+ #: includes/Loader.php:850
299
  msgid "Your group can not be found by the network."
300
  msgstr "Deine Gruppe kann vom Netzwerk nicht gefunden werden."
301
 
302
+ #: includes/Loader.php:906 includes/Loader.php:949
303
  msgid "Dashboard"
304
  msgstr "Dashboard"
305
 
306
+ #: includes/Loader.php:907
307
  msgid "Share Website & Blog Content"
308
  msgstr "Webseiten- & Blog Content teilen"
309
 
310
+ #: includes/Loader.php:907 includes/Loader.php:956
311
  msgid "Site & Blog Content"
312
  msgstr "Seiten & Blog Content"
313
 
314
+ #: includes/Loader.php:908
315
  msgid "Create Social Media Posts"
316
  msgstr "Erstelle Social Media Posts"
317
 
318
+ #: includes/Loader.php:908 includes/Loader.php:963
319
  msgid "Social Media Posts"
320
  msgstr "Social Media Posts"
321
 
322
+ #: includes/Loader.php:909 includes/Loader.php:970 views/b2s/dashboard.php:31
323
  #: views/b2s/html/post.navbar.php:19 views/b2s/html/sidebar.php:122
324
  msgid "Calendar"
325
  msgstr "Kalender"
326
 
327
+ #: includes/Loader.php:910 includes/Loader.php:977
328
  msgid "Networks"
329
  msgstr "Netzwerke"
330
 
331
+ #: includes/Loader.php:911 includes/Loader.php:983
332
  #: views/b2s/html/sidebar.php:131
333
  msgid "Settings"
334
  msgstr "Einstellungen"
335
 
336
+ #: includes/Loader.php:913 includes/Loader.php:991
337
  msgid "PR-Service"
338
  msgstr "PR-Service"
339
 
340
+ #: includes/Loader.php:915 includes/Loader.php:999 views/b2s/html/header.php:35
341
  #: views/b2s/html/sidebar.php:134 views/b2s/html/sidebar.ship.php:66
342
  msgid "Help & Support"
343
  msgstr "Hilfe & Support"
344
 
345
+ #: includes/Loader.php:917
346
  msgid "Premium"
347
  msgstr "Premium"
348
 
349
+ #: includes/Loader.php:917 includes/Loader.php:1007
350
  msgid "PREMIUM"
351
  msgstr "PREMIUM"
352
 
353
+ #: includes/Loader.php:940 views/b2s/html/sidebar.php:25
354
  #: views/b2s/html/sidebar.ship.php:24
355
  msgid "Blog2Social"
356
  msgstr "Blog2Social"
357
 
358
+ #: includes/Loader.php:1448
359
  msgid "Blog2Social needs Wordpress Version 4.7.0 or higher."
360
  msgstr "Blog2Social benötigt WordPress Version 4.7.0 oder höher."
361
 
362
+ #: includes/Loader.php:1448 includes/System.php:72 includes/System.php:78
363
  #: includes/System.php:84
364
  #, php-format
365
  msgid ""
369
  "<a href=\"%s\" target=\"_blank\">Weitere Informationen und Hilfe findest Du "
370
  "in unserem FAQs.</a>"
371
 
372
+ #: includes/Loader.php:1448 includes/Loader.php:1469 includes/Loader.php:1721
373
  msgid "or"
374
  msgstr "oder"
375
 
376
+ #: includes/Loader.php:1448 includes/Loader.php:1469 includes/Loader.php:1721
377
  msgid "back to install plugins"
378
  msgstr "zurück zur Pluginübersicht"
379
 
433
  "oder höher läuft, oder bitten Sie Ihren Server-Administrator, dies für Sie "
434
  "zu tun."
435
 
436
+ #: includes/Tools.php:277 views/b2s/html/sidebar.php:30
437
  #: views/b2s/html/sidebar.ship.php:29
438
  msgid "License"
439
  msgstr "Lizenz"
440
 
441
+ #: includes/Tools.php:292
442
  msgid "Greece"
443
  msgstr "Griechenland"
444
 
445
+ #: includes/Tools.php:293
446
  msgid "India"
447
  msgstr "Indien"
448
 
449
+ #: includes/Tools.php:294
450
  msgid "United States of America"
451
  msgstr "Vereinigte Staaten von Amerika"
452
 
453
+ #: includes/Tools.php:295
454
  msgid "Ireland"
455
  msgstr "Irland"
456
 
457
+ #: includes/Tools.php:296
458
  msgid "Italy"
459
  msgstr "Italien"
460
 
461
+ #: includes/Tools.php:297
462
  msgid "Switzerland"
463
  msgstr "Schweiz"
464
 
465
+ #: includes/Tools.php:298
466
  msgid "Czechoslovakia"
467
  msgstr "Tschechoslowakei"
468
 
469
+ #: includes/Tools.php:299
470
  msgid "Indonesia"
471
  msgstr "Indonesien"
472
 
473
+ #: includes/Tools.php:300
474
  msgid "Spain"
475
  msgstr "Spanien"
476
 
477
+ #: includes/Tools.php:301
478
  msgid "Canada"
479
  msgstr "Kanada"
480
 
481
+ #: includes/Tools.php:302
482
  msgid "Great Britain"
483
  msgstr "Großbritannien"
484
 
485
+ #: includes/Tools.php:303
486
  msgid "Russia"
487
  msgstr "Russland"
488
 
489
+ #: includes/Tools.php:304
490
  msgid "Netherlands"
491
  msgstr "Niederlande"
492
 
493
+ #: includes/Tools.php:305 includes/Tools.php:319
494
  msgid "Portugal"
495
  msgstr "Portugal"
496
 
497
+ #: includes/Tools.php:306
498
  msgid "Norway"
499
  msgstr "Norwegen"
500
 
501
+ #: includes/Tools.php:307
502
  msgid "Turkey"
503
  msgstr "Türkei"
504
 
505
+ #: includes/Tools.php:308
506
  msgid "Australia"
507
  msgstr "Australien"
508
 
509
+ #: includes/Tools.php:309
510
  msgid "Austria"
511
  msgstr "Österreich"
512
 
513
+ #: includes/Tools.php:310
514
  msgid "Poland"
515
  msgstr "Polen"
516
 
517
+ #: includes/Tools.php:311
518
  msgid "France"
519
  msgstr "Frankreich"
520
 
521
+ #: includes/Tools.php:312
522
  msgid "Romania"
523
  msgstr "Rumänien"
524
 
525
+ #: includes/Tools.php:313
526
  msgid "Germany"
527
  msgstr "Deutschland"
528
 
529
+ #: includes/Tools.php:314
530
  msgid "Denmark"
531
  msgstr "Dänemark"
532
 
533
+ #: includes/Tools.php:315
534
  msgid "New Zealand"
535
  msgstr "Neuseeland"
536
 
537
+ #: includes/Tools.php:316
538
  msgid "Finland"
539
  msgstr "Finnland"
540
 
541
+ #: includes/Tools.php:317
542
  msgid "Hungary"
543
  msgstr "Ungarn"
544
 
545
+ #: includes/Tools.php:318
546
  msgid "Japan"
547
  msgstr "Japan"
548
 
549
+ #: includes/Tools.php:320
550
  msgid "Argentina"
551
  msgstr "Argentinien"
552
 
553
+ #: includes/Tools.php:321
554
  msgid "Korea"
555
  msgstr "Korea"
556
 
557
+ #: includes/Tools.php:322
558
  msgid "Sweden"
559
  msgstr "Schweden"
560
 
561
+ #: includes/Tools.php:323
562
  msgid "Mexico"
563
  msgstr "Mexiko"
564
 
565
+ #: includes/Tools.php:324
566
  msgid "Slovakia"
567
  msgstr "Slowakei"
568
 
569
+ #: includes/Tools.php:325
570
  msgid "Chile"
571
  msgstr "Chile"
572
 
573
+ #: includes/Tools.php:326
574
  msgid "Colombia"
575
  msgstr "Kolumbien"
576
 
577
+ #: includes/Tools.php:327
578
  msgid "South Africa"
579
  msgstr "Südafrika"
580
 
581
+ #: includes/Tools.php:328
582
  msgid "Philippines"
583
  msgstr "Philippinen"
584
 
585
+ #: includes/Tools.php:331
586
  msgid "is determined automatically"
587
  msgstr "wird automatisch ermittelt"
588
 
589
+ #: includes/Tools.php:338
590
  msgid "Search"
591
  msgstr "Suche"
592
 
593
+ #: includes/Tools.php:339
594
  msgid "Recently Used"
595
  msgstr "Zuletzt verwendet"
596
 
597
+ #: includes/Tools.php:340
598
  msgid "Smileys & People"
599
  msgstr "Smileys & Personen"
600
 
601
+ #: includes/Tools.php:341
602
  msgid "Animals & Nature"
603
  msgstr "Tiere & Natur"
604
 
605
+ #: includes/Tools.php:342
606
  msgid "Food & Drink"
607
  msgstr "Essen & Trinken"
608
 
609
+ #: includes/Tools.php:343
610
  msgid "Activities"
611
  msgstr "Aktivitäten"
612
 
613
+ #: includes/Tools.php:344
614
  msgid "Travel & Places"
615
  msgstr "Reisen & Orte"
616
 
617
+ #: includes/Tools.php:345
618
  msgid "Objects"
619
  msgstr "Objekte"
620
 
621
+ #: includes/Tools.php:346
622
  msgid "Symbols"
623
  msgstr "Symbole"
624
 
625
+ #: includes/Tools.php:347
626
  msgid "Flags"
627
  msgstr "Flaggen"
628
 
629
+ #: includes/Tools.php:348
630
  msgid "No emojis found"
631
  msgstr "Keine Ergebnisse"
632
 
673
  msgid "Please contact our support!"
674
  msgstr "Bitte kontaktiere unseren Support!"
675
 
676
+ #: includes/Ajax/Post.php:1729 views/b2s/network.php:6
677
+ #: includes/B2S/Network/Item.php:216 includes/B2S/Network/Item.php:282
678
+ #: includes/B2S/Network/Item.php:349 includes/B2S/Network/Item.php:475
 
679
  msgid "Unknown username"
680
  msgstr "unbekannter Blog-Nutzer"
681
 
682
+ #: includes/Ajax/Post.php:1730 includes/B2S/Network/Item.php:476
683
+ #: includes/B2S/Post/Item.php:459 includes/B2S/Post/Item.php:479
684
+ #: includes/B2S/Post/Item.php:726 includes/B2S/Post/Item.php:775
685
+ #: includes/B2S/Settings/Item.php:92 includes/B2S/Ship/Item.php:986
686
+ #: includes/B2S/Ship/Item.php:1136
687
  msgid "delete"
688
  msgstr "löschen"
689
 
690
+ #: includes/B2S/PostBox.php:22
691
  msgid "Please see FAQ"
692
  msgstr "Siehe FAQ"
693
 
694
+ #: includes/B2S/PostBox.php:130 views/b2s/ship.php:660
 
 
 
 
695
  #: views/b2s/html/header.php:55
696
  msgid "The connection to the server failed. Try again!"
697
  msgstr ""
698
  "Eine Verbindung zum Server konnte nicht hergestellt werden. Versuche es "
699
  "erneut!"
700
 
701
+ #: includes/B2S/PostBox.php:131
702
  msgid ""
703
  "WordPress uses heartbeats by default, Blog2Social as well. Please enable "
704
  "heartbeats for using Blog2Social!"
706
  "WordPress verwendet standardmäßig den Heartbeat und Blog2Social auch. "
707
  "Aktiviere den Heartbeat damit Du Blog2Social problemlos nutzen kannst."
708
 
709
+ #: includes/B2S/PostBox.php:132 includes/B2S/PostBox.php:134
710
  msgid ""
711
  "Your post is still on draft or pending status. Please make sure that your "
712
  "post is published or scheduled to be published on this blog. You can then "
716
  "geplant ist. Dann kannst Du Deinen Beitrag mit Blog2Social anpassen und "
717
  "planen."
718
 
719
+ #: includes/B2S/PostBox.php:133 includes/B2S/PostBox.php:230
720
+ #: includes/B2S/Settings/Item.php:137 includes/B2S/Settings/Item.php:495
721
  msgid "Network settings"
722
  msgstr "Netzwerkeinstellungen"
723
 
724
+ #: includes/B2S/PostBox.php:135 views/b2s/ship.php:198
725
  msgid ""
726
  "Notice: Please make sure, that your website address is reachable. The Social "
727
  "Networks do not allow postings from local installations."
729
  "Hinweis: Bitte stelle sicher, dass Dein Blog von außen erreichbar ist. Bei "
730
  "Fragen wende Dich bitte an unseren Support."
731
 
732
+ #: includes/B2S/PostBox.php:152
733
  msgid "Custom Sharing & Scheduling"
734
  msgstr "Anpassen & Planen"
735
 
736
+ #: includes/B2S/PostBox.php:152 includes/B2S/PostBox.php:155
737
  #: views/b2s/ship.php:76 views/b2s/ship.php:166 views/b2s/ship.php:258
738
+ #: includes/B2S/Network/Item.php:172 includes/B2S/Settings/Item.php:509
739
+ #: includes/B2S/Ship/Item.php:950
740
  msgid "Info"
741
  msgstr "Info"
742
 
743
+ #: includes/B2S/PostBox.php:153
744
  msgid "Customize & Schedule Social Media Posts"
745
  msgstr "Social Media Posts anpassen & planen"
746
 
747
+ #: includes/B2S/PostBox.php:155
748
+ msgid "The Autoposter is"
749
+ msgstr "Der Auto-Poster ist"
750
 
751
+ #: includes/B2S/PostBox.php:155
752
+ msgid "activated"
753
+ msgstr "aktiviert"
 
 
 
 
 
 
 
754
 
755
+ #: includes/B2S/PostBox.php:155
756
+ msgid "deactivated"
757
+ msgstr "deaktiviert"
758
+
759
+ #: includes/B2S/PostBox.php:157
760
+ msgid "Shared"
761
+ msgstr "Wie oft geteilt?"
762
+
763
+ #: includes/B2S/PostBox.php:157
764
+ msgid "times"
765
+ msgstr "Mal"
766
+
767
+ #: includes/B2S/PostBox.php:158
768
+ msgid "Last shared"
769
+ msgstr "Letzte Veröffentlichung"
770
 
771
+ #: includes/B2S/PostBox.php:161
772
+ msgid "Advanced settings"
773
+ msgstr "Erweiterte Einstellungen"
774
+
775
+ #: includes/B2S/PostBox.php:164
776
  msgid "enable Auto-Posting"
777
  msgstr "Auto-Posting aktivieren"
778
 
779
+ #: includes/B2S/PostBox.php:166 includes/B2S/Ship/Item.php:378
780
+ msgid "show calendar"
781
+ msgstr "Planungskalender anzeigen"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
782
 
783
+ #: includes/B2S/PostBox.php:180
784
  msgid "Blog2Social: Customize & Schedule Social Media Posts"
785
  msgstr "Blog2Social : Beiträge anpassen & planen"
786
 
787
+ #: includes/B2S/PostBox.php:183
788
  msgid ""
789
  "Customize and schedule your social media posts on the one page preview for "
790
  "all your selected networks: tailor your posts with individual comments, "
798
  "mehrfach oder wiederholt, um mehr Sichtbarkeit und Feedback von Deiner "
799
  "Community zu erzielen"
800
 
801
+ #: includes/B2S/PostBox.php:192 views/b2s/html/footer.php:305
802
  #: views/b2s/html/footer.php:345
803
  msgid "Blog2Social: Social Media Auto-Posting"
804
  msgstr "Blog2Social: Social Media Auto-Posting"
805
 
806
+ #: includes/B2S/PostBox.php:196 views/b2s/html/footer.php:309
807
  msgid ""
808
  "Share your blog posts with the Auto Poster: Your blog posts will be shared "
809
  "automatically on your social media channels as soon as you publish or update "
816
  "in WordPress vorgeplante Blogbeiträge automatisch geteilt werden, sobald sie "
817
  "veröffentlicht werden."
818
 
819
+ #: includes/B2S/PostBox.php:197 views/b2s/html/footer.php:310
820
  #, php-format
821
  msgid ""
822
  "<a target=\"_blank\" href=\"%s\">Learn how to set up auto posting for your "
825
  "<a target=\"_blank\" href=\"%s\">Erfahre, wie Du den Auto-Poster für Deine "
826
  "Blogbeiträge einrichtest.</a>"
827
 
828
+ #: includes/B2S/PostBox.php:201 views/b2s/html/footer.php:316
829
  #: views/b2s/html/footer.php:355
830
  msgid "You want to auto-post your blog post?"
831
  msgstr "Du möchtest Deinen Beitrag automatisch posten?"
832
 
833
+ #: includes/B2S/PostBox.php:202 views/b2s/curation.php:171
834
  #: views/b2s/curation.php:210 views/b2s/post.calendar.php:281
835
  #: views/b2s/ship.php:309 views/b2s/ship.php:369 views/b2s/ship.php:415
836
  #: views/b2s/html/footer.php:26 views/b2s/html/footer.php:144
840
  msgid "With Blog2Social Premium you can:"
841
  msgstr "Mit Blog2Social kannst Du:"
842
 
843
+ #: includes/B2S/PostBox.php:205 views/b2s/curation.php:174
844
  #: views/b2s/curation.php:213 views/b2s/post.calendar.php:284
845
  #: views/b2s/ship.php:312 views/b2s/ship.php:372 views/b2s/ship.php:418
846
  #: views/b2s/html/footer.php:29 views/b2s/html/footer.php:147
850
  msgid "Post on pages and groups"
851
  msgstr "Poste auf Seiten und in Gruppen"
852
 
853
+ #: includes/B2S/PostBox.php:206 views/b2s/curation.php:175
854
  #: views/b2s/curation.php:214 views/b2s/post.calendar.php:285
855
  #: views/b2s/ship.php:313 views/b2s/ship.php:373 views/b2s/ship.php:419
856
  #: views/b2s/html/footer.php:30 views/b2s/html/footer.php:148
860
  msgid "Share on multiple profiles, pages and groups"
861
  msgstr "Auf mehreren Profilen, Seiten und Gruppen teilen"
862
 
863
+ #: includes/B2S/PostBox.php:207 views/b2s/curation.php:176
864
  #: views/b2s/curation.php:215 views/b2s/post.calendar.php:286
865
  #: views/b2s/ship.php:314 views/b2s/ship.php:374 views/b2s/ship.php:420
866
  #: views/b2s/html/footer.php:31 views/b2s/html/footer.php:65
872
  " Auto-posten und Auto-planen: Beiträge automatisch bei Veröffentlichung oder "
873
  "Aktualisierung posten und zeitversetzt planen"
874
 
875
+ #: includes/B2S/PostBox.php:208 views/b2s/curation.php:177
876
  #: views/b2s/curation.php:216 views/b2s/post.calendar.php:287
877
  #: views/b2s/ship.php:315 views/b2s/ship.php:375 views/b2s/ship.php:421
878
  #: views/b2s/html/footer.php:32 views/b2s/html/footer.php:150
882
  msgid "Schedule your posts at the best times on each network"
883
  msgstr "Plane Deine Beiträge zu den besten Zeiten für jedes Netzwerk"
884
 
885
+ #: includes/B2S/PostBox.php:209 views/b2s/curation.php:178
886
  #: views/b2s/curation.php:217 views/b2s/post.calendar.php:288
887
  #: views/b2s/ship.php:316 views/b2s/ship.php:376 views/b2s/ship.php:422
888
  #: views/b2s/html/footer.php:33 views/b2s/html/footer.php:151
894
  "social media posts"
895
  msgstr " Beste Zeiten Manager: vordefinierte Zeiten für Deine Beiträge nutzen"
896
 
897
+ #: includes/B2S/PostBox.php:210 views/b2s/curation.php:179
898
  #: views/b2s/curation.php:218 views/b2s/post.calendar.php:289
899
  #: views/b2s/ship.php:317 views/b2s/ship.php:377 views/b2s/ship.php:423
900
  #: views/b2s/html/footer.php:34 views/b2s/html/footer.php:152
906
  "Veröffentlichungen zur besten Zeit pro Netzwerk planen: einmalig, mehrmalig "
907
  "oder nach einem regelmäßigen Muster"
908
 
909
+ #: includes/B2S/PostBox.php:211 views/b2s/curation.php:180
910
  #: views/b2s/curation.php:219 views/b2s/post.calendar.php:290
911
  #: views/b2s/ship.php:318 views/b2s/ship.php:378 views/b2s/ship.php:424
912
  #: views/b2s/html/footer.php:35 views/b2s/html/footer.php:153
916
  msgid "Schedule and re-share old posts"
917
  msgstr "Plane und teile alte Beiträge"
918
 
919
+ #: includes/B2S/PostBox.php:212 views/b2s/curation.php:181
920
  #: views/b2s/curation.php:220 views/b2s/post.calendar.php:291
921
  #: views/b2s/ship.php:319 views/b2s/ship.php:379 views/b2s/ship.php:425
922
  #: views/b2s/html/footer.php:36 views/b2s/html/footer.php:67
927
  msgstr ""
928
  "Link-Posts oder Bild-Posts als Posting-Format für Deine Beiträge auswählen"
929
 
930
+ #: includes/B2S/PostBox.php:213 views/b2s/curation.php:182
931
  #: views/b2s/curation.php:221 views/b2s/post.calendar.php:292
932
  #: views/b2s/ship.php:320 views/b2s/ship.php:380 views/b2s/ship.php:426
933
  #: views/b2s/html/footer.php:37 views/b2s/html/footer.php:68
938
  msgstr ""
939
  "Individuelle Bilder für Deine Social Media Posts pro Netzwerk auswählen"
940
 
941
+ #: includes/B2S/PostBox.php:214 views/b2s/curation.php:183
942
  #: views/b2s/curation.php:222 views/b2s/post.calendar.php:293
943
  #: views/b2s/ship.php:321 views/b2s/ship.php:381 views/b2s/ship.php:427
944
  #: views/b2s/html/footer.php:38 views/b2s/html/footer.php:156
952
  "Reporting & Kalender: Verfolge Deine veröffentlichten und geplanten Social "
953
  "Media Beiträge"
954
 
955
+ #: includes/B2S/PostBox.php:216 views/b2s/curation.php:185
956
  #: views/b2s/curation.php:224 views/b2s/post.calendar.php:295
957
  #: views/b2s/ship.php:323 views/b2s/ship.php:383 views/b2s/ship.php:429
958
  #: views/b2s/html/footer.php:40 views/b2s/html/footer.php:158
962
  msgid "Upgrade to SMART and above"
963
  msgstr "Upgrade auf SMART und höher"
964
 
965
+ #: includes/B2S/PostBox.php:218 views/b2s/curation.php:187
966
  #: views/b2s/curation.php:226 views/b2s/post.calendar.php:297
967
  #: views/b2s/ship.php:325 views/b2s/ship.php:385 views/b2s/ship.php:431
968
  #: views/b2s/html/footer.php:42 views/b2s/html/footer.php:73
979
  "Testversion von Blog2Social Premium</a> (keine Zahlungsinformationen "
980
  "erforderlich)"
981
 
982
+ #: includes/B2S/PostBox.php:230 includes/B2S/Curation/View.php:73
983
+ #: includes/B2S/Settings/Item.php:488
984
  msgid "Select network collection:"
985
  msgstr "Netzwerk-Gruppierung auswählen:"
986
 
987
+ #: includes/B2S/PostBox.php:241 views/b2s/settings.php:157
988
+ #: includes/B2S/Curation/View.php:97 includes/B2S/Settings/Item.php:499
989
  msgid "Select Twitter profile:"
990
  msgstr "Wählen Sie ein Twitter-Profil aus:"
991
 
992
+ #: includes/B2S/PostBox.php:277
993
  msgid "When do you want to share your post on social media?"
994
  msgstr "Wann möchtest Du Deinen Beitrag auf den Social Media teilen?"
995
 
996
+ #: includes/B2S/PostBox.php:279
997
  msgid "immediately after publishing"
998
  msgstr "sofort nach Veröffentlichung"
999
 
1000
+ #: includes/B2S/PostBox.php:280
1001
+ msgid "at best times"
1002
+ msgstr "zu den besten Zeiten"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1003
 
1004
  #: views/b2s/curation.draft.php:17
1005
  msgid ""
1013
  msgid "Get the Blog2Social Browser Extension"
1014
  msgstr "Blog2Social Browser Erweiterung"
1015
 
1016
+ #: views/b2s/curation.draft.php:47 views/b2s/network.php:58
1017
+ #: views/b2s/network.php:146 views/b2s/network.php:221
1018
+ #: views/b2s/network.php:324 views/b2s/network.php:399
1019
+ #: views/b2s/post.approve.php:51 views/b2s/post.calendar.php:60
1020
+ #: views/b2s/post.calendar.php:243 views/b2s/post.draft.php:42
1021
+ #: views/b2s/post.favorites.php:41 views/b2s/post.notice.php:45
1022
+ #: views/b2s/post.php:41 views/b2s/post.publish.php:45
1023
+ #: views/b2s/post.sched.php:59 views/b2s/ship.php:188 views/b2s/ship.php:570
1024
+ #: views/b2s/ship.php:658 views/b2s/support.php:204
1025
+ #: views/prg/html/header.php:86
1026
+ msgid "Loading..."
1027
+ msgstr "Wird geladen..."
1028
+
1029
+ #: views/b2s/curation.draft.php:83
1030
  msgid "Delete Draft"
1031
  msgstr "Entwurf löschen"
1032
 
1033
+ #: views/b2s/curation.draft.php:86
1034
  msgid "Are you sure you want to delete this draft?"
1035
  msgstr "Bist Du Dir sicher, dass du Deinen Entwurf löschen möchtest? "
1036
 
1037
+ #: views/b2s/curation.draft.php:90 views/b2s/curation.php:141
1038
+ #: views/b2s/network.php:106 views/b2s/post.approve.php:98
1039
+ #: views/b2s/post.approve.php:115 views/b2s/post.draft.php:87
1040
+ #: views/b2s/post.notice.php:85 views/b2s/post.publish.php:85
1041
+ #: views/b2s/post.sched.php:99 views/b2s/ship.php:474 views/b2s/ship.php:553
1042
  #: views/prg/ship.php:94 views/b2s/widgets/posts.php:67
1043
  msgid "NO"
1044
  msgstr "NEIN"
1045
 
1046
+ #: views/b2s/curation.draft.php:91 views/b2s/network.php:107
1047
+ #: views/b2s/network.php:170 views/b2s/post.approve.php:99
1048
+ #: views/b2s/post.draft.php:88 views/b2s/post.notice.php:86
1049
+ #: views/b2s/post.publish.php:86 views/b2s/post.sched.php:100
1050
  #: views/b2s/widgets/posts.php:68
1051
  msgid "YES, delete"
1052
  msgstr "Ja, löschen"
1073
  msgstr "Als Entwurf gespeichert."
1074
 
1075
  #: views/b2s/curation.php:45 views/b2s/post.calendar.php:70
1076
+ #: views/b2s/post.sched.php:189 includes/B2S/Settings/Item.php:419
1077
+ #: includes/B2S/Settings/Item.php:452 views/b2s/html/footer.php:111
1078
  msgid "Link Post"
1079
  msgstr "Link-Beitrag"
1080
 
1081
  #: views/b2s/curation.php:47 views/b2s/curation.php:49
1082
+ #: views/b2s/post.calendar.php:70 views/b2s/post.sched.php:189
1083
+ #: includes/B2S/Settings/Item.php:433 includes/B2S/Settings/Item.php:452
1084
  msgid "Image Post"
1085
  msgstr "Bild-Beitrag"
1086
 
1089
  msgid "NEW"
1090
  msgstr "Neu"
1091
 
1092
+ #: views/b2s/curation.php:49 views/b2s/network.php:215 views/b2s/ship.php:23
1093
+ #: includes/B2S/Curation/View.php:56 includes/B2S/Network/Item.php:162
1094
+ #: includes/B2S/Network/Item.php:256 includes/B2S/Network/Item.php:322
1095
+ #: includes/B2S/Network/Item.php:384 includes/B2S/Settings/Item.php:117
1096
+ #: includes/B2S/Settings/Item.php:339 includes/B2S/Ship/Image.php:80
1097
+ #: includes/B2S/Ship/Item.php:1009 views/b2s/html/post.navbar.php:15
1098
+ #: views/b2s/html/post.navbar.php:19 views/b2s/partials/post-edit-modal.php:9
1099
+ #: views/b2s/widgets/posts.php:18
1100
+ msgid "SMART"
1101
+ msgstr "SMART"
1102
+
1103
  #: views/b2s/curation.php:59
1104
  msgid "Load data..."
1105
  msgstr "Daten werden geladen..."
1121
  msgid "continue"
1122
  msgstr "weiter"
1123
 
1124
+ #: views/b2s/curation.php:93 includes/B2S/Ship/Item.php:446
1125
+ #: includes/B2S/Ship/Item.php:475 includes/B2S/Ship/Item.php:505
1126
+ #: includes/B2S/Ship/Item.php:534 includes/B2S/Ship/Item.php:563
1127
+ #: includes/B2S/Ship/Item.php:591 includes/B2S/Ship/Item.php:634
1128
+ #: includes/B2S/Ship/Item.php:657 includes/B2S/Ship/Item.php:678
1129
+ #: includes/B2S/Ship/Item.php:699 includes/B2S/Ship/Item.php:720
1130
+ #: includes/B2S/Ship/Item.php:741 includes/B2S/Ship/Item.php:762
1131
+ #: includes/B2S/Ship/Item.php:806
1132
  msgid "Change image"
1133
  msgstr "Bild ändern"
1134
 
1137
  msgstr "Schreibe etwas..."
1138
 
1139
  #: views/b2s/curation.php:112 views/b2s/ship.php:260 views/b2s/ship.php:262
1140
+ #: includes/B2S/Post/Item.php:379
1141
  msgid "Re-share this post"
1142
  msgstr "Diesen Beitrag nochmal teilen"
1143
 
1146
  msgstr "Neuen Social Media Post erstellen"
1147
 
1148
  #: views/b2s/curation.php:119 views/b2s/post.calendar.php:38
1149
+ #: views/b2s/ship.php:18 views/b2s/ship.php:659 includes/B2S/Post/Filter.php:57
1150
+ #: includes/B2S/Post/Item.php:308 includes/B2S/Ship/Save.php:417
1151
  #: includes/PRG/Post/Filter.php:37 includes/PRG/Post/Item.php:86
1152
  msgid "published"
1153
  msgstr "veröffentlicht"
1154
 
1155
+ #: views/b2s/curation.php:135 views/b2s/post.approve.php:109
1156
  #: views/b2s/ship.php:468
1157
  msgid "Do you want to mark this post as published ?"
1158
  msgstr "Möchtest Du diesen Beitrag als veröffentlicht markieren?"
1159
 
1160
+ #: views/b2s/curation.php:140 views/b2s/post.approve.php:114
1161
  #: views/b2s/ship.php:473 views/b2s/ship.php:554
1162
  msgid "YES"
1163
  msgstr "JA"
1173
  msgstr "Blog2Social Premium deckt alles ab, was Du brauchst."
1174
 
1175
  #: views/b2s/curation.php:160 views/b2s/post.calendar.php:270
1176
+ #: views/b2s/ship.php:404 includes/B2S/Ship/Item.php:1010
1177
  msgid "Schedule for specific dates"
1178
  msgstr "Für bestimmte Termine planen"
1179
 
1230
  msgstr "Das ist eine Premium-Funktion."
1231
 
1232
  #: views/b2s/curation.php:209
1233
+ msgid "You want to create image posts with any image from your media library?"
1234
  msgstr ""
1235
+ "Möchtest Du Bild-Posts mit einem beliebigen Bild aus Deiner Mediathek "
1236
  "erstellen?"
1237
 
1238
  #: views/b2s/curation.php:238
1274
  msgid "You want to define a new combination of networks?"
1275
  msgstr "Du möchtest eine neue Kombination von Netzwerken anlegen?"
1276
 
1277
+ #: views/b2s/network.php:34 includes/B2S/Network/Item.php:151
1278
+ #: includes/B2S/Network/Item.php:155 includes/B2S/Network/Item.php:159
1279
  #: includes/B2S/Ship/Image.php:87 includes/B2S/Ship/Portale.php:32
1280
  #: includes/B2S/Ship/Portale.php:35 includes/B2S/Ship/Portale.php:41
1281
  msgid "PRO"
1337
  "Business Brancheneinträgen zu erweitern."
1338
 
1339
  #: views/b2s/network.php:127 views/b2s/premium.php:36 views/b2s/ship.php:490
1340
+ #: includes/B2S/Ship/Item.php:1048 views/b2s/partials/post-edit-modal.php:48
1341
  msgid "Learn more"
1342
  msgstr "Mehr erfahren"
1343
 
1406
  msgid "modfiy"
1407
  msgstr "modify"
1408
 
1409
+ #: views/b2s/network.php:215 includes/B2S/Network/Item.php:162
1410
+ #: includes/B2S/Network/Item.php:162
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1411
  msgid "Edit Post Template"
1412
  msgstr "Beitragsvorlage bearbeiten"
1413
 
1414
+ #: views/b2s/network.php:227 views/b2s/settings.php:52
1415
+ #: includes/B2S/Network/Item.php:536 includes/B2S/Settings/Item.php:313
1416
  msgid "save"
1417
  msgstr "speichern"
1418
 
1419
+ #: views/b2s/network.php:239
1420
+ msgid "Instant Caching for Link Posts"
1421
+ msgstr "Instant Caching für Link-Beiträge"
1422
 
1423
+ #: views/b2s/network.php:242
1424
  msgid ""
1425
  "Please enable this feature, if you are using varnish caching (HTTP "
1426
  "accelerator to relieve your website). Blog2Social will add a \"no-cache=1\" "
1427
+ "parameter to the post URL of your link posts to ensure that the network "
1428
+ "always pulls the current meta data of your blog post."
1429
  msgstr ""
1430
  "Bitte aktiviere diese Funktion, wenn Du varnish caching (HTTP-Beschleuniger "
1431
+ "zur Entlastung Deiner Website) nutzt. Blog2Social hängt dann bei Deinen Link-"
1432
+ "Beiträgen den “no-cache=1” Parameter an die Beitrags-URL, um sicherzustellen,"
1433
+ " dass das Netzwerk immer die aktuellen Meta Daten Deines Blogbeitrags zieht."
 
1434
 
1435
+ #: views/b2s/network.php:253
1436
  msgid "Choose your Post Format"
1437
  msgstr "Wähle Dein Postformat "
1438
 
1439
+ #: views/b2s/network.php:257 views/b2s/network.php:260
1440
+ #: views/b2s/network.php:263
1441
  msgid ""
1442
  "Decide in which post format you want to post your content: Link post or "
1443
  "image post."
1445
  "Entscheide, in welchem Format Du Deine Inhalte veröffentlichen möchtest: "
1446
  "Link-Beitrag oder Bild-Beitrag."
1447
 
1448
+ #: views/b2s/network.php:266
1449
  msgid ""
1450
  "Decide in wich form you want to post your Content. Either as image with "
1451
  "frame, or as image cut out."
1453
  " Entscheide, in welcher Form Du Deine Inhalte veröffentlichen möchtest. "
1454
  "Entweder als Bild mit Rahmen oder als Bildausschnitt."
1455
 
1456
+ #: views/b2s/network.php:278
1457
  msgid "Post Content"
1458
  msgstr "Post-Inhalt"
1459
 
1460
+ #: views/b2s/network.php:281
1461
  msgid ""
1462
  "Edit the content of your post. Move elements by drag and drop into the "
1463
  "textarea and customize them as you like."
1465
  "Bearbeite den Inhalt Deines Posts. Verschiebe Elemente per Drag & Drop in "
1466
  "das Textfeld und passe sie nach Deinen Wünschen an."
1467
 
1468
+ #: views/b2s/network.php:284
1469
  msgid "Legend"
1470
  msgstr "Legende"
1471
 
1472
+ #: views/b2s/network.php:286
1473
  msgid "The title of your post"
1474
  msgstr "Der Titel deines Beitrags."
1475
 
1476
+ #: views/b2s/network.php:287
1477
  msgid "The summary of your post (you define it in the side menu of your post)."
1478
  msgstr ""
1479
  " Die Zusammenfassung Deines Beitrags (wird von dir im Seitenmenü deines "
1480
  "Beitrags festgelegt)."
1481
 
1482
+ #: views/b2s/network.php:288
1483
  msgid "The content of your post"
1484
  msgstr "Der Inhalt Deines Beitrags."
1485
 
1486
+ #: views/b2s/network.php:289
1487
  msgid "The tags you have set in your post."
1488
  msgstr "Die Tags, die Du in deinem Beitrag gesetzt hast."
1489
 
1490
+ #: views/b2s/network.php:290
1491
  msgid "The name of the post author."
1492
  msgstr "Der Name des Autors Deines Beitrags."
1493
 
1494
+ #: views/b2s/network.php:303 includes/B2S/Network/Item.php:697
1495
  msgid "Character limit"
1496
  msgstr "Zeichenbegrenzung"
1497
 
1498
+ #: views/b2s/network.php:306
1499
  msgid ""
1500
  "Define the character limit for the variables \"EXCERPT\" and \"CONTENT\" "
1501
  "individually. Your text will be shortened after the last comma, period, or "
1505
  "\"Inhalt\" (CONTENT) einzeln fest. Dein Text wird nach dem letzten Komma, "
1506
  "Punkt oder Leerzeichen innerhalb Deiner Zeichenbegrenzung abgeschnitten."
1507
 
1508
+ #: views/b2s/network.php:307
1509
  msgid ""
1510
  "An \"EXCERPT\" will only be added to your social media post if you have "
1511
  "added a manual excerpt in the excerpt editing box of the Gutenberg side menu "
1515
  "einen manuellen Textauszug in der Textauszug-Box im Gutenberg Seitenmenü "
1516
  "(Dokumenten-Einstellungen) Deines Blogbeitrages eingetragen hast. "
1517
 
1518
+ #: views/b2s/network.php:308
1519
  msgid ""
1520
  "\"TITLES\" and \"KEYWORDS\" (Hashtags) are not shortened. If you select the "
1521
  "\"TITLE\" and \"KEYWORD\" variables for your social media posts, the "
1529
  "und/oder \"Inhalt\" innerhalb der darüber hinaus verfügbaren Zeichenanzahl "
1530
  "des jeweiligen Social Networks berücksichtigt."
1531
 
1532
+ #: views/b2s/network.php:319 views/b2s/ship.php:565
1533
  msgid "Connect with Pinterest"
1534
  msgstr "Mit Pinterest verbinden"
1535
 
1536
+ #: views/b2s/network.php:327 views/b2s/ship.php:573
1537
  msgid ""
1538
  "Please make sure to use your original Pinterest login data (email and "
1539
  "password). Social Login via Facebook or Google login data will not work here."
1545
  "dass die Zwei-Faktor-Authentifizierung in Pinterest deaktiviert ist, um eine "
1546
  "stabile Verbindung zu Blog2Social sicherzustellen."
1547
 
1548
+ #: views/b2s/network.php:328 views/b2s/ship.php:574
1549
  msgid "An error occurred! Please try again."
1550
  msgstr "Es ist ein Fehler aufgetreten! Bitte versuche es erneut."
1551
 
1552
+ #: views/b2s/network.php:329 views/b2s/network.php:330 views/b2s/ship.php:575
1553
  #: views/b2s/ship.php:576
1554
  #, php-format
1555
  msgid ""
1559
  "Du möchtest ein zusätzliches Konto verbinden? <a target=\"_blank\" "
1560
  "href=\"%s\">Upgrade auf Blog2Social Premium</a>"
1561
 
1562
+ #: views/b2s/network.php:331 views/b2s/ship.php:577
1563
  msgid "Invalid Data! Please try again."
1564
  msgstr "Ungültige Daten! Bitte versuche es erneut."
1565
 
1566
+ #: views/b2s/network.php:332 views/b2s/ship.php:578
1567
  msgid ""
1568
  "You have not yet created any pinboards in your Pinterest account. Please set "
1569
  "up at least one pinboard to pin on your Pinterest account!"
1571
  "Du hast noch keine Pinnwände in Deinem Pinterest Konto angelegt. Bitte "
1572
  "richte mindestens eine Pinnwand auf Deinem Pinterest Konto ein!"
1573
 
1574
+ #: views/b2s/network.php:333 views/b2s/ship.php:579
1575
  #, php-format
1576
  msgid ""
1577
  "Login failed. Please check your login data for typos and please check your "
1583
  "Authentifizierung für dieses Konto deaktiviert ist: <a target=\"_blank\" "
1584
  "href=\"%s\">%s</a>"
1585
 
1586
+ #: views/b2s/network.php:334 views/b2s/ship.php:580
1587
  msgid "Pinterest has rejected the connection to your blog"
1588
  msgstr "Pinterest hat die Verbindung zu Deinem Blog abgelehnt"
1589
 
1590
+ #: views/b2s/network.php:335 views/b2s/ship.php:581
1591
  msgid "Please select your currect server location and connect again"
1592
  msgstr ""
1593
  "Bitte wähle Deinen richtigen Serverstandort aus und verbinde Dich erneut"
1594
 
1595
+ #: views/b2s/network.php:336 views/b2s/ship.php:582
1596
  msgid ""
1597
  "Access to this resource on your server is denied! Please check your "
1598
  "webserver configuration for caching."
1600
  "Der Zugriff auf diese Ressource auf Ihrem Server ist verweigert! Bitte "
1601
  "überprüfen Sie Ihre Webserver-Konfiguration auf Caching."
1602
 
1603
+ #: views/b2s/network.php:337 views/b2s/ship.php:583
1604
  msgid ""
1605
  "Login up successful. Please confirm that Blog2Social is allowed to publish "
1606
  "on your profile."
1608
  "Anmeldung erfolgreich. Bitte bestätige, dass Blog2Social auf Deinem Profil "
1609
  "veröffentlichen darf."
1610
 
1611
+ #: views/b2s/network.php:339 views/b2s/ship.php:585
1612
  #: views/b2s/html/header.php:331 views/prg/html/form.php:141
1613
  #: views/prg/html/form.php:143 views/prg/html/form.php:218
1614
  #: views/prg/html/form.php:220
1615
  msgid "E-Mail"
1616
  msgstr "E-Mail"
1617
 
1618
+ #: views/b2s/network.php:345 views/b2s/ship.php:591 views/prg/login.php:25
1619
  msgid "Password"
1620
  msgstr "Passwort"
1621
 
1622
+ #: views/b2s/network.php:356 views/b2s/ship.php:602
1623
  msgid "Server-Location"
1624
  msgstr "Serverstandort"
1625
 
1626
+ #: views/b2s/network.php:370 views/b2s/ship.php:616
1627
  msgid "Select Pinboard"
1628
  msgstr "Pinnwand auswählen"
1629
 
1630
+ #: views/b2s/network.php:378 views/b2s/ship.php:624
1631
+ #: includes/B2S/Settings/Item.php:91
1632
  msgid "authorize"
1633
  msgstr "autorisieren"
1634
 
1635
+ #: views/b2s/network.php:379 views/b2s/ship.php:625
1636
  msgid "confirm"
1637
  msgstr "bestätigen"
1638
 
1639
+ #: views/b2s/network.php:393
1640
+ msgid "Advanced Network Settings"
1641
+ msgstr "Erweiterte Netzwerkeinstellungen"
1642
+
1643
+ #: views/b2s/network.php:405 views/b2s/network.php:502
1644
+ msgid "URL Parameters"
1645
+ msgstr "URL-Parameter"
1646
+
1647
+ #: views/b2s/network.php:406
1648
+ msgid "The parameters could not be saved. Please try again."
1649
+ msgstr ""
1650
+ "Die Parameter konnten nicht gespeichert werden. Bitte versuchen Sie es noch "
1651
+ "einmal."
1652
+
1653
+ #: views/b2s/network.php:407 views/b2s/network.php:422
1654
+ #: views/b2s/network.php:454 views/b2s/network.php:457
1655
+ #: views/b2s/network.php:460
1656
+ msgid "An error occured. Please contact our support."
1657
+ msgstr "Ein Fehler ist aufgetreten. Bitte kontaktiere unseren Support."
1658
+
1659
+ #: views/b2s/network.php:414 views/b2s/network.php:511
1660
+ msgid "Network collection"
1661
+ msgstr "Netzwerkgruppierung"
1662
+
1663
+ #: views/b2s/network.php:417 views/b2s/network.php:514
1664
+ msgid "Move the connection to another network collection."
1665
+ msgstr "Verbindung in eine andere Netzwerk-Gruppierung verschieben"
1666
+
1667
+ #: views/b2s/network.php:429 views/b2s/network.php:521
1668
+ msgid "move"
1669
+ msgstr "verschieben"
1670
+
1671
+ #: views/b2s/network.php:437
1672
+ msgid "You need at least one network collection"
1673
+ msgstr "Du brauchst mindestens eine Netzwerkgruppierung."
1674
+
1675
+ #: views/b2s/network.php:446 views/b2s/network.php:528
1676
+ msgid "Team Management"
1677
+ msgstr "Team-Management"
1678
+
1679
+ #: views/b2s/network.php:449 views/b2s/network.php:531
1680
+ msgid "Assign the connection to other blog users"
1681
+ msgstr "Weise Deine Verbindung anderen Blog-Benutzern zu"
1682
+
1683
+ #: views/b2s/network.php:463
1684
+ msgid "You don't have a Business License"
1685
+ msgstr "Du hast keine Business-Lizenz"
1686
+
1687
+ #: views/b2s/network.php:466
1688
+ msgid "This user don't have a Business License, or it is not the same"
1689
+ msgstr ""
1690
+ "Dieser Benutzer hat keine Business-Lizenz oder nutzt nicht dieselbe Lizenz"
1691
+
1692
+ #: views/b2s/network.php:469
1693
+ msgid "The connection has already been assigned to this user."
1694
+ msgstr "Die Verbindung wurde diesem Benutzer bereits zugewiesen."
1695
+
1696
+ #: views/b2s/network.php:472
1697
+ msgid "The connection dose not exist"
1698
+ msgstr "Diese Verbindung existiert nicht."
1699
+
1700
+ #: views/b2s/network.php:475
1701
+ msgid "This connection has already been assigned to this user."
1702
+ msgstr "Die Verbindung wurde diesem Benutzer bereits zugewiesen."
1703
+
1704
+ #: views/b2s/network.php:478
1705
+ msgid ""
1706
+ "You can only share the connection with blog users who use the same license "
1707
+ "as you."
1708
+ msgstr ""
1709
+ "Du kannst Deine Verbindung nur mit Blog-Benutzern teilen, die dieselbe "
1710
+ "Lizenz verwenden wie Du."
1711
+
1712
+ #: views/b2s/network.php:481
1713
+ msgid "There are no other users to whom the connection can be assigned."
1714
+ msgstr ""
1715
+ "Es sind keine weiteren Benutzer vorhanden, denen die Verbindung zugewiesen "
1716
+ "werden kann."
1717
+
1718
+ #: views/b2s/network.php:484 views/b2s/network.php:534
1719
+ msgid "assign"
1720
+ msgstr "zuweisen"
1721
+
1722
+ #: views/b2s/network.php:485
1723
+ msgid "Apply best time settings"
1724
+ msgstr "Beste Zeiten verwenden"
1725
+
1726
+ #: views/b2s/network.php:486
1727
+ msgid "Apply post template settings"
1728
+ msgstr "Beitragsvorlagen verwenden"
1729
+
1730
+ #: views/b2s/network.php:487
1731
+ msgid "Apply URL Parameters"
1732
+ msgstr "URL-Parameter verwenden"
1733
+
1734
+ #: views/b2s/network.php:498
1735
+ msgid ""
1736
+ "Upgrade to Blog2Social Business to easily bundle your connections into "
1737
+ "network collection and assign your social media connections to other blog "
1738
+ "users. You can update and delete the connections as well as select forums or "
1739
+ "boards. Other users will be able to use the social media connection you "
1740
+ "assigned to them to post and schedule to your social media profile, page or "
1741
+ "group."
1742
+ msgstr ""
1743
+ "Update auf Blog2Social Business, um Deine Verbindungen einfach in eine "
1744
+ "Netzwerkgruppierung zu verschieben und Deine Social Media-Verbindungen "
1745
+ "anderen Blog-Benutzern zuzuweisen. Du kannst die Verbindungen aktualisieren "
1746
+ "und löschen, sowie Foren oder Pinnwände auswählen. Andere Benutzer können "
1747
+ "die von Dir zugewiesenen Social-Media-Verbindungen verwenden, um Beiträge "
1748
+ "auf Deinem Social-Media-Profil, Deiner Seite oder Gruppe zu veröffentlichen "
1749
+ "oder vorzuplanen."
1750
+
1751
+ #: views/b2s/network.php:499
1752
+ msgid "Upgrade to Blog2Social Business"
1753
+ msgstr "Upgrade auf Blog2Social Business"
1754
+
1755
+ #: views/b2s/network.php:503 includes/B2S/Network/Item.php:506
1756
+ #, php-format
1757
+ msgid ""
1758
+ "Define parameters that will be added to link posts on this network e.g. to "
1759
+ "create tracking links with UTM paramters. <a target=\"_blank\" href=\"%s\">"
1760
+ "More information</a>"
1761
+ msgstr ""
1762
+ "Definiere Parameter, die bei Posts auf diesem Netzwerk zu Deinem Link "
1763
+ "hinzugefügt werden sollen z. B. um Tracking-Links mit UTM-Parametern zu "
1764
+ "erstellen. <a target=\"_blank\" href=\"%s\">Weitere Informationen</a>"
1765
+
1766
+ #: views/b2s/network.php:519 includes/B2S/Ship/Navbar.php:37
1767
+ msgid "My Profile"
1768
+ msgstr "Mein Profil"
1769
+
1770
+ #: views/b2s/post.approve.php:89
1771
  msgid "Delete Social Media Posts"
1772
  msgstr "Social Media Posts löschen"
1773
 
1774
+ #: views/b2s/post.approve.php:92
1775
  msgid "Are you sure you want to delete these Social Media posts?"
1776
  msgstr "Bist Du sicher, dass Du diese Social Media Posts löschen möchtest?"
1777
 
1778
+ #: views/b2s/post.approve.php:94 views/b2s/post.notice.php:81
1779
+ #: views/b2s/post.publish.php:81 views/b2s/post.sched.php:95
1780
  #: views/b2s/widgets/posts.php:63
1781
  msgid "Number of entries"
1782
  msgstr "Anzahl der Einträge"
1790
  msgstr "alles anzeigen"
1791
 
1792
  #: views/b2s/post.calendar.php:39 views/b2s/ship.php:18
1793
+ #: includes/B2S/Post/Filter.php:57 includes/B2S/Post/Item.php:308
1794
  #: includes/PRG/Post/Filter.php:37 includes/PRG/Post/Item.php:86
1795
  msgid "scheduled"
1796
  msgstr "geplant"
1797
 
1798
+ #: views/b2s/post.calendar.php:70 views/b2s/post.sched.php:189
1799
+ #: includes/B2S/Network/Item.php:645 includes/B2S/Network/Item.php:648
1800
+ #: includes/B2S/Settings/Item.php:419 views/b2s/html/footer.php:128
1801
  msgid "Image with frame"
1802
  msgstr "Bild mit Rahmen"
1803
 
1804
+ #: views/b2s/post.calendar.php:70 views/b2s/post.sched.php:189
1805
+ #: includes/B2S/Network/Item.php:646 includes/B2S/Network/Item.php:649
1806
+ #: includes/B2S/Settings/Item.php:433 views/b2s/html/footer.php:133
1807
  msgid "Image cut out"
1808
  msgstr "Bild zuschneiden"
1809
 
1810
+ #: views/b2s/post.calendar.php:87 views/b2s/post.sched.php:172
1811
  msgid "add post"
1812
  msgstr "Beitrag hinzufügen"
1813
 
1814
+ #: views/b2s/post.calendar.php:110 views/b2s/post.sched.php:130
1815
  #: views/b2s/ship.php:503
1816
  msgid "Choose your"
1817
  msgstr "Wähle Deinen"
1818
 
1819
+ #: views/b2s/post.calendar.php:110 views/b2s/post.sched.php:130
1820
  #: views/b2s/ship.php:503
1821
  msgid "Post Format"
1822
  msgstr "Postformat"
1823
 
1824
+ #: views/b2s/post.calendar.php:112 views/b2s/post.sched.php:132
1825
  #: views/b2s/ship.php:505
1826
  msgid "for:"
1827
  msgstr "für:"
1828
 
1829
+ #: views/b2s/post.calendar.php:131 views/b2s/post.sched.php:151
1830
  #: views/b2s/ship.php:523
1831
  msgid ""
1832
  "Define the default settings for the custom post format for all of your "
1835
  "Speichere Dein bevorzugtes Facebook Post-Format als Standardeinstellung in "
1836
  "den Blog2Social Einstellungen."
1837
 
1838
+ #: views/b2s/post.calendar.php:134 views/b2s/post.sched.php:154
1839
  #: views/b2s/ship.php:526
1840
  msgid ""
1841
  "Define the default settings for the custom post format for all of your "
1844
  "Definiere Dein Standard-Beitragsformat für alle Deine Twitter-Verbindungen "
1845
  "unter den Blog2Social Einstellungen."
1846
 
1847
+ #: views/b2s/post.calendar.php:137 views/b2s/post.sched.php:157
1848
  #: views/b2s/ship.php:529
1849
  msgid ""
1850
  "Define the default settings for the custom post format for all of your "
1853
  "Definiere Dein Standard-Beitragsformat für alle Deine Google+ Verbindungen "
1854
  "unter den Blog2Social Einstellungen."
1855
 
1856
+ #: views/b2s/post.calendar.php:140 views/b2s/post.sched.php:160
1857
  #: views/b2s/ship.php:532
1858
  msgid ""
1859
  "Define the default settings for the custom post format for all of your "
1862
  "Definiere die Standardeinstellungen für das benutzerdefinierte Postformat "
1863
  "für alle Instagram-Konten in den Blog2Social-Einstellungen."
1864
 
1865
+ #: views/b2s/post.calendar.php:155 views/b2s/post.sched.php:111
1866
  #: views/b2s/ship.php:444
1867
  msgid "Select image for"
1868
  msgstr "Wähle Bild aus für"
1887
  msgid "Select a post"
1888
  msgstr "Wähle einen Beitrag aus"
1889
 
1890
+ #: views/b2s/post.draft.php:80
1891
  msgid "Delete Social Media Draft"
1892
  msgstr "Entwurf löschen"
1893
 
1894
+ #: views/b2s/post.draft.php:83
1895
  msgid "Are you sure you want to delete this Social Media draft?"
1896
  msgstr "Bist Du Dir sicher, dass du Deinen Entwurf löschen möchtest? "
1897
 
1898
+ #: views/b2s/post.favorites.php:67 includes/B2S/Post/Item.php:314
1899
  msgid "You have not saved any favorites."
1900
  msgstr "Du hast keine Favoriten gespeichert."
1901
 
1902
+ #: views/b2s/post.notice.php:76 views/b2s/post.publish.php:76
1903
  #: views/b2s/widgets/posts.php:58
1904
  msgid "Delete entries from the reporting"
1905
  msgstr "Einträge aus dem Reporting löschen"
1906
 
1907
+ #: views/b2s/post.notice.php:79 views/b2s/post.publish.php:79
1908
  #: views/b2s/widgets/posts.php:61
1909
  msgid "You are sure, you want to delete entries from the reporting?"
1910
  msgstr "Bist Du sicher, dass Du Einträge aus dem Reporting löschen möchtest?"
1913
  msgid "Uhr"
1914
  msgstr "Uhr"
1915
 
1916
+ #: views/b2s/post.sched.php:90
1917
  msgid "Delete entries form the scheduling"
1918
  msgstr "Einträge aus der Planung löschen"
1919
 
1920
+ #: views/b2s/post.sched.php:93
1921
  msgid "You are sure, you want to delete entries from the scheduling?"
1922
  msgstr "Bist Du sicher, dass Du Einträge aus Deiner Planung löschen möchtest?"
1923
 
1924
+ #: views/b2s/premium.php:14 includes/B2S/Settings/Item.php:175
1925
  msgid "Your current license:"
1926
  msgstr "Deine aktuelle Lizenz:"
1927
 
1934
  msgid "End of Trial"
1935
  msgstr "Ende der Testzeit"
1936
 
1937
+ #: views/b2s/premium.php:31 includes/B2S/Settings/Item.php:178
1938
+ #: includes/B2S/Settings/Item.php:181
1939
  msgid "Upgrade"
1940
  msgstr "Upgrade"
1941
 
2025
  "oder Dein eigenes bestes Zeitschema zu definieren."
2026
 
2027
  #: views/b2s/premium.php:109 views/b2s/settings.php:35
2028
+ #: includes/B2S/Post/Item.php:608 includes/B2S/Post/Item.php:744
2029
  msgid "Auto-Posting"
2030
  msgstr "Auto-Posting"
2031
 
2204
  "Plugininhalte werden nacheinander geladen, um den Server Deines Blogs zu "
2205
  "entlasten."
2206
 
2207
+ #: views/b2s/settings.php:129
2208
+ msgid "Instant Caching for Facebook Link Posts"
2209
+ msgstr "Instant Caching für Facebook Link-Beiträge"
2210
+
2211
+ #: views/b2s/settings.php:132
2212
+ msgid ""
2213
+ "Please enable this feature, if you are using varnish caching (HTTP "
2214
+ "accelerator to relieve your website). Blog2Social will add a \"no-cache=1\" "
2215
+ "parameter to the post URL of your Facebook link posts to ensure that "
2216
+ "Facebook always pulls the current meta data of your blog post."
2217
+ msgstr ""
2218
+ "Bitte aktiviere diese Funktion, wenn Du varnish caching (HTTP-Beschleuniger "
2219
+ "zur Entlastung Deiner Website) nutzt. Blog2Social hängt dann bei Deinen "
2220
+ "Facebook Link-Beiträgen den “no-cache=1” Parameter an die Beitrags-URL, um "
2221
+ "sicherzustellen, dass Facebook immer die aktuellen Meta Daten Deines "
2222
+ "Blogbeitrags zieht."
2223
+
2224
+ #: views/b2s/settings.php:143 includes/B2S/Settings/Item.php:63
2225
  msgid "Personal Time Zone"
2226
  msgstr "Persönliche Zeitzone"
2227
 
2239
  "für die Planung Deiner Social Media Posts festlegen. Wähle dazu die "
2240
  "gewünschte Zeitzone aus dem Drop-Down Menü."
2241
 
2242
+ #: views/b2s/settings.php:160
2243
+ msgid ""
2244
+ "To comply with the Twitter TOS and to avoid duplicate posts, autoposts will "
2245
+ "be sent to your primary Twitter profile."
2246
+ msgstr ""
2247
+ "Um den Geschäftsbedingungen von Twitter zu entsprechen und doppelte Postings "
2248
+ "zu vermeiden, werden Autoposts an Dein primäres Twitter-Profil gesendet."
2249
+
2250
+ #: views/b2s/settings.php:160 includes/B2S/Settings/Item.php:191
2251
+ msgid "More information"
2252
+ msgstr "Zusätzliche Informationen"
2253
+
2254
+ #: views/b2s/ship.php:18 includes/B2S/Post/Filter.php:57
2255
+ #: includes/B2S/Post/Item.php:308 includes/PRG/Post/Item.php:86
2256
  msgid "draft"
2257
  msgstr "Entwurf"
2258
 
2261
  msgstr "Beitrag auf Social Media planen und teilen"
2262
 
2263
  #: views/b2s/ship.php:53 views/prg/ship.php:43 views/prg/ship.php:45
2264
+ #: includes/B2S/Curation/View.php:38 includes/B2S/Settings/Item.php:349
2265
+ #: includes/B2S/Settings/Item.php:370 views/prg/html/form.php:26
2266
  #: views/prg/html/form.php:28
2267
  msgid "Title"
2268
  msgstr "Titel"
2269
 
2270
+ #: views/b2s/ship.php:55 includes/B2S/Post/Item.php:362
2271
  msgid "on blog"
2272
  msgstr "auf dem Blog"
2273
 
2321
  "Verbinde Dich zuerst mit einem Netzwerk oder wähle ein Netzwerk aus, bevor "
2322
  "Du den Beitrag teilst!"
2323
 
2324
+ #: views/b2s/ship.php:219
2325
  msgid "connect"
2326
  msgstr "Jetzt mit Netzwerken verbinden"
2327
 
2465
  msgid "Give me more information"
2466
  msgstr "Erhalte mehr Infomationen"
2467
 
2468
+ #: views/b2s/support.php:16 includes/B2S/Post/Item.php:624
2469
  #: includes/B2S/Ship/Save.php:438
2470
  msgid "FAQ"
2471
  msgstr "FAQ"
2707
  msgid "Share your post"
2708
  msgstr "Teile Deinen Post"
2709
 
2710
+ #: includes/B2S/Curation/View.php:64 includes/B2S/Settings/Item.php:194
2711
  msgid "immediately"
2712
  msgstr "sofort"
2713
 
2714
+ #: includes/B2S/Curation/View.php:65
2715
+ msgid "at scheduled times"
2716
+ msgstr "zu geplanten Zeiten"
2717
+
2718
  #: includes/B2S/Curation/View.php:69 includes/B2S/Curation/View.php:70
2719
+ #: includes/B2S/Ship/Item.php:1118 views/b2s/partials/post-edit-modal.php:62
2720
  #: views/b2s/partials/post-edit-modal.php:65
2721
  msgid "Date"
2722
  msgstr "Startdatum"
2733
  msgid "Show all"
2734
  msgstr "alle anzeigen"
2735
 
2736
+ #: includes/B2S/Network/Item.php:62 includes/B2S/Network/Item.php:178
2737
  msgid "My profile"
2738
  msgstr "Mein Profil"
2739
 
2745
  msgid "Best times"
2746
  msgstr "Beste Zeiten"
2747
 
2748
+ #: includes/B2S/Network/Item.php:147 includes/B2S/Network/Item.php:218
2749
+ #: includes/B2S/Ship/Item.php:316 includes/B2S/Ship/Navbar.php:86
2750
+ msgid "Blog"
2751
+ msgstr "Blog"
2752
+
2753
+ #: includes/B2S/Network/Item.php:151 includes/B2S/Ship/Portale.php:41
2754
  msgid "You want to connect a network profile?"
2755
  msgstr "Du möchtest Dich mit einem Netzwerkprofil verbinden?"
2756
 
2757
+ #: includes/B2S/Network/Item.php:155 includes/B2S/Ship/Portale.php:35
2758
  msgid "You want to connect a network page?"
2759
  msgstr "Du möchtest eine Netzwerk-Seite verbinden?"
2760
 
2761
+ #: includes/B2S/Network/Item.php:158 includes/B2S/Network/Item.php:351
2762
  #: includes/B2S/Ship/Portale.php:31
2763
  msgid "Publication"
2764
  msgstr "Publication"
2765
 
2766
+ #: includes/B2S/Network/Item.php:159 includes/B2S/Ship/Portale.php:32
2767
  msgid "You want to connect a social media group?"
2768
  msgstr "Du möchtest eine Social-Media-Gruppe verbinden?"
2769
 
2770
+ #: includes/B2S/Network/Item.php:171 includes/B2S/Settings/Item.php:257
 
 
 
 
 
 
 
 
 
 
 
2771
  msgid "Connections"
2772
  msgstr "Verbindungen"
2773
 
2774
+ #: includes/B2S/Network/Item.php:172 views/b2s/html/footer.php:192
2775
  msgid "Best Time Manager"
2776
  msgstr "Best Time Manager"
2777
 
2778
+ #: includes/B2S/Network/Item.php:209 includes/B2S/Network/Item.php:275
2779
+ #: includes/B2S/Network/Item.php:342
2780
  msgid "To reactivate this connection,"
2781
  msgstr "Um die Verbindung wieder zu aktivieren,"
2782
 
2783
+ #: includes/B2S/Network/Item.php:209 includes/B2S/Network/Item.php:275
2784
+ #: includes/B2S/Network/Item.php:342 includes/B2S/Ship/Image.php:30
2785
  msgid "please upgrade"
2786
  msgstr "Bitte upgraden"
2787
 
2788
+ #: includes/B2S/Network/Item.php:212 includes/B2S/Network/Item.php:278
2789
+ #: includes/B2S/Network/Item.php:345
2790
  msgid "Authorization is interrupted since"
2791
  msgstr "Autorisierung ist unterbrochen seit"
2792
 
2793
+ #: includes/B2S/Network/Item.php:216 includes/B2S/Network/Item.php:282
2794
+ #: includes/B2S/Network/Item.php:349
2795
  msgid "Assigned by"
2796
  msgstr "Zugewiesen von"
2797
 
2798
+ #: includes/B2S/Network/Item.php:254 includes/B2S/Network/Item.php:320
2799
+ #: includes/B2S/Network/Item.php:382 includes/B2S/Ship/Item.php:1066
2800
  msgid "Days"
2801
  msgstr "Tage"
2802
 
2803
+ #: includes/B2S/Network/Item.php:284 includes/B2S/Ship/Item.php:316
2804
  msgid "Employer Branding"
2805
  msgstr "Employer Branding"
2806
 
2807
+ #: includes/B2S/Network/Item.php:463
2808
  msgid "Connection currently assigned to"
2809
  msgstr "Diese Verbindung ist aktuell zugewiesen an"
2810
 
2811
+ #: includes/B2S/Network/Item.php:508 views/prg/html/form.php:84
2812
+ #: views/prg/html/form.php:86 views/prg/html/form.php:161
2813
+ #: views/prg/html/form.php:163
2814
+ msgid "Name"
2815
+ msgstr "Name"
2816
+
2817
+ #: includes/B2S/Network/Item.php:509
2818
+ msgid "Value"
2819
+ msgstr "Zugeordneter Wert"
2820
+
2821
+ #: includes/B2S/Network/Item.php:533
2822
+ msgid "+ add Parameter"
2823
+ msgstr "+ Parameter hinzufügen"
2824
+
2825
+ #: includes/B2S/Network/Item.php:534
2826
+ #, php-format
2827
+ msgid "Apply for all %s connections"
2828
+ msgstr "Für alle %s Verbindungen übernehmen"
2829
+
2830
+ #: includes/B2S/Network/Item.php:535
2831
+ msgid "Apply for all connections"
2832
+ msgstr "Für alle Verbindungen übernehmen"
2833
+
2834
+ #: includes/B2S/Network/Item.php:562
2835
  msgid "Successfully saved"
2836
  msgstr "Erfolgreich gespeichert"
2837
 
2838
+ #: includes/B2S/Network/Item.php:563
2839
  msgid "Failed to save"
2840
  msgstr "Speichern fehlgeschlagen"
2841
 
2842
+ #: includes/B2S/Network/Item.php:564
2843
  msgid "Failed to load the default template"
2844
  msgstr "Fehler beim Laden der Standardeinstellungen"
2845
 
2846
+ #: includes/B2S/Network/Item.php:571
2847
  msgid ""
2848
  "Upgrade to Blog2Social Smart or higher to customize your individual post "
2849
  "templates that will automatically pre-format the structure of your social "
2863
  "auch statische Inhalte (z.B. individuelle Hashtags oder Slogans) zu Deinen "
2864
  "Beitragsvorlagen hinzu."
2865
 
2866
+ #: includes/B2S/Network/Item.php:572
2867
  msgid "Upgrade to Blog2Social Smart"
2868
  msgstr "Upgrade auf Blog2Social Smart"
2869
 
2870
+ #: includes/B2S/Network/Item.php:592
2871
  msgid "Activate Instant Caching"
2872
  msgstr "Instant Caching aktivieren"
2873
 
2874
+ #: includes/B2S/Network/Item.php:638
2875
  msgid "Format"
2876
  msgstr "Format"
2877
 
2878
+ #: includes/B2S/Network/Item.php:639 includes/B2S/Network/Item.php:660
2879
  msgid "Load default settings"
2880
  msgstr "Lade Standardeinstellungen"
2881
 
2882
+ #: includes/B2S/Network/Item.php:645 includes/B2S/Network/Item.php:648
2883
+ #: includes/B2S/Ship/Item.php:813 includes/B2S/Ship/Item.php:815
2884
  msgid "Link"
2885
  msgstr "Link"
2886
 
2887
+ #: includes/B2S/Network/Item.php:646 includes/B2S/Network/Item.php:649
2888
  msgid "Image"
2889
  msgstr "Bild"
2890
 
2891
+ #: includes/B2S/Network/Item.php:658 includes/B2S/Settings/Item.php:74
2892
  msgid "Content"
2893
  msgstr "Inhalt"
2894
 
2895
+ #: includes/B2S/Network/Item.php:667 includes/B2S/Ship/Item.php:357
2896
  msgid ""
2897
  "Instagram supports up to 30 hashtags. Please reduce the number of hashtags "
2898
  "in your post."
2900
  "Instagram unterstützt bis zu 30 Hashtags. Bitte reduziere die Anzahl der "
2901
  "Hashtags in Deinem Beitrag."
2902
 
2903
+ #: includes/B2S/Network/Item.php:679
2904
  msgid "clear"
2905
  msgstr "löschen"
2906
 
2907
+ #: includes/B2S/Network/Item.php:688
2908
  msgid "The link will be added automatically at the end of the post."
2909
  msgstr "Der Link wird automatisch am Ende des Posts eingefügt."
2910
 
2911
+ #: includes/B2S/Network/Item.php:690 includes/B2S/Network/Item.php:716
2912
  msgid "Network limit"
2913
  msgstr "Netzwerkbegrenzung"
2914
 
2915
+ #: includes/B2S/Network/Item.php:690 includes/B2S/Network/Item.php:716
2916
+ #: includes/B2S/Network/Item.php:716 includes/B2S/Ship/Item.php:201
2917
+ #: includes/B2S/Ship/Item.php:205 includes/B2S/Ship/Item.php:247
2918
+ #: includes/B2S/Ship/Item.php:251 includes/B2S/Ship/Item.php:284
2919
+ #: includes/B2S/Ship/Item.php:288 includes/B2S/Ship/Item.php:1145
2920
+ #: includes/B2S/Ship/Item.php:1147
2921
  msgid "characters"
2922
  msgstr "Zeichen"
2923
 
2924
+ #: includes/B2S/Network/Item.php:716
2925
  msgid "recommended length"
2926
  msgstr "Empfohlene Länge"
2927
 
2928
+ #: includes/B2S/Network/Item.php:736 includes/B2S/Network/Item.php:788
2929
+ #: includes/B2S/Network/Item.php:842 includes/B2S/Network/Item.php:894
2930
+ #: includes/B2S/Network/Item.php:928
2931
  msgid "Preview"
2932
  msgstr "Vorschau"
2933
 
2934
+ #: includes/B2S/Post/Filter.php:42
2935
  msgid "all authors"
2936
  msgstr "alle Autoren"
2937
 
2938
+ #: includes/B2S/Post/Filter.php:58
2939
  msgid "all posts"
2940
  msgstr "alle Beiträge"
2941
 
2942
+ #: includes/B2S/Post/Filter.php:69
2943
  msgid "not yet shared"
2944
  msgstr "noch nicht geteilt"
2945
 
2946
+ #: includes/B2S/Post/Filter.php:69
2947
  msgid "already shared"
2948
  msgstr "geteilt"
2949
 
2950
+ #: includes/B2S/Post/Filter.php:69
2951
  msgid "currently scheduled"
2952
  msgstr "geplant"
2953
 
2954
+ #: includes/B2S/Post/Filter.php:70
2955
  msgid "all statuses"
2956
  msgstr "kein Status"
2957
 
2958
+ #: includes/B2S/Post/Filter.php:81 includes/B2S/Post/Filter.php:93
2959
  msgid "newest first"
2960
  msgstr "neuste zuerst"
2961
 
2962
+ #: includes/B2S/Post/Filter.php:81 includes/B2S/Post/Filter.php:93
2963
  msgid "oldest first"
2964
  msgstr "älteste zuerst"
2965
 
2966
+ #: includes/B2S/Post/Filter.php:106
2967
  msgid "all categories & tags"
2968
  msgstr "alle Kategorien & Schlagwörter"
2969
 
2970
+ #: includes/B2S/Post/Filter.php:128 includes/PRG/Post/Filter.php:49
2971
  msgid "all post types"
2972
  msgstr "alle Typen"
2973
 
2974
+ #: includes/B2S/Post/Filter.php:155
2975
+ msgid "shared by user"
2976
+ msgstr "geteilt von Nutzer"
2977
+
2978
+ #: includes/B2S/Post/Filter.php:172 includes/PRG/Post/Filter.php:70
2979
  msgid "Search Title"
2980
  msgstr "Suche nach Titel"
2981
 
2982
+ #: includes/B2S/Post/Filter.php:198 includes/PRG/Post/Filter.php:81
2983
  msgid "sort"
2984
  msgstr "sortieren"
2985
 
2986
+ #: includes/B2S/Post/Filter.php:199 includes/PRG/Post/Filter.php:82
2987
  msgid "reset"
2988
  msgstr "zurücksetzen"
2989
 
2990
+ #: includes/B2S/Post/Filter.php:204
2991
  msgid "selected date"
2992
  msgstr "ausgewähltes Datum"
2993
 
2994
+ #: includes/B2S/Post/Filter.php:204
2995
  msgid "scheduled post(s)"
2996
  msgstr "geplante Beiträge"
2997
 
2998
+ #: includes/B2S/Post/Item.php:312
2999
  msgid "You have not saved any drafts."
3000
  msgstr "Du hast keine Entwürfe gespeichert."
3001
 
3002
+ #: includes/B2S/Post/Item.php:316
3003
  msgid "You have not published or scheduled any posts."
3004
  msgstr "Du hast keine Beiträge veröffentlicht oder geplant."
3005
 
3006
+ #: includes/B2S/Post/Item.php:339
3007
  msgid "curated post"
3008
  msgstr "kuratierter Beitrag"
3009
 
3010
+ #: includes/B2S/Post/Item.php:344 includes/B2S/Post/Item.php:442
3011
  msgid "last shared on social media"
3012
  msgstr "zuletzt auf Social Media geteilt"
3013
 
3014
+ #: includes/B2S/Post/Item.php:356 includes/B2S/Post/Item.php:453
3015
+ #: includes/B2S/Post/Item.php:455 includes/B2S/Post/Item.php:476
3016
+ #: includes/B2S/Post/Item.php:497
3017
  msgid "Share on Social Media"
3018
  msgstr "auf Social Media teilen"
3019
 
3020
+ #: includes/B2S/Post/Item.php:360
3021
  msgid "load Draft"
3022
  msgstr "Entwurf aufrufen"
3023
 
3024
+ #: includes/B2S/Post/Item.php:362 includes/B2S/Post/Item.php:461
3025
+ #: includes/B2S/Post/Item.php:481 includes/B2S/Post/Item.php:499
3026
  #: includes/PRG/Post/Item.php:121
3027
  msgid "Author"
3028
  msgstr "Autor"
3029
 
3030
+ #: includes/B2S/Post/Item.php:380 includes/B2S/Post/Item.php:404
3031
+ #: includes/B2S/Post/Item.php:426
3032
  msgid "Details"
3033
  msgstr "Details"
3034
 
3035
+ #: includes/B2S/Post/Item.php:382
3036
  msgid "shared social media posts"
3037
  msgstr "geteilte Beiträge"
3038
 
3039
+ #: includes/B2S/Post/Item.php:382
3040
  #, php-format
3041
  msgid "latest share by %s"
3042
  msgstr "zuletzt von %s geteilt"
3043
 
3044
+ #: includes/B2S/Post/Item.php:406 views/b2s/widgets/activity.php:10
3045
  msgid "scheduled social media posts"
3046
  msgstr "geplante Beiträge"
3047
 
3048
+ #: includes/B2S/Post/Item.php:406
3049
  #, php-format
3050
  msgid "next share by %s"
3051
  msgstr "wird als nächstes von %s geteilt"
3052
 
3053
+ #: includes/B2S/Post/Item.php:428
3054
  msgid "social media posts ready to be shared"
3055
  msgstr "Social Media Posts sind bereit, geteilt zu werden"
3056
 
3057
+ #: includes/B2S/Post/Item.php:439
3058
  msgid "via Browser-Extension"
3059
  msgstr "via Browser-Extension"
3060
 
3061
+ #: includes/B2S/Post/Item.php:461
3062
  msgid "saved"
3063
  msgstr "gespeichert"
3064
 
3065
+ #: includes/B2S/Post/Item.php:481
3066
  msgid "last saved"
3067
  msgstr "zuletzt gespeichert:"
3068
 
3069
+ #: includes/B2S/Post/Item.php:608 includes/B2S/Post/Item.php:744
3070
  #: includes/B2S/Ship/Save.php:427
3071
  msgid "Retweet"
3072
  msgstr "Retweet"
3073
 
3074
+ #: includes/B2S/Post/Item.php:614 includes/B2S/Post/Item.php:684
3075
+ #: includes/B2S/Post/Item.php:749
3076
  msgid "select all"
3077
  msgstr "alle auswählen"
3078
 
3079
+ #: includes/B2S/Post/Item.php:617
3080
  msgid "show"
3081
  msgstr "ansehen"
3082
 
3083
+ #: includes/B2S/Post/Item.php:624 includes/B2S/Ship/Save.php:438
3084
  msgid "Please see"
3085
  msgstr "siehe"
3086
 
3087
+ #: includes/B2S/Post/Item.php:630
3088
  #, php-format
3089
  msgid "sharing in progress by %s"
3090
  msgstr "wird gerade von %s geteilt"
3091
 
3092
+ #: includes/B2S/Post/Item.php:630
3093
  #, php-format
3094
  msgid "shared by %s"
3095
  msgstr "von %s geteilt"
3096
 
3097
+ #: includes/B2S/Post/Item.php:651 includes/B2S/Post/Item.php:664
3098
  msgid "You want to delete a publish post entry?"
3099
  msgstr "Du möchtest einen veröffentlichten Beitrag löschen?"
3100
 
3101
+ #: includes/B2S/Post/Item.php:652 includes/B2S/Post/Item.php:665
3102
  msgid "delete from reporting"
3103
  msgstr "aus Reporting löschen"
3104
 
3105
+ #: includes/B2S/Post/Item.php:655
3106
  msgid "re-share"
3107
  msgstr "erneut teilen"
3108
 
3109
+ #: includes/B2S/Post/Item.php:687
3110
  #, php-format
3111
  msgid "is waiting to shared by %s"
3112
  msgstr "wartet darauf von %s geteilt zu werden"
3113
 
3114
+ #: includes/B2S/Post/Item.php:717 includes/B2S/Ship/Save.php:408
3115
  msgid "share"
3116
  msgstr "teilen"
3117
 
3118
+ #: includes/B2S/Post/Item.php:725
3119
  msgid "You want to delete your Social Media post?"
3120
  msgstr "Du möchtest Deinen Social Media Post löschen?"
3121
 
3122
+ #: includes/B2S/Post/Item.php:759
3123
  #, php-format
3124
  msgid "last modified by %s"
3125
  msgstr "zuletzt von %s bearbeitet"
3126
 
3127
+ #: includes/B2S/Post/Item.php:761
3128
  msgid "is processed by the network"
3129
  msgstr "wird vom Netzwerk verarbeitet"
3130
 
3131
+ #: includes/B2S/Post/Item.php:766
3132
  #, php-format
3133
  msgid "scheduled by %s"
3134
  msgstr "von %s vorgeplant "
3135
 
3136
+ #: includes/B2S/Post/Item.php:771
3137
  msgid "You want to edit your scheduled post?"
3138
  msgstr "Sie möchten Ihre vorgeplanten Beiträge bearbeiten?"
3139
 
3140
+ #: includes/B2S/Post/Item.php:772
3141
  msgid "edit"
3142
  msgstr "edit"
3143
 
3144
+ #: includes/B2S/Post/Item.php:783
3145
  msgid "delete scheduling"
3146
  msgstr "Planung löschen"
3147
 
3148
+ #: includes/B2S/Settings/Item.php:60 includes/B2S/Settings/Item.php:92
3149
+ #: includes/B2S/Ship/Item.php:968
3150
  msgid "Account"
3151
  msgstr "Konto"
3152
 
3153
+ #: includes/B2S/Settings/Item.php:69
3154
  msgid "Timezone for Scheduling"
3155
  msgstr "Zeitzone für die Planung"
3156
 
3157
+ #: includes/B2S/Settings/Item.php:69
3158
  msgid "User"
3159
  msgstr "Benutzer"
3160
 
3161
+ #: includes/B2S/Settings/Item.php:75
3162
  msgid "Url Shortener"
3163
  msgstr "Url Shortener"
3164
 
3165
+ #: includes/B2S/Settings/Item.php:77
3166
+ msgid "no URL Shortener"
3167
+ msgstr "kein URL Shortener"
3168
 
3169
+ #: includes/B2S/Settings/Item.php:92
3170
+ msgid "change"
3171
+ msgstr "ändern"
3172
+
3173
+ #: includes/B2S/Settings/Item.php:98
3174
  msgid "Shortcodes"
3175
  msgstr "Shortcodes"
3176
 
3177
+ #: includes/B2S/Settings/Item.php:99
3178
  msgid "allow shortcodes in my post"
3179
  msgstr "berücksichtige Shortcodes in meinen Beiträgen"
3180
 
3181
+ #: includes/B2S/Settings/Item.php:101 includes/B2S/Ship/Item.php:914
3182
  msgid "Hashtags"
3183
  msgstr "Hashtags"
3184
 
3185
+ #: includes/B2S/Settings/Item.php:102
3186
  msgid "include Wordpress tags as hashtags in my post"
3187
  msgstr " Füge WordPress-Tags als Hashtags zu Deinen Social Media-Posts hinzu"
3188
 
3189
+ #: includes/B2S/Settings/Item.php:106
3190
  msgid "System"
3191
  msgstr "System"
3192
 
3193
+ #: includes/B2S/Settings/Item.php:107 includes/B2S/Settings/Item.php:305
3194
+ #: includes/B2S/Settings/Item.php:332
3195
  msgid ""
3196
  "This is a global feature for your blog, which can only be edited by users "
3197
  "with admin rights."
3199
  "Dies ist eine globale Einstellung für Deinen Blog, die nur von Usern mit "
3200
  "Admin Rechten bearbeitet werden kann."
3201
 
3202
+ #: includes/B2S/Settings/Item.php:108
3203
  msgid "activate Legacy mode"
3204
  msgstr "Kompatibilitätsmodus aktivieren"
3205
 
3206
+ #: includes/B2S/Settings/Item.php:125
3207
+ msgid ""
3208
+ "Auto-posts for Facebook Profiles will be shown in the \"Instant Sharing\" "
3209
+ "tab on your \"Posts & Sharing\" navigation bar and can be shared on your "
3210
+ "Facebook Profile by clicking on the \"Share\" button next to your auto-post."
3211
+ msgstr ""
3212
+ "Auto-Posts für Facebook-Profile laufen automatisch im \"Instant Sharing\" "
3213
+ "Tab in der Navigationsleiste unter \"Beiträge\" ein und können durch einen "
3214
+ "Klick auf den “Teilen” Button neben dem Post an Dein Facebook-Profil "
3215
+ "gesendet werden."
3216
+
3217
+ #: includes/B2S/Settings/Item.php:128
3218
+ msgid "Autoposter"
3219
+ msgstr "Auto-Poster"
3220
 
3221
+ #: includes/B2S/Settings/Item.php:129
3222
+ msgid ""
3223
+ "Set up your autoposter to automatically share your new or updated posts, "
3224
+ "pages and custom post types on your social media channels."
3225
  msgstr ""
3226
+ "Nutze den Auto-Poster, um Deine neuen oder aktualisierten Beiträge, Seiten "
3227
+ "und Cutsom Post Types automatisch auf Deinen Social-Media-Kanälen zu teilen."
3228
 
3229
+ #: includes/B2S/Settings/Item.php:138
3230
  msgid ""
3231
+ "Select your preferred network collection for autoposting. This collection "
3232
+ "defines the social media accounts on which the autoposter will share your "
3233
+ "social media posts automatically."
3234
  msgstr ""
3235
+ "Wähle die Netzwerkgruppierung mit den Social-Media-Accounts aus, auf denen "
3236
+ "der Auto-Poster veröffentlichen soll."
3237
 
3238
+ #: includes/B2S/Settings/Item.php:142
3239
+ msgid "Please select a post type"
3240
+ msgstr "Bitte wählen Sie einen Post Type aus"
3241
+
3242
+ #: includes/B2S/Settings/Item.php:145
3243
  msgid "new posts"
3244
  msgstr "Neue Beiträge"
3245
 
3246
+ #: includes/B2S/Settings/Item.php:146 includes/B2S/Settings/Item.php:158
3247
  msgid "Unselect all"
3248
  msgstr "Alle abwählen"
3249
 
3250
+ #: includes/B2S/Settings/Item.php:146 includes/B2S/Settings/Item.php:158
3251
  msgid "Select all"
3252
  msgstr "Alle auswählen"
3253
 
3254
+ #: includes/B2S/Settings/Item.php:154
3255
  msgid ""
3256
  "By enabling this feature your previously published social media posts will "
3257
  "be sent again to your selected social media channels as soon as the post is "
3261
  "Beiträge erneut an die Social Media Kanäle gesendet werden, sobald der "
3262
  "Beitrag aktualisiert wird."
3263
 
3264
+ #: includes/B2S/Settings/Item.php:157
3265
  msgid "updating existing posts"
3266
  msgstr "Bestehenden Beitrag aktualisieren"
3267
 
3268
+ #: includes/B2S/Settings/Item.php:167
3269
+ msgid "Apply best times"
3270
+ msgstr "Beste Zeiten berücksichtigen"
3271
 
3272
+ #: includes/B2S/Settings/Item.php:173
3273
+ msgid "Autoposter for Imported Posts"
3274
+ msgstr "Auto-Poster für importierte Beiträge"
 
 
3275
 
3276
+ #: includes/B2S/Settings/Item.php:174
3277
  msgid ""
3278
+ "Set up your autoposter to automatically share your imported posts, pages and "
3279
+ "custom post types on your social media channels."
3280
  msgstr ""
3281
+ "Nutze den Auto-Poster, um Deine importierten Beiträge, Seiten und Cutsom "
3282
+ "Post Types automatisch auf Deinen Social-Media-Kanälen zu teilen."
3283
 
3284
+ #: includes/B2S/Settings/Item.php:177
3285
  msgid ""
3286
  "Immediate Cross-Posting across all networks: Share an unlimited number of "
3287
  "posts"
3289
  "Immediate Cross-Posting über alle Netzwerke hinweg: Teile eine unbegrenzte "
3290
  "Anzahl an Beiträgen"
3291
 
3292
+ #: includes/B2S/Settings/Item.php:178
3293
  msgid "Scheduled Auto-Posting"
3294
  msgstr "Scheduled Auto-Posting"
3295
 
3296
+ #: includes/B2S/Settings/Item.php:180
3297
  msgid "share up to"
3298
  msgstr "teile bis zu"
3299
 
3300
+ #: includes/B2S/Settings/Item.php:180
3301
  msgid "posts per day, Google My Business max. 10 posts per day"
3302
  msgstr "Beiträge pro Tag, Google My Business maximal 10 Beiträge pro Tag"
3303
 
3304
+ #: includes/B2S/Settings/Item.php:189
3305
+ msgid "Please select a social media network"
3306
+ msgstr "Bitte wählen Sie ein Netzwerk aus"
 
3307
 
3308
+ #: includes/B2S/Settings/Item.php:190
3309
  msgid "Available networks to select your auto-post connecitons:"
3310
  msgstr "Verfügbare Netwerkverbindungen:"
3311
 
3312
+ #: includes/B2S/Settings/Item.php:191
3313
  msgid ""
3314
  "In accordance with the new Twitter TOS, one Twitter account can be selected "
3315
  "as your primary Twitter account for auto-posting."
3317
  "In Übereinstimmung mit den neuen Twitter-AGB kann ein Twitter-Account als "
3318
  "Ihr primärer Twitter-Account für das Auto-Posting ausgewählt werden"
3319
 
3320
+ #: includes/B2S/Settings/Item.php:193
 
 
 
 
3321
  msgid "Select to auto-post immediately after publishing or with a delay"
3322
  msgstr "Importierte Beiträge direkt veröffentlichen oder mit einer Verzögerung"
3323
 
3324
+ #: includes/B2S/Settings/Item.php:195
3325
  msgid "publish with a delay of"
3326
  msgstr "Veröffentliche mit einer Verzögerung von"
3327
 
3328
+ #: includes/B2S/Settings/Item.php:196
3329
  msgid "minutes"
3330
  msgstr "Minuten"
3331
 
3332
+ #: includes/B2S/Settings/Item.php:209
3333
+ msgid "Save"
3334
+ msgstr " Speichern"
3335
+
3336
+ #: includes/B2S/Settings/Item.php:219
3337
  msgid ""
3338
  "Filter Posts (Only posts that meet the following criteria will be autoposted)"
3339
  msgstr ""
3340
  "Beiträge filtern (Nur Beiträge, die die Kriterien erfüllen, werden "
3341
  "automatisch veröffentlicht)"
3342
 
3343
+ #: includes/B2S/Settings/Item.php:220
3344
  msgid "Post Types"
3345
  msgstr "Posttypen"
3346
 
3347
+ #: includes/B2S/Settings/Item.php:221
3348
  msgid "Include (Post only...)"
3349
  msgstr "enthält (nur Beiträge, mit ...)"
3350
 
3351
+ #: includes/B2S/Settings/Item.php:222
3352
  msgid "Exclude (Do no post ...)"
3353
  msgstr "enthält nicht (Veröffentliche keine Beiträge, mit...)"
3354
 
3355
+ #: includes/B2S/Settings/Item.php:259
3356
  msgid "add/change connection"
3357
  msgstr "Verbindung hinzufügen/ändern"
3358
 
3359
+ #: includes/B2S/Settings/Item.php:303
3360
  msgid "Reset all page and post meta data"
3361
  msgstr "Lösche alle Seiten und Beitrags Meta Angaben"
3362
 
3363
+ #: includes/B2S/Settings/Item.php:308
3364
  msgid "Meta Tags Settings for Posts and Pages"
3365
  msgstr "Meta Tag Einstellungen für Beiträge und Seiten"
3366
 
3367
+ #: includes/B2S/Settings/Item.php:309
3368
  msgid ""
3369
  "Add Open Graph meta tags to your shared posts or pages, required by Facebook "
3370
  "and other social networks to display your post or page image, title and "
3374
  "Facebook und andere soziale Netzwerke Bilder, Titel und Beschreibung Deines "
3375
  "Beitrag/Seite korrekt darstellen können."
3376
 
3377
+ #: includes/B2S/Settings/Item.php:311
3378
  msgid ""
3379
  "Add Twitter Card meta tags to your shared posts or pages, required by "
3380
  "Twitter to display your post or page image, title and description correctly."
3383
  "Twitter Bilder, Titel und Beschreibung Deines Beitrag/Seite korrekt "
3384
  "darstellen kann."
3385
 
3386
+ #: includes/B2S/Settings/Item.php:334
3387
  msgid "Frontpage Settings"
3388
  msgstr "Frontpage Einstellungen"
3389
 
3390
+ #: includes/B2S/Settings/Item.php:336
3391
  msgid "Check Settings with Sharing-Debugger"
3392
  msgstr "Einstellungen mit Sharing-Debugger überprüfen"
3393
 
3394
+ #: includes/B2S/Settings/Item.php:346
3395
  msgid ""
3396
  "Add the default Open Graph parameters for title, description and image you "
3397
  "want Facebook to display, if you share the frontpage of your blog as link "
3401
  "die Open Graph Parameter bei Facebook, wenn Du die Frontpage Deines Blogs "
3402
  "als Link Post teilst (http://www.DeinBlog.de)"
3403
 
3404
+ #: includes/B2S/Settings/Item.php:350 includes/B2S/Settings/Item.php:371
3405
  msgid "Description"
3406
  msgstr "Beschreibung"
3407
 
3408
+ #: includes/B2S/Settings/Item.php:351 includes/B2S/Settings/Item.php:372
3409
  msgid "Image URL"
3410
  msgstr "Bild Url"
3411
 
3412
+ #: includes/B2S/Settings/Item.php:353 includes/B2S/Settings/Item.php:374
3413
  #: includes/B2S/Ship/Image.php:85 includes/B2S/Ship/Image.php:87
3414
  msgid "Image upload / Media Gallery"
3415
  msgstr "Bild hochladen / Mediathek"
3416
 
3417
+ #: includes/B2S/Settings/Item.php:356
3418
  msgid ""
3419
  "Please note: Facebook supports images with a minimum dimension of 200x200 "
3420
  "pixels and an aspect ratio of 1:1."
3422
  "Bitte beachte: Facebook unterstützt Bilder mit einer Mindestgröße von "
3423
  "200x200 Pixel and einem Bildgrößenverhältnis von 1:1."
3424
 
3425
+ #: includes/B2S/Settings/Item.php:362
3426
  msgid ""
3427
  "Add the default Twitter Card parameters for title, description and image you "
3428
  "want Twitter to display, if you share the frontpage of your blog as link "
3432
  "Image, wenn Du die Frontpage Deines Blogs als Link Post teilst (http://www."
3433
  "DeinBlog.de)"
3434
 
3435
+ #: includes/B2S/Settings/Item.php:365
3436
  msgid "The default card type to use"
3437
  msgstr "Wählen Sie Ihre Standard-Twitter-Card"
3438
 
3439
+ #: includes/B2S/Settings/Item.php:367
3440
  msgid "Summary"
3441
  msgstr "Link-Darstellung"
3442
 
3443
+ #: includes/B2S/Settings/Item.php:368
3444
  msgid "Summary with large image"
3445
  msgstr "Link-Darstellung mit großem Bild"
3446
 
3447
+ #: includes/B2S/Settings/Item.php:368
3448
  msgid "(SMART)"
3449
  msgstr "(SMART)"
3450
 
3451
+ #: includes/B2S/Settings/Item.php:377
3452
  msgid ""
3453
  "Please note: Twitter supports images with a minimum dimension of 144x144 "
3454
  "pixels and a maximum dimension of 4096x4096 pixels and less than 5 BM. The "
3460
  "Bilder werden auf ein quadratisches Maß übertragen. Twitter unterstützt die "
3461
  "Bildformate JPG, PNG, WEBP und GIF. "
3462
 
3463
+ #: includes/B2S/Settings/Item.php:395
3464
  msgid "Did you know?"
3465
  msgstr "Wusstest Du schon?"
3466
 
3467
+ #: includes/B2S/Settings/Item.php:396
3468
  msgid ""
3469
  "With Premium Pro, you can change the custom post format photo post or link "
3470
  "post for each individual social media post and channel (profile, page, group)"
3474
  "pro Social Media Kanal verändern und Deine Beiträge als BildPost oder als "
3475
  "Link-Post auf Deinen Profilen, Seiten oder Gruppen teilen."
3476
 
3477
+ #: includes/B2S/Settings/Item.php:396
3478
  msgid "Upgrade to Premium Pro now."
3479
  msgstr "Upgrade auf Premium PRO"
3480
 
3481
+ #: includes/B2S/Settings/Item.php:424
3482
  msgid "The image will be changed"
3483
  msgstr "Das Bild wird geändert"
3484
 
3485
+ #: includes/B2S/Settings/Item.php:427 views/b2s/html/footer.php:129
3486
  msgid ""
3487
  "Insert white frames to show the whole image in your timeline. All image "
3488
  "information will be shown in your timeline."
3490
  "Füge weiße Rahmen ein, um das gesamte Bild in Deiner Zeitleiste anzuzeigen. "
3491
  "Alle Bildinformationen werden in Deiner Zeitleiste angezeigt."
3492
 
3493
+ #: includes/B2S/Settings/Item.php:429 views/b2s/html/footer.php:112
3494
  msgid ""
3495
  "The link post format displays posts title, link address and the first one or "
3496
  "two sentences of the post. The networks scan this information from your META "
3513
  "ausgewählt hast, zeigen einige Netzwerke das erste Bild an, dass sie auf "
3514
  "Deiner Seite finden."
3515
 
3516
+ #: includes/B2S/Settings/Item.php:438 views/b2s/html/footer.php:134
3517
  msgid ""
3518
  "The image preview will be cropped automatically to fit the default Instagram "
3519
  "layout for your Instagram timeline. The image will be shown uncropped when "
3524
  "Ganzes angezeigt, wenn Du die Vorschauseite für Deinen Instagram-Beitrag "
3525
  "öffnest. "
3526
 
3527
+ #: includes/B2S/Settings/Item.php:440 views/b2s/html/footer.php:117
3528
  msgid ""
3529
  "A photo or image post displays the selected image in the one-page preview of "
3530
  "Blog2Social and your comment above the image. The image links to the image "
3602
  msgid "Apply image for all og-meta networks"
3603
  msgstr "Bild für alle og-meta-Netzwerke anwenden"
3604
 
3605
+ #: includes/B2S/Ship/Item.php:153
3606
  msgid "Network does not support image for profiles"
3607
  msgstr "Netzwerk unterstützt keine Bilder für Profile"
3608
 
3609
+ #: includes/B2S/Ship/Item.php:154 includes/B2S/Ship/Item.php:217
3610
  msgid "Network defines image by link"
3611
  msgstr "Netzwerk wählt selber das Bild aus"
3612
 
3613
+ #: includes/B2S/Ship/Item.php:156
3614
  msgid "Supported HTML tags"
3615
  msgstr "Erlaubte HTML-Elemente"
3616
 
3617
+ #: includes/B2S/Ship/Item.php:157 includes/B2S/Ship/Item.php:216
3618
  msgid "Network does not support emojis"
3619
  msgstr "Netzwerk unterstützt keine Emojis"
3620
 
3621
+ #: includes/B2S/Ship/Item.php:158 includes/B2S/Ship/Item.php:218
3622
  msgid "Network does not support GIFs"
3623
  msgstr "Das Netzwerk unterstützt keine GIFs"
3624
 
3625
+ #: includes/B2S/Ship/Item.php:200
3626
  msgid "Text only"
3627
  msgstr "nur Text"
3628
 
3629
+ #: includes/B2S/Ship/Item.php:215
3630
  msgid "Network does not support image for pages"
3631
  msgstr "Netzwerk unterstützt keine Bilder für Seiten"
3632
 
3633
+ #: includes/B2S/Ship/Item.php:308
3634
  msgid "Connection expires on 31 March 2019"
3635
  msgstr "Die Verbindung endet am 31. März 2019."
3636
 
3637
+ #: includes/B2S/Ship/Item.php:312
3638
  msgid "Connection expires on 2 April 2019"
3639
  msgstr "Die Verbindung endet am 2. April 2019."
3640
 
3641
+ #: includes/B2S/Ship/Item.php:325
3642
  msgid "post format"
3643
  msgstr "Postformat"
3644
 
3645
+ #: includes/B2S/Ship/Item.php:340 includes/B2S/Ship/Item.php:1153
3646
  msgid "Insert full-text"
3647
  msgstr "ganzen Text einfügen"
3648
 
3649
+ #: includes/B2S/Ship/Item.php:342 includes/B2S/Ship/Item.php:1155
3650
  msgid "Delete text"
3651
  msgstr "Text löschen"
3652
 
3653
+ #: includes/B2S/Ship/Item.php:349 includes/B2S/Ship/Item.php:651
3654
+ #: includes/B2S/Ship/Item.php:1019
3655
  msgid ""
3656
  "Please keep in mind that according to Twitter’s new TOS, users are no longer "
3657
  "allowed to post identical or substantially similar content to multiple "
3662
  "Accounts oder mehrere identische Updates auf einem Twitter Account oder auch "
3663
  "mehreren Accounts zu posten."
3664
 
3665
+ #: includes/B2S/Ship/Item.php:349 includes/B2S/Ship/Item.php:651
3666
+ #: includes/B2S/Ship/Item.php:1019
3667
  msgid ""
3668
  "Violating these rules can result in Twitter suspending your account. Always "
3669
  "vary your Tweets with different comments, hashtags or handles to prevent "
3673
  "sperrt. Variieren Sie Ihre Tweets mit unterschiedlichen Kommentaren, "
3674
  "Hashtags und Handles um doppelte Beiträge zu vermeiden."
3675
 
3676
+ #: includes/B2S/Ship/Item.php:349 includes/B2S/Ship/Item.php:651
3677
+ #: includes/B2S/Ship/Item.php:1019
3678
  msgid "Learn more about this"
3679
  msgstr "Erfahre mehr darüber"
3680
 
3681
+ #: includes/B2S/Ship/Item.php:353
3682
  msgid ""
3683
  "Please note: XING allows identical posts to be published only once within a "
3684
  "group and no more than three times across different groups."
3687
  "einmal innerhalb einer Gruppe und nicht mehr als dreimal in verschiedenen "
3688
  "Gruppen."
3689
 
3690
+ #: includes/B2S/Ship/Item.php:353
3691
  msgid "Read more"
3692
  msgstr "Weiterlesen"
3693
 
3694
+ #: includes/B2S/Ship/Item.php:358
3695
  msgid ""
3696
  "Please keep in mind that users are not allowed to post identical or "
3697
  "substantially similar content to multiple accounts or multiple duplicate "
3701
  "im Wesentlichen ähnliche Inhalte in mehreren Konten oder mehrere doppelte "
3702
  "Updates in einem Konto zu veröffentlichen."
3703
 
3704
+ #: includes/B2S/Ship/Item.php:358
3705
  msgid ""
3706
  "Violating these rules can result in suspending your account. Always vary "
3707
  "your content with different images, comments, hashtags or handles to prevent "
3711
  "Variieren Sie Ihre Inhalte immer mit unterschiedlichen Bildern, Kommentaren, "
3712
  "Hashtags oder Handles, um doppelte Beiträge zu vermeiden."
3713
 
3714
+ #: includes/B2S/Ship/Item.php:378
3715
  msgid "hide calendar"
3716
  msgstr "Planungskalender verbergen"
3717
 
3718
+ #: includes/B2S/Ship/Item.php:435 includes/B2S/Ship/Item.php:464
3719
+ #: includes/B2S/Ship/Item.php:494 includes/B2S/Ship/Item.php:523
3720
+ #: includes/B2S/Ship/Item.php:552 includes/B2S/Ship/Item.php:580
3721
+ #: includes/B2S/Ship/Item.php:608 includes/B2S/Ship/Item.php:639
3722
+ #: includes/B2S/Ship/Item.php:662 includes/B2S/Ship/Item.php:683
3723
+ #: includes/B2S/Ship/Item.php:704 includes/B2S/Ship/Item.php:725
3724
+ #: includes/B2S/Ship/Item.php:746 includes/B2S/Ship/Item.php:767
3725
+ #: includes/B2S/Ship/Item.php:777
3726
  msgid "Write something about your post..."
3727
  msgstr "Schreibe etwas..."
3728
 
3729
+ #: includes/B2S/Ship/Item.php:450 includes/B2S/Ship/Item.php:509
3730
+ #: includes/B2S/Ship/Item.php:539 includes/B2S/Ship/Item.php:567
3731
+ #: includes/B2S/Ship/Item.php:595
3732
  msgid ""
3733
  "Info: Change Open Graph Meta tags image, title and description for this "
3734
  "network"
3735
  msgstr "Info: Ändere die Open Graph Parameter für diese Netzwerk"
3736
 
3737
+ #: includes/B2S/Ship/Item.php:453 includes/B2S/Ship/Item.php:483
3738
+ #: includes/B2S/Ship/Item.php:512 includes/B2S/Ship/Item.php:542
3739
+ #: includes/B2S/Ship/Item.php:570 includes/B2S/Ship/Item.php:598
3740
  msgid ""
3741
  "You want to change your link image, link title and link description for this "
3742
  "network? Click here."
3743
  msgstr ""
3744
  "Du möchtest das Bild, den Titel und die Beschreibung ändern? Hier Klicken."
3745
 
3746
+ #: includes/B2S/Ship/Item.php:455 includes/B2S/Ship/Item.php:514
3747
+ #: includes/B2S/Ship/Item.php:544 includes/B2S/Ship/Item.php:572
3748
+ #: includes/B2S/Ship/Item.php:600
3749
  msgid "OG Meta title"
3750
  msgstr "OG Titel"
3751
 
3752
+ #: includes/B2S/Ship/Item.php:456 includes/B2S/Ship/Item.php:515
3753
+ #: includes/B2S/Ship/Item.php:545 includes/B2S/Ship/Item.php:573
3754
+ #: includes/B2S/Ship/Item.php:601
3755
  msgid "OG Meta description"
3756
  msgstr "OG Beschreibung"
3757
 
3758
+ #: includes/B2S/Ship/Item.php:478
3759
+ msgid ""
3760
+ "Please note: Twitter stores the Card parameters of a link for up to 7 days. "
3761
+ "Changes may not be immediately visible on Twitter."
3762
+ msgstr ""
3763
+ "Hinweis: Twitter speichert die Card Parameter eines Links für bis zu 7 Tage. "
3764
+ "Änderungen werden daher möglicherweise nicht sofort auf Twitter dargestellt."
3765
+
3766
+ #: includes/B2S/Ship/Item.php:480
3767
  msgid ""
3768
  "Info: Change Card Meta tags image, title and description for this network"
3769
  msgstr "Info: Ändere die Twitter Card Parameter für diese Netzwerk"
3770
 
3771
+ #: includes/B2S/Ship/Item.php:485
3772
  msgid "Card Meta title"
3773
  msgstr "Card Titel"
3774
 
3775
+ #: includes/B2S/Ship/Item.php:486
3776
  msgid "Card Meta description"
3777
  msgstr "Card Beschreibung"
3778
 
3779
+ #: includes/B2S/Ship/Item.php:537
3780
+ msgid ""
3781
+ "Please note: XING stores the Open Graph parameters of a link for up to 7 "
3782
+ "days. Changes may not be immediately visible on XING."
3783
+ msgstr ""
3784
+ "Hinweis: XING speichert die Open Graph Parameter eines Links für bis zu 7 "
3785
+ "Tage. Änderungen werden daher möglicherweise nicht sofort auf XING "
3786
+ "dargestellt."
3787
+
3788
+ #: includes/B2S/Ship/Item.php:793
3789
  msgid "required"
3790
  msgstr "erforderlich"
3791
 
3792
+ #: includes/B2S/Ship/Item.php:888
3793
  msgid "Jobs & Projects"
3794
  msgstr "Stellenangebote & Projekte"
3795
 
3796
+ #: includes/B2S/Ship/Item.php:889
3797
  msgid "Events"
3798
  msgstr "Events"
3799
 
3800
+ #: includes/B2S/Ship/Item.php:890
3801
  msgid "Classified Ads"
3802
  msgstr "Kleinanzeigen"
3803
 
3804
+ #: includes/B2S/Ship/Item.php:892
3805
  msgid "Offer"
3806
  msgstr "Angebot"
3807
 
3808
+ #: includes/B2S/Ship/Item.php:893
3809
  msgid "Request"
3810
  msgstr "Anfrage"
3811
 
3812
+ #: includes/B2S/Ship/Item.php:904
3813
  msgid "The Headline..."
3814
  msgstr "Die Überschrift..."
3815
 
3816
+ #: includes/B2S/Ship/Item.php:912
3817
  #, php-format
3818
  msgid "max. %s Tags"
3819
  msgstr "max. %s Tags"
3820
 
3821
+ #: includes/B2S/Ship/Item.php:950
3822
  msgid "Enable Retweets for all Tweets with the selected profile"
3823
  msgstr "Retweets für alle Tweets mit dem gewählten Profil aktivieren"
3824
 
3825
+ #: includes/B2S/Ship/Item.php:969 views/b2s/partials/post-edit-modal.php:73
3826
  msgid "Delay"
3827
  msgstr "Verzögerung"
3828
 
3829
+ #: includes/B2S/Ship/Item.php:979 includes/B2S/Ship/Item.php:980
3830
+ #: includes/B2S/Ship/Item.php:981 includes/B2S/Ship/Item.php:982
3831
  #: views/b2s/partials/post-edit-modal.php:77
3832
  #: views/b2s/partials/post-edit-modal.php:78
3833
  #: views/b2s/partials/post-edit-modal.php:79
3835
  msgid "min"
3836
  msgstr "min"
3837
 
3838
+ #: includes/B2S/Ship/Item.php:987
3839
  msgid "Add Retweet"
3840
  msgstr "Retweet hinzufügen"
3841
 
3842
+ #: includes/B2S/Ship/Item.php:1007
3843
  msgid "Share Now"
3844
  msgstr "Sofort teilen"
3845
 
3846
+ #: includes/B2S/Ship/Item.php:1012
3847
  msgid "Schedule Recurrent Post"
3848
  msgstr "regelmäßig Planen"
3849
 
3850
+ #: includes/B2S/Ship/Item.php:1048 views/b2s/partials/post-edit-modal.php:47
3851
  msgid ""
3852
  "Please note: Your account is connected via an old XING API that is no longer "
3853
  "supported by XING after March 31. Please connect your XING profile, as well "
3862
  "mit der neuen XING-Schnittstelle. Gehe dazu in den Bereich Blog2Social "
3863
  "\"Netzwerke\" und verbinde Dein XING-Konto über die neue XING-Schnittstelle."
3864
 
3865
+ #: includes/B2S/Ship/Item.php:1052 views/b2s/partials/post-edit-modal.php:51
3866
  msgid ""
3867
  "Please note: Google will shut down Google+ for all private accounts "
3868
  "(profiles, pages, groups) on 2nd April 2019. You can find further "
3874
  "Informationen zu den nächsten Schritten, u. a. dazu, wie Du Deine Fotos und "
3875
  "andere Inhalte herunterladen kannst:"
3876
 
3877
+ #: includes/B2S/Ship/Item.php:1055
3878
  msgid "Repeats"
3879
  msgstr "Wiederholen"
3880
 
3881
+ #: includes/B2S/Ship/Item.php:1056 includes/B2S/Ship/Item.php:1059
3882
  msgid "Duration"
3883
  msgstr "Dauer"
3884
 
3885
+ #: includes/B2S/Ship/Item.php:1060
3886
  msgid "Number of repeats"
3887
  msgstr "Anzahl der Wiederholungen"
3888
 
3889
+ #: includes/B2S/Ship/Item.php:1061
3890
  msgid "Day of month"
3891
  msgstr "Tag im Monat"
3892
 
3893
+ #: includes/B2S/Ship/Item.php:1062
3894
  msgid "Repeats every (days)"
3895
  msgstr "Wiederholt sich alle X Tage"
3896
 
3897
+ #: includes/B2S/Ship/Item.php:1064
3898
  msgid "Start date"
3899
  msgstr "Startdatum"
3900
 
3901
+ #: includes/B2S/Ship/Item.php:1065
3902
  msgid "Time to publish"
3903
  msgstr "Veröffentlichungszeitpunkt"
3904
 
3905
+ #: includes/B2S/Ship/Item.php:1074
3906
  msgid "weekly"
3907
  msgstr "wöchentlich"
3908
 
3909
+ #: includes/B2S/Ship/Item.php:1075
3910
  msgid "monthly"
3911
  msgstr "monatlich"
3912
 
3913
+ #: includes/B2S/Ship/Item.php:1076
3914
  msgid "own period"
3915
  msgstr "Eigener Zeitraum"
3916
 
3917
+ #: includes/B2S/Ship/Item.php:1082
3918
  msgid "Week"
3919
  msgstr "Woche"
3920
 
3921
+ #: includes/B2S/Ship/Item.php:1082
3922
  msgid "Weeks"
3923
  msgstr "Wochen"
3924
 
3925
+ #: includes/B2S/Ship/Item.php:1091
3926
  msgid "Month"
3927
  msgstr "Monat"
3928
 
3929
+ #: includes/B2S/Ship/Item.php:1091
3930
  msgid "Months"
3931
  msgstr "Monate"
3932
 
3933
+ #: includes/B2S/Ship/Item.php:1111
3934
  msgid "End Of Month"
3935
  msgstr "Monatsende"
3936
 
3937
+ #: includes/B2S/Ship/Item.php:1116
3938
  msgid "Timespan"
3939
  msgstr "Zeitspanne"
3940
 
3941
+ #: includes/B2S/Ship/Item.php:1119 views/b2s/partials/post-edit-modal.php:63
3942
  #: views/b2s/partials/post-edit-modal.php:66
3943
  msgid "Time"
3944
  msgstr "Mal"
3945
 
3946
+ #: includes/B2S/Ship/Item.php:1124
3947
  msgid "Mon"
3948
  msgstr "Mo"
3949
 
3950
+ #: includes/B2S/Ship/Item.php:1125
3951
  msgid "Tue"
3952
  msgstr "Di"
3953
 
3954
+ #: includes/B2S/Ship/Item.php:1126
3955
  msgid "Wed"
3956
  msgstr "Mi"
3957
 
3958
+ #: includes/B2S/Ship/Item.php:1127
3959
  msgid "Thu"
3960
  msgstr "Do"
3961
 
3962
+ #: includes/B2S/Ship/Item.php:1128
3963
  msgid "Fri"
3964
  msgstr "Fr"
3965
 
3966
+ #: includes/B2S/Ship/Item.php:1129
3967
  msgid "Sat"
3968
  msgstr "Sa"
3969
 
3970
+ #: includes/B2S/Ship/Item.php:1130
3971
  msgid "Sun"
3972
  msgstr "So"
3973
 
3974
+ #: includes/B2S/Ship/Item.php:1137
3975
  msgid "add another post"
3976
  msgstr "einen weiteren Post anlegen"
3977
 
3978
+ #: includes/B2S/Ship/Item.php:1151
3979
  msgid "Copy from original"
3980
  msgstr "Originaltext kopieren"
3981
 
3982
+ #: includes/B2S/Ship/Item.php:1167
3983
  msgid "Apply Settings To All Networks"
3984
  msgstr "Planung für alle Netzwerke übernehmen"
3985
 
3986
+ #: includes/B2S/Ship/Item.php:1168
3987
  msgid "Save as best time for this network"
3988
  msgstr "Diese Zeit als \"Beste Zeit\" für dieses Netzwerk speichern"
3989
 
4042
  #: includes/B2S/Ship/Save.php:403
4043
  msgid ""
4044
  "-For scheduled posts, Blog2Social will save your post and move it to the "
4045
+ "\"Scheduled Posts\" tab on your \"Site & Blog Content\" navigation bar. On "
4046
+ "your scheduled date and time, your post will move to the \"Instant Sharing\" "
4047
+ "tab and you can click on \"Share\" to post it to your account instantly."
4048
  msgstr ""
4049
+ "-Bei geplanten Beiträgen speichert Blog2Social Deinen Beitrag und verschiebt "
4050
+ "ihn in das \"Geplante Beiträge\" Tab in der Navigationsleiste unter "
4051
+ "\"Beiträge\". An Deinem geplanten Termin erscheint dein Post im Instant "
4052
+ "Sharing” Tab. Klicke dann auf \"Teilen\", um Deinen Post dann an Dein "
4053
+ "Facebook-Profil zu senden!"
4054
 
4055
  #: includes/B2S/Ship/Save.php:404
4056
  msgid ""
4920
  "Die kostenlose Testversion kann nicht gestartet werden. Dieser Blog wurde "
4921
  "bereits für die kostenlose Testversion registriert."
4922
 
4923
+ #: views/b2s/html/header.php:324
4924
+ msgid "Social Media Auto-Posting"
4925
+ msgstr "Social Media Auto-Posting"
4926
+
4927
  #: views/b2s/html/header.php:326
4928
  msgid "Share on multiple accounts per network"
4929
  msgstr "Teile auf mehreren Netzwerk-Konten "
5167
  msgid "Press"
5168
  msgstr "Presse"
5169
 
 
 
 
 
 
5170
  #: views/prg/html/form.php:95 views/prg/html/form.php:172
5171
  msgid "Mrs."
5172
  msgstr "Frau"
languages/blog2social.pot CHANGED
@@ -3,7 +3,7 @@ msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Blog2Social: Social Media Auto Post & Scheduler\n"
5
  "Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: 2019-11-27 11:35+0000\n"
7
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9
  "Language-Team: \n"
@@ -31,282 +31,293 @@ msgstr ""
31
  msgid "Modify forum"
32
  msgstr ""
33
 
34
- #: includes/Loader.php:388
35
- msgid "Auto-Post on Social Media"
 
 
 
 
36
  msgstr ""
37
 
38
- #: includes/Loader.php:389
39
- msgid "Social Media Content Calendar"
40
  msgstr ""
41
 
42
- #: includes/Loader.php:689
 
 
 
 
43
  msgid "This post will be shared into your social media from"
44
  msgstr ""
45
 
46
- #: includes/Loader.php:689 includes/Loader.php:691
47
  msgid "show details"
48
  msgstr ""
49
 
50
- #: includes/Loader.php:691
51
  msgid "This post will be shared on social media in 2-3 minutes!"
52
  msgstr ""
53
 
54
- #: includes/Loader.php:695
55
  msgid ""
56
- "Please, make sure that your post are publish on this blog on this moment. "
57
- "Then you can auto post your post with Blog2social."
 
 
58
  msgstr ""
59
 
60
- #: includes/Loader.php:698 includes/B2S/PostBox.php:79
 
61
  msgid ""
62
  "There are no social network accounts assigned to your selected network "
63
  "collection. Please assign at least one social network account or select "
64
  "another network collection."
65
  msgstr ""
66
 
67
- #: includes/Loader.php:710 views/b2s/html/sidebar.php:45
68
  #: views/b2s/html/sidebar.ship.php:44
69
  msgid "Upgrade to Premium"
70
  msgstr ""
71
 
72
- #: includes/Loader.php:762 views/b2s/html/post.navbar.php:18
73
  msgid "Notifications"
74
  msgstr ""
75
 
76
- #: includes/Loader.php:762 views/b2s/html/post.navbar.php:17
77
  #: views/b2s/html/sidebar.php:119
78
  msgid "Shared Posts"
79
  msgstr ""
80
 
81
- #: includes/Loader.php:762 views/b2s/html/post.navbar.php:14
82
  #: views/b2s/html/sidebar.php:113
83
  msgid "Instant Sharing"
84
  msgstr ""
85
 
86
- #: includes/Loader.php:762 views/b2s/html/post.navbar.php:10
87
  #: views/b2s/html/post.navbar.php:12 views/b2s/html/sidebar.php:88
88
  #: views/b2s/html/sidebar.php:110
89
  msgid "Drafts"
90
  msgstr ""
91
 
92
- #: includes/Loader.php:762 views/b2s/html/post.navbar.php:15
93
  #: views/b2s/html/sidebar.php:116 views/b2s/widgets/posts.php:18
94
  msgid "Scheduled Posts"
95
  msgstr ""
96
 
97
- #: includes/Loader.php:762
98
  msgid "Social Media Post Drafts"
99
  msgstr ""
100
 
101
- #: includes/Loader.php:762 views/b2s/html/post.navbar.php:9
102
  #: views/b2s/html/sidebar.php:107
103
  msgid "Favorites"
104
  msgstr ""
105
 
106
- #: includes/Loader.php:763 includes/B2S/Network/Item.php:148
107
- #: includes/B2S/Network/Item.php:150 includes/B2S/Network/Item.php:150
108
- #: includes/B2S/Network/Item.php:223 includes/B2S/Network/Item.php:544
109
- #: includes/B2S/Settings/Item.php:245 includes/B2S/Ship/Portale.php:39
110
  #: includes/B2S/Ship/Portale.php:41 includes/B2S/Ship/Portale.php:41
111
  msgid "Profile"
112
  msgstr ""
113
 
114
- #: includes/Loader.php:763 includes/B2S/Network/Item.php:154
115
- #: includes/B2S/Network/Item.php:154 includes/B2S/Network/Item.php:288
116
- #: includes/B2S/Network/Item.php:546 includes/B2S/Settings/Item.php:245
117
  #: includes/B2S/Ship/Portale.php:35 includes/B2S/Ship/Portale.php:35
118
  msgid "Page"
119
  msgstr ""
120
 
121
- #: includes/Loader.php:763 includes/B2S/Network/Item.php:157
122
- #: includes/B2S/Network/Item.php:355 includes/B2S/Network/Item.php:549
123
  #: includes/B2S/Ship/Portale.php:31 includes/B2S/Ship/Portale.php:32
124
  msgid "Group"
125
  msgstr ""
126
 
127
- #: includes/Loader.php:764 views/prg/html/form.php:74
128
  msgid "Company"
129
  msgstr ""
130
 
131
- #: includes/Loader.php:764
132
  msgid "Business"
133
  msgstr ""
134
 
135
- #: includes/Loader.php:765
136
  #, php-format
137
  msgid ""
138
  "The network could not publish your post. Please see <a target=\"_blank\" "
139
  "href=\"%s\">FAQ</a>"
140
  msgstr ""
141
 
142
- #: includes/Loader.php:766
143
  msgid ""
144
  "Your authorization has expired. Please reconnect your account in the "
145
  "Blog2Social network settings."
146
  msgstr ""
147
 
148
- #: includes/Loader.php:767
149
  msgid "The network has marked the post as spam or abusive."
150
  msgstr ""
151
 
152
- #: includes/Loader.php:768
153
  msgid ""
154
  "We don't have the permission to publish your post. Please check your "
155
  "authorization."
156
  msgstr ""
157
 
158
- #: includes/Loader.php:769
159
  #, php-format
160
  msgid ""
161
  "Your authorization is interrupted. Please check your authorization. Please "
162
  "see <a target=\"_blank\" href=\"%s\">FAQ</a>"
163
  msgstr ""
164
 
165
- #: includes/Loader.php:770
166
  msgid "Your daily limit has been reached."
167
  msgstr ""
168
 
169
- #: includes/Loader.php:771
170
  msgid ""
171
  "Your post could not be posted, because your image is not available or the "
172
  "image source does not allow to publish"
173
  msgstr ""
174
 
175
- #: includes/Loader.php:772
176
  #, php-format
177
  msgid ""
178
  "The network has blocked your account. Please see <a target=\"_blank\" "
179
  "href=\"%s\">FAQ</a>"
180
  msgstr ""
181
 
182
- #: includes/Loader.php:773
183
  #, php-format
184
  msgid ""
185
  "The number of images is reached. Please see <a target=\"_blank\" href=\"%s\">"
186
  "FAQ</a>"
187
  msgstr ""
188
 
189
- #: includes/Loader.php:774
190
  msgid ""
191
  "Your daily limit for this network has been reached. Please try again later."
192
  msgstr ""
193
 
194
- #: includes/Loader.php:775
195
  #, php-format
196
  msgid ""
197
  "The network can not publish special characters such as Emoji. Please see <a "
198
  "target=\"_blank\" href=\"%s\">FAQ</a>"
199
  msgstr ""
200
 
201
- #: includes/Loader.php:776
202
  msgid "Your post is a duplicate."
203
  msgstr ""
204
 
205
- #: includes/Loader.php:777
206
  msgid "The network requires a public url."
207
  msgstr ""
208
 
209
- #: includes/Loader.php:778
210
  msgid ""
211
  "Your blog post was not available for the network at the time of publication."
212
  msgstr ""
213
 
214
- #: includes/Loader.php:779
215
  msgid "You have already retweeted this post."
216
  msgstr ""
217
 
218
- #: includes/Loader.php:780
219
  msgid ""
220
  "This XING API is no longer supported by XING. Please connect your XING "
221
  "accounts with the new XING interface to reschedule your posts."
222
  msgstr ""
223
 
224
- #: includes/Loader.php:781
225
- msgid "The network requires a image."
226
  msgstr ""
227
 
228
- #: includes/Loader.php:782
229
  msgid "To share social media posts on Reddit or Diigo, a link is required."
230
  msgstr ""
231
 
232
- #: includes/Loader.php:783
233
  msgid ""
234
  "Your post could not be posted, because your image can not be processed by "
235
  "the network."
236
  msgstr ""
237
 
238
- #: includes/Loader.php:784
239
  #, php-format
240
  msgid ""
241
  "Instagram published your post without text. Please see <a target=\"_blank\" "
242
  "href=\"%s\">FAQ</a>"
243
  msgstr ""
244
 
245
- #: includes/Loader.php:785
246
  msgid "Your group can not be found by the network."
247
  msgstr ""
248
 
249
- #: includes/Loader.php:841 includes/Loader.php:884
250
  msgid "Dashboard"
251
  msgstr ""
252
 
253
- #: includes/Loader.php:842
254
  msgid "Share Website & Blog Content"
255
  msgstr ""
256
 
257
- #: includes/Loader.php:842 includes/Loader.php:891
258
  msgid "Site & Blog Content"
259
  msgstr ""
260
 
261
- #: includes/Loader.php:843
262
  msgid "Create Social Media Posts"
263
  msgstr ""
264
 
265
- #: includes/Loader.php:843 includes/Loader.php:898
266
  msgid "Social Media Posts"
267
  msgstr ""
268
 
269
- #: includes/Loader.php:844 includes/Loader.php:905 views/b2s/dashboard.php:31
270
  #: views/b2s/html/post.navbar.php:19 views/b2s/html/sidebar.php:122
271
  msgid "Calendar"
272
  msgstr ""
273
 
274
- #: includes/Loader.php:845 includes/Loader.php:912
275
  msgid "Networks"
276
  msgstr ""
277
 
278
- #: includes/Loader.php:846 includes/Loader.php:918
279
  #: views/b2s/html/sidebar.php:131
280
  msgid "Settings"
281
  msgstr ""
282
 
283
- #: includes/Loader.php:848 includes/Loader.php:926
284
  msgid "PR-Service"
285
  msgstr ""
286
 
287
- #: includes/Loader.php:850 includes/Loader.php:934 views/b2s/html/header.php:35
288
  #: views/b2s/html/sidebar.php:134 views/b2s/html/sidebar.ship.php:66
289
  msgid "Help & Support"
290
  msgstr ""
291
 
292
- #: includes/Loader.php:852
293
  msgid "Premium"
294
  msgstr ""
295
 
296
- #: includes/Loader.php:852 includes/Loader.php:942
297
  msgid "PREMIUM"
298
  msgstr ""
299
 
300
- #: includes/Loader.php:875 views/b2s/html/sidebar.php:25
301
  #: views/b2s/html/sidebar.ship.php:24
302
  msgid "Blog2Social"
303
  msgstr ""
304
 
305
- #: includes/Loader.php:1383
306
  msgid "Blog2Social needs Wordpress Version 4.7.0 or higher."
307
  msgstr ""
308
 
309
- #: includes/Loader.php:1383 includes/System.php:72 includes/System.php:78
310
  #: includes/System.php:84
311
  #, php-format
312
  msgid ""
@@ -314,11 +325,11 @@ msgid ""
314
  "our FAQ</a>"
315
  msgstr ""
316
 
317
- #: includes/Loader.php:1383 includes/Loader.php:1404 includes/Loader.php:1626
318
  msgid "or"
319
  msgstr ""
320
 
321
- #: includes/Loader.php:1383 includes/Loader.php:1404 includes/Loader.php:1626
322
  msgid "back to install plugins"
323
  msgstr ""
324
 
@@ -364,200 +375,200 @@ msgid ""
364
  "higher, or ask your server administrator to do it for you."
365
  msgstr ""
366
 
367
- #: includes/Tools.php:265 views/b2s/html/sidebar.php:30
368
  #: views/b2s/html/sidebar.ship.php:29
369
  msgid "License"
370
  msgstr ""
371
 
372
- #: includes/Tools.php:279
373
  msgid "Greece"
374
  msgstr ""
375
 
376
- #: includes/Tools.php:280
377
  msgid "India"
378
  msgstr ""
379
 
380
- #: includes/Tools.php:281
381
  msgid "United States of America"
382
  msgstr ""
383
 
384
- #: includes/Tools.php:282
385
  msgid "Ireland"
386
  msgstr ""
387
 
388
- #: includes/Tools.php:283
389
  msgid "Italy"
390
  msgstr ""
391
 
392
- #: includes/Tools.php:284
393
  msgid "Switzerland"
394
  msgstr ""
395
 
396
- #: includes/Tools.php:285
397
  msgid "Czechoslovakia"
398
  msgstr ""
399
 
400
- #: includes/Tools.php:286
401
  msgid "Indonesia"
402
  msgstr ""
403
 
404
- #: includes/Tools.php:287
405
  msgid "Spain"
406
  msgstr ""
407
 
408
- #: includes/Tools.php:288
409
  msgid "Canada"
410
  msgstr ""
411
 
412
- #: includes/Tools.php:289
413
  msgid "Great Britain"
414
  msgstr ""
415
 
416
- #: includes/Tools.php:290
417
  msgid "Russia"
418
  msgstr ""
419
 
420
- #: includes/Tools.php:291
421
  msgid "Netherlands"
422
  msgstr ""
423
 
424
- #: includes/Tools.php:292 includes/Tools.php:306
425
  msgid "Portugal"
426
  msgstr ""
427
 
428
- #: includes/Tools.php:293
429
  msgid "Norway"
430
  msgstr ""
431
 
432
- #: includes/Tools.php:294
433
  msgid "Turkey"
434
  msgstr ""
435
 
436
- #: includes/Tools.php:295
437
  msgid "Australia"
438
  msgstr ""
439
 
440
- #: includes/Tools.php:296
441
  msgid "Austria"
442
  msgstr ""
443
 
444
- #: includes/Tools.php:297
445
  msgid "Poland"
446
  msgstr ""
447
 
448
- #: includes/Tools.php:298
449
  msgid "France"
450
  msgstr ""
451
 
452
- #: includes/Tools.php:299
453
  msgid "Romania"
454
  msgstr ""
455
 
456
- #: includes/Tools.php:300
457
  msgid "Germany"
458
  msgstr ""
459
 
460
- #: includes/Tools.php:301
461
  msgid "Denmark"
462
  msgstr ""
463
 
464
- #: includes/Tools.php:302
465
  msgid "New Zealand"
466
  msgstr ""
467
 
468
- #: includes/Tools.php:303
469
  msgid "Finland"
470
  msgstr ""
471
 
472
- #: includes/Tools.php:304
473
  msgid "Hungary"
474
  msgstr ""
475
 
476
- #: includes/Tools.php:305
477
  msgid "Japan"
478
  msgstr ""
479
 
480
- #: includes/Tools.php:307
481
  msgid "Argentina"
482
  msgstr ""
483
 
484
- #: includes/Tools.php:308
485
  msgid "Korea"
486
  msgstr ""
487
 
488
- #: includes/Tools.php:309
489
  msgid "Sweden"
490
  msgstr ""
491
 
492
- #: includes/Tools.php:310
493
  msgid "Mexico"
494
  msgstr ""
495
 
496
- #: includes/Tools.php:311
497
  msgid "Slovakia"
498
  msgstr ""
499
 
500
- #: includes/Tools.php:312
501
  msgid "Chile"
502
  msgstr ""
503
 
504
- #: includes/Tools.php:313
505
  msgid "Colombia"
506
  msgstr ""
507
 
508
- #: includes/Tools.php:314
509
  msgid "South Africa"
510
  msgstr ""
511
 
512
- #: includes/Tools.php:315
513
  msgid "Philippines"
514
  msgstr ""
515
 
516
- #: includes/Tools.php:318
517
  msgid "is determined automatically"
518
  msgstr ""
519
 
520
- #: includes/Tools.php:325
521
  msgid "Search"
522
  msgstr ""
523
 
524
- #: includes/Tools.php:326
525
  msgid "Recently Used"
526
  msgstr ""
527
 
528
- #: includes/Tools.php:327
529
  msgid "Smileys & People"
530
  msgstr ""
531
 
532
- #: includes/Tools.php:328
533
  msgid "Animals & Nature"
534
  msgstr ""
535
 
536
- #: includes/Tools.php:329
537
  msgid "Food & Drink"
538
  msgstr ""
539
 
540
- #: includes/Tools.php:330
541
  msgid "Activities"
542
  msgstr ""
543
 
544
- #: includes/Tools.php:331
545
  msgid "Travel & Places"
546
  msgstr ""
547
 
548
- #: includes/Tools.php:332
549
  msgid "Objects"
550
  msgstr ""
551
 
552
- #: includes/Tools.php:333
553
  msgid "Symbols"
554
  msgstr ""
555
 
556
- #: includes/Tools.php:334
557
  msgid "Flags"
558
  msgstr ""
559
 
560
- #: includes/Tools.php:335
561
  msgid "No emojis found"
562
  msgstr ""
563
 
@@ -599,120 +610,109 @@ msgstr ""
599
  msgid "Please contact our support!"
600
  msgstr ""
601
 
602
- #: includes/Ajax/Post.php:1655 views/b2s/network.php:6
603
- #: includes/B2S/Network/Item.php:221 includes/B2S/Network/Item.php:286
604
- #: includes/B2S/Network/Item.php:353 includes/B2S/Network/Item.php:479
605
- #: includes/B2S/Network/Item.php:495
606
  msgid "Unknown username"
607
  msgstr ""
608
 
609
- #: includes/Ajax/Post.php:1656 includes/B2S/Network/Item.php:480
610
- #: includes/B2S/Post/Item.php:447 includes/B2S/Post/Item.php:467
611
- #: includes/B2S/Post/Item.php:714 includes/B2S/Post/Item.php:763
612
- #: includes/B2S/Settings/Item.php:82 includes/B2S/Ship/Item.php:916
613
- #: includes/B2S/Ship/Item.php:1066
614
  msgid "delete"
615
  msgstr ""
616
 
617
- #: includes/B2S/PostBox.php:25
618
  msgid "Please see FAQ"
619
  msgstr ""
620
 
621
- #: includes/B2S/PostBox.php:34
622
- msgid "last auto-post:"
623
- msgstr ""
624
-
625
- #: includes/B2S/PostBox.php:76 views/b2s/ship.php:660
626
  #: views/b2s/html/header.php:55
627
  msgid "The connection to the server failed. Try again!"
628
  msgstr ""
629
 
630
- #: includes/B2S/PostBox.php:77
631
  msgid ""
632
  "WordPress uses heartbeats by default, Blog2Social as well. Please enable "
633
  "heartbeats for using Blog2Social!"
634
  msgstr ""
635
 
636
- #: includes/B2S/PostBox.php:78 includes/B2S/PostBox.php:80
637
  msgid ""
638
  "Your post is still on draft or pending status. Please make sure that your "
639
  "post is published or scheduled to be published on this blog. You can then "
640
  "auto-post or schedule and customize your social media posts with Blog2Social."
641
  msgstr ""
642
 
643
- #: includes/B2S/PostBox.php:79 includes/B2S/PostBox.php:174
 
644
  msgid "Network settings"
645
  msgstr ""
646
 
647
- #: includes/B2S/PostBox.php:81 views/b2s/ship.php:198
648
  msgid ""
649
  "Notice: Please make sure, that your website address is reachable. The Social "
650
  "Networks do not allow postings from local installations."
651
  msgstr ""
652
 
653
- #: includes/B2S/PostBox.php:97
654
  msgid "Custom Sharing & Scheduling"
655
  msgstr ""
656
 
657
- #: includes/B2S/PostBox.php:97 includes/B2S/PostBox.php:101
658
  #: views/b2s/ship.php:76 views/b2s/ship.php:166 views/b2s/ship.php:258
659
- #: includes/B2S/Network/Item.php:177 includes/B2S/Ship/Item.php:880
 
660
  msgid "Info"
661
  msgstr ""
662
 
663
- #: includes/B2S/PostBox.php:98
664
  msgid "Customize & Schedule Social Media Posts"
665
  msgstr ""
666
 
667
- #: includes/B2S/PostBox.php:100
668
- msgid "Facebook Instant Sharing:"
669
  msgstr ""
670
 
671
- #: includes/B2S/PostBox.php:100 includes/B2S/Settings/Item.php:110
672
- msgid ""
673
- "Auto-posts for Facebook Profiles will be shown in the \"Instant Sharing\" "
674
- "tab on your \"Posts & Sharing\" navigation bar and can be shared on your "
675
- "Facebook Profile by clicking on the \"Share\" button next to your auto-post."
676
  msgstr ""
677
 
678
- #: includes/B2S/PostBox.php:101 views/b2s/html/header.php:324
679
- msgid "Social Media Auto-Posting"
680
  msgstr ""
681
 
682
- #: includes/B2S/PostBox.php:105
683
- msgid "enable Auto-Posting"
684
  msgstr ""
685
 
686
- #: includes/B2S/PostBox.php:108 views/b2s/curation.php:49
687
- #: views/b2s/network.php:349 views/b2s/ship.php:23
688
- #: includes/B2S/Curation/View.php:56 includes/B2S/Network/Item.php:161
689
- #: includes/B2S/Network/Item.php:260 includes/B2S/Network/Item.php:326
690
- #: includes/B2S/Network/Item.php:388 includes/B2S/Settings/Item.php:104
691
- #: includes/B2S/Settings/Item.php:318 includes/B2S/Ship/Image.php:80
692
- #: includes/B2S/Ship/Item.php:939 views/b2s/html/post.navbar.php:15
693
- #: views/b2s/html/post.navbar.php:19 views/b2s/partials/post-edit-modal.php:9
694
- #: views/b2s/widgets/posts.php:18
695
- msgid "SMART"
696
  msgstr ""
697
 
698
- #: includes/B2S/PostBox.php:115 views/b2s/curation.draft.php:47
699
- #: views/b2s/network.php:58 views/b2s/network.php:146 views/b2s/network.php:222
700
- #: views/b2s/network.php:355 views/b2s/network.php:458
701
- #: views/b2s/post.approve.php:51 views/b2s/post.calendar.php:60
702
- #: views/b2s/post.calendar.php:243 views/b2s/post.draft.php:42
703
- #: views/b2s/post.favorites.php:41 views/b2s/post.notice.php:45
704
- #: views/b2s/post.php:41 views/b2s/post.publish.php:45
705
- #: views/b2s/post.sched.php:59 views/b2s/ship.php:188 views/b2s/ship.php:570
706
- #: views/b2s/ship.php:658 views/b2s/support.php:204
707
- #: views/prg/html/header.php:86
708
- msgid "Loading..."
 
 
 
709
  msgstr ""
710
 
711
- #: includes/B2S/PostBox.php:123
712
  msgid "Blog2Social: Customize & Schedule Social Media Posts"
713
  msgstr ""
714
 
715
- #: includes/B2S/PostBox.php:126
716
  msgid ""
717
  "Customize and schedule your social media posts on the one page preview for "
718
  "all your selected networks: tailor your posts with individual comments, "
@@ -721,12 +721,12 @@ msgid ""
721
  "engagement with your community."
722
  msgstr ""
723
 
724
- #: includes/B2S/PostBox.php:135 views/b2s/html/footer.php:305
725
  #: views/b2s/html/footer.php:345
726
  msgid "Blog2Social: Social Media Auto-Posting"
727
  msgstr ""
728
 
729
- #: includes/B2S/PostBox.php:139 views/b2s/html/footer.php:309
730
  msgid ""
731
  "Share your blog posts with the Auto Poster: Your blog posts will be shared "
732
  "automatically on your social media channels as soon as you publish or update "
@@ -734,19 +734,19 @@ msgid ""
734
  "they are published."
735
  msgstr ""
736
 
737
- #: includes/B2S/PostBox.php:140 views/b2s/html/footer.php:310
738
  #, php-format
739
  msgid ""
740
  "<a target=\"_blank\" href=\"%s\">Learn how to set up auto posting for your "
741
  "blog posts</a>"
742
  msgstr ""
743
 
744
- #: includes/B2S/PostBox.php:144 views/b2s/html/footer.php:316
745
  #: views/b2s/html/footer.php:355
746
  msgid "You want to auto-post your blog post?"
747
  msgstr ""
748
 
749
- #: includes/B2S/PostBox.php:145 views/b2s/curation.php:171
750
  #: views/b2s/curation.php:210 views/b2s/post.calendar.php:281
751
  #: views/b2s/ship.php:309 views/b2s/ship.php:369 views/b2s/ship.php:415
752
  #: views/b2s/html/footer.php:26 views/b2s/html/footer.php:144
@@ -756,7 +756,7 @@ msgstr ""
756
  msgid "With Blog2Social Premium you can:"
757
  msgstr ""
758
 
759
- #: includes/B2S/PostBox.php:148 views/b2s/curation.php:174
760
  #: views/b2s/curation.php:213 views/b2s/post.calendar.php:284
761
  #: views/b2s/ship.php:312 views/b2s/ship.php:372 views/b2s/ship.php:418
762
  #: views/b2s/html/footer.php:29 views/b2s/html/footer.php:147
@@ -766,7 +766,7 @@ msgstr ""
766
  msgid "Post on pages and groups"
767
  msgstr ""
768
 
769
- #: includes/B2S/PostBox.php:149 views/b2s/curation.php:175
770
  #: views/b2s/curation.php:214 views/b2s/post.calendar.php:285
771
  #: views/b2s/ship.php:313 views/b2s/ship.php:373 views/b2s/ship.php:419
772
  #: views/b2s/html/footer.php:30 views/b2s/html/footer.php:148
@@ -776,7 +776,7 @@ msgstr ""
776
  msgid "Share on multiple profiles, pages and groups"
777
  msgstr ""
778
 
779
- #: includes/B2S/PostBox.php:150 views/b2s/curation.php:176
780
  #: views/b2s/curation.php:215 views/b2s/post.calendar.php:286
781
  #: views/b2s/ship.php:314 views/b2s/ship.php:374 views/b2s/ship.php:420
782
  #: views/b2s/html/footer.php:31 views/b2s/html/footer.php:65
@@ -786,7 +786,7 @@ msgstr ""
786
  msgid "Auto-post and auto-schedule new and updated blog posts"
787
  msgstr ""
788
 
789
- #: includes/B2S/PostBox.php:151 views/b2s/curation.php:177
790
  #: views/b2s/curation.php:216 views/b2s/post.calendar.php:287
791
  #: views/b2s/ship.php:315 views/b2s/ship.php:375 views/b2s/ship.php:421
792
  #: views/b2s/html/footer.php:32 views/b2s/html/footer.php:150
@@ -796,7 +796,7 @@ msgstr ""
796
  msgid "Schedule your posts at the best times on each network"
797
  msgstr ""
798
 
799
- #: includes/B2S/PostBox.php:152 views/b2s/curation.php:178
800
  #: views/b2s/curation.php:217 views/b2s/post.calendar.php:288
801
  #: views/b2s/ship.php:316 views/b2s/ship.php:376 views/b2s/ship.php:422
802
  #: views/b2s/html/footer.php:33 views/b2s/html/footer.php:151
@@ -808,7 +808,7 @@ msgid ""
808
  "social media posts"
809
  msgstr ""
810
 
811
- #: includes/B2S/PostBox.php:153 views/b2s/curation.php:179
812
  #: views/b2s/curation.php:218 views/b2s/post.calendar.php:289
813
  #: views/b2s/ship.php:317 views/b2s/ship.php:377 views/b2s/ship.php:423
814
  #: views/b2s/html/footer.php:34 views/b2s/html/footer.php:152
@@ -818,7 +818,7 @@ msgstr ""
818
  msgid "Schedule your post for one time, multiple times or recurrently"
819
  msgstr ""
820
 
821
- #: includes/B2S/PostBox.php:154 views/b2s/curation.php:180
822
  #: views/b2s/curation.php:219 views/b2s/post.calendar.php:290
823
  #: views/b2s/ship.php:318 views/b2s/ship.php:378 views/b2s/ship.php:424
824
  #: views/b2s/html/footer.php:35 views/b2s/html/footer.php:153
@@ -828,7 +828,7 @@ msgstr ""
828
  msgid "Schedule and re-share old posts"
829
  msgstr ""
830
 
831
- #: includes/B2S/PostBox.php:155 views/b2s/curation.php:181
832
  #: views/b2s/curation.php:220 views/b2s/post.calendar.php:291
833
  #: views/b2s/ship.php:319 views/b2s/ship.php:379 views/b2s/ship.php:425
834
  #: views/b2s/html/footer.php:36 views/b2s/html/footer.php:67
@@ -838,7 +838,7 @@ msgstr ""
838
  msgid "Select link format or image format for your posts"
839
  msgstr ""
840
 
841
- #: includes/B2S/PostBox.php:156 views/b2s/curation.php:182
842
  #: views/b2s/curation.php:221 views/b2s/post.calendar.php:292
843
  #: views/b2s/ship.php:320 views/b2s/ship.php:380 views/b2s/ship.php:426
844
  #: views/b2s/html/footer.php:37 views/b2s/html/footer.php:68
@@ -848,7 +848,7 @@ msgstr ""
848
  msgid "Select individual images per post"
849
  msgstr ""
850
 
851
- #: includes/B2S/PostBox.php:157 views/b2s/curation.php:183
852
  #: views/b2s/curation.php:222 views/b2s/post.calendar.php:293
853
  #: views/b2s/ship.php:321 views/b2s/ship.php:381 views/b2s/ship.php:427
854
  #: views/b2s/html/footer.php:38 views/b2s/html/footer.php:156
@@ -860,7 +860,7 @@ msgid ""
860
  "media posts"
861
  msgstr ""
862
 
863
- #: includes/B2S/PostBox.php:159 views/b2s/curation.php:185
864
  #: views/b2s/curation.php:224 views/b2s/post.calendar.php:295
865
  #: views/b2s/ship.php:323 views/b2s/ship.php:383 views/b2s/ship.php:429
866
  #: views/b2s/html/footer.php:40 views/b2s/html/footer.php:158
@@ -870,7 +870,7 @@ msgstr ""
870
  msgid "Upgrade to SMART and above"
871
  msgstr ""
872
 
873
- #: includes/B2S/PostBox.php:161 views/b2s/curation.php:187
874
  #: views/b2s/curation.php:226 views/b2s/post.calendar.php:297
875
  #: views/b2s/ship.php:325 views/b2s/ship.php:385 views/b2s/ship.php:431
876
  #: views/b2s/html/footer.php:42 views/b2s/html/footer.php:73
@@ -884,59 +884,26 @@ msgid ""
884
  "Blog2Social Premium</a> (no payment information needed)"
885
  msgstr ""
886
 
887
- #: includes/B2S/PostBox.php:174 includes/B2S/Curation/View.php:73
 
888
  msgid "Select network collection:"
889
  msgstr ""
890
 
891
- #: includes/B2S/PostBox.php:185 includes/B2S/Curation/View.php:97
 
892
  msgid "Select Twitter profile:"
893
  msgstr ""
894
 
895
- #: includes/B2S/PostBox.php:216
896
  msgid "When do you want to share your post on social media?"
897
  msgstr ""
898
 
899
- #: includes/B2S/PostBox.php:219
900
  msgid "immediately after publishing"
901
  msgstr ""
902
 
903
- #: includes/B2S/PostBox.php:220 includes/B2S/Curation/View.php:65
904
- msgid "at scheduled times"
905
- msgstr ""
906
-
907
- #: includes/B2S/PostBox.php:221
908
- msgid "schedule (best times)"
909
- msgstr ""
910
-
911
- #: includes/B2S/PostBox.php:224
912
- msgid "You want to schedule your blog post with Auto-Poster?"
913
- msgstr ""
914
-
915
- #: includes/B2S/PostBox.php:224
916
- msgid "Upgrade to PRO"
917
- msgstr ""
918
-
919
- #: includes/B2S/PostBox.php:230
920
- msgid "Select date:"
921
- msgstr ""
922
-
923
- #: includes/B2S/PostBox.php:231 includes/B2S/Ship/Item.php:364
924
- msgid "show calendar"
925
- msgstr ""
926
-
927
- #: includes/B2S/PostBox.php:241 includes/B2S/Settings/Item.php:82
928
- msgid "change"
929
- msgstr ""
930
-
931
- #: includes/B2S/PostBox.php:242
932
- msgid "best times"
933
- msgstr ""
934
-
935
- #: includes/B2S/PostBox.php:243
936
- msgid ""
937
- "Note: If you ​have​ not ​specified​ your own times, we automatically provide "
938
- "you with the best times to post​ on the social networks. You can always "
939
- "​edit​ your own times in the settings."
940
  msgstr ""
941
 
942
  #: views/b2s/curation.draft.php:17
@@ -949,27 +916,40 @@ msgstr ""
949
  msgid "Get the Blog2Social Browser Extension"
950
  msgstr ""
951
 
952
- #: views/b2s/curation.draft.php:76
 
 
 
 
 
 
 
 
 
 
 
 
 
953
  msgid "Delete Draft"
954
  msgstr ""
955
 
956
- #: views/b2s/curation.draft.php:79
957
  msgid "Are you sure you want to delete this draft?"
958
  msgstr ""
959
 
960
- #: views/b2s/curation.draft.php:83 views/b2s/curation.php:141
961
- #: views/b2s/network.php:106 views/b2s/post.approve.php:91
962
- #: views/b2s/post.approve.php:108 views/b2s/post.draft.php:80
963
- #: views/b2s/post.notice.php:78 views/b2s/post.publish.php:78
964
- #: views/b2s/post.sched.php:92 views/b2s/ship.php:474 views/b2s/ship.php:553
965
  #: views/prg/ship.php:94 views/b2s/widgets/posts.php:67
966
  msgid "NO"
967
  msgstr ""
968
 
969
- #: views/b2s/curation.draft.php:84 views/b2s/network.php:107
970
- #: views/b2s/network.php:170 views/b2s/post.approve.php:92
971
- #: views/b2s/post.draft.php:81 views/b2s/post.notice.php:79
972
- #: views/b2s/post.publish.php:79 views/b2s/post.sched.php:93
973
  #: views/b2s/widgets/posts.php:68
974
  msgid "YES, delete"
975
  msgstr ""
@@ -993,14 +973,14 @@ msgid "Saved as draft."
993
  msgstr ""
994
 
995
  #: views/b2s/curation.php:45 views/b2s/post.calendar.php:70
996
- #: views/b2s/post.sched.php:182 includes/B2S/Settings/Item.php:394
997
- #: includes/B2S/Settings/Item.php:427 views/b2s/html/footer.php:111
998
  msgid "Link Post"
999
  msgstr ""
1000
 
1001
  #: views/b2s/curation.php:47 views/b2s/curation.php:49
1002
- #: views/b2s/post.calendar.php:70 views/b2s/post.sched.php:182
1003
- #: includes/B2S/Settings/Item.php:408 includes/B2S/Settings/Item.php:427
1004
  msgid "Image Post"
1005
  msgstr ""
1006
 
@@ -1009,6 +989,17 @@ msgstr ""
1009
  msgid "NEW"
1010
  msgstr ""
1011
 
 
 
 
 
 
 
 
 
 
 
 
1012
  #: views/b2s/curation.php:59
1013
  msgid "Load data..."
1014
  msgstr ""
@@ -1029,13 +1020,14 @@ msgstr ""
1029
  msgid "continue"
1030
  msgstr ""
1031
 
1032
- #: views/b2s/curation.php:93 includes/B2S/Ship/Item.php:432
1033
- #: includes/B2S/Ship/Item.php:461 includes/B2S/Ship/Item.php:490
1034
- #: includes/B2S/Ship/Item.php:519 includes/B2S/Ship/Item.php:547
1035
- #: includes/B2S/Ship/Item.php:590 includes/B2S/Ship/Item.php:613
1036
- #: includes/B2S/Ship/Item.php:634 includes/B2S/Ship/Item.php:655
1037
- #: includes/B2S/Ship/Item.php:676 includes/B2S/Ship/Item.php:697
1038
- #: includes/B2S/Ship/Item.php:741
 
1039
  msgid "Change image"
1040
  msgstr ""
1041
 
@@ -1044,7 +1036,7 @@ msgid "Write something..."
1044
  msgstr ""
1045
 
1046
  #: views/b2s/curation.php:112 views/b2s/ship.php:260 views/b2s/ship.php:262
1047
- #: includes/B2S/Post/Item.php:368
1048
  msgid "Re-share this post"
1049
  msgstr ""
1050
 
@@ -1053,18 +1045,18 @@ msgid "Create a new post"
1053
  msgstr ""
1054
 
1055
  #: views/b2s/curation.php:119 views/b2s/post.calendar.php:38
1056
- #: views/b2s/ship.php:18 views/b2s/ship.php:659 includes/B2S/Post/Filter.php:50
1057
- #: includes/B2S/Post/Item.php:297 includes/B2S/Ship/Save.php:417
1058
  #: includes/PRG/Post/Filter.php:37 includes/PRG/Post/Item.php:86
1059
  msgid "published"
1060
  msgstr ""
1061
 
1062
- #: views/b2s/curation.php:135 views/b2s/post.approve.php:102
1063
  #: views/b2s/ship.php:468
1064
  msgid "Do you want to mark this post as published ?"
1065
  msgstr ""
1066
 
1067
- #: views/b2s/curation.php:140 views/b2s/post.approve.php:107
1068
  #: views/b2s/ship.php:473 views/b2s/ship.php:554
1069
  msgid "YES"
1070
  msgstr ""
@@ -1080,7 +1072,7 @@ msgid "Blog2Social Premium covers everything you need."
1080
  msgstr ""
1081
 
1082
  #: views/b2s/curation.php:160 views/b2s/post.calendar.php:270
1083
- #: views/b2s/ship.php:404 includes/B2S/Ship/Item.php:940
1084
  msgid "Schedule for specific dates"
1085
  msgstr ""
1086
 
@@ -1127,7 +1119,7 @@ msgid "This is a premium feature."
1127
  msgstr ""
1128
 
1129
  #: views/b2s/curation.php:209
1130
- msgid "You wannt to create image posts with any image from your media library?"
1131
  msgstr ""
1132
 
1133
  #: views/b2s/curation.php:238
@@ -1169,8 +1161,8 @@ msgstr ""
1169
  msgid "You want to define a new combination of networks?"
1170
  msgstr ""
1171
 
1172
- #: views/b2s/network.php:34 includes/B2S/Network/Item.php:150
1173
- #: includes/B2S/Network/Item.php:154 includes/B2S/Network/Item.php:158
1174
  #: includes/B2S/Ship/Image.php:87 includes/B2S/Ship/Portale.php:32
1175
  #: includes/B2S/Ship/Portale.php:35 includes/B2S/Ship/Portale.php:41
1176
  msgid "PRO"
@@ -1222,7 +1214,7 @@ msgid ""
1222
  msgstr ""
1223
 
1224
  #: views/b2s/network.php:127 views/b2s/premium.php:36 views/b2s/ship.php:490
1225
- #: includes/B2S/Ship/Item.php:978 views/b2s/partials/post-edit-modal.php:48
1226
  msgid "Learn more"
1227
  msgstr ""
1228
 
@@ -1284,183 +1276,98 @@ msgstr ""
1284
  msgid "modfiy"
1285
  msgstr ""
1286
 
1287
- #: views/b2s/network.php:212
1288
- msgid "Advanced Connection Preferences"
1289
- msgstr ""
1290
-
1291
- #: views/b2s/network.php:229 views/b2s/network.php:313
1292
- msgid "Move the connection to another network collection."
1293
- msgstr ""
1294
-
1295
- #: views/b2s/network.php:234 views/b2s/network.php:263
1296
- #: views/b2s/network.php:266 views/b2s/network.php:269
1297
- msgid "An error occured. Please contact our support."
1298
- msgstr ""
1299
-
1300
- #: views/b2s/network.php:241 views/b2s/network.php:320
1301
- msgid "move"
1302
- msgstr ""
1303
-
1304
- #: views/b2s/network.php:249
1305
- msgid "You need at least one network collection"
1306
- msgstr ""
1307
-
1308
- #: views/b2s/network.php:258 views/b2s/network.php:327
1309
- msgid "Assign the connection to other blog users"
1310
- msgstr ""
1311
-
1312
- #: views/b2s/network.php:272
1313
- msgid "You don't have a Business License"
1314
- msgstr ""
1315
-
1316
- #: views/b2s/network.php:275
1317
- msgid "This user don't have a Business License, or it is not the same"
1318
- msgstr ""
1319
-
1320
- #: views/b2s/network.php:278
1321
- msgid "The connection has already been assigned to this user."
1322
- msgstr ""
1323
-
1324
- #: views/b2s/network.php:281
1325
- msgid "The connection dose not exist"
1326
- msgstr ""
1327
-
1328
- #: views/b2s/network.php:284
1329
- msgid "This connection has already been assigned to this user."
1330
- msgstr ""
1331
-
1332
- #: views/b2s/network.php:287
1333
- msgid ""
1334
- "You can only share the connection with blog users who use the same license "
1335
- "as you."
1336
- msgstr ""
1337
-
1338
- #: views/b2s/network.php:290
1339
- msgid "There are no other users to whom the connection can be assigned."
1340
- msgstr ""
1341
-
1342
- #: views/b2s/network.php:293 views/b2s/network.php:330
1343
- msgid "assign"
1344
- msgstr ""
1345
-
1346
- #: views/b2s/network.php:294
1347
- msgid "Apply best time settings"
1348
- msgstr ""
1349
-
1350
- #: views/b2s/network.php:295
1351
- msgid "Apply post template settings"
1352
- msgstr ""
1353
-
1354
- #: views/b2s/network.php:306
1355
- msgid ""
1356
- "Upgrade to Blog2Social Business to easily bundle your connections into "
1357
- "network collection and assign your social media connections to other blog "
1358
- "users. You can update and delete the connections as well as select forums or "
1359
- "boards. Other users will be able to use the social media connection you "
1360
- "assigned to them to post and schedule to your social media profile, page or "
1361
- "group."
1362
- msgstr ""
1363
-
1364
- #: views/b2s/network.php:307
1365
- msgid "Upgrade to Blog2Social Business"
1366
- msgstr ""
1367
-
1368
- #: views/b2s/network.php:318 includes/B2S/Ship/Navbar.php:37
1369
- msgid "My Profile"
1370
- msgstr ""
1371
-
1372
- #: views/b2s/network.php:349 includes/B2S/Network/Item.php:161
1373
- #: includes/B2S/Network/Item.php:161
1374
  msgid "Edit Post Template"
1375
  msgstr ""
1376
 
1377
- #: views/b2s/network.php:361 views/b2s/settings.php:52
1378
- #: includes/B2S/Settings/Item.php:292
1379
  msgid "save"
1380
  msgstr ""
1381
 
1382
- #: views/b2s/network.php:373 views/b2s/settings.php:129
1383
- msgid "Instant Caching for Facebook Link Posts"
1384
  msgstr ""
1385
 
1386
- #: views/b2s/network.php:376 views/b2s/settings.php:132
1387
  msgid ""
1388
  "Please enable this feature, if you are using varnish caching (HTTP "
1389
  "accelerator to relieve your website). Blog2Social will add a \"no-cache=1\" "
1390
- "parameter to the post URL of your Facebook link posts to ensure that "
1391
- "Facebook always pulls the current meta data of your blog post."
1392
  msgstr ""
1393
 
1394
- #: views/b2s/network.php:387
1395
  msgid "Choose your Post Format"
1396
  msgstr ""
1397
 
1398
- #: views/b2s/network.php:391 views/b2s/network.php:394
1399
- #: views/b2s/network.php:397
1400
  msgid ""
1401
  "Decide in which post format you want to post your content: Link post or "
1402
  "image post."
1403
  msgstr ""
1404
 
1405
- #: views/b2s/network.php:400
1406
  msgid ""
1407
  "Decide in wich form you want to post your Content. Either as image with "
1408
  "frame, or as image cut out."
1409
  msgstr ""
1410
 
1411
- #: views/b2s/network.php:412
1412
  msgid "Post Content"
1413
  msgstr ""
1414
 
1415
- #: views/b2s/network.php:415
1416
  msgid ""
1417
  "Edit the content of your post. Move elements by drag and drop into the "
1418
  "textarea and customize them as you like."
1419
  msgstr ""
1420
 
1421
- #: views/b2s/network.php:418
1422
  msgid "Legend"
1423
  msgstr ""
1424
 
1425
- #: views/b2s/network.php:420
1426
  msgid "The title of your post"
1427
  msgstr ""
1428
 
1429
- #: views/b2s/network.php:421
1430
  msgid "The summary of your post (you define it in the side menu of your post)."
1431
  msgstr ""
1432
 
1433
- #: views/b2s/network.php:422
1434
  msgid "The content of your post"
1435
  msgstr ""
1436
 
1437
- #: views/b2s/network.php:423
1438
  msgid "The tags you have set in your post."
1439
  msgstr ""
1440
 
1441
- #: views/b2s/network.php:424
1442
  msgid "The name of the post author."
1443
  msgstr ""
1444
 
1445
- #: views/b2s/network.php:437 includes/B2S/Network/Item.php:659
1446
  msgid "Character limit"
1447
  msgstr ""
1448
 
1449
- #: views/b2s/network.php:440
1450
  msgid ""
1451
  "Define the character limit for the variables \"EXCERPT\" and \"CONTENT\" "
1452
  "individually. Your text will be shortened after the last comma, period, or "
1453
  "space character within your character limit."
1454
  msgstr ""
1455
 
1456
- #: views/b2s/network.php:441
1457
  msgid ""
1458
  "An \"EXCERPT\" will only be added to your social media post if you have "
1459
  "added a manual excerpt in the excerpt editing box of the Gutenberg side menu "
1460
  "(document settings) of your post."
1461
  msgstr ""
1462
 
1463
- #: views/b2s/network.php:442
1464
  msgid ""
1465
  "\"TITLES\" and \"KEYWORDS\" (Hashtags) are not shortened. If you select the "
1466
  "\"TITLE\" and \"KEYWORD\" variables for your social media posts, the "
@@ -1469,11 +1376,11 @@ msgid ""
1469
  "network."
1470
  msgstr ""
1471
 
1472
- #: views/b2s/network.php:453 views/b2s/ship.php:565
1473
  msgid "Connect with Pinterest"
1474
  msgstr ""
1475
 
1476
- #: views/b2s/network.php:461 views/b2s/ship.php:573
1477
  msgid ""
1478
  "Please make sure to use your original Pinterest login data (email and "
1479
  "password). Social Login via Facebook or Google login data will not work here."
@@ -1481,11 +1388,11 @@ msgid ""
1481
  "deactivated to ensure a stable connection to Blog2Social."
1482
  msgstr ""
1483
 
1484
- #: views/b2s/network.php:462 views/b2s/ship.php:574
1485
  msgid "An error occurred! Please try again."
1486
  msgstr ""
1487
 
1488
- #: views/b2s/network.php:463 views/b2s/network.php:464 views/b2s/ship.php:575
1489
  #: views/b2s/ship.php:576
1490
  #, php-format
1491
  msgid ""
@@ -1493,17 +1400,17 @@ msgid ""
1493
  "Upgrade to Blog2Social Premium</a>"
1494
  msgstr ""
1495
 
1496
- #: views/b2s/network.php:465 views/b2s/ship.php:577
1497
  msgid "Invalid Data! Please try again."
1498
  msgstr ""
1499
 
1500
- #: views/b2s/network.php:466 views/b2s/ship.php:578
1501
  msgid ""
1502
  "You have not yet created any pinboards in your Pinterest account. Please set "
1503
  "up at least one pinboard to pin on your Pinterest account!"
1504
  msgstr ""
1505
 
1506
- #: views/b2s/network.php:467 views/b2s/ship.php:579
1507
  #, php-format
1508
  msgid ""
1509
  "Login failed. Please check your login data for typos and please check your "
@@ -1511,63 +1418,178 @@ msgid ""
1511
  "account: <a target=\"_blank\" href=\"%s\">%s</a>"
1512
  msgstr ""
1513
 
1514
- #: views/b2s/network.php:468 views/b2s/ship.php:580
1515
  msgid "Pinterest has rejected the connection to your blog"
1516
  msgstr ""
1517
 
1518
- #: views/b2s/network.php:469 views/b2s/ship.php:581
1519
  msgid "Please select your currect server location and connect again"
1520
  msgstr ""
1521
 
1522
- #: views/b2s/network.php:470 views/b2s/ship.php:582
1523
  msgid ""
1524
  "Access to this resource on your server is denied! Please check your "
1525
  "webserver configuration for caching."
1526
  msgstr ""
1527
 
1528
- #: views/b2s/network.php:471 views/b2s/ship.php:583
1529
  msgid ""
1530
  "Login up successful. Please confirm that Blog2Social is allowed to publish "
1531
  "on your profile."
1532
  msgstr ""
1533
 
1534
- #: views/b2s/network.php:473 views/b2s/ship.php:585
1535
  #: views/b2s/html/header.php:331 views/prg/html/form.php:141
1536
  #: views/prg/html/form.php:143 views/prg/html/form.php:218
1537
  #: views/prg/html/form.php:220
1538
  msgid "E-Mail"
1539
  msgstr ""
1540
 
1541
- #: views/b2s/network.php:479 views/b2s/ship.php:591 views/prg/login.php:25
1542
  msgid "Password"
1543
  msgstr ""
1544
 
1545
- #: views/b2s/network.php:490 views/b2s/ship.php:602
1546
  msgid "Server-Location"
1547
  msgstr ""
1548
 
1549
- #: views/b2s/network.php:504 views/b2s/ship.php:616
1550
  msgid "Select Pinboard"
1551
  msgstr ""
1552
 
1553
- #: views/b2s/network.php:512 views/b2s/ship.php:624
 
1554
  msgid "authorize"
1555
  msgstr ""
1556
 
1557
- #: views/b2s/network.php:513 views/b2s/ship.php:625
1558
  msgid "confirm"
1559
  msgstr ""
1560
 
1561
- #: views/b2s/post.approve.php:82
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1562
  msgid "Delete Social Media Posts"
1563
  msgstr ""
1564
 
1565
- #: views/b2s/post.approve.php:85
1566
  msgid "Are you sure you want to delete these Social Media posts?"
1567
  msgstr ""
1568
 
1569
- #: views/b2s/post.approve.php:87 views/b2s/post.notice.php:74
1570
- #: views/b2s/post.publish.php:74 views/b2s/post.sched.php:88
1571
  #: views/b2s/widgets/posts.php:63
1572
  msgid "Number of entries"
1573
  msgstr ""
@@ -1581,71 +1603,71 @@ msgid "show all"
1581
  msgstr ""
1582
 
1583
  #: views/b2s/post.calendar.php:39 views/b2s/ship.php:18
1584
- #: includes/B2S/Post/Filter.php:50 includes/B2S/Post/Item.php:297
1585
  #: includes/PRG/Post/Filter.php:37 includes/PRG/Post/Item.php:86
1586
  msgid "scheduled"
1587
  msgstr ""
1588
 
1589
- #: views/b2s/post.calendar.php:70 views/b2s/post.sched.php:182
1590
- #: includes/B2S/Network/Item.php:607 includes/B2S/Network/Item.php:610
1591
- #: includes/B2S/Settings/Item.php:394 views/b2s/html/footer.php:128
1592
  msgid "Image with frame"
1593
  msgstr ""
1594
 
1595
- #: views/b2s/post.calendar.php:70 views/b2s/post.sched.php:182
1596
- #: includes/B2S/Network/Item.php:608 includes/B2S/Network/Item.php:611
1597
- #: includes/B2S/Settings/Item.php:408 views/b2s/html/footer.php:133
1598
  msgid "Image cut out"
1599
  msgstr ""
1600
 
1601
- #: views/b2s/post.calendar.php:87 views/b2s/post.sched.php:165
1602
  msgid "add post"
1603
  msgstr ""
1604
 
1605
- #: views/b2s/post.calendar.php:110 views/b2s/post.sched.php:123
1606
  #: views/b2s/ship.php:503
1607
  msgid "Choose your"
1608
  msgstr ""
1609
 
1610
- #: views/b2s/post.calendar.php:110 views/b2s/post.sched.php:123
1611
  #: views/b2s/ship.php:503
1612
  msgid "Post Format"
1613
  msgstr ""
1614
 
1615
- #: views/b2s/post.calendar.php:112 views/b2s/post.sched.php:125
1616
  #: views/b2s/ship.php:505
1617
  msgid "for:"
1618
  msgstr ""
1619
 
1620
- #: views/b2s/post.calendar.php:131 views/b2s/post.sched.php:144
1621
  #: views/b2s/ship.php:523
1622
  msgid ""
1623
  "Define the default settings for the custom post format for all of your "
1624
  "Facebook accounts in the Blog2Social settings."
1625
  msgstr ""
1626
 
1627
- #: views/b2s/post.calendar.php:134 views/b2s/post.sched.php:147
1628
  #: views/b2s/ship.php:526
1629
  msgid ""
1630
  "Define the default settings for the custom post format for all of your "
1631
  "Twitter accounts in the Blog2Social settings."
1632
  msgstr ""
1633
 
1634
- #: views/b2s/post.calendar.php:137 views/b2s/post.sched.php:150
1635
  #: views/b2s/ship.php:529
1636
  msgid ""
1637
  "Define the default settings for the custom post format for all of your "
1638
  "LinkedIn accounts in the Blog2Social settings."
1639
  msgstr ""
1640
 
1641
- #: views/b2s/post.calendar.php:140 views/b2s/post.sched.php:153
1642
  #: views/b2s/ship.php:532
1643
  msgid ""
1644
  "Define the default settings for the custom post format for all of your "
1645
  "Instagram accounts in the Blog2Social settings."
1646
  msgstr ""
1647
 
1648
- #: views/b2s/post.calendar.php:155 views/b2s/post.sched.php:104
1649
  #: views/b2s/ship.php:444
1650
  msgid "Select image for"
1651
  msgstr ""
@@ -1670,24 +1692,24 @@ msgstr ""
1670
  msgid "Select a post"
1671
  msgstr ""
1672
 
1673
- #: views/b2s/post.draft.php:73
1674
  msgid "Delete Social Media Draft"
1675
  msgstr ""
1676
 
1677
- #: views/b2s/post.draft.php:76
1678
  msgid "Are you sure you want to delete this Social Media draft?"
1679
  msgstr ""
1680
 
1681
- #: views/b2s/post.favorites.php:60 includes/B2S/Post/Item.php:303
1682
  msgid "You have not saved any favorites."
1683
  msgstr ""
1684
 
1685
- #: views/b2s/post.notice.php:69 views/b2s/post.publish.php:69
1686
  #: views/b2s/widgets/posts.php:58
1687
  msgid "Delete entries from the reporting"
1688
  msgstr ""
1689
 
1690
- #: views/b2s/post.notice.php:72 views/b2s/post.publish.php:72
1691
  #: views/b2s/widgets/posts.php:61
1692
  msgid "You are sure, you want to delete entries from the reporting?"
1693
  msgstr ""
@@ -1696,15 +1718,15 @@ msgstr ""
1696
  msgid "Uhr"
1697
  msgstr ""
1698
 
1699
- #: views/b2s/post.sched.php:83
1700
  msgid "Delete entries form the scheduling"
1701
  msgstr ""
1702
 
1703
- #: views/b2s/post.sched.php:86
1704
  msgid "You are sure, you want to delete entries from the scheduling?"
1705
  msgstr ""
1706
 
1707
- #: views/b2s/premium.php:14 includes/B2S/Settings/Item.php:153
1708
  msgid "Your current license:"
1709
  msgstr ""
1710
 
@@ -1717,8 +1739,8 @@ msgstr ""
1717
  msgid "End of Trial"
1718
  msgstr ""
1719
 
1720
- #: views/b2s/premium.php:31 includes/B2S/Settings/Item.php:156
1721
- #: includes/B2S/Settings/Item.php:159
1722
  msgid "Upgrade"
1723
  msgstr ""
1724
 
@@ -1791,7 +1813,7 @@ msgid ""
1791
  msgstr ""
1792
 
1793
  #: views/b2s/premium.php:109 views/b2s/settings.php:35
1794
- #: includes/B2S/Post/Item.php:596
1795
  msgid "Auto-Posting"
1796
  msgstr ""
1797
 
@@ -1936,7 +1958,19 @@ msgstr ""
1936
  msgid "Plugin contents are loaded one at a time to minimize server load."
1937
  msgstr ""
1938
 
1939
- #: views/b2s/settings.php:143 includes/B2S/Settings/Item.php:65
 
 
 
 
 
 
 
 
 
 
 
 
1940
  msgid "Personal Time Zone"
1941
  msgstr ""
1942
 
@@ -1949,8 +1983,18 @@ msgid ""
1949
  "drop-down menu."
1950
  msgstr ""
1951
 
1952
- #: views/b2s/ship.php:18 includes/B2S/Post/Filter.php:50
1953
- #: includes/B2S/Post/Item.php:297 includes/PRG/Post/Item.php:86
 
 
 
 
 
 
 
 
 
 
1954
  msgid "draft"
1955
  msgstr ""
1956
 
@@ -1959,13 +2003,13 @@ msgid "Social Media Scheduling & Sharing"
1959
  msgstr ""
1960
 
1961
  #: views/b2s/ship.php:53 views/prg/ship.php:43 views/prg/ship.php:45
1962
- #: includes/B2S/Curation/View.php:38 includes/B2S/Settings/Item.php:328
1963
- #: includes/B2S/Settings/Item.php:349 views/prg/html/form.php:26
1964
  #: views/prg/html/form.php:28
1965
  msgid "Title"
1966
  msgstr ""
1967
 
1968
- #: views/b2s/ship.php:55 includes/B2S/Post/Item.php:351
1969
  msgid "on blog"
1970
  msgstr ""
1971
 
@@ -2017,7 +2061,7 @@ msgstr ""
2017
  msgid "First, connect or select network before posting"
2018
  msgstr ""
2019
 
2020
- #: views/b2s/ship.php:219 includes/B2S/Settings/Item.php:81
2021
  msgid "connect"
2022
  msgstr ""
2023
 
@@ -2128,7 +2172,7 @@ msgstr ""
2128
  msgid "Give me more information"
2129
  msgstr ""
2130
 
2131
- #: views/b2s/support.php:16 includes/B2S/Post/Item.php:612
2132
  #: includes/B2S/Ship/Save.php:438
2133
  msgid "FAQ"
2134
  msgstr ""
@@ -2352,12 +2396,16 @@ msgstr ""
2352
  msgid "Share your post"
2353
  msgstr ""
2354
 
2355
- #: includes/B2S/Curation/View.php:64 includes/B2S/Settings/Item.php:172
2356
  msgid "immediately"
2357
  msgstr ""
2358
 
 
 
 
 
2359
  #: includes/B2S/Curation/View.php:69 includes/B2S/Curation/View.php:70
2360
- #: includes/B2S/Ship/Item.php:1048 views/b2s/partials/post-edit-modal.php:62
2361
  #: views/b2s/partials/post-edit-modal.php:65
2362
  msgid "Date"
2363
  msgstr ""
@@ -2374,7 +2422,7 @@ msgstr ""
2374
  msgid "Show all"
2375
  msgstr ""
2376
 
2377
- #: includes/B2S/Network/Item.php:62 includes/B2S/Network/Item.php:183
2378
  msgid "My profile"
2379
  msgstr ""
2380
 
@@ -2386,85 +2434,105 @@ msgstr ""
2386
  msgid "Best times"
2387
  msgstr ""
2388
 
2389
- #: includes/B2S/Network/Item.php:150 includes/B2S/Ship/Portale.php:41
 
 
 
 
 
2390
  msgid "You want to connect a network profile?"
2391
  msgstr ""
2392
 
2393
- #: includes/B2S/Network/Item.php:154 includes/B2S/Ship/Portale.php:35
2394
  msgid "You want to connect a network page?"
2395
  msgstr ""
2396
 
2397
- #: includes/B2S/Network/Item.php:157 includes/B2S/Network/Item.php:355
2398
  #: includes/B2S/Ship/Portale.php:31
2399
  msgid "Publication"
2400
  msgstr ""
2401
 
2402
- #: includes/B2S/Network/Item.php:158 includes/B2S/Ship/Portale.php:32
2403
  msgid "You want to connect a social media group?"
2404
  msgstr ""
2405
 
2406
- #: includes/B2S/Network/Item.php:169
2407
- #, php-format
2408
- msgid ""
2409
- "Business Pages will be closed by XING on december 31, 2019. Please use XING "
2410
- "Employer Branding Pages instead. <a target=\"_blank\" href=\"%s\">More "
2411
- "information.</a>"
2412
- msgstr ""
2413
-
2414
- #: includes/B2S/Network/Item.php:176 includes/B2S/Settings/Item.php:236
2415
  msgid "Connections"
2416
  msgstr ""
2417
 
2418
- #: includes/B2S/Network/Item.php:177 views/b2s/html/footer.php:192
2419
  msgid "Best Time Manager"
2420
  msgstr ""
2421
 
2422
- #: includes/B2S/Network/Item.php:214 includes/B2S/Network/Item.php:279
2423
- #: includes/B2S/Network/Item.php:346
2424
  msgid "To reactivate this connection,"
2425
  msgstr ""
2426
 
2427
- #: includes/B2S/Network/Item.php:214 includes/B2S/Network/Item.php:279
2428
- #: includes/B2S/Network/Item.php:346 includes/B2S/Ship/Image.php:30
2429
  msgid "please upgrade"
2430
  msgstr ""
2431
 
2432
- #: includes/B2S/Network/Item.php:217 includes/B2S/Network/Item.php:282
2433
- #: includes/B2S/Network/Item.php:349
2434
  msgid "Authorization is interrupted since"
2435
  msgstr ""
2436
 
2437
- #: includes/B2S/Network/Item.php:221 includes/B2S/Network/Item.php:286
2438
- #: includes/B2S/Network/Item.php:353
2439
  msgid "Assigned by"
2440
  msgstr ""
2441
 
2442
- #: includes/B2S/Network/Item.php:258 includes/B2S/Network/Item.php:324
2443
- #: includes/B2S/Network/Item.php:386 includes/B2S/Ship/Item.php:996
2444
  msgid "Days"
2445
  msgstr ""
2446
 
2447
- #: includes/B2S/Network/Item.php:288 includes/B2S/Ship/Item.php:302
2448
  msgid "Employer Branding"
2449
  msgstr ""
2450
 
2451
- #: includes/B2S/Network/Item.php:467
2452
  msgid "Connection currently assigned to"
2453
  msgstr ""
2454
 
2455
- #: includes/B2S/Network/Item.php:524
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2456
  msgid "Successfully saved"
2457
  msgstr ""
2458
 
2459
- #: includes/B2S/Network/Item.php:525
2460
  msgid "Failed to save"
2461
  msgstr ""
2462
 
2463
- #: includes/B2S/Network/Item.php:526
2464
  msgid "Failed to load the default template"
2465
  msgstr ""
2466
 
2467
- #: includes/B2S/Network/Item.php:533
2468
  msgid ""
2469
  "Upgrade to Blog2Social Smart or higher to customize your individual post "
2470
  "templates that will automatically pre-format the structure of your social "
@@ -2475,532 +2543,555 @@ msgid ""
2475
  "or slogans) to your post templates."
2476
  msgstr ""
2477
 
2478
- #: includes/B2S/Network/Item.php:534
2479
  msgid "Upgrade to Blog2Social Smart"
2480
  msgstr ""
2481
 
2482
- #: includes/B2S/Network/Item.php:554
2483
  msgid "Activate Instant Caching"
2484
  msgstr ""
2485
 
2486
- #: includes/B2S/Network/Item.php:600
2487
  msgid "Format"
2488
  msgstr ""
2489
 
2490
- #: includes/B2S/Network/Item.php:601 includes/B2S/Network/Item.php:622
2491
  msgid "Load default settings"
2492
  msgstr ""
2493
 
2494
- #: includes/B2S/Network/Item.php:607 includes/B2S/Network/Item.php:610
2495
- #: includes/B2S/Ship/Item.php:748 includes/B2S/Ship/Item.php:750
2496
  msgid "Link"
2497
  msgstr ""
2498
 
2499
- #: includes/B2S/Network/Item.php:608 includes/B2S/Network/Item.php:611
2500
  msgid "Image"
2501
  msgstr ""
2502
 
2503
- #: includes/B2S/Network/Item.php:620 includes/B2S/Settings/Item.php:76
2504
  msgid "Content"
2505
  msgstr ""
2506
 
2507
- #: includes/B2S/Network/Item.php:629 includes/B2S/Ship/Item.php:343
2508
  msgid ""
2509
  "Instagram supports up to 30 hashtags. Please reduce the number of hashtags "
2510
  "in your post."
2511
  msgstr ""
2512
 
2513
- #: includes/B2S/Network/Item.php:641
2514
  msgid "clear"
2515
  msgstr ""
2516
 
2517
- #: includes/B2S/Network/Item.php:650
2518
  msgid "The link will be added automatically at the end of the post."
2519
  msgstr ""
2520
 
2521
- #: includes/B2S/Network/Item.php:652 includes/B2S/Network/Item.php:678
2522
  msgid "Network limit"
2523
  msgstr ""
2524
 
2525
- #: includes/B2S/Network/Item.php:652 includes/B2S/Network/Item.php:678
2526
- #: includes/B2S/Network/Item.php:678 includes/B2S/Ship/Item.php:188
2527
- #: includes/B2S/Ship/Item.php:192 includes/B2S/Ship/Item.php:237
2528
- #: includes/B2S/Ship/Item.php:241 includes/B2S/Ship/Item.php:270
2529
- #: includes/B2S/Ship/Item.php:274 includes/B2S/Ship/Item.php:1075
2530
- #: includes/B2S/Ship/Item.php:1077
2531
  msgid "characters"
2532
  msgstr ""
2533
 
2534
- #: includes/B2S/Network/Item.php:678
2535
  msgid "recommended length"
2536
  msgstr ""
2537
 
2538
- #: includes/B2S/Network/Item.php:698 includes/B2S/Network/Item.php:750
2539
- #: includes/B2S/Network/Item.php:804 includes/B2S/Network/Item.php:856
2540
- #: includes/B2S/Network/Item.php:890
2541
  msgid "Preview"
2542
  msgstr ""
2543
 
2544
- #: includes/B2S/Post/Filter.php:35
2545
  msgid "all authors"
2546
  msgstr ""
2547
 
2548
- #: includes/B2S/Post/Filter.php:51
2549
  msgid "all posts"
2550
  msgstr ""
2551
 
2552
- #: includes/B2S/Post/Filter.php:62
2553
  msgid "not yet shared"
2554
  msgstr ""
2555
 
2556
- #: includes/B2S/Post/Filter.php:62
2557
  msgid "already shared"
2558
  msgstr ""
2559
 
2560
- #: includes/B2S/Post/Filter.php:62
2561
  msgid "currently scheduled"
2562
  msgstr ""
2563
 
2564
- #: includes/B2S/Post/Filter.php:63
2565
  msgid "all statuses"
2566
  msgstr ""
2567
 
2568
- #: includes/B2S/Post/Filter.php:74 includes/B2S/Post/Filter.php:86
2569
  msgid "newest first"
2570
  msgstr ""
2571
 
2572
- #: includes/B2S/Post/Filter.php:74 includes/B2S/Post/Filter.php:86
2573
  msgid "oldest first"
2574
  msgstr ""
2575
 
2576
- #: includes/B2S/Post/Filter.php:99
2577
  msgid "all categories & tags"
2578
  msgstr ""
2579
 
2580
- #: includes/B2S/Post/Filter.php:121 includes/PRG/Post/Filter.php:49
2581
  msgid "all post types"
2582
  msgstr ""
2583
 
2584
- #: includes/B2S/Post/Filter.php:146 includes/PRG/Post/Filter.php:70
 
 
 
 
2585
  msgid "Search Title"
2586
  msgstr ""
2587
 
2588
- #: includes/B2S/Post/Filter.php:169 includes/PRG/Post/Filter.php:81
2589
  msgid "sort"
2590
  msgstr ""
2591
 
2592
- #: includes/B2S/Post/Filter.php:170 includes/PRG/Post/Filter.php:82
2593
  msgid "reset"
2594
  msgstr ""
2595
 
2596
- #: includes/B2S/Post/Filter.php:175
2597
  msgid "selected date"
2598
  msgstr ""
2599
 
2600
- #: includes/B2S/Post/Filter.php:175
2601
  msgid "scheduled post(s)"
2602
  msgstr ""
2603
 
2604
- #: includes/B2S/Post/Item.php:301
2605
  msgid "You have not saved any drafts."
2606
  msgstr ""
2607
 
2608
- #: includes/B2S/Post/Item.php:305
2609
  msgid "You have not published or scheduled any posts."
2610
  msgstr ""
2611
 
2612
- #: includes/B2S/Post/Item.php:328
2613
  msgid "curated post"
2614
  msgstr ""
2615
 
2616
- #: includes/B2S/Post/Item.php:333 includes/B2S/Post/Item.php:431
2617
  msgid "last shared on social media"
2618
  msgstr ""
2619
 
2620
- #: includes/B2S/Post/Item.php:345 includes/B2S/Post/Item.php:441
2621
- #: includes/B2S/Post/Item.php:443 includes/B2S/Post/Item.php:464
2622
- #: includes/B2S/Post/Item.php:485
2623
  msgid "Share on Social Media"
2624
  msgstr ""
2625
 
2626
- #: includes/B2S/Post/Item.php:349
2627
  msgid "load Draft"
2628
  msgstr ""
2629
 
2630
- #: includes/B2S/Post/Item.php:351 includes/B2S/Post/Item.php:449
2631
- #: includes/B2S/Post/Item.php:469 includes/B2S/Post/Item.php:487
2632
  #: includes/PRG/Post/Item.php:121
2633
  msgid "Author"
2634
  msgstr ""
2635
 
2636
- #: includes/B2S/Post/Item.php:369 includes/B2S/Post/Item.php:393
2637
- #: includes/B2S/Post/Item.php:415
2638
  msgid "Details"
2639
  msgstr ""
2640
 
2641
- #: includes/B2S/Post/Item.php:371
2642
  msgid "shared social media posts"
2643
  msgstr ""
2644
 
2645
- #: includes/B2S/Post/Item.php:371
2646
  #, php-format
2647
  msgid "latest share by %s"
2648
  msgstr ""
2649
 
2650
- #: includes/B2S/Post/Item.php:395 views/b2s/widgets/activity.php:10
2651
  msgid "scheduled social media posts"
2652
  msgstr ""
2653
 
2654
- #: includes/B2S/Post/Item.php:395
2655
  #, php-format
2656
  msgid "next share by %s"
2657
  msgstr ""
2658
 
2659
- #: includes/B2S/Post/Item.php:417
2660
  msgid "social media posts ready to be shared"
2661
  msgstr ""
2662
 
2663
- #: includes/B2S/Post/Item.php:428
2664
  msgid "via Browser-Extension"
2665
  msgstr ""
2666
 
2667
- #: includes/B2S/Post/Item.php:449
2668
  msgid "saved"
2669
  msgstr ""
2670
 
2671
- #: includes/B2S/Post/Item.php:469
2672
  msgid "last saved"
2673
  msgstr ""
2674
 
2675
- #: includes/B2S/Post/Item.php:596 includes/B2S/Post/Item.php:732
2676
  #: includes/B2S/Ship/Save.php:427
2677
  msgid "Retweet"
2678
  msgstr ""
2679
 
2680
- #: includes/B2S/Post/Item.php:602 includes/B2S/Post/Item.php:672
2681
- #: includes/B2S/Post/Item.php:737
2682
  msgid "select all"
2683
  msgstr ""
2684
 
2685
- #: includes/B2S/Post/Item.php:605
2686
  msgid "show"
2687
  msgstr ""
2688
 
2689
- #: includes/B2S/Post/Item.php:612 includes/B2S/Ship/Save.php:438
2690
  msgid "Please see"
2691
  msgstr ""
2692
 
2693
- #: includes/B2S/Post/Item.php:618
2694
  #, php-format
2695
  msgid "sharing in progress by %s"
2696
  msgstr ""
2697
 
2698
- #: includes/B2S/Post/Item.php:618
2699
  #, php-format
2700
  msgid "shared by %s"
2701
  msgstr ""
2702
 
2703
- #: includes/B2S/Post/Item.php:639 includes/B2S/Post/Item.php:652
2704
  msgid "You want to delete a publish post entry?"
2705
  msgstr ""
2706
 
2707
- #: includes/B2S/Post/Item.php:640 includes/B2S/Post/Item.php:653
2708
  msgid "delete from reporting"
2709
  msgstr ""
2710
 
2711
- #: includes/B2S/Post/Item.php:643
2712
  msgid "re-share"
2713
  msgstr ""
2714
 
2715
- #: includes/B2S/Post/Item.php:675
2716
  #, php-format
2717
  msgid "is waiting to shared by %s"
2718
  msgstr ""
2719
 
2720
- #: includes/B2S/Post/Item.php:705 includes/B2S/Ship/Save.php:408
2721
  msgid "share"
2722
  msgstr ""
2723
 
2724
- #: includes/B2S/Post/Item.php:713
2725
  msgid "You want to delete your Social Media post?"
2726
  msgstr ""
2727
 
2728
- #: includes/B2S/Post/Item.php:747
2729
  #, php-format
2730
  msgid "last modified by %s"
2731
  msgstr ""
2732
 
2733
- #: includes/B2S/Post/Item.php:749
2734
  msgid "is processed by the network"
2735
  msgstr ""
2736
 
2737
- #: includes/B2S/Post/Item.php:754
2738
  #, php-format
2739
  msgid "scheduled by %s"
2740
  msgstr ""
2741
 
2742
- #: includes/B2S/Post/Item.php:759
2743
  msgid "You want to edit your scheduled post?"
2744
  msgstr ""
2745
 
2746
- #: includes/B2S/Post/Item.php:760
2747
  msgid "edit"
2748
  msgstr ""
2749
 
2750
- #: includes/B2S/Post/Item.php:771
2751
  msgid "delete scheduling"
2752
  msgstr ""
2753
 
2754
- #: includes/B2S/Settings/Item.php:62 includes/B2S/Settings/Item.php:82
2755
- #: includes/B2S/Ship/Item.php:898
2756
  msgid "Account"
2757
  msgstr ""
2758
 
2759
- #: includes/B2S/Settings/Item.php:71
2760
  msgid "Timezone for Scheduling"
2761
  msgstr ""
2762
 
2763
- #: includes/B2S/Settings/Item.php:71
2764
  msgid "User"
2765
  msgstr ""
2766
 
2767
- #: includes/B2S/Settings/Item.php:77
2768
  msgid "Url Shortener"
2769
  msgstr ""
2770
 
2771
- #: includes/B2S/Settings/Item.php:78
2772
- msgid "Bitly"
2773
  msgstr ""
2774
 
2775
- #: includes/B2S/Settings/Item.php:85
 
 
 
 
2776
  msgid "Shortcodes"
2777
  msgstr ""
2778
 
2779
- #: includes/B2S/Settings/Item.php:86
2780
  msgid "allow shortcodes in my post"
2781
  msgstr ""
2782
 
2783
- #: includes/B2S/Settings/Item.php:88 includes/B2S/Ship/Item.php:844
2784
  msgid "Hashtags"
2785
  msgstr ""
2786
 
2787
- #: includes/B2S/Settings/Item.php:89
2788
  msgid "include Wordpress tags as hashtags in my post"
2789
  msgstr ""
2790
 
2791
- #: includes/B2S/Settings/Item.php:93
2792
  msgid "System"
2793
  msgstr ""
2794
 
2795
- #: includes/B2S/Settings/Item.php:94 includes/B2S/Settings/Item.php:284
2796
- #: includes/B2S/Settings/Item.php:311
2797
  msgid ""
2798
  "This is a global feature for your blog, which can only be edited by users "
2799
  "with admin rights."
2800
  msgstr ""
2801
 
2802
- #: includes/B2S/Settings/Item.php:95
2803
  msgid "activate Legacy mode"
2804
  msgstr ""
2805
 
2806
- #: includes/B2S/Settings/Item.php:114
2807
- msgid "Auto-post your own created posts"
 
 
 
 
 
 
 
2808
  msgstr ""
2809
 
2810
- #: includes/B2S/Settings/Item.php:115
2811
- msgid "Define by default to automatically post your posts on social media:"
 
 
2812
  msgstr ""
2813
 
2814
- #: includes/B2S/Settings/Item.php:117
2815
  msgid ""
2816
- "Select by default if the auto-poster is activated when you publish a new "
2817
- "post or update a post."
 
2818
  msgstr ""
2819
 
2820
- #: includes/B2S/Settings/Item.php:122
 
 
 
 
2821
  msgid "new posts"
2822
  msgstr ""
2823
 
2824
- #: includes/B2S/Settings/Item.php:123 includes/B2S/Settings/Item.php:135
2825
  msgid "Unselect all"
2826
  msgstr ""
2827
 
2828
- #: includes/B2S/Settings/Item.php:123 includes/B2S/Settings/Item.php:135
2829
  msgid "Select all"
2830
  msgstr ""
2831
 
2832
- #: includes/B2S/Settings/Item.php:131
2833
  msgid ""
2834
  "By enabling this feature your previously published social media posts will "
2835
  "be sent again to your selected social media channels as soon as the post is "
2836
  "updated."
2837
  msgstr ""
2838
 
2839
- #: includes/B2S/Settings/Item.php:134
2840
  msgid "updating existing posts"
2841
  msgstr ""
2842
 
2843
- #: includes/B2S/Settings/Item.php:146 includes/B2S/Settings/Item.php:183
2844
- msgid "Save"
2845
  msgstr ""
2846
 
2847
- #: includes/B2S/Settings/Item.php:149
2848
- msgid "Auto-post your imported posts to your social media accounts"
2849
  msgstr ""
2850
 
2851
- #: includes/B2S/Settings/Item.php:150
2852
  msgid ""
2853
- "Define by default to automatically share your imported posts to social media:"
 
2854
  msgstr ""
2855
 
2856
- #: includes/B2S/Settings/Item.php:155
2857
  msgid ""
2858
  "Immediate Cross-Posting across all networks: Share an unlimited number of "
2859
  "posts"
2860
  msgstr ""
2861
 
2862
- #: includes/B2S/Settings/Item.php:156
2863
  msgid "Scheduled Auto-Posting"
2864
  msgstr ""
2865
 
2866
- #: includes/B2S/Settings/Item.php:158
2867
  msgid "share up to"
2868
  msgstr ""
2869
 
2870
- #: includes/B2S/Settings/Item.php:158
2871
  msgid "posts per day, Google My Business max. 10 posts per day"
2872
  msgstr ""
2873
 
2874
- #: includes/B2S/Settings/Item.php:165
2875
- msgid "Select by default to automatically share your imported posts"
2876
  msgstr ""
2877
 
2878
- #: includes/B2S/Settings/Item.php:168
2879
  msgid "Available networks to select your auto-post connecitons:"
2880
  msgstr ""
2881
 
2882
- #: includes/B2S/Settings/Item.php:169
2883
  msgid ""
2884
  "In accordance with the new Twitter TOS, one Twitter account can be selected "
2885
  "as your primary Twitter account for auto-posting."
2886
  msgstr ""
2887
 
2888
- #: includes/B2S/Settings/Item.php:169
2889
- msgid "More information"
2890
- msgstr ""
2891
-
2892
- #: includes/B2S/Settings/Item.php:171
2893
  msgid "Select to auto-post immediately after publishing or with a delay"
2894
  msgstr ""
2895
 
2896
- #: includes/B2S/Settings/Item.php:173
2897
  msgid "publish with a delay of"
2898
  msgstr ""
2899
 
2900
- #: includes/B2S/Settings/Item.php:174
2901
  msgid "minutes"
2902
  msgstr ""
2903
 
2904
- #: includes/B2S/Settings/Item.php:198
 
 
 
 
2905
  msgid ""
2906
  "Filter Posts (Only posts that meet the following criteria will be autoposted)"
2907
  msgstr ""
2908
 
2909
- #: includes/B2S/Settings/Item.php:199
2910
  msgid "Post Types"
2911
  msgstr ""
2912
 
2913
- #: includes/B2S/Settings/Item.php:200
2914
  msgid "Include (Post only...)"
2915
  msgstr ""
2916
 
2917
- #: includes/B2S/Settings/Item.php:201
2918
  msgid "Exclude (Do no post ...)"
2919
  msgstr ""
2920
 
2921
- #: includes/B2S/Settings/Item.php:238
2922
  msgid "add/change connection"
2923
  msgstr ""
2924
 
2925
- #: includes/B2S/Settings/Item.php:282
2926
  msgid "Reset all page and post meta data"
2927
  msgstr ""
2928
 
2929
- #: includes/B2S/Settings/Item.php:287
2930
  msgid "Meta Tags Settings for Posts and Pages"
2931
  msgstr ""
2932
 
2933
- #: includes/B2S/Settings/Item.php:288
2934
  msgid ""
2935
  "Add Open Graph meta tags to your shared posts or pages, required by Facebook "
2936
  "and other social networks to display your post or page image, title and "
2937
  "description correctly."
2938
  msgstr ""
2939
 
2940
- #: includes/B2S/Settings/Item.php:290
2941
  msgid ""
2942
  "Add Twitter Card meta tags to your shared posts or pages, required by "
2943
  "Twitter to display your post or page image, title and description correctly."
2944
  msgstr ""
2945
 
2946
- #: includes/B2S/Settings/Item.php:313
2947
  msgid "Frontpage Settings"
2948
  msgstr ""
2949
 
2950
- #: includes/B2S/Settings/Item.php:315
2951
  msgid "Check Settings with Sharing-Debugger"
2952
  msgstr ""
2953
 
2954
- #: includes/B2S/Settings/Item.php:325
2955
  msgid ""
2956
  "Add the default Open Graph parameters for title, description and image you "
2957
  "want Facebook to display, if you share the frontpage of your blog as link "
2958
  "post (http://www.yourblog.com)"
2959
  msgstr ""
2960
 
2961
- #: includes/B2S/Settings/Item.php:329 includes/B2S/Settings/Item.php:350
2962
  msgid "Description"
2963
  msgstr ""
2964
 
2965
- #: includes/B2S/Settings/Item.php:330 includes/B2S/Settings/Item.php:351
2966
  msgid "Image URL"
2967
  msgstr ""
2968
 
2969
- #: includes/B2S/Settings/Item.php:332 includes/B2S/Settings/Item.php:353
2970
  #: includes/B2S/Ship/Image.php:85 includes/B2S/Ship/Image.php:87
2971
  msgid "Image upload / Media Gallery"
2972
  msgstr ""
2973
 
2974
- #: includes/B2S/Settings/Item.php:335
2975
  msgid ""
2976
  "Please note: Facebook supports images with a minimum dimension of 200x200 "
2977
  "pixels and an aspect ratio of 1:1."
2978
  msgstr ""
2979
 
2980
- #: includes/B2S/Settings/Item.php:341
2981
  msgid ""
2982
  "Add the default Twitter Card parameters for title, description and image you "
2983
  "want Twitter to display, if you share the frontpage of your blog as link "
2984
  "post (http://www.yourblog.com)"
2985
  msgstr ""
2986
 
2987
- #: includes/B2S/Settings/Item.php:344
2988
  msgid "The default card type to use"
2989
  msgstr ""
2990
 
2991
- #: includes/B2S/Settings/Item.php:346
2992
  msgid "Summary"
2993
  msgstr ""
2994
 
2995
- #: includes/B2S/Settings/Item.php:347
2996
  msgid "Summary with large image"
2997
  msgstr ""
2998
 
2999
- #: includes/B2S/Settings/Item.php:347
3000
  msgid "(SMART)"
3001
  msgstr ""
3002
 
3003
- #: includes/B2S/Settings/Item.php:356
3004
  msgid ""
3005
  "Please note: Twitter supports images with a minimum dimension of 144x144 "
3006
  "pixels and a maximum dimension of 4096x4096 pixels and less than 5 BM. The "
@@ -3008,32 +3099,32 @@ msgid ""
3008
  "formats."
3009
  msgstr ""
3010
 
3011
- #: includes/B2S/Settings/Item.php:374
3012
  msgid "Did you know?"
3013
  msgstr ""
3014
 
3015
- #: includes/B2S/Settings/Item.php:375
3016
  msgid ""
3017
  "With Premium Pro, you can change the custom post format photo post or link "
3018
  "post for each individual social media post and channel (profile, page, group)"
3019
  "."
3020
  msgstr ""
3021
 
3022
- #: includes/B2S/Settings/Item.php:375
3023
  msgid "Upgrade to Premium Pro now."
3024
  msgstr ""
3025
 
3026
- #: includes/B2S/Settings/Item.php:399
3027
  msgid "The image will be changed"
3028
  msgstr ""
3029
 
3030
- #: includes/B2S/Settings/Item.php:402 views/b2s/html/footer.php:129
3031
  msgid ""
3032
  "Insert white frames to show the whole image in your timeline. All image "
3033
  "information will be shown in your timeline."
3034
  msgstr ""
3035
 
3036
- #: includes/B2S/Settings/Item.php:404 views/b2s/html/footer.php:112
3037
  msgid ""
3038
  "The link post format displays posts title, link address and the first one or "
3039
  "two sentences of the post. The networks scan this information from your META "
@@ -3045,14 +3136,14 @@ msgid ""
3045
  "first image detected on your page. The image links to your blog post."
3046
  msgstr ""
3047
 
3048
- #: includes/B2S/Settings/Item.php:413 views/b2s/html/footer.php:134
3049
  msgid ""
3050
  "The image preview will be cropped automatically to fit the default Instagram "
3051
  "layout for your Instagram timeline. The image will be shown uncropped when "
3052
  "opening the preview page for your Instagram post."
3053
  msgstr ""
3054
 
3055
- #: includes/B2S/Settings/Item.php:415 views/b2s/html/footer.php:117
3056
  msgid ""
3057
  "A photo or image post displays the selected image in the one-page preview of "
3058
  "Blog2Social and your comment above the image. The image links to the image "
@@ -3114,194 +3205,210 @@ msgstr ""
3114
  msgid "Apply image for all og-meta networks"
3115
  msgstr ""
3116
 
3117
- #: includes/B2S/Ship/Item.php:140
3118
  msgid "Network does not support image for profiles"
3119
  msgstr ""
3120
 
3121
- #: includes/B2S/Ship/Item.php:141 includes/B2S/Ship/Item.php:204
3122
  msgid "Network defines image by link"
3123
  msgstr ""
3124
 
3125
- #: includes/B2S/Ship/Item.php:143
3126
  msgid "Supported HTML tags"
3127
  msgstr ""
3128
 
3129
- #: includes/B2S/Ship/Item.php:144 includes/B2S/Ship/Item.php:203
3130
  msgid "Network does not support emojis"
3131
  msgstr ""
3132
 
3133
- #: includes/B2S/Ship/Item.php:145 includes/B2S/Ship/Item.php:205
3134
  msgid "Network does not support GIFs"
3135
  msgstr ""
3136
 
3137
- #: includes/B2S/Ship/Item.php:187
3138
  msgid "Text only"
3139
  msgstr ""
3140
 
3141
- #: includes/B2S/Ship/Item.php:202
3142
  msgid "Network does not support image for pages"
3143
  msgstr ""
3144
 
3145
- #: includes/B2S/Ship/Item.php:294
3146
  msgid "Connection expires on 31 March 2019"
3147
  msgstr ""
3148
 
3149
- #: includes/B2S/Ship/Item.php:298
3150
  msgid "Connection expires on 2 April 2019"
3151
  msgstr ""
3152
 
3153
- #: includes/B2S/Ship/Item.php:311
3154
  msgid "post format"
3155
  msgstr ""
3156
 
3157
- #: includes/B2S/Ship/Item.php:326 includes/B2S/Ship/Item.php:1083
3158
  msgid "Insert full-text"
3159
  msgstr ""
3160
 
3161
- #: includes/B2S/Ship/Item.php:328 includes/B2S/Ship/Item.php:1085
3162
  msgid "Delete text"
3163
  msgstr ""
3164
 
3165
- #: includes/B2S/Ship/Item.php:335 includes/B2S/Ship/Item.php:607
3166
- #: includes/B2S/Ship/Item.php:949
3167
  msgid ""
3168
  "Please keep in mind that according to Twitter’s new TOS, users are no longer "
3169
  "allowed to post identical or substantially similar content to multiple "
3170
  "accounts or multiple duplicate updates on one account."
3171
  msgstr ""
3172
 
3173
- #: includes/B2S/Ship/Item.php:335 includes/B2S/Ship/Item.php:607
3174
- #: includes/B2S/Ship/Item.php:949
3175
  msgid ""
3176
  "Violating these rules can result in Twitter suspending your account. Always "
3177
  "vary your Tweets with different comments, hashtags or handles to prevent "
3178
  "duplicate posts."
3179
  msgstr ""
3180
 
3181
- #: includes/B2S/Ship/Item.php:335 includes/B2S/Ship/Item.php:607
3182
- #: includes/B2S/Ship/Item.php:949
3183
  msgid "Learn more about this"
3184
  msgstr ""
3185
 
3186
- #: includes/B2S/Ship/Item.php:339
3187
  msgid ""
3188
  "Please note: XING allows identical posts to be published only once within a "
3189
  "group and no more than three times across different groups."
3190
  msgstr ""
3191
 
3192
- #: includes/B2S/Ship/Item.php:339
3193
  msgid "Read more"
3194
  msgstr ""
3195
 
3196
- #: includes/B2S/Ship/Item.php:344
3197
  msgid ""
3198
  "Please keep in mind that users are not allowed to post identical or "
3199
  "substantially similar content to multiple accounts or multiple duplicate "
3200
  "updates on one account."
3201
  msgstr ""
3202
 
3203
- #: includes/B2S/Ship/Item.php:344
3204
  msgid ""
3205
  "Violating these rules can result in suspending your account. Always vary "
3206
  "your content with different images, comments, hashtags or handles to prevent "
3207
  "duplicate posts."
3208
  msgstr ""
3209
 
3210
- #: includes/B2S/Ship/Item.php:364
3211
  msgid "hide calendar"
3212
  msgstr ""
3213
 
3214
- #: includes/B2S/Ship/Item.php:421 includes/B2S/Ship/Item.php:450
3215
- #: includes/B2S/Ship/Item.php:479 includes/B2S/Ship/Item.php:508
3216
- #: includes/B2S/Ship/Item.php:536 includes/B2S/Ship/Item.php:564
3217
- #: includes/B2S/Ship/Item.php:595 includes/B2S/Ship/Item.php:618
3218
- #: includes/B2S/Ship/Item.php:639 includes/B2S/Ship/Item.php:660
3219
- #: includes/B2S/Ship/Item.php:681 includes/B2S/Ship/Item.php:702
3220
- #: includes/B2S/Ship/Item.php:712
 
3221
  msgid "Write something about your post..."
3222
  msgstr ""
3223
 
3224
- #: includes/B2S/Ship/Item.php:436 includes/B2S/Ship/Item.php:494
3225
- #: includes/B2S/Ship/Item.php:523 includes/B2S/Ship/Item.php:551
 
3226
  msgid ""
3227
  "Info: Change Open Graph Meta tags image, title and description for this "
3228
  "network"
3229
  msgstr ""
3230
 
3231
- #: includes/B2S/Ship/Item.php:439 includes/B2S/Ship/Item.php:468
3232
- #: includes/B2S/Ship/Item.php:497 includes/B2S/Ship/Item.php:526
3233
- #: includes/B2S/Ship/Item.php:554
3234
  msgid ""
3235
  "You want to change your link image, link title and link description for this "
3236
  "network? Click here."
3237
  msgstr ""
3238
 
3239
- #: includes/B2S/Ship/Item.php:441 includes/B2S/Ship/Item.php:499
3240
- #: includes/B2S/Ship/Item.php:528 includes/B2S/Ship/Item.php:556
 
3241
  msgid "OG Meta title"
3242
  msgstr ""
3243
 
3244
- #: includes/B2S/Ship/Item.php:442 includes/B2S/Ship/Item.php:500
3245
- #: includes/B2S/Ship/Item.php:529 includes/B2S/Ship/Item.php:557
 
3246
  msgid "OG Meta description"
3247
  msgstr ""
3248
 
3249
- #: includes/B2S/Ship/Item.php:465
 
 
 
 
 
 
3250
  msgid ""
3251
  "Info: Change Card Meta tags image, title and description for this network"
3252
  msgstr ""
3253
 
3254
- #: includes/B2S/Ship/Item.php:470
3255
  msgid "Card Meta title"
3256
  msgstr ""
3257
 
3258
- #: includes/B2S/Ship/Item.php:471
3259
  msgid "Card Meta description"
3260
  msgstr ""
3261
 
3262
- #: includes/B2S/Ship/Item.php:728
 
 
 
 
 
 
3263
  msgid "required"
3264
  msgstr ""
3265
 
3266
- #: includes/B2S/Ship/Item.php:818
3267
  msgid "Jobs & Projects"
3268
  msgstr ""
3269
 
3270
- #: includes/B2S/Ship/Item.php:819
3271
  msgid "Events"
3272
  msgstr ""
3273
 
3274
- #: includes/B2S/Ship/Item.php:820
3275
  msgid "Classified Ads"
3276
  msgstr ""
3277
 
3278
- #: includes/B2S/Ship/Item.php:822
3279
  msgid "Offer"
3280
  msgstr ""
3281
 
3282
- #: includes/B2S/Ship/Item.php:823
3283
  msgid "Request"
3284
  msgstr ""
3285
 
3286
- #: includes/B2S/Ship/Item.php:834
3287
  msgid "The Headline..."
3288
  msgstr ""
3289
 
3290
- #: includes/B2S/Ship/Item.php:842
3291
  #, php-format
3292
  msgid "max. %s Tags"
3293
  msgstr ""
3294
 
3295
- #: includes/B2S/Ship/Item.php:880
3296
  msgid "Enable Retweets for all Tweets with the selected profile"
3297
  msgstr ""
3298
 
3299
- #: includes/B2S/Ship/Item.php:899 views/b2s/partials/post-edit-modal.php:73
3300
  msgid "Delay"
3301
  msgstr ""
3302
 
3303
- #: includes/B2S/Ship/Item.php:909 includes/B2S/Ship/Item.php:910
3304
- #: includes/B2S/Ship/Item.php:911 includes/B2S/Ship/Item.php:912
3305
  #: views/b2s/partials/post-edit-modal.php:77
3306
  #: views/b2s/partials/post-edit-modal.php:78
3307
  #: views/b2s/partials/post-edit-modal.php:79
@@ -3309,19 +3416,19 @@ msgstr ""
3309
  msgid "min"
3310
  msgstr ""
3311
 
3312
- #: includes/B2S/Ship/Item.php:917
3313
  msgid "Add Retweet"
3314
  msgstr ""
3315
 
3316
- #: includes/B2S/Ship/Item.php:937
3317
  msgid "Share Now"
3318
  msgstr ""
3319
 
3320
- #: includes/B2S/Ship/Item.php:942
3321
  msgid "Schedule Recurrent Post"
3322
  msgstr ""
3323
 
3324
- #: includes/B2S/Ship/Item.php:978 views/b2s/partials/post-edit-modal.php:47
3325
  msgid ""
3326
  "Please note: Your account is connected via an old XING API that is no longer "
3327
  "supported by XING after March 31. Please connect your XING profile, as well "
@@ -3331,7 +3438,7 @@ msgid ""
3331
  "the new XING."
3332
  msgstr ""
3333
 
3334
- #: includes/B2S/Ship/Item.php:982 views/b2s/partials/post-edit-modal.php:51
3335
  msgid ""
3336
  "Please note: Google will shut down Google+ for all private accounts "
3337
  "(profiles, pages, groups) on 2nd April 2019. You can find further "
@@ -3339,116 +3446,116 @@ msgid ""
3339
  "other content here:"
3340
  msgstr ""
3341
 
3342
- #: includes/B2S/Ship/Item.php:985
3343
  msgid "Repeats"
3344
  msgstr ""
3345
 
3346
- #: includes/B2S/Ship/Item.php:986 includes/B2S/Ship/Item.php:989
3347
  msgid "Duration"
3348
  msgstr ""
3349
 
3350
- #: includes/B2S/Ship/Item.php:990
3351
  msgid "Number of repeats"
3352
  msgstr ""
3353
 
3354
- #: includes/B2S/Ship/Item.php:991
3355
  msgid "Day of month"
3356
  msgstr ""
3357
 
3358
- #: includes/B2S/Ship/Item.php:992
3359
  msgid "Repeats every (days)"
3360
  msgstr ""
3361
 
3362
- #: includes/B2S/Ship/Item.php:994
3363
  msgid "Start date"
3364
  msgstr ""
3365
 
3366
- #: includes/B2S/Ship/Item.php:995
3367
  msgid "Time to publish"
3368
  msgstr ""
3369
 
3370
- #: includes/B2S/Ship/Item.php:1004
3371
  msgid "weekly"
3372
  msgstr ""
3373
 
3374
- #: includes/B2S/Ship/Item.php:1005
3375
  msgid "monthly"
3376
  msgstr ""
3377
 
3378
- #: includes/B2S/Ship/Item.php:1006
3379
  msgid "own period"
3380
  msgstr ""
3381
 
3382
- #: includes/B2S/Ship/Item.php:1012
3383
  msgid "Week"
3384
  msgstr ""
3385
 
3386
- #: includes/B2S/Ship/Item.php:1012
3387
  msgid "Weeks"
3388
  msgstr ""
3389
 
3390
- #: includes/B2S/Ship/Item.php:1021
3391
  msgid "Month"
3392
  msgstr ""
3393
 
3394
- #: includes/B2S/Ship/Item.php:1021
3395
  msgid "Months"
3396
  msgstr ""
3397
 
3398
- #: includes/B2S/Ship/Item.php:1041
3399
  msgid "End Of Month"
3400
  msgstr ""
3401
 
3402
- #: includes/B2S/Ship/Item.php:1046
3403
  msgid "Timespan"
3404
  msgstr ""
3405
 
3406
- #: includes/B2S/Ship/Item.php:1049 views/b2s/partials/post-edit-modal.php:63
3407
  #: views/b2s/partials/post-edit-modal.php:66
3408
  msgid "Time"
3409
  msgstr ""
3410
 
3411
- #: includes/B2S/Ship/Item.php:1054
3412
  msgid "Mon"
3413
  msgstr ""
3414
 
3415
- #: includes/B2S/Ship/Item.php:1055
3416
  msgid "Tue"
3417
  msgstr ""
3418
 
3419
- #: includes/B2S/Ship/Item.php:1056
3420
  msgid "Wed"
3421
  msgstr ""
3422
 
3423
- #: includes/B2S/Ship/Item.php:1057
3424
  msgid "Thu"
3425
  msgstr ""
3426
 
3427
- #: includes/B2S/Ship/Item.php:1058
3428
  msgid "Fri"
3429
  msgstr ""
3430
 
3431
- #: includes/B2S/Ship/Item.php:1059
3432
  msgid "Sat"
3433
  msgstr ""
3434
 
3435
- #: includes/B2S/Ship/Item.php:1060
3436
  msgid "Sun"
3437
  msgstr ""
3438
 
3439
- #: includes/B2S/Ship/Item.php:1067
3440
  msgid "add another post"
3441
  msgstr ""
3442
 
3443
- #: includes/B2S/Ship/Item.php:1081
3444
  msgid "Copy from original"
3445
  msgstr ""
3446
 
3447
- #: includes/B2S/Ship/Item.php:1097
3448
  msgid "Apply Settings To All Networks"
3449
  msgstr ""
3450
 
3451
- #: includes/B2S/Ship/Item.php:1098
3452
  msgid "Save as best time for this network"
3453
  msgstr ""
3454
 
@@ -3494,9 +3601,9 @@ msgstr ""
3494
  #: includes/B2S/Ship/Save.php:403
3495
  msgid ""
3496
  "-For scheduled posts, Blog2Social will save your post and move it to the "
3497
- "\"Scheduled Posts\" tab on your \"Posts & Sharing\" navigation bar. On your "
3498
- "scheduled date and time, your post will move to the \"Instant Sharing\" tab "
3499
- "and you can click on \"Share\" to post it to your account instantly."
3500
  msgstr ""
3501
 
3502
  #: includes/B2S/Ship/Save.php:404
@@ -4176,6 +4283,10 @@ msgid ""
4176
  "the free trial."
4177
  msgstr ""
4178
 
 
 
 
 
4179
  #: views/b2s/html/header.php:326
4180
  msgid "Share on multiple accounts per network"
4181
  msgstr ""
@@ -4408,11 +4519,6 @@ msgstr ""
4408
  msgid "Press"
4409
  msgstr ""
4410
 
4411
- #: views/prg/html/form.php:84 views/prg/html/form.php:86
4412
- #: views/prg/html/form.php:161 views/prg/html/form.php:163
4413
- msgid "Name"
4414
- msgstr ""
4415
-
4416
  #: views/prg/html/form.php:95 views/prg/html/form.php:172
4417
  msgid "Mrs."
4418
  msgstr ""
3
  msgstr ""
4
  "Project-Id-Version: Blog2Social: Social Media Auto Post & Scheduler\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2020-01-28 08:44+0000\n"
7
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9
  "Language-Team: \n"
31
  msgid "Modify forum"
32
  msgstr ""
33
 
34
+ #: includes/Loader.php:77
35
+ msgid "Bitly"
36
+ msgstr ""
37
+
38
+ #: includes/Loader.php:77
39
+ msgid "Rebrandly"
40
  msgstr ""
41
 
42
+ #: includes/Loader.php:399
43
+ msgid "Blog2Social: Autoposter"
44
  msgstr ""
45
 
46
+ #: includes/Loader.php:400
47
+ msgid "Blog2Social: Social Media Content Calendar"
48
+ msgstr ""
49
+
50
+ #: includes/Loader.php:754
51
  msgid "This post will be shared into your social media from"
52
  msgstr ""
53
 
54
+ #: includes/Loader.php:754 includes/Loader.php:756
55
  msgid "show details"
56
  msgstr ""
57
 
58
+ #: includes/Loader.php:756
59
  msgid "This post will be shared on social media in 2-3 minutes!"
60
  msgstr ""
61
 
62
+ #: includes/Loader.php:760
63
  msgid ""
64
+ "Please make sure that your post, page or custom post type is published or "
65
+ "scheduled to be published on this blog before you try to post it with "
66
+ "Blog2Social. Published WP posts will be shared with your chosen permalink, "
67
+ "scheduled WP posts will be shared with the posting id link."
68
  msgstr ""
69
 
70
+ #: includes/Loader.php:763 includes/B2S/PostBox.php:133
71
+ #: includes/B2S/Settings/Item.php:137
72
  msgid ""
73
  "There are no social network accounts assigned to your selected network "
74
  "collection. Please assign at least one social network account or select "
75
  "another network collection."
76
  msgstr ""
77
 
78
+ #: includes/Loader.php:775 views/b2s/html/sidebar.php:45
79
  #: views/b2s/html/sidebar.ship.php:44
80
  msgid "Upgrade to Premium"
81
  msgstr ""
82
 
83
+ #: includes/Loader.php:827 views/b2s/html/post.navbar.php:18
84
  msgid "Notifications"
85
  msgstr ""
86
 
87
+ #: includes/Loader.php:827 views/b2s/html/post.navbar.php:17
88
  #: views/b2s/html/sidebar.php:119
89
  msgid "Shared Posts"
90
  msgstr ""
91
 
92
+ #: includes/Loader.php:827 views/b2s/html/post.navbar.php:14
93
  #: views/b2s/html/sidebar.php:113
94
  msgid "Instant Sharing"
95
  msgstr ""
96
 
97
+ #: includes/Loader.php:827 views/b2s/html/post.navbar.php:10
98
  #: views/b2s/html/post.navbar.php:12 views/b2s/html/sidebar.php:88
99
  #: views/b2s/html/sidebar.php:110
100
  msgid "Drafts"
101
  msgstr ""
102
 
103
+ #: includes/Loader.php:827 views/b2s/html/post.navbar.php:15
104
  #: views/b2s/html/sidebar.php:116 views/b2s/widgets/posts.php:18
105
  msgid "Scheduled Posts"
106
  msgstr ""
107
 
108
+ #: includes/Loader.php:827
109
  msgid "Social Media Post Drafts"
110
  msgstr ""
111
 
112
+ #: includes/Loader.php:827 views/b2s/html/post.navbar.php:9
113
  #: views/b2s/html/sidebar.php:107
114
  msgid "Favorites"
115
  msgstr ""
116
 
117
+ #: includes/Loader.php:828 includes/B2S/Network/Item.php:147
118
+ #: includes/B2S/Network/Item.php:149 includes/B2S/Network/Item.php:151
119
+ #: includes/B2S/Network/Item.php:218 includes/B2S/Network/Item.php:582
120
+ #: includes/B2S/Settings/Item.php:266 includes/B2S/Ship/Portale.php:39
121
  #: includes/B2S/Ship/Portale.php:41 includes/B2S/Ship/Portale.php:41
122
  msgid "Profile"
123
  msgstr ""
124
 
125
+ #: includes/Loader.php:828 includes/B2S/Network/Item.php:155
126
+ #: includes/B2S/Network/Item.php:155 includes/B2S/Network/Item.php:284
127
+ #: includes/B2S/Network/Item.php:584 includes/B2S/Settings/Item.php:266
128
  #: includes/B2S/Ship/Portale.php:35 includes/B2S/Ship/Portale.php:35
129
  msgid "Page"
130
  msgstr ""
131
 
132
+ #: includes/Loader.php:828 includes/B2S/Network/Item.php:158
133
+ #: includes/B2S/Network/Item.php:351 includes/B2S/Network/Item.php:587
134
  #: includes/B2S/Ship/Portale.php:31 includes/B2S/Ship/Portale.php:32
135
  msgid "Group"
136
  msgstr ""
137
 
138
+ #: includes/Loader.php:829 views/prg/html/form.php:74
139
  msgid "Company"
140
  msgstr ""
141
 
142
+ #: includes/Loader.php:829
143
  msgid "Business"
144
  msgstr ""
145
 
146
+ #: includes/Loader.php:830
147
  #, php-format
148
  msgid ""
149
  "The network could not publish your post. Please see <a target=\"_blank\" "
150
  "href=\"%s\">FAQ</a>"
151
  msgstr ""
152
 
153
+ #: includes/Loader.php:831
154
  msgid ""
155
  "Your authorization has expired. Please reconnect your account in the "
156
  "Blog2Social network settings."
157
  msgstr ""
158
 
159
+ #: includes/Loader.php:832
160
  msgid "The network has marked the post as spam or abusive."
161
  msgstr ""
162
 
163
+ #: includes/Loader.php:833
164
  msgid ""
165
  "We don't have the permission to publish your post. Please check your "
166
  "authorization."
167
  msgstr ""
168
 
169
+ #: includes/Loader.php:834
170
  #, php-format
171
  msgid ""
172
  "Your authorization is interrupted. Please check your authorization. Please "
173
  "see <a target=\"_blank\" href=\"%s\">FAQ</a>"
174
  msgstr ""
175
 
176
+ #: includes/Loader.php:835
177
  msgid "Your daily limit has been reached."
178
  msgstr ""
179
 
180
+ #: includes/Loader.php:836
181
  msgid ""
182
  "Your post could not be posted, because your image is not available or the "
183
  "image source does not allow to publish"
184
  msgstr ""
185
 
186
+ #: includes/Loader.php:837
187
  #, php-format
188
  msgid ""
189
  "The network has blocked your account. Please see <a target=\"_blank\" "
190
  "href=\"%s\">FAQ</a>"
191
  msgstr ""
192
 
193
+ #: includes/Loader.php:838
194
  #, php-format
195
  msgid ""
196
  "The number of images is reached. Please see <a target=\"_blank\" href=\"%s\">"
197
  "FAQ</a>"
198
  msgstr ""
199
 
200
+ #: includes/Loader.php:839
201
  msgid ""
202
  "Your daily limit for this network has been reached. Please try again later."
203
  msgstr ""
204
 
205
+ #: includes/Loader.php:840
206
  #, php-format
207
  msgid ""
208
  "The network can not publish special characters such as Emoji. Please see <a "
209
  "target=\"_blank\" href=\"%s\">FAQ</a>"
210
  msgstr ""
211
 
212
+ #: includes/Loader.php:841
213
  msgid "Your post is a duplicate."
214
  msgstr ""
215
 
216
+ #: includes/Loader.php:842
217
  msgid "The network requires a public url."
218
  msgstr ""
219
 
220
+ #: includes/Loader.php:843
221
  msgid ""
222
  "Your blog post was not available for the network at the time of publication."
223
  msgstr ""
224
 
225
+ #: includes/Loader.php:844
226
  msgid "You have already retweeted this post."
227
  msgstr ""
228
 
229
+ #: includes/Loader.php:845
230
  msgid ""
231
  "This XING API is no longer supported by XING. Please connect your XING "
232
  "accounts with the new XING interface to reschedule your posts."
233
  msgstr ""
234
 
235
+ #: includes/Loader.php:846
236
+ msgid "An image is required to post on this social network."
237
  msgstr ""
238
 
239
+ #: includes/Loader.php:847
240
  msgid "To share social media posts on Reddit or Diigo, a link is required."
241
  msgstr ""
242
 
243
+ #: includes/Loader.php:848
244
  msgid ""
245
  "Your post could not be posted, because your image can not be processed by "
246
  "the network."
247
  msgstr ""
248
 
249
+ #: includes/Loader.php:849
250
  #, php-format
251
  msgid ""
252
  "Instagram published your post without text. Please see <a target=\"_blank\" "
253
  "href=\"%s\">FAQ</a>"
254
  msgstr ""
255
 
256
+ #: includes/Loader.php:850
257
  msgid "Your group can not be found by the network."
258
  msgstr ""
259
 
260
+ #: includes/Loader.php:906 includes/Loader.php:949
261
  msgid "Dashboard"
262
  msgstr ""
263
 
264
+ #: includes/Loader.php:907
265
  msgid "Share Website & Blog Content"
266
  msgstr ""
267
 
268
+ #: includes/Loader.php:907 includes/Loader.php:956
269
  msgid "Site & Blog Content"
270
  msgstr ""
271
 
272
+ #: includes/Loader.php:908
273
  msgid "Create Social Media Posts"
274
  msgstr ""
275
 
276
+ #: includes/Loader.php:908 includes/Loader.php:963
277
  msgid "Social Media Posts"
278
  msgstr ""
279
 
280
+ #: includes/Loader.php:909 includes/Loader.php:970 views/b2s/dashboard.php:31
281
  #: views/b2s/html/post.navbar.php:19 views/b2s/html/sidebar.php:122
282
  msgid "Calendar"
283
  msgstr ""
284
 
285
+ #: includes/Loader.php:910 includes/Loader.php:977
286
  msgid "Networks"
287
  msgstr ""
288
 
289
+ #: includes/Loader.php:911 includes/Loader.php:983
290
  #: views/b2s/html/sidebar.php:131
291
  msgid "Settings"
292
  msgstr ""
293
 
294
+ #: includes/Loader.php:913 includes/Loader.php:991
295
  msgid "PR-Service"
296
  msgstr ""
297
 
298
+ #: includes/Loader.php:915 includes/Loader.php:999 views/b2s/html/header.php:35
299
  #: views/b2s/html/sidebar.php:134 views/b2s/html/sidebar.ship.php:66
300
  msgid "Help & Support"
301
  msgstr ""
302
 
303
+ #: includes/Loader.php:917
304
  msgid "Premium"
305
  msgstr ""
306
 
307
+ #: includes/Loader.php:917 includes/Loader.php:1007
308
  msgid "PREMIUM"
309
  msgstr ""
310
 
311
+ #: includes/Loader.php:940 views/b2s/html/sidebar.php:25
312
  #: views/b2s/html/sidebar.ship.php:24
313
  msgid "Blog2Social"
314
  msgstr ""
315
 
316
+ #: includes/Loader.php:1448
317
  msgid "Blog2Social needs Wordpress Version 4.7.0 or higher."
318
  msgstr ""
319
 
320
+ #: includes/Loader.php:1448 includes/System.php:72 includes/System.php:78
321
  #: includes/System.php:84
322
  #, php-format
323
  msgid ""
325
  "our FAQ</a>"
326
  msgstr ""
327
 
328
+ #: includes/Loader.php:1448 includes/Loader.php:1469 includes/Loader.php:1721
329
  msgid "or"
330
  msgstr ""
331
 
332
+ #: includes/Loader.php:1448 includes/Loader.php:1469 includes/Loader.php:1721
333
  msgid "back to install plugins"
334
  msgstr ""
335
 
375
  "higher, or ask your server administrator to do it for you."
376
  msgstr ""
377
 
378
+ #: includes/Tools.php:277 views/b2s/html/sidebar.php:30
379
  #: views/b2s/html/sidebar.ship.php:29
380
  msgid "License"
381
  msgstr ""
382
 
383
+ #: includes/Tools.php:292
384
  msgid "Greece"
385
  msgstr ""
386
 
387
+ #: includes/Tools.php:293
388
  msgid "India"
389
  msgstr ""
390
 
391
+ #: includes/Tools.php:294
392
  msgid "United States of America"
393
  msgstr ""
394
 
395
+ #: includes/Tools.php:295
396
  msgid "Ireland"
397
  msgstr ""
398
 
399
+ #: includes/Tools.php:296
400
  msgid "Italy"
401
  msgstr ""
402
 
403
+ #: includes/Tools.php:297
404
  msgid "Switzerland"
405
  msgstr ""
406
 
407
+ #: includes/Tools.php:298
408
  msgid "Czechoslovakia"
409
  msgstr ""
410
 
411
+ #: includes/Tools.php:299
412
  msgid "Indonesia"
413
  msgstr ""
414
 
415
+ #: includes/Tools.php:300
416
  msgid "Spain"
417
  msgstr ""
418
 
419
+ #: includes/Tools.php:301
420
  msgid "Canada"
421
  msgstr ""
422
 
423
+ #: includes/Tools.php:302
424
  msgid "Great Britain"
425
  msgstr ""
426
 
427
+ #: includes/Tools.php:303
428
  msgid "Russia"
429
  msgstr ""
430
 
431
+ #: includes/Tools.php:304
432
  msgid "Netherlands"
433
  msgstr ""
434
 
435
+ #: includes/Tools.php:305 includes/Tools.php:319
436
  msgid "Portugal"
437
  msgstr ""
438
 
439
+ #: includes/Tools.php:306
440
  msgid "Norway"
441
  msgstr ""
442
 
443
+ #: includes/Tools.php:307
444
  msgid "Turkey"
445
  msgstr ""
446
 
447
+ #: includes/Tools.php:308
448
  msgid "Australia"
449
  msgstr ""
450
 
451
+ #: includes/Tools.php:309
452
  msgid "Austria"
453
  msgstr ""
454
 
455
+ #: includes/Tools.php:310
456
  msgid "Poland"
457
  msgstr ""
458
 
459
+ #: includes/Tools.php:311
460
  msgid "France"
461
  msgstr ""
462
 
463
+ #: includes/Tools.php:312
464
  msgid "Romania"
465
  msgstr ""
466
 
467
+ #: includes/Tools.php:313
468
  msgid "Germany"
469
  msgstr ""
470
 
471
+ #: includes/Tools.php:314
472
  msgid "Denmark"
473
  msgstr ""
474
 
475
+ #: includes/Tools.php:315
476
  msgid "New Zealand"
477
  msgstr ""
478
 
479
+ #: includes/Tools.php:316
480
  msgid "Finland"
481
  msgstr ""
482
 
483
+ #: includes/Tools.php:317
484
  msgid "Hungary"
485
  msgstr ""
486
 
487
+ #: includes/Tools.php:318
488
  msgid "Japan"
489
  msgstr ""
490
 
491
+ #: includes/Tools.php:320
492
  msgid "Argentina"
493
  msgstr ""
494
 
495
+ #: includes/Tools.php:321
496
  msgid "Korea"
497
  msgstr ""
498
 
499
+ #: includes/Tools.php:322
500
  msgid "Sweden"
501
  msgstr ""
502
 
503
+ #: includes/Tools.php:323
504
  msgid "Mexico"
505
  msgstr ""
506
 
507
+ #: includes/Tools.php:324
508
  msgid "Slovakia"
509
  msgstr ""
510
 
511
+ #: includes/Tools.php:325
512
  msgid "Chile"
513
  msgstr ""
514
 
515
+ #: includes/Tools.php:326
516
  msgid "Colombia"
517
  msgstr ""
518
 
519
+ #: includes/Tools.php:327
520
  msgid "South Africa"
521
  msgstr ""
522
 
523
+ #: includes/Tools.php:328
524
  msgid "Philippines"
525
  msgstr ""
526
 
527
+ #: includes/Tools.php:331
528
  msgid "is determined automatically"
529
  msgstr ""
530
 
531
+ #: includes/Tools.php:338
532
  msgid "Search"
533
  msgstr ""
534
 
535
+ #: includes/Tools.php:339
536
  msgid "Recently Used"
537
  msgstr ""
538
 
539
+ #: includes/Tools.php:340
540
  msgid "Smileys & People"
541
  msgstr ""
542
 
543
+ #: includes/Tools.php:341
544
  msgid "Animals & Nature"
545
  msgstr ""
546
 
547
+ #: includes/Tools.php:342
548
  msgid "Food & Drink"
549
  msgstr ""
550
 
551
+ #: includes/Tools.php:343
552
  msgid "Activities"
553
  msgstr ""
554
 
555
+ #: includes/Tools.php:344
556
  msgid "Travel & Places"
557
  msgstr ""
558
 
559
+ #: includes/Tools.php:345
560
  msgid "Objects"
561
  msgstr ""
562
 
563
+ #: includes/Tools.php:346
564
  msgid "Symbols"
565
  msgstr ""
566
 
567
+ #: includes/Tools.php:347
568
  msgid "Flags"
569
  msgstr ""
570
 
571
+ #: includes/Tools.php:348
572
  msgid "No emojis found"
573
  msgstr ""
574
 
610
  msgid "Please contact our support!"
611
  msgstr ""
612
 
613
+ #: includes/Ajax/Post.php:1729 views/b2s/network.php:6
614
+ #: includes/B2S/Network/Item.php:216 includes/B2S/Network/Item.php:282
615
+ #: includes/B2S/Network/Item.php:349 includes/B2S/Network/Item.php:475
 
616
  msgid "Unknown username"
617
  msgstr ""
618
 
619
+ #: includes/Ajax/Post.php:1730 includes/B2S/Network/Item.php:476
620
+ #: includes/B2S/Post/Item.php:459 includes/B2S/Post/Item.php:479
621
+ #: includes/B2S/Post/Item.php:726 includes/B2S/Post/Item.php:775
622
+ #: includes/B2S/Settings/Item.php:92 includes/B2S/Ship/Item.php:986
623
+ #: includes/B2S/Ship/Item.php:1136
624
  msgid "delete"
625
  msgstr ""
626
 
627
+ #: includes/B2S/PostBox.php:22
628
  msgid "Please see FAQ"
629
  msgstr ""
630
 
631
+ #: includes/B2S/PostBox.php:130 views/b2s/ship.php:660
 
 
 
 
632
  #: views/b2s/html/header.php:55
633
  msgid "The connection to the server failed. Try again!"
634
  msgstr ""
635
 
636
+ #: includes/B2S/PostBox.php:131
637
  msgid ""
638
  "WordPress uses heartbeats by default, Blog2Social as well. Please enable "
639
  "heartbeats for using Blog2Social!"
640
  msgstr ""
641
 
642
+ #: includes/B2S/PostBox.php:132 includes/B2S/PostBox.php:134
643
  msgid ""
644
  "Your post is still on draft or pending status. Please make sure that your "
645
  "post is published or scheduled to be published on this blog. You can then "
646
  "auto-post or schedule and customize your social media posts with Blog2Social."
647
  msgstr ""
648
 
649
+ #: includes/B2S/PostBox.php:133 includes/B2S/PostBox.php:230
650
+ #: includes/B2S/Settings/Item.php:137 includes/B2S/Settings/Item.php:495
651
  msgid "Network settings"
652
  msgstr ""
653
 
654
+ #: includes/B2S/PostBox.php:135 views/b2s/ship.php:198
655
  msgid ""
656
  "Notice: Please make sure, that your website address is reachable. The Social "
657
  "Networks do not allow postings from local installations."
658
  msgstr ""
659
 
660
+ #: includes/B2S/PostBox.php:152
661
  msgid "Custom Sharing & Scheduling"
662
  msgstr ""
663
 
664
+ #: includes/B2S/PostBox.php:152 includes/B2S/PostBox.php:155
665
  #: views/b2s/ship.php:76 views/b2s/ship.php:166 views/b2s/ship.php:258
666
+ #: includes/B2S/Network/Item.php:172 includes/B2S/Settings/Item.php:509
667
+ #: includes/B2S/Ship/Item.php:950
668
  msgid "Info"
669
  msgstr ""
670
 
671
+ #: includes/B2S/PostBox.php:153
672
  msgid "Customize & Schedule Social Media Posts"
673
  msgstr ""
674
 
675
+ #: includes/B2S/PostBox.php:155
676
+ msgid "The Autoposter is"
677
  msgstr ""
678
 
679
+ #: includes/B2S/PostBox.php:155
680
+ msgid "activated"
 
 
 
681
  msgstr ""
682
 
683
+ #: includes/B2S/PostBox.php:155
684
+ msgid "deactivated"
685
  msgstr ""
686
 
687
+ #: includes/B2S/PostBox.php:157
688
+ msgid "Shared"
689
  msgstr ""
690
 
691
+ #: includes/B2S/PostBox.php:157
692
+ msgid "times"
 
 
 
 
 
 
 
 
693
  msgstr ""
694
 
695
+ #: includes/B2S/PostBox.php:158
696
+ msgid "Last shared"
697
+ msgstr ""
698
+
699
+ #: includes/B2S/PostBox.php:161
700
+ msgid "Advanced settings"
701
+ msgstr ""
702
+
703
+ #: includes/B2S/PostBox.php:164
704
+ msgid "enable Auto-Posting"
705
+ msgstr ""
706
+
707
+ #: includes/B2S/PostBox.php:166 includes/B2S/Ship/Item.php:378
708
+ msgid "show calendar"
709
  msgstr ""
710
 
711
+ #: includes/B2S/PostBox.php:180
712
  msgid "Blog2Social: Customize & Schedule Social Media Posts"
713
  msgstr ""
714
 
715
+ #: includes/B2S/PostBox.php:183
716
  msgid ""
717
  "Customize and schedule your social media posts on the one page preview for "
718
  "all your selected networks: tailor your posts with individual comments, "
721
  "engagement with your community."
722
  msgstr ""
723
 
724
+ #: includes/B2S/PostBox.php:192 views/b2s/html/footer.php:305
725
  #: views/b2s/html/footer.php:345
726
  msgid "Blog2Social: Social Media Auto-Posting"
727
  msgstr ""
728
 
729
+ #: includes/B2S/PostBox.php:196 views/b2s/html/footer.php:309
730
  msgid ""
731
  "Share your blog posts with the Auto Poster: Your blog posts will be shared "
732
  "automatically on your social media channels as soon as you publish or update "
734
  "they are published."
735
  msgstr ""
736
 
737
+ #: includes/B2S/PostBox.php:197 views/b2s/html/footer.php:310
738
  #, php-format
739
  msgid ""
740
  "<a target=\"_blank\" href=\"%s\">Learn how to set up auto posting for your "
741
  "blog posts</a>"
742
  msgstr ""
743
 
744
+ #: includes/B2S/PostBox.php:201 views/b2s/html/footer.php:316
745
  #: views/b2s/html/footer.php:355
746
  msgid "You want to auto-post your blog post?"
747
  msgstr ""
748
 
749
+ #: includes/B2S/PostBox.php:202 views/b2s/curation.php:171
750
  #: views/b2s/curation.php:210 views/b2s/post.calendar.php:281
751
  #: views/b2s/ship.php:309 views/b2s/ship.php:369 views/b2s/ship.php:415
752
  #: views/b2s/html/footer.php:26 views/b2s/html/footer.php:144
756
  msgid "With Blog2Social Premium you can:"
757
  msgstr ""
758
 
759
+ #: includes/B2S/PostBox.php:205 views/b2s/curation.php:174
760
  #: views/b2s/curation.php:213 views/b2s/post.calendar.php:284
761
  #: views/b2s/ship.php:312 views/b2s/ship.php:372 views/b2s/ship.php:418
762
  #: views/b2s/html/footer.php:29 views/b2s/html/footer.php:147
766
  msgid "Post on pages and groups"
767
  msgstr ""
768
 
769
+ #: includes/B2S/PostBox.php:206 views/b2s/curation.php:175
770
  #: views/b2s/curation.php:214 views/b2s/post.calendar.php:285
771
  #: views/b2s/ship.php:313 views/b2s/ship.php:373 views/b2s/ship.php:419
772
  #: views/b2s/html/footer.php:30 views/b2s/html/footer.php:148
776
  msgid "Share on multiple profiles, pages and groups"
777
  msgstr ""
778
 
779
+ #: includes/B2S/PostBox.php:207 views/b2s/curation.php:176
780
  #: views/b2s/curation.php:215 views/b2s/post.calendar.php:286
781
  #: views/b2s/ship.php:314 views/b2s/ship.php:374 views/b2s/ship.php:420
782
  #: views/b2s/html/footer.php:31 views/b2s/html/footer.php:65
786
  msgid "Auto-post and auto-schedule new and updated blog posts"
787
  msgstr ""
788
 
789
+ #: includes/B2S/PostBox.php:208 views/b2s/curation.php:177
790
  #: views/b2s/curation.php:216 views/b2s/post.calendar.php:287
791
  #: views/b2s/ship.php:315 views/b2s/ship.php:375 views/b2s/ship.php:421
792
  #: views/b2s/html/footer.php:32 views/b2s/html/footer.php:150
796
  msgid "Schedule your posts at the best times on each network"
797
  msgstr ""
798
 
799
+ #: includes/B2S/PostBox.php:209 views/b2s/curation.php:178
800
  #: views/b2s/curation.php:217 views/b2s/post.calendar.php:288
801
  #: views/b2s/ship.php:316 views/b2s/ship.php:376 views/b2s/ship.php:422
802
  #: views/b2s/html/footer.php:33 views/b2s/html/footer.php:151
808
  "social media posts"
809
  msgstr ""
810
 
811
+ #: includes/B2S/PostBox.php:210 views/b2s/curation.php:179
812
  #: views/b2s/curation.php:218 views/b2s/post.calendar.php:289
813
  #: views/b2s/ship.php:317 views/b2s/ship.php:377 views/b2s/ship.php:423
814
  #: views/b2s/html/footer.php:34 views/b2s/html/footer.php:152
818
  msgid "Schedule your post for one time, multiple times or recurrently"
819
  msgstr ""
820
 
821
+ #: includes/B2S/PostBox.php:211 views/b2s/curation.php:180
822
  #: views/b2s/curation.php:219 views/b2s/post.calendar.php:290
823
  #: views/b2s/ship.php:318 views/b2s/ship.php:378 views/b2s/ship.php:424
824
  #: views/b2s/html/footer.php:35 views/b2s/html/footer.php:153
828
  msgid "Schedule and re-share old posts"
829
  msgstr ""
830
 
831
+ #: includes/B2S/PostBox.php:212 views/b2s/curation.php:181
832
  #: views/b2s/curation.php:220 views/b2s/post.calendar.php:291
833
  #: views/b2s/ship.php:319 views/b2s/ship.php:379 views/b2s/ship.php:425
834
  #: views/b2s/html/footer.php:36 views/b2s/html/footer.php:67
838
  msgid "Select link format or image format for your posts"
839
  msgstr ""
840
 
841
+ #: includes/B2S/PostBox.php:213 views/b2s/curation.php:182
842
  #: views/b2s/curation.php:221 views/b2s/post.calendar.php:292
843
  #: views/b2s/ship.php:320 views/b2s/ship.php:380 views/b2s/ship.php:426
844
  #: views/b2s/html/footer.php:37 views/b2s/html/footer.php:68
848
  msgid "Select individual images per post"
849
  msgstr ""
850
 
851
+ #: includes/B2S/PostBox.php:214 views/b2s/curation.php:183
852
  #: views/b2s/curation.php:222 views/b2s/post.calendar.php:293
853
  #: views/b2s/ship.php:321 views/b2s/ship.php:381 views/b2s/ship.php:427
854
  #: views/b2s/html/footer.php:38 views/b2s/html/footer.php:156
860
  "media posts"
861
  msgstr ""
862
 
863
+ #: includes/B2S/PostBox.php:216 views/b2s/curation.php:185
864
  #: views/b2s/curation.php:224 views/b2s/post.calendar.php:295
865
  #: views/b2s/ship.php:323 views/b2s/ship.php:383 views/b2s/ship.php:429
866
  #: views/b2s/html/footer.php:40 views/b2s/html/footer.php:158
870
  msgid "Upgrade to SMART and above"
871
  msgstr ""
872
 
873
+ #: includes/B2S/PostBox.php:218 views/b2s/curation.php:187
874
  #: views/b2s/curation.php:226 views/b2s/post.calendar.php:297
875
  #: views/b2s/ship.php:325 views/b2s/ship.php:385 views/b2s/ship.php:431
876
  #: views/b2s/html/footer.php:42 views/b2s/html/footer.php:73
884
  "Blog2Social Premium</a> (no payment information needed)"
885
  msgstr ""
886
 
887
+ #: includes/B2S/PostBox.php:230 includes/B2S/Curation/View.php:73
888
+ #: includes/B2S/Settings/Item.php:488
889
  msgid "Select network collection:"
890
  msgstr ""
891
 
892
+ #: includes/B2S/PostBox.php:241 views/b2s/settings.php:157
893
+ #: includes/B2S/Curation/View.php:97 includes/B2S/Settings/Item.php:499
894
  msgid "Select Twitter profile:"
895
  msgstr ""
896
 
897
+ #: includes/B2S/PostBox.php:277
898
  msgid "When do you want to share your post on social media?"
899
  msgstr ""
900
 
901
+ #: includes/B2S/PostBox.php:279
902
  msgid "immediately after publishing"
903
  msgstr ""
904
 
905
+ #: includes/B2S/PostBox.php:280
906
+ msgid "at best times"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
907
  msgstr ""
908
 
909
  #: views/b2s/curation.draft.php:17
916
  msgid "Get the Blog2Social Browser Extension"
917
  msgstr ""
918
 
919
+ #: views/b2s/curation.draft.php:47 views/b2s/network.php:58
920
+ #: views/b2s/network.php:146 views/b2s/network.php:221
921
+ #: views/b2s/network.php:324 views/b2s/network.php:399
922
+ #: views/b2s/post.approve.php:51 views/b2s/post.calendar.php:60
923
+ #: views/b2s/post.calendar.php:243 views/b2s/post.draft.php:42
924
+ #: views/b2s/post.favorites.php:41 views/b2s/post.notice.php:45
925
+ #: views/b2s/post.php:41 views/b2s/post.publish.php:45
926
+ #: views/b2s/post.sched.php:59 views/b2s/ship.php:188 views/b2s/ship.php:570
927
+ #: views/b2s/ship.php:658 views/b2s/support.php:204
928
+ #: views/prg/html/header.php:86
929
+ msgid "Loading..."
930
+ msgstr ""
931
+
932
+ #: views/b2s/curation.draft.php:83
933
  msgid "Delete Draft"
934
  msgstr ""
935
 
936
+ #: views/b2s/curation.draft.php:86
937
  msgid "Are you sure you want to delete this draft?"
938
  msgstr ""
939
 
940
+ #: views/b2s/curation.draft.php:90 views/b2s/curation.php:141
941
+ #: views/b2s/network.php:106 views/b2s/post.approve.php:98
942
+ #: views/b2s/post.approve.php:115 views/b2s/post.draft.php:87
943
+ #: views/b2s/post.notice.php:85 views/b2s/post.publish.php:85
944
+ #: views/b2s/post.sched.php:99 views/b2s/ship.php:474 views/b2s/ship.php:553
945
  #: views/prg/ship.php:94 views/b2s/widgets/posts.php:67
946
  msgid "NO"
947
  msgstr ""
948
 
949
+ #: views/b2s/curation.draft.php:91 views/b2s/network.php:107
950
+ #: views/b2s/network.php:170 views/b2s/post.approve.php:99
951
+ #: views/b2s/post.draft.php:88 views/b2s/post.notice.php:86
952
+ #: views/b2s/post.publish.php:86 views/b2s/post.sched.php:100
953
  #: views/b2s/widgets/posts.php:68
954
  msgid "YES, delete"
955
  msgstr ""
973
  msgstr ""
974
 
975
  #: views/b2s/curation.php:45 views/b2s/post.calendar.php:70
976
+ #: views/b2s/post.sched.php:189 includes/B2S/Settings/Item.php:419
977
+ #: includes/B2S/Settings/Item.php:452 views/b2s/html/footer.php:111
978
  msgid "Link Post"
979
  msgstr ""
980
 
981
  #: views/b2s/curation.php:47 views/b2s/curation.php:49
982
+ #: views/b2s/post.calendar.php:70 views/b2s/post.sched.php:189
983
+ #: includes/B2S/Settings/Item.php:433 includes/B2S/Settings/Item.php:452
984
  msgid "Image Post"
985
  msgstr ""
986
 
989
  msgid "NEW"
990
  msgstr ""
991
 
992
+ #: views/b2s/curation.php:49 views/b2s/network.php:215 views/b2s/ship.php:23
993
+ #: includes/B2S/Curation/View.php:56 includes/B2S/Network/Item.php:162
994
+ #: includes/B2S/Network/Item.php:256 includes/B2S/Network/Item.php:322
995
+ #: includes/B2S/Network/Item.php:384 includes/B2S/Settings/Item.php:117
996
+ #: includes/B2S/Settings/Item.php:339 includes/B2S/Ship/Image.php:80
997
+ #: includes/B2S/Ship/Item.php:1009 views/b2s/html/post.navbar.php:15
998
+ #: views/b2s/html/post.navbar.php:19 views/b2s/partials/post-edit-modal.php:9
999
+ #: views/b2s/widgets/posts.php:18
1000
+ msgid "SMART"
1001
+ msgstr ""
1002
+
1003
  #: views/b2s/curation.php:59
1004
  msgid "Load data..."
1005
  msgstr ""
1020
  msgid "continue"
1021
  msgstr ""
1022
 
1023
+ #: views/b2s/curation.php:93 includes/B2S/Ship/Item.php:446
1024
+ #: includes/B2S/Ship/Item.php:475 includes/B2S/Ship/Item.php:505
1025
+ #: includes/B2S/Ship/Item.php:534 includes/B2S/Ship/Item.php:563
1026
+ #: includes/B2S/Ship/Item.php:591 includes/B2S/Ship/Item.php:634
1027
+ #: includes/B2S/Ship/Item.php:657 includes/B2S/Ship/Item.php:678
1028
+ #: includes/B2S/Ship/Item.php:699 includes/B2S/Ship/Item.php:720
1029
+ #: includes/B2S/Ship/Item.php:741 includes/B2S/Ship/Item.php:762
1030
+ #: includes/B2S/Ship/Item.php:806
1031
  msgid "Change image"
1032
  msgstr ""
1033
 
1036
  msgstr ""
1037
 
1038
  #: views/b2s/curation.php:112 views/b2s/ship.php:260 views/b2s/ship.php:262
1039
+ #: includes/B2S/Post/Item.php:379
1040
  msgid "Re-share this post"
1041
  msgstr ""
1042
 
1045
  msgstr ""
1046
 
1047
  #: views/b2s/curation.php:119 views/b2s/post.calendar.php:38
1048
+ #: views/b2s/ship.php:18 views/b2s/ship.php:659 includes/B2S/Post/Filter.php:57
1049
+ #: includes/B2S/Post/Item.php:308 includes/B2S/Ship/Save.php:417
1050
  #: includes/PRG/Post/Filter.php:37 includes/PRG/Post/Item.php:86
1051
  msgid "published"
1052
  msgstr ""
1053
 
1054
+ #: views/b2s/curation.php:135 views/b2s/post.approve.php:109
1055
  #: views/b2s/ship.php:468
1056
  msgid "Do you want to mark this post as published ?"
1057
  msgstr ""
1058
 
1059
+ #: views/b2s/curation.php:140 views/b2s/post.approve.php:114
1060
  #: views/b2s/ship.php:473 views/b2s/ship.php:554
1061
  msgid "YES"
1062
  msgstr ""
1072
  msgstr ""
1073
 
1074
  #: views/b2s/curation.php:160 views/b2s/post.calendar.php:270
1075
+ #: views/b2s/ship.php:404 includes/B2S/Ship/Item.php:1010
1076
  msgid "Schedule for specific dates"
1077
  msgstr ""
1078
 
1119
  msgstr ""
1120
 
1121
  #: views/b2s/curation.php:209
1122
+ msgid "You want to create image posts with any image from your media library?"
1123
  msgstr ""
1124
 
1125
  #: views/b2s/curation.php:238
1161
  msgid "You want to define a new combination of networks?"
1162
  msgstr ""
1163
 
1164
+ #: views/b2s/network.php:34 includes/B2S/Network/Item.php:151
1165
+ #: includes/B2S/Network/Item.php:155 includes/B2S/Network/Item.php:159
1166
  #: includes/B2S/Ship/Image.php:87 includes/B2S/Ship/Portale.php:32
1167
  #: includes/B2S/Ship/Portale.php:35 includes/B2S/Ship/Portale.php:41
1168
  msgid "PRO"
1214
  msgstr ""
1215
 
1216
  #: views/b2s/network.php:127 views/b2s/premium.php:36 views/b2s/ship.php:490
1217
+ #: includes/B2S/Ship/Item.php:1048 views/b2s/partials/post-edit-modal.php:48
1218
  msgid "Learn more"
1219
  msgstr ""
1220
 
1276
  msgid "modfiy"
1277
  msgstr ""
1278
 
1279
+ #: views/b2s/network.php:215 includes/B2S/Network/Item.php:162
1280
+ #: includes/B2S/Network/Item.php:162
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1281
  msgid "Edit Post Template"
1282
  msgstr ""
1283
 
1284
+ #: views/b2s/network.php:227 views/b2s/settings.php:52
1285
+ #: includes/B2S/Network/Item.php:536 includes/B2S/Settings/Item.php:313
1286
  msgid "save"
1287
  msgstr ""
1288
 
1289
+ #: views/b2s/network.php:239
1290
+ msgid "Instant Caching for Link Posts"
1291
  msgstr ""
1292
 
1293
+ #: views/b2s/network.php:242
1294
  msgid ""
1295
  "Please enable this feature, if you are using varnish caching (HTTP "
1296
  "accelerator to relieve your website). Blog2Social will add a \"no-cache=1\" "
1297
+ "parameter to the post URL of your link posts to ensure that the network "
1298
+ "always pulls the current meta data of your blog post."
1299
  msgstr ""
1300
 
1301
+ #: views/b2s/network.php:253
1302
  msgid "Choose your Post Format"
1303
  msgstr ""
1304
 
1305
+ #: views/b2s/network.php:257 views/b2s/network.php:260
1306
+ #: views/b2s/network.php:263
1307
  msgid ""
1308
  "Decide in which post format you want to post your content: Link post or "
1309
  "image post."
1310
  msgstr ""
1311
 
1312
+ #: views/b2s/network.php:266
1313
  msgid ""
1314
  "Decide in wich form you want to post your Content. Either as image with "
1315
  "frame, or as image cut out."
1316
  msgstr ""
1317
 
1318
+ #: views/b2s/network.php:278
1319
  msgid "Post Content"
1320
  msgstr ""
1321
 
1322
+ #: views/b2s/network.php:281
1323
  msgid ""
1324
  "Edit the content of your post. Move elements by drag and drop into the "
1325
  "textarea and customize them as you like."
1326
  msgstr ""
1327
 
1328
+ #: views/b2s/network.php:284
1329
  msgid "Legend"
1330
  msgstr ""
1331
 
1332
+ #: views/b2s/network.php:286
1333
  msgid "The title of your post"
1334
  msgstr ""
1335
 
1336
+ #: views/b2s/network.php:287
1337
  msgid "The summary of your post (you define it in the side menu of your post)."
1338
  msgstr ""
1339
 
1340
+ #: views/b2s/network.php:288
1341
  msgid "The content of your post"
1342
  msgstr ""
1343
 
1344
+ #: views/b2s/network.php:289
1345
  msgid "The tags you have set in your post."
1346
  msgstr ""
1347
 
1348
+ #: views/b2s/network.php:290
1349
  msgid "The name of the post author."
1350
  msgstr ""
1351
 
1352
+ #: views/b2s/network.php:303 includes/B2S/Network/Item.php:697
1353
  msgid "Character limit"
1354
  msgstr ""
1355
 
1356
+ #: views/b2s/network.php:306
1357
  msgid ""
1358
  "Define the character limit for the variables \"EXCERPT\" and \"CONTENT\" "
1359
  "individually. Your text will be shortened after the last comma, period, or "
1360
  "space character within your character limit."
1361
  msgstr ""
1362
 
1363
+ #: views/b2s/network.php:307
1364
  msgid ""
1365
  "An \"EXCERPT\" will only be added to your social media post if you have "
1366
  "added a manual excerpt in the excerpt editing box of the Gutenberg side menu "
1367
  "(document settings) of your post."
1368
  msgstr ""
1369
 
1370
+ #: views/b2s/network.php:308
1371
  msgid ""
1372
  "\"TITLES\" and \"KEYWORDS\" (Hashtags) are not shortened. If you select the "
1373
  "\"TITLE\" and \"KEYWORD\" variables for your social media posts, the "
1376
  "network."
1377
  msgstr ""
1378
 
1379
+ #: views/b2s/network.php:319 views/b2s/ship.php:565
1380
  msgid "Connect with Pinterest"
1381
  msgstr ""
1382
 
1383
+ #: views/b2s/network.php:327 views/b2s/ship.php:573
1384
  msgid ""
1385
  "Please make sure to use your original Pinterest login data (email and "
1386
  "password). Social Login via Facebook or Google login data will not work here."
1388
  "deactivated to ensure a stable connection to Blog2Social."
1389
  msgstr ""
1390
 
1391
+ #: views/b2s/network.php:328 views/b2s/ship.php:574
1392
  msgid "An error occurred! Please try again."
1393
  msgstr ""
1394
 
1395
+ #: views/b2s/network.php:329 views/b2s/network.php:330 views/b2s/ship.php:575
1396
  #: views/b2s/ship.php:576
1397
  #, php-format
1398
  msgid ""
1400
  "Upgrade to Blog2Social Premium</a>"
1401
  msgstr ""
1402
 
1403
+ #: views/b2s/network.php:331 views/b2s/ship.php:577
1404
  msgid "Invalid Data! Please try again."
1405
  msgstr ""
1406
 
1407
+ #: views/b2s/network.php:332 views/b2s/ship.php:578
1408
  msgid ""
1409
  "You have not yet created any pinboards in your Pinterest account. Please set "
1410
  "up at least one pinboard to pin on your Pinterest account!"
1411
  msgstr ""
1412
 
1413
+ #: views/b2s/network.php:333 views/b2s/ship.php:579
1414
  #, php-format
1415
  msgid ""
1416
  "Login failed. Please check your login data for typos and please check your "
1418
  "account: <a target=\"_blank\" href=\"%s\">%s</a>"
1419
  msgstr ""
1420
 
1421
+ #: views/b2s/network.php:334 views/b2s/ship.php:580
1422
  msgid "Pinterest has rejected the connection to your blog"
1423
  msgstr ""
1424
 
1425
+ #: views/b2s/network.php:335 views/b2s/ship.php:581
1426
  msgid "Please select your currect server location and connect again"
1427
  msgstr ""
1428
 
1429
+ #: views/b2s/network.php:336 views/b2s/ship.php:582
1430
  msgid ""
1431
  "Access to this resource on your server is denied! Please check your "
1432
  "webserver configuration for caching."
1433
  msgstr ""
1434
 
1435
+ #: views/b2s/network.php:337 views/b2s/ship.php:583
1436
  msgid ""
1437
  "Login up successful. Please confirm that Blog2Social is allowed to publish "
1438
  "on your profile."
1439
  msgstr ""
1440
 
1441
+ #: views/b2s/network.php:339 views/b2s/ship.php:585
1442
  #: views/b2s/html/header.php:331 views/prg/html/form.php:141
1443
  #: views/prg/html/form.php:143 views/prg/html/form.php:218
1444
  #: views/prg/html/form.php:220
1445
  msgid "E-Mail"
1446
  msgstr ""
1447
 
1448
+ #: views/b2s/network.php:345 views/b2s/ship.php:591 views/prg/login.php:25
1449
  msgid "Password"
1450
  msgstr ""
1451
 
1452
+ #: views/b2s/network.php:356 views/b2s/ship.php:602
1453
  msgid "Server-Location"
1454
  msgstr ""
1455
 
1456
+ #: views/b2s/network.php:370 views/b2s/ship.php:616
1457
  msgid "Select Pinboard"
1458
  msgstr ""
1459
 
1460
+ #: views/b2s/network.php:378 views/b2s/ship.php:624
1461
+ #: includes/B2S/Settings/Item.php:91
1462
  msgid "authorize"
1463
  msgstr ""
1464
 
1465
+ #: views/b2s/network.php:379 views/b2s/ship.php:625
1466
  msgid "confirm"
1467
  msgstr ""
1468
 
1469
+ #: views/b2s/network.php:393
1470
+ msgid "Advanced Network Settings"
1471
+ msgstr ""
1472
+
1473
+ #: views/b2s/network.php:405 views/b2s/network.php:502
1474
+ msgid "URL Parameters"
1475
+ msgstr ""
1476
+
1477
+ #: views/b2s/network.php:406
1478
+ msgid "The parameters could not be saved. Please try again."
1479
+ msgstr ""
1480
+
1481
+ #: views/b2s/network.php:407 views/b2s/network.php:422
1482
+ #: views/b2s/network.php:454 views/b2s/network.php:457
1483
+ #: views/b2s/network.php:460
1484
+ msgid "An error occured. Please contact our support."
1485
+ msgstr ""
1486
+
1487
+ #: views/b2s/network.php:414 views/b2s/network.php:511
1488
+ msgid "Network collection"
1489
+ msgstr ""
1490
+
1491
+ #: views/b2s/network.php:417 views/b2s/network.php:514
1492
+ msgid "Move the connection to another network collection."
1493
+ msgstr ""
1494
+
1495
+ #: views/b2s/network.php:429 views/b2s/network.php:521
1496
+ msgid "move"
1497
+ msgstr ""
1498
+
1499
+ #: views/b2s/network.php:437
1500
+ msgid "You need at least one network collection"
1501
+ msgstr ""
1502
+
1503
+ #: views/b2s/network.php:446 views/b2s/network.php:528
1504
+ msgid "Team Management"
1505
+ msgstr ""
1506
+
1507
+ #: views/b2s/network.php:449 views/b2s/network.php:531
1508
+ msgid "Assign the connection to other blog users"
1509
+ msgstr ""
1510
+
1511
+ #: views/b2s/network.php:463
1512
+ msgid "You don't have a Business License"
1513
+ msgstr ""
1514
+
1515
+ #: views/b2s/network.php:466
1516
+ msgid "This user don't have a Business License, or it is not the same"
1517
+ msgstr ""
1518
+
1519
+ #: views/b2s/network.php:469
1520
+ msgid "The connection has already been assigned to this user."
1521
+ msgstr ""
1522
+
1523
+ #: views/b2s/network.php:472
1524
+ msgid "The connection dose not exist"
1525
+ msgstr ""
1526
+
1527
+ #: views/b2s/network.php:475
1528
+ msgid "This connection has already been assigned to this user."
1529
+ msgstr ""
1530
+
1531
+ #: views/b2s/network.php:478
1532
+ msgid ""
1533
+ "You can only share the connection with blog users who use the same license "
1534
+ "as you."
1535
+ msgstr ""
1536
+
1537
+ #: views/b2s/network.php:481
1538
+ msgid "There are no other users to whom the connection can be assigned."
1539
+ msgstr ""
1540
+
1541
+ #: views/b2s/network.php:484 views/b2s/network.php:534
1542
+ msgid "assign"
1543
+ msgstr ""
1544
+
1545
+ #: views/b2s/network.php:485
1546
+ msgid "Apply best time settings"
1547
+ msgstr ""
1548
+
1549
+ #: views/b2s/network.php:486
1550
+ msgid "Apply post template settings"
1551
+ msgstr ""
1552
+
1553
+ #: views/b2s/network.php:487
1554
+ msgid "Apply URL Parameters"
1555
+ msgstr ""
1556
+
1557
+ #: views/b2s/network.php:498
1558
+ msgid ""
1559
+ "Upgrade to Blog2Social Business to easily bundle your connections into "
1560
+ "network collection and assign your social media connections to other blog "
1561
+ "users. You can update and delete the connections as well as select forums or "
1562
+ "boards. Other users will be able to use the social media connection you "
1563
+ "assigned to them to post and schedule to your social media profile, page or "
1564
+ "group."
1565
+ msgstr ""
1566
+
1567
+ #: views/b2s/network.php:499
1568
+ msgid "Upgrade to Blog2Social Business"
1569
+ msgstr ""
1570
+
1571
+ #: views/b2s/network.php:503 includes/B2S/Network/Item.php:506
1572
+ #, php-format
1573
+ msgid ""
1574
+ "Define parameters that will be added to link posts on this network e.g. to "
1575
+ "create tracking links with UTM paramters. <a target=\"_blank\" href=\"%s\">"
1576
+ "More information</a>"
1577
+ msgstr ""
1578
+
1579
+ #: views/b2s/network.php:519 includes/B2S/Ship/Navbar.php:37
1580
+ msgid "My Profile"
1581
+ msgstr ""
1582
+
1583
+ #: views/b2s/post.approve.php:89
1584
  msgid "Delete Social Media Posts"
1585
  msgstr ""
1586
 
1587
+ #: views/b2s/post.approve.php:92
1588
  msgid "Are you sure you want to delete these Social Media posts?"
1589
  msgstr ""
1590
 
1591
+ #: views/b2s/post.approve.php:94 views/b2s/post.notice.php:81
1592
+ #: views/b2s/post.publish.php:81 views/b2s/post.sched.php:95
1593
  #: views/b2s/widgets/posts.php:63
1594
  msgid "Number of entries"
1595
  msgstr ""
1603
  msgstr ""
1604
 
1605
  #: views/b2s/post.calendar.php:39 views/b2s/ship.php:18
1606
+ #: includes/B2S/Post/Filter.php:57 includes/B2S/Post/Item.php:308
1607
  #: includes/PRG/Post/Filter.php:37 includes/PRG/Post/Item.php:86
1608
  msgid "scheduled"
1609
  msgstr ""
1610
 
1611
+ #: views/b2s/post.calendar.php:70 views/b2s/post.sched.php:189
1612
+ #: includes/B2S/Network/Item.php:645 includes/B2S/Network/Item.php:648
1613
+ #: includes/B2S/Settings/Item.php:419 views/b2s/html/footer.php:128
1614
  msgid "Image with frame"
1615
  msgstr ""
1616
 
1617
+ #: views/b2s/post.calendar.php:70 views/b2s/post.sched.php:189
1618
+ #: includes/B2S/Network/Item.php:646 includes/B2S/Network/Item.php:649
1619
+ #: includes/B2S/Settings/Item.php:433 views/b2s/html/footer.php:133
1620
  msgid "Image cut out"
1621
  msgstr ""
1622
 
1623
+ #: views/b2s/post.calendar.php:87 views/b2s/post.sched.php:172
1624
  msgid "add post"
1625
  msgstr ""
1626
 
1627
+ #: views/b2s/post.calendar.php:110 views/b2s/post.sched.php:130
1628
  #: views/b2s/ship.php:503
1629
  msgid "Choose your"
1630
  msgstr ""
1631
 
1632
+ #: views/b2s/post.calendar.php:110 views/b2s/post.sched.php:130
1633
  #: views/b2s/ship.php:503
1634
  msgid "Post Format"
1635
  msgstr ""
1636
 
1637
+ #: views/b2s/post.calendar.php:112 views/b2s/post.sched.php:132
1638
  #: views/b2s/ship.php:505
1639
  msgid "for:"
1640
  msgstr ""
1641
 
1642
+ #: views/b2s/post.calendar.php:131 views/b2s/post.sched.php:151
1643
  #: views/b2s/ship.php:523
1644
  msgid ""
1645
  "Define the default settings for the custom post format for all of your "
1646
  "Facebook accounts in the Blog2Social settings."
1647
  msgstr ""
1648
 
1649
+ #: views/b2s/post.calendar.php:134 views/b2s/post.sched.php:154
1650
  #: views/b2s/ship.php:526
1651
  msgid ""
1652
  "Define the default settings for the custom post format for all of your "
1653
  "Twitter accounts in the Blog2Social settings."
1654
  msgstr ""
1655
 
1656
+ #: views/b2s/post.calendar.php:137 views/b2s/post.sched.php:157
1657
  #: views/b2s/ship.php:529
1658
  msgid ""
1659
  "Define the default settings for the custom post format for all of your "
1660
  "LinkedIn accounts in the Blog2Social settings."
1661
  msgstr ""
1662
 
1663
+ #: views/b2s/post.calendar.php:140 views/b2s/post.sched.php:160
1664
  #: views/b2s/ship.php:532
1665
  msgid ""
1666
  "Define the default settings for the custom post format for all of your "
1667
  "Instagram accounts in the Blog2Social settings."
1668
  msgstr ""
1669
 
1670
+ #: views/b2s/post.calendar.php:155 views/b2s/post.sched.php:111
1671
  #: views/b2s/ship.php:444
1672
  msgid "Select image for"
1673
  msgstr ""
1692
  msgid "Select a post"
1693
  msgstr ""
1694
 
1695
+ #: views/b2s/post.draft.php:80
1696
  msgid "Delete Social Media Draft"
1697
  msgstr ""
1698
 
1699
+ #: views/b2s/post.draft.php:83
1700
  msgid "Are you sure you want to delete this Social Media draft?"
1701
  msgstr ""
1702
 
1703
+ #: views/b2s/post.favorites.php:67 includes/B2S/Post/Item.php:314
1704
  msgid "You have not saved any favorites."
1705
  msgstr ""
1706
 
1707
+ #: views/b2s/post.notice.php:76 views/b2s/post.publish.php:76
1708
  #: views/b2s/widgets/posts.php:58
1709
  msgid "Delete entries from the reporting"
1710
  msgstr ""
1711
 
1712
+ #: views/b2s/post.notice.php:79 views/b2s/post.publish.php:79
1713
  #: views/b2s/widgets/posts.php:61
1714
  msgid "You are sure, you want to delete entries from the reporting?"
1715
  msgstr ""
1718
  msgid "Uhr"
1719
  msgstr ""
1720
 
1721
+ #: views/b2s/post.sched.php:90
1722
  msgid "Delete entries form the scheduling"
1723
  msgstr ""
1724
 
1725
+ #: views/b2s/post.sched.php:93
1726
  msgid "You are sure, you want to delete entries from the scheduling?"
1727
  msgstr ""
1728
 
1729
+ #: views/b2s/premium.php:14 includes/B2S/Settings/Item.php:175
1730
  msgid "Your current license:"
1731
  msgstr ""
1732
 
1739
  msgid "End of Trial"
1740
  msgstr ""
1741
 
1742
+ #: views/b2s/premium.php:31 includes/B2S/Settings/Item.php:178
1743
+ #: includes/B2S/Settings/Item.php:181
1744
  msgid "Upgrade"
1745
  msgstr ""
1746
 
1813
  msgstr ""
1814
 
1815
  #: views/b2s/premium.php:109 views/b2s/settings.php:35
1816
+ #: includes/B2S/Post/Item.php:608 includes/B2S/Post/Item.php:744
1817
  msgid "Auto-Posting"
1818
  msgstr ""
1819
 
1958
  msgid "Plugin contents are loaded one at a time to minimize server load."
1959
  msgstr ""
1960
 
1961
+ #: views/b2s/settings.php:129
1962
+ msgid "Instant Caching for Facebook Link Posts"
1963
+ msgstr ""
1964
+
1965
+ #: views/b2s/settings.php:132
1966
+ msgid ""
1967
+ "Please enable this feature, if you are using varnish caching (HTTP "
1968
+ "accelerator to relieve your website). Blog2Social will add a \"no-cache=1\" "
1969
+ "parameter to the post URL of your Facebook link posts to ensure that "
1970
+ "Facebook always pulls the current meta data of your blog post."
1971
+ msgstr ""
1972
+
1973
+ #: views/b2s/settings.php:143 includes/B2S/Settings/Item.php:63
1974
  msgid "Personal Time Zone"
1975
  msgstr ""
1976
 
1983
  "drop-down menu."
1984
  msgstr ""
1985
 
1986
+ #: views/b2s/settings.php:160
1987
+ msgid ""
1988
+ "To comply with the Twitter TOS and to avoid duplicate posts, autoposts will "
1989
+ "be sent to your primary Twitter profile."
1990
+ msgstr ""
1991
+
1992
+ #: views/b2s/settings.php:160 includes/B2S/Settings/Item.php:191
1993
+ msgid "More information"
1994
+ msgstr ""
1995
+
1996
+ #: views/b2s/ship.php:18 includes/B2S/Post/Filter.php:57
1997
+ #: includes/B2S/Post/Item.php:308 includes/PRG/Post/Item.php:86
1998
  msgid "draft"
1999
  msgstr ""
2000
 
2003
  msgstr ""
2004
 
2005
  #: views/b2s/ship.php:53 views/prg/ship.php:43 views/prg/ship.php:45
2006
+ #: includes/B2S/Curation/View.php:38 includes/B2S/Settings/Item.php:349
2007
+ #: includes/B2S/Settings/Item.php:370 views/prg/html/form.php:26
2008
  #: views/prg/html/form.php:28
2009
  msgid "Title"
2010
  msgstr ""
2011
 
2012
+ #: views/b2s/ship.php:55 includes/B2S/Post/Item.php:362
2013
  msgid "on blog"
2014
  msgstr ""
2015
 
2061
  msgid "First, connect or select network before posting"
2062
  msgstr ""
2063
 
2064
+ #: views/b2s/ship.php:219
2065
  msgid "connect"
2066
  msgstr ""
2067
 
2172
  msgid "Give me more information"
2173
  msgstr ""
2174
 
2175
+ #: views/b2s/support.php:16 includes/B2S/Post/Item.php:624
2176
  #: includes/B2S/Ship/Save.php:438
2177
  msgid "FAQ"
2178
  msgstr ""
2396
  msgid "Share your post"
2397
  msgstr ""
2398
 
2399
+ #: includes/B2S/Curation/View.php:64 includes/B2S/Settings/Item.php:194
2400
  msgid "immediately"
2401
  msgstr ""
2402
 
2403
+ #: includes/B2S/Curation/View.php:65
2404
+ msgid "at scheduled times"
2405
+ msgstr ""
2406
+
2407
  #: includes/B2S/Curation/View.php:69 includes/B2S/Curation/View.php:70
2408
+ #: includes/B2S/Ship/Item.php:1118 views/b2s/partials/post-edit-modal.php:62
2409
  #: views/b2s/partials/post-edit-modal.php:65
2410
  msgid "Date"
2411
  msgstr ""
2422
  msgid "Show all"
2423
  msgstr ""
2424
 
2425
+ #: includes/B2S/Network/Item.php:62 includes/B2S/Network/Item.php:178
2426
  msgid "My profile"
2427
  msgstr ""
2428
 
2434
  msgid "Best times"
2435
  msgstr ""
2436
 
2437
+ #: includes/B2S/Network/Item.php:147 includes/B2S/Network/Item.php:218
2438
+ #: includes/B2S/Ship/Item.php:316 includes/B2S/Ship/Navbar.php:86
2439
+ msgid "Blog"
2440
+ msgstr ""
2441
+
2442
+ #: includes/B2S/Network/Item.php:151 includes/B2S/Ship/Portale.php:41
2443
  msgid "You want to connect a network profile?"
2444
  msgstr ""
2445
 
2446
+ #: includes/B2S/Network/Item.php:155 includes/B2S/Ship/Portale.php:35
2447
  msgid "You want to connect a network page?"
2448
  msgstr ""
2449
 
2450
+ #: includes/B2S/Network/Item.php:158 includes/B2S/Network/Item.php:351
2451
  #: includes/B2S/Ship/Portale.php:31
2452
  msgid "Publication"
2453
  msgstr ""
2454
 
2455
+ #: includes/B2S/Network/Item.php:159 includes/B2S/Ship/Portale.php:32
2456
  msgid "You want to connect a social media group?"
2457
  msgstr ""
2458
 
2459
+ #: includes/B2S/Network/Item.php:171 includes/B2S/Settings/Item.php:257
 
 
 
 
 
 
 
 
2460
  msgid "Connections"
2461
  msgstr ""
2462
 
2463
+ #: includes/B2S/Network/Item.php:172 views/b2s/html/footer.php:192
2464
  msgid "Best Time Manager"
2465
  msgstr ""
2466
 
2467
+ #: includes/B2S/Network/Item.php:209 includes/B2S/Network/Item.php:275
2468
+ #: includes/B2S/Network/Item.php:342
2469
  msgid "To reactivate this connection,"
2470
  msgstr ""
2471
 
2472
+ #: includes/B2S/Network/Item.php:209 includes/B2S/Network/Item.php:275
2473
+ #: includes/B2S/Network/Item.php:342 includes/B2S/Ship/Image.php:30
2474
  msgid "please upgrade"
2475
  msgstr ""
2476
 
2477
+ #: includes/B2S/Network/Item.php:212 includes/B2S/Network/Item.php:278
2478
+ #: includes/B2S/Network/Item.php:345
2479
  msgid "Authorization is interrupted since"
2480
  msgstr ""
2481
 
2482
+ #: includes/B2S/Network/Item.php:216 includes/B2S/Network/Item.php:282
2483
+ #: includes/B2S/Network/Item.php:349
2484
  msgid "Assigned by"
2485
  msgstr ""
2486
 
2487
+ #: includes/B2S/Network/Item.php:254 includes/B2S/Network/Item.php:320
2488
+ #: includes/B2S/Network/Item.php:382 includes/B2S/Ship/Item.php:1066
2489
  msgid "Days"
2490
  msgstr ""
2491
 
2492
+ #: includes/B2S/Network/Item.php:284 includes/B2S/Ship/Item.php:316
2493
  msgid "Employer Branding"
2494
  msgstr ""
2495
 
2496
+ #: includes/B2S/Network/Item.php:463
2497
  msgid "Connection currently assigned to"
2498
  msgstr ""
2499
 
2500
+ #: includes/B2S/Network/Item.php:508 views/prg/html/form.php:84
2501
+ #: views/prg/html/form.php:86 views/prg/html/form.php:161
2502
+ #: views/prg/html/form.php:163
2503
+ msgid "Name"
2504
+ msgstr ""
2505
+
2506
+ #: includes/B2S/Network/Item.php:509
2507
+ msgid "Value"
2508
+ msgstr ""
2509
+
2510
+ #: includes/B2S/Network/Item.php:533
2511
+ msgid "+ add Parameter"
2512
+ msgstr ""
2513
+
2514
+ #: includes/B2S/Network/Item.php:534
2515
+ #, php-format
2516
+ msgid "Apply for all %s connections"
2517
+ msgstr ""
2518
+
2519
+ #: includes/B2S/Network/Item.php:535
2520
+ msgid "Apply for all connections"
2521
+ msgstr ""
2522
+
2523
+ #: includes/B2S/Network/Item.php:562
2524
  msgid "Successfully saved"
2525
  msgstr ""
2526
 
2527
+ #: includes/B2S/Network/Item.php:563
2528
  msgid "Failed to save"
2529
  msgstr ""
2530
 
2531
+ #: includes/B2S/Network/Item.php:564
2532
  msgid "Failed to load the default template"
2533
  msgstr ""
2534
 
2535
+ #: includes/B2S/Network/Item.php:571
2536
  msgid ""
2537
  "Upgrade to Blog2Social Smart or higher to customize your individual post "
2538
  "templates that will automatically pre-format the structure of your social "
2543
  "or slogans) to your post templates."
2544
  msgstr ""
2545
 
2546
+ #: includes/B2S/Network/Item.php:572
2547
  msgid "Upgrade to Blog2Social Smart"
2548
  msgstr ""
2549
 
2550
+ #: includes/B2S/Network/Item.php:592
2551
  msgid "Activate Instant Caching"
2552
  msgstr ""
2553
 
2554
+ #: includes/B2S/Network/Item.php:638
2555
  msgid "Format"
2556
  msgstr ""
2557
 
2558
+ #: includes/B2S/Network/Item.php:639 includes/B2S/Network/Item.php:660
2559
  msgid "Load default settings"
2560
  msgstr ""
2561
 
2562
+ #: includes/B2S/Network/Item.php:645 includes/B2S/Network/Item.php:648
2563
+ #: includes/B2S/Ship/Item.php:813 includes/B2S/Ship/Item.php:815
2564
  msgid "Link"
2565
  msgstr ""
2566
 
2567
+ #: includes/B2S/Network/Item.php:646 includes/B2S/Network/Item.php:649
2568
  msgid "Image"
2569
  msgstr ""
2570
 
2571
+ #: includes/B2S/Network/Item.php:658 includes/B2S/Settings/Item.php:74
2572
  msgid "Content"
2573
  msgstr ""
2574
 
2575
+ #: includes/B2S/Network/Item.php:667 includes/B2S/Ship/Item.php:357
2576
  msgid ""
2577
  "Instagram supports up to 30 hashtags. Please reduce the number of hashtags "
2578
  "in your post."
2579
  msgstr ""
2580
 
2581
+ #: includes/B2S/Network/Item.php:679
2582
  msgid "clear"
2583
  msgstr ""
2584
 
2585
+ #: includes/B2S/Network/Item.php:688
2586
  msgid "The link will be added automatically at the end of the post."
2587
  msgstr ""
2588
 
2589
+ #: includes/B2S/Network/Item.php:690 includes/B2S/Network/Item.php:716
2590
  msgid "Network limit"
2591
  msgstr ""
2592
 
2593
+ #: includes/B2S/Network/Item.php:690 includes/B2S/Network/Item.php:716
2594
+ #: includes/B2S/Network/Item.php:716 includes/B2S/Ship/Item.php:201
2595
+ #: includes/B2S/Ship/Item.php:205 includes/B2S/Ship/Item.php:247
2596
+ #: includes/B2S/Ship/Item.php:251 includes/B2S/Ship/Item.php:284
2597
+ #: includes/B2S/Ship/Item.php:288 includes/B2S/Ship/Item.php:1145
2598
+ #: includes/B2S/Ship/Item.php:1147
2599
  msgid "characters"
2600
  msgstr ""
2601
 
2602
+ #: includes/B2S/Network/Item.php:716
2603
  msgid "recommended length"
2604
  msgstr ""
2605
 
2606
+ #: includes/B2S/Network/Item.php:736 includes/B2S/Network/Item.php:788
2607
+ #: includes/B2S/Network/Item.php:842 includes/B2S/Network/Item.php:894
2608
+ #: includes/B2S/Network/Item.php:928
2609
  msgid "Preview"
2610
  msgstr ""
2611
 
2612
+ #: includes/B2S/Post/Filter.php:42
2613
  msgid "all authors"
2614
  msgstr ""
2615
 
2616
+ #: includes/B2S/Post/Filter.php:58
2617
  msgid "all posts"
2618
  msgstr ""
2619
 
2620
+ #: includes/B2S/Post/Filter.php:69
2621
  msgid "not yet shared"
2622
  msgstr ""
2623
 
2624
+ #: includes/B2S/Post/Filter.php:69
2625
  msgid "already shared"
2626
  msgstr ""
2627
 
2628
+ #: includes/B2S/Post/Filter.php:69
2629
  msgid "currently scheduled"
2630
  msgstr ""
2631
 
2632
+ #: includes/B2S/Post/Filter.php:70
2633
  msgid "all statuses"
2634
  msgstr ""
2635
 
2636
+ #: includes/B2S/Post/Filter.php:81 includes/B2S/Post/Filter.php:93
2637
  msgid "newest first"
2638
  msgstr ""
2639
 
2640
+ #: includes/B2S/Post/Filter.php:81 includes/B2S/Post/Filter.php:93
2641
  msgid "oldest first"
2642
  msgstr ""
2643
 
2644
+ #: includes/B2S/Post/Filter.php:106
2645
  msgid "all categories & tags"
2646
  msgstr ""
2647
 
2648
+ #: includes/B2S/Post/Filter.php:128 includes/PRG/Post/Filter.php:49
2649
  msgid "all post types"
2650
  msgstr ""
2651
 
2652
+ #: includes/B2S/Post/Filter.php:155
2653
+ msgid "shared by user"
2654
+ msgstr ""
2655
+
2656
+ #: includes/B2S/Post/Filter.php:172 includes/PRG/Post/Filter.php:70
2657
  msgid "Search Title"
2658
  msgstr ""
2659
 
2660
+ #: includes/B2S/Post/Filter.php:198 includes/PRG/Post/Filter.php:81
2661
  msgid "sort"
2662
  msgstr ""
2663
 
2664
+ #: includes/B2S/Post/Filter.php:199 includes/PRG/Post/Filter.php:82
2665
  msgid "reset"
2666
  msgstr ""
2667
 
2668
+ #: includes/B2S/Post/Filter.php:204
2669
  msgid "selected date"
2670
  msgstr ""
2671
 
2672
+ #: includes/B2S/Post/Filter.php:204
2673
  msgid "scheduled post(s)"
2674
  msgstr ""
2675
 
2676
+ #: includes/B2S/Post/Item.php:312
2677
  msgid "You have not saved any drafts."
2678
  msgstr ""
2679
 
2680
+ #: includes/B2S/Post/Item.php:316
2681
  msgid "You have not published or scheduled any posts."
2682
  msgstr ""
2683
 
2684
+ #: includes/B2S/Post/Item.php:339
2685
  msgid "curated post"
2686
  msgstr ""
2687
 
2688
+ #: includes/B2S/Post/Item.php:344 includes/B2S/Post/Item.php:442
2689
  msgid "last shared on social media"
2690
  msgstr ""
2691
 
2692
+ #: includes/B2S/Post/Item.php:356 includes/B2S/Post/Item.php:453
2693
+ #: includes/B2S/Post/Item.php:455 includes/B2S/Post/Item.php:476
2694
+ #: includes/B2S/Post/Item.php:497
2695
  msgid "Share on Social Media"
2696
  msgstr ""
2697
 
2698
+ #: includes/B2S/Post/Item.php:360
2699
  msgid "load Draft"
2700
  msgstr ""
2701
 
2702
+ #: includes/B2S/Post/Item.php:362 includes/B2S/Post/Item.php:461
2703
+ #: includes/B2S/Post/Item.php:481 includes/B2S/Post/Item.php:499
2704
  #: includes/PRG/Post/Item.php:121
2705
  msgid "Author"
2706
  msgstr ""
2707
 
2708
+ #: includes/B2S/Post/Item.php:380 includes/B2S/Post/Item.php:404
2709
+ #: includes/B2S/Post/Item.php:426
2710
  msgid "Details"
2711
  msgstr ""
2712
 
2713
+ #: includes/B2S/Post/Item.php:382
2714
  msgid "shared social media posts"
2715
  msgstr ""
2716
 
2717
+ #: includes/B2S/Post/Item.php:382
2718
  #, php-format
2719
  msgid "latest share by %s"
2720
  msgstr ""
2721
 
2722
+ #: includes/B2S/Post/Item.php:406 views/b2s/widgets/activity.php:10
2723
  msgid "scheduled social media posts"
2724
  msgstr ""
2725
 
2726
+ #: includes/B2S/Post/Item.php:406
2727
  #, php-format
2728
  msgid "next share by %s"
2729
  msgstr ""
2730
 
2731
+ #: includes/B2S/Post/Item.php:428
2732
  msgid "social media posts ready to be shared"
2733
  msgstr ""
2734
 
2735
+ #: includes/B2S/Post/Item.php:439
2736
  msgid "via Browser-Extension"
2737
  msgstr ""
2738
 
2739
+ #: includes/B2S/Post/Item.php:461
2740
  msgid "saved"
2741
  msgstr ""
2742
 
2743
+ #: includes/B2S/Post/Item.php:481
2744
  msgid "last saved"
2745
  msgstr ""
2746
 
2747
+ #: includes/B2S/Post/Item.php:608 includes/B2S/Post/Item.php:744
2748
  #: includes/B2S/Ship/Save.php:427
2749
  msgid "Retweet"
2750
  msgstr ""
2751
 
2752
+ #: includes/B2S/Post/Item.php:614 includes/B2S/Post/Item.php:684
2753
+ #: includes/B2S/Post/Item.php:749
2754
  msgid "select all"
2755
  msgstr ""
2756
 
2757
+ #: includes/B2S/Post/Item.php:617
2758
  msgid "show"
2759
  msgstr ""
2760
 
2761
+ #: includes/B2S/Post/Item.php:624 includes/B2S/Ship/Save.php:438
2762
  msgid "Please see"
2763
  msgstr ""
2764
 
2765
+ #: includes/B2S/Post/Item.php:630
2766
  #, php-format
2767
  msgid "sharing in progress by %s"
2768
  msgstr ""
2769
 
2770
+ #: includes/B2S/Post/Item.php:630
2771
  #, php-format
2772
  msgid "shared by %s"
2773
  msgstr ""
2774
 
2775
+ #: includes/B2S/Post/Item.php:651 includes/B2S/Post/Item.php:664
2776
  msgid "You want to delete a publish post entry?"
2777
  msgstr ""
2778
 
2779
+ #: includes/B2S/Post/Item.php:652 includes/B2S/Post/Item.php:665
2780
  msgid "delete from reporting"
2781
  msgstr ""
2782
 
2783
+ #: includes/B2S/Post/Item.php:655
2784
  msgid "re-share"
2785
  msgstr ""
2786
 
2787
+ #: includes/B2S/Post/Item.php:687
2788
  #, php-format
2789
  msgid "is waiting to shared by %s"
2790
  msgstr ""
2791
 
2792
+ #: includes/B2S/Post/Item.php:717 includes/B2S/Ship/Save.php:408
2793
  msgid "share"
2794
  msgstr ""
2795
 
2796
+ #: includes/B2S/Post/Item.php:725
2797
  msgid "You want to delete your Social Media post?"
2798
  msgstr ""
2799
 
2800
+ #: includes/B2S/Post/Item.php:759
2801
  #, php-format
2802
  msgid "last modified by %s"
2803
  msgstr ""
2804
 
2805
+ #: includes/B2S/Post/Item.php:761
2806
  msgid "is processed by the network"
2807
  msgstr ""
2808
 
2809
+ #: includes/B2S/Post/Item.php:766
2810
  #, php-format
2811
  msgid "scheduled by %s"
2812
  msgstr ""
2813
 
2814
+ #: includes/B2S/Post/Item.php:771
2815
  msgid "You want to edit your scheduled post?"
2816
  msgstr ""
2817
 
2818
+ #: includes/B2S/Post/Item.php:772
2819
  msgid "edit"
2820
  msgstr ""
2821
 
2822
+ #: includes/B2S/Post/Item.php:783
2823
  msgid "delete scheduling"
2824
  msgstr ""
2825
 
2826
+ #: includes/B2S/Settings/Item.php:60 includes/B2S/Settings/Item.php:92
2827
+ #: includes/B2S/Ship/Item.php:968
2828
  msgid "Account"
2829
  msgstr ""
2830
 
2831
+ #: includes/B2S/Settings/Item.php:69
2832
  msgid "Timezone for Scheduling"
2833
  msgstr ""
2834
 
2835
+ #: includes/B2S/Settings/Item.php:69
2836
  msgid "User"
2837
  msgstr ""
2838
 
2839
+ #: includes/B2S/Settings/Item.php:75
2840
  msgid "Url Shortener"
2841
  msgstr ""
2842
 
2843
+ #: includes/B2S/Settings/Item.php:77
2844
+ msgid "no URL Shortener"
2845
  msgstr ""
2846
 
2847
+ #: includes/B2S/Settings/Item.php:92
2848
+ msgid "change"
2849
+ msgstr ""
2850
+
2851
+ #: includes/B2S/Settings/Item.php:98
2852
  msgid "Shortcodes"
2853
  msgstr ""
2854
 
2855
+ #: includes/B2S/Settings/Item.php:99
2856
  msgid "allow shortcodes in my post"
2857
  msgstr ""
2858
 
2859
+ #: includes/B2S/Settings/Item.php:101 includes/B2S/Ship/Item.php:914
2860
  msgid "Hashtags"
2861
  msgstr ""
2862
 
2863
+ #: includes/B2S/Settings/Item.php:102
2864
  msgid "include Wordpress tags as hashtags in my post"
2865
  msgstr ""
2866
 
2867
+ #: includes/B2S/Settings/Item.php:106
2868
  msgid "System"
2869
  msgstr ""
2870
 
2871
+ #: includes/B2S/Settings/Item.php:107 includes/B2S/Settings/Item.php:305
2872
+ #: includes/B2S/Settings/Item.php:332
2873
  msgid ""
2874
  "This is a global feature for your blog, which can only be edited by users "
2875
  "with admin rights."
2876
  msgstr ""
2877
 
2878
+ #: includes/B2S/Settings/Item.php:108
2879
  msgid "activate Legacy mode"
2880
  msgstr ""
2881
 
2882
+ #: includes/B2S/Settings/Item.php:125
2883
+ msgid ""
2884
+ "Auto-posts for Facebook Profiles will be shown in the \"Instant Sharing\" "
2885
+ "tab on your \"Posts & Sharing\" navigation bar and can be shared on your "
2886
+ "Facebook Profile by clicking on the \"Share\" button next to your auto-post."
2887
+ msgstr ""
2888
+
2889
+ #: includes/B2S/Settings/Item.php:128
2890
+ msgid "Autoposter"
2891
  msgstr ""
2892
 
2893
+ #: includes/B2S/Settings/Item.php:129
2894
+ msgid ""
2895
+ "Set up your autoposter to automatically share your new or updated posts, "
2896
+ "pages and custom post types on your social media channels."
2897
  msgstr ""
2898
 
2899
+ #: includes/B2S/Settings/Item.php:138
2900
  msgid ""
2901
+ "Select your preferred network collection for autoposting. This collection "
2902
+ "defines the social media accounts on which the autoposter will share your "
2903
+ "social media posts automatically."
2904
  msgstr ""
2905
 
2906
+ #: includes/B2S/Settings/Item.php:142
2907
+ msgid "Please select a post type"
2908
+ msgstr ""
2909
+
2910
+ #: includes/B2S/Settings/Item.php:145
2911
  msgid "new posts"
2912
  msgstr ""
2913
 
2914
+ #: includes/B2S/Settings/Item.php:146 includes/B2S/Settings/Item.php:158
2915
  msgid "Unselect all"
2916
  msgstr ""
2917
 
2918
+ #: includes/B2S/Settings/Item.php:146 includes/B2S/Settings/Item.php:158
2919
  msgid "Select all"
2920
  msgstr ""
2921
 
2922
+ #: includes/B2S/Settings/Item.php:154
2923
  msgid ""
2924
  "By enabling this feature your previously published social media posts will "
2925
  "be sent again to your selected social media channels as soon as the post is "
2926
  "updated."
2927
  msgstr ""
2928
 
2929
+ #: includes/B2S/Settings/Item.php:157
2930
  msgid "updating existing posts"
2931
  msgstr ""
2932
 
2933
+ #: includes/B2S/Settings/Item.php:167
2934
+ msgid "Apply best times"
2935
  msgstr ""
2936
 
2937
+ #: includes/B2S/Settings/Item.php:173
2938
+ msgid "Autoposter for Imported Posts"
2939
  msgstr ""
2940
 
2941
+ #: includes/B2S/Settings/Item.php:174
2942
  msgid ""
2943
+ "Set up your autoposter to automatically share your imported posts, pages and "
2944
+ "custom post types on your social media channels."
2945
  msgstr ""
2946
 
2947
+ #: includes/B2S/Settings/Item.php:177
2948
  msgid ""
2949
  "Immediate Cross-Posting across all networks: Share an unlimited number of "
2950
  "posts"
2951
  msgstr ""
2952
 
2953
+ #: includes/B2S/Settings/Item.php:178
2954
  msgid "Scheduled Auto-Posting"
2955
  msgstr ""
2956
 
2957
+ #: includes/B2S/Settings/Item.php:180
2958
  msgid "share up to"
2959
  msgstr ""
2960
 
2961
+ #: includes/B2S/Settings/Item.php:180
2962
  msgid "posts per day, Google My Business max. 10 posts per day"
2963
  msgstr ""
2964
 
2965
+ #: includes/B2S/Settings/Item.php:189
2966
+ msgid "Please select a social media network"
2967
  msgstr ""
2968
 
2969
+ #: includes/B2S/Settings/Item.php:190
2970
  msgid "Available networks to select your auto-post connecitons:"
2971
  msgstr ""
2972
 
2973
+ #: includes/B2S/Settings/Item.php:191
2974
  msgid ""
2975
  "In accordance with the new Twitter TOS, one Twitter account can be selected "
2976
  "as your primary Twitter account for auto-posting."
2977
  msgstr ""
2978
 
2979
+ #: includes/B2S/Settings/Item.php:193
 
 
 
 
2980
  msgid "Select to auto-post immediately after publishing or with a delay"
2981
  msgstr ""
2982
 
2983
+ #: includes/B2S/Settings/Item.php:195
2984
  msgid "publish with a delay of"
2985
  msgstr ""
2986
 
2987
+ #: includes/B2S/Settings/Item.php:196
2988
  msgid "minutes"
2989
  msgstr ""
2990
 
2991
+ #: includes/B2S/Settings/Item.php:209
2992
+ msgid "Save"
2993
+ msgstr ""
2994
+
2995
+ #: includes/B2S/Settings/Item.php:219
2996
  msgid ""
2997
  "Filter Posts (Only posts that meet the following criteria will be autoposted)"
2998
  msgstr ""
2999
 
3000
+ #: includes/B2S/Settings/Item.php:220
3001
  msgid "Post Types"
3002
  msgstr ""
3003
 
3004
+ #: includes/B2S/Settings/Item.php:221
3005
  msgid "Include (Post only...)"
3006
  msgstr ""
3007
 
3008
+ #: includes/B2S/Settings/Item.php:222
3009
  msgid "Exclude (Do no post ...)"
3010
  msgstr ""
3011
 
3012
+ #: includes/B2S/Settings/Item.php:259
3013
  msgid "add/change connection"
3014
  msgstr ""
3015
 
3016
+ #: includes/B2S/Settings/Item.php:303
3017
  msgid "Reset all page and post meta data"
3018
  msgstr ""
3019
 
3020
+ #: includes/B2S/Settings/Item.php:308
3021
  msgid "Meta Tags Settings for Posts and Pages"
3022
  msgstr ""
3023
 
3024
+ #: includes/B2S/Settings/Item.php:309
3025
  msgid ""
3026
  "Add Open Graph meta tags to your shared posts or pages, required by Facebook "
3027
  "and other social networks to display your post or page image, title and "
3028
  "description correctly."
3029
  msgstr ""
3030
 
3031
+ #: includes/B2S/Settings/Item.php:311
3032
  msgid ""
3033
  "Add Twitter Card meta tags to your shared posts or pages, required by "
3034
  "Twitter to display your post or page image, title and description correctly."
3035
  msgstr ""
3036
 
3037
+ #: includes/B2S/Settings/Item.php:334
3038
  msgid "Frontpage Settings"
3039
  msgstr ""
3040
 
3041
+ #: includes/B2S/Settings/Item.php:336
3042
  msgid "Check Settings with Sharing-Debugger"
3043
  msgstr ""
3044
 
3045
+ #: includes/B2S/Settings/Item.php:346
3046
  msgid ""
3047
  "Add the default Open Graph parameters for title, description and image you "
3048
  "want Facebook to display, if you share the frontpage of your blog as link "
3049
  "post (http://www.yourblog.com)"
3050
  msgstr ""
3051
 
3052
+ #: includes/B2S/Settings/Item.php:350 includes/B2S/Settings/Item.php:371
3053
  msgid "Description"
3054
  msgstr ""
3055
 
3056
+ #: includes/B2S/Settings/Item.php:351 includes/B2S/Settings/Item.php:372
3057
  msgid "Image URL"
3058
  msgstr ""
3059
 
3060
+ #: includes/B2S/Settings/Item.php:353 includes/B2S/Settings/Item.php:374
3061
  #: includes/B2S/Ship/Image.php:85 includes/B2S/Ship/Image.php:87
3062
  msgid "Image upload / Media Gallery"
3063
  msgstr ""
3064
 
3065
+ #: includes/B2S/Settings/Item.php:356
3066
  msgid ""
3067
  "Please note: Facebook supports images with a minimum dimension of 200x200 "
3068
  "pixels and an aspect ratio of 1:1."
3069
  msgstr ""
3070
 
3071
+ #: includes/B2S/Settings/Item.php:362
3072
  msgid ""
3073
  "Add the default Twitter Card parameters for title, description and image you "
3074
  "want Twitter to display, if you share the frontpage of your blog as link "
3075
  "post (http://www.yourblog.com)"
3076
  msgstr ""
3077
 
3078
+ #: includes/B2S/Settings/Item.php:365
3079
  msgid "The default card type to use"
3080
  msgstr ""
3081
 
3082
+ #: includes/B2S/Settings/Item.php:367
3083
  msgid "Summary"
3084
  msgstr ""
3085
 
3086
+ #: includes/B2S/Settings/Item.php:368
3087
  msgid "Summary with large image"
3088
  msgstr ""
3089
 
3090
+ #: includes/B2S/Settings/Item.php:368
3091
  msgid "(SMART)"
3092
  msgstr ""
3093
 
3094
+ #: includes/B2S/Settings/Item.php:377
3095
  msgid ""
3096
  "Please note: Twitter supports images with a minimum dimension of 144x144 "
3097
  "pixels and a maximum dimension of 4096x4096 pixels and less than 5 BM. The "
3099
  "formats."
3100
  msgstr ""
3101
 
3102
+ #: includes/B2S/Settings/Item.php:395
3103
  msgid "Did you know?"
3104
  msgstr ""
3105
 
3106
+ #: includes/B2S/Settings/Item.php:396
3107
  msgid ""
3108
  "With Premium Pro, you can change the custom post format photo post or link "
3109
  "post for each individual social media post and channel (profile, page, group)"
3110
  "."
3111
  msgstr ""
3112
 
3113
+ #: includes/B2S/Settings/Item.php:396
3114
  msgid "Upgrade to Premium Pro now."
3115
  msgstr ""
3116
 
3117
+ #: includes/B2S/Settings/Item.php:424
3118
  msgid "The image will be changed"
3119
  msgstr ""
3120
 
3121
+ #: includes/B2S/Settings/Item.php:427 views/b2s/html/footer.php:129
3122
  msgid ""
3123
  "Insert white frames to show the whole image in your timeline. All image "
3124
  "information will be shown in your timeline."
3125
  msgstr ""
3126
 
3127
+ #: includes/B2S/Settings/Item.php:429 views/b2s/html/footer.php:112
3128
  msgid ""
3129
  "The link post format displays posts title, link address and the first one or "
3130
  "two sentences of the post. The networks scan this information from your META "
3136
  "first image detected on your page. The image links to your blog post."
3137
  msgstr ""
3138
 
3139
+ #: includes/B2S/Settings/Item.php:438 views/b2s/html/footer.php:134
3140
  msgid ""
3141
  "The image preview will be cropped automatically to fit the default Instagram "
3142
  "layout for your Instagram timeline. The image will be shown uncropped when "
3143
  "opening the preview page for your Instagram post."
3144
  msgstr ""
3145
 
3146
+ #: includes/B2S/Settings/Item.php:440 views/b2s/html/footer.php:117
3147
  msgid ""
3148
  "A photo or image post displays the selected image in the one-page preview of "
3149
  "Blog2Social and your comment above the image. The image links to the image "
3205
  msgid "Apply image for all og-meta networks"
3206
  msgstr ""
3207
 
3208
+ #: includes/B2S/Ship/Item.php:153
3209
  msgid "Network does not support image for profiles"
3210
  msgstr ""
3211
 
3212
+ #: includes/B2S/Ship/Item.php:154 includes/B2S/Ship/Item.php:217
3213
  msgid "Network defines image by link"
3214
  msgstr ""
3215
 
3216
+ #: includes/B2S/Ship/Item.php:156
3217
  msgid "Supported HTML tags"
3218
  msgstr ""
3219
 
3220
+ #: includes/B2S/Ship/Item.php:157 includes/B2S/Ship/Item.php:216
3221
  msgid "Network does not support emojis"
3222
  msgstr ""
3223
 
3224
+ #: includes/B2S/Ship/Item.php:158 includes/B2S/Ship/Item.php:218
3225
  msgid "Network does not support GIFs"
3226
  msgstr ""
3227
 
3228
+ #: includes/B2S/Ship/Item.php:200
3229
  msgid "Text only"
3230
  msgstr ""
3231
 
3232
+ #: includes/B2S/Ship/Item.php:215
3233
  msgid "Network does not support image for pages"
3234
  msgstr ""
3235
 
3236
+ #: includes/B2S/Ship/Item.php:308
3237
  msgid "Connection expires on 31 March 2019"
3238
  msgstr ""
3239
 
3240
+ #: includes/B2S/Ship/Item.php:312
3241
  msgid "Connection expires on 2 April 2019"
3242
  msgstr ""
3243
 
3244
+ #: includes/B2S/Ship/Item.php:325
3245
  msgid "post format"
3246
  msgstr ""
3247
 
3248
+ #: includes/B2S/Ship/Item.php:340 includes/B2S/Ship/Item.php:1153
3249
  msgid "Insert full-text"
3250
  msgstr ""
3251
 
3252
+ #: includes/B2S/Ship/Item.php:342 includes/B2S/Ship/Item.php:1155
3253
  msgid "Delete text"
3254
  msgstr ""
3255
 
3256
+ #: includes/B2S/Ship/Item.php:349 includes/B2S/Ship/Item.php:651
3257
+ #: includes/B2S/Ship/Item.php:1019
3258
  msgid ""
3259
  "Please keep in mind that according to Twitter’s new TOS, users are no longer "
3260
  "allowed to post identical or substantially similar content to multiple "
3261
  "accounts or multiple duplicate updates on one account."
3262
  msgstr ""
3263
 
3264
+ #: includes/B2S/Ship/Item.php:349 includes/B2S/Ship/Item.php:651
3265
+ #: includes/B2S/Ship/Item.php:1019
3266
  msgid ""
3267
  "Violating these rules can result in Twitter suspending your account. Always "
3268
  "vary your Tweets with different comments, hashtags or handles to prevent "
3269
  "duplicate posts."
3270
  msgstr ""
3271
 
3272
+ #: includes/B2S/Ship/Item.php:349 includes/B2S/Ship/Item.php:651
3273
+ #: includes/B2S/Ship/Item.php:1019
3274
  msgid "Learn more about this"
3275
  msgstr ""
3276
 
3277
+ #: includes/B2S/Ship/Item.php:353
3278
  msgid ""
3279
  "Please note: XING allows identical posts to be published only once within a "
3280
  "group and no more than three times across different groups."
3281
  msgstr ""
3282
 
3283
+ #: includes/B2S/Ship/Item.php:353
3284
  msgid "Read more"
3285
  msgstr ""
3286
 
3287
+ #: includes/B2S/Ship/Item.php:358
3288
  msgid ""
3289
  "Please keep in mind that users are not allowed to post identical or "
3290
  "substantially similar content to multiple accounts or multiple duplicate "
3291
  "updates on one account."
3292
  msgstr ""
3293
 
3294
+ #: includes/B2S/Ship/Item.php:358
3295
  msgid ""
3296
  "Violating these rules can result in suspending your account. Always vary "
3297
  "your content with different images, comments, hashtags or handles to prevent "
3298
  "duplicate posts."
3299
  msgstr ""
3300
 
3301
+ #: includes/B2S/Ship/Item.php:378
3302
  msgid "hide calendar"
3303
  msgstr ""
3304
 
3305
+ #: includes/B2S/Ship/Item.php:435 includes/B2S/Ship/Item.php:464
3306
+ #: includes/B2S/Ship/Item.php:494 includes/B2S/Ship/Item.php:523
3307
+ #: includes/B2S/Ship/Item.php:552 includes/B2S/Ship/Item.php:580
3308
+ #: includes/B2S/Ship/Item.php:608 includes/B2S/Ship/Item.php:639
3309
+ #: includes/B2S/Ship/Item.php:662 includes/B2S/Ship/Item.php:683
3310
+ #: includes/B2S/Ship/Item.php:704 includes/B2S/Ship/Item.php:725
3311
+ #: includes/B2S/Ship/Item.php:746 includes/B2S/Ship/Item.php:767
3312
+ #: includes/B2S/Ship/Item.php:777
3313
  msgid "Write something about your post..."
3314
  msgstr ""
3315
 
3316
+ #: includes/B2S/Ship/Item.php:450 includes/B2S/Ship/Item.php:509
3317
+ #: includes/B2S/Ship/Item.php:539 includes/B2S/Ship/Item.php:567
3318
+ #: includes/B2S/Ship/Item.php:595
3319
  msgid ""
3320
  "Info: Change Open Graph Meta tags image, title and description for this "
3321
  "network"
3322
  msgstr ""
3323
 
3324
+ #: includes/B2S/Ship/Item.php:453 includes/B2S/Ship/Item.php:483
3325
+ #: includes/B2S/Ship/Item.php:512 includes/B2S/Ship/Item.php:542
3326
+ #: includes/B2S/Ship/Item.php:570 includes/B2S/Ship/Item.php:598
3327
  msgid ""
3328
  "You want to change your link image, link title and link description for this "
3329
  "network? Click here."
3330
  msgstr ""
3331
 
3332
+ #: includes/B2S/Ship/Item.php:455 includes/B2S/Ship/Item.php:514
3333
+ #: includes/B2S/Ship/Item.php:544 includes/B2S/Ship/Item.php:572
3334
+ #: includes/B2S/Ship/Item.php:600
3335
  msgid "OG Meta title"
3336
  msgstr ""
3337
 
3338
+ #: includes/B2S/Ship/Item.php:456 includes/B2S/Ship/Item.php:515
3339
+ #: includes/B2S/Ship/Item.php:545 includes/B2S/Ship/Item.php:573
3340
+ #: includes/B2S/Ship/Item.php:601
3341
  msgid "OG Meta description"
3342
  msgstr ""
3343
 
3344
+ #: includes/B2S/Ship/Item.php:478
3345
+ msgid ""
3346
+ "Please note: Twitter stores the Card parameters of a link for up to 7 days. "
3347
+ "Changes may not be immediately visible on Twitter."
3348
+ msgstr ""
3349
+
3350
+ #: includes/B2S/Ship/Item.php:480
3351
  msgid ""
3352
  "Info: Change Card Meta tags image, title and description for this network"
3353
  msgstr ""
3354
 
3355
+ #: includes/B2S/Ship/Item.php:485
3356
  msgid "Card Meta title"
3357
  msgstr ""
3358
 
3359
+ #: includes/B2S/Ship/Item.php:486
3360
  msgid "Card Meta description"
3361
  msgstr ""
3362
 
3363
+ #: includes/B2S/Ship/Item.php:537
3364
+ msgid ""
3365
+ "Please note: XING stores the Open Graph parameters of a link for up to 7 "
3366
+ "days. Changes may not be immediately visible on XING."
3367
+ msgstr ""
3368
+
3369
+ #: includes/B2S/Ship/Item.php:793
3370
  msgid "required"
3371
  msgstr ""
3372
 
3373
+ #: includes/B2S/Ship/Item.php:888
3374
  msgid "Jobs & Projects"
3375
  msgstr ""
3376
 
3377
+ #: includes/B2S/Ship/Item.php:889
3378
  msgid "Events"
3379
  msgstr ""
3380
 
3381
+ #: includes/B2S/Ship/Item.php:890
3382
  msgid "Classified Ads"
3383
  msgstr ""
3384
 
3385
+ #: includes/B2S/Ship/Item.php:892
3386
  msgid "Offer"
3387
  msgstr ""
3388
 
3389
+ #: includes/B2S/Ship/Item.php:893
3390
  msgid "Request"
3391
  msgstr ""
3392
 
3393
+ #: includes/B2S/Ship/Item.php:904
3394
  msgid "The Headline..."
3395
  msgstr ""
3396
 
3397
+ #: includes/B2S/Ship/Item.php:912
3398
  #, php-format
3399
  msgid "max. %s Tags"
3400
  msgstr ""
3401
 
3402
+ #: includes/B2S/Ship/Item.php:950
3403
  msgid "Enable Retweets for all Tweets with the selected profile"
3404
  msgstr ""
3405
 
3406
+ #: includes/B2S/Ship/Item.php:969 views/b2s/partials/post-edit-modal.php:73
3407
  msgid "Delay"
3408
  msgstr ""
3409
 
3410
+ #: includes/B2S/Ship/Item.php:979 includes/B2S/Ship/Item.php:980
3411
+ #: includes/B2S/Ship/Item.php:981 includes/B2S/Ship/Item.php:982
3412
  #: views/b2s/partials/post-edit-modal.php:77
3413
  #: views/b2s/partials/post-edit-modal.php:78
3414
  #: views/b2s/partials/post-edit-modal.php:79
3416
  msgid "min"
3417
  msgstr ""
3418
 
3419
+ #: includes/B2S/Ship/Item.php:987
3420
  msgid "Add Retweet"
3421
  msgstr ""
3422
 
3423
+ #: includes/B2S/Ship/Item.php:1007
3424
  msgid "Share Now"
3425
  msgstr ""
3426
 
3427
+ #: includes/B2S/Ship/Item.php:1012
3428
  msgid "Schedule Recurrent Post"
3429
  msgstr ""
3430
 
3431
+ #: includes/B2S/Ship/Item.php:1048 views/b2s/partials/post-edit-modal.php:47
3432
  msgid ""
3433
  "Please note: Your account is connected via an old XING API that is no longer "
3434
  "supported by XING after March 31. Please connect your XING profile, as well "
3438
  "the new XING."
3439
  msgstr ""
3440
 
3441
+ #: includes/B2S/Ship/Item.php:1052 views/b2s/partials/post-edit-modal.php:51
3442
  msgid ""
3443
  "Please note: Google will shut down Google+ for all private accounts "
3444
  "(profiles, pages, groups) on 2nd April 2019. You can find further "
3446
  "other content here:"
3447
  msgstr ""
3448
 
3449
+ #: includes/B2S/Ship/Item.php:1055
3450
  msgid "Repeats"
3451
  msgstr ""
3452
 
3453
+ #: includes/B2S/Ship/Item.php:1056 includes/B2S/Ship/Item.php:1059
3454
  msgid "Duration"
3455
  msgstr ""
3456
 
3457
+ #: includes/B2S/Ship/Item.php:1060
3458
  msgid "Number of repeats"
3459
  msgstr ""
3460
 
3461
+ #: includes/B2S/Ship/Item.php:1061
3462
  msgid "Day of month"
3463
  msgstr ""
3464
 
3465
+ #: includes/B2S/Ship/Item.php:1062
3466
  msgid "Repeats every (days)"
3467
  msgstr ""
3468
 
3469
+ #: includes/B2S/Ship/Item.php:1064
3470
  msgid "Start date"
3471
  msgstr ""
3472
 
3473
+ #: includes/B2S/Ship/Item.php:1065
3474
  msgid "Time to publish"
3475
  msgstr ""
3476
 
3477
+ #: includes/B2S/Ship/Item.php:1074
3478
  msgid "weekly"
3479
  msgstr ""
3480
 
3481
+ #: includes/B2S/Ship/Item.php:1075
3482
  msgid "monthly"
3483
  msgstr ""
3484
 
3485
+ #: includes/B2S/Ship/Item.php:1076
3486
  msgid "own period"
3487
  msgstr ""
3488
 
3489
+ #: includes/B2S/Ship/Item.php:1082
3490
  msgid "Week"
3491
  msgstr ""
3492
 
3493
+ #: includes/B2S/Ship/Item.php:1082
3494
  msgid "Weeks"
3495
  msgstr ""
3496
 
3497
+ #: includes/B2S/Ship/Item.php:1091
3498
  msgid "Month"
3499
  msgstr ""
3500
 
3501
+ #: includes/B2S/Ship/Item.php:1091
3502
  msgid "Months"
3503
  msgstr ""
3504
 
3505
+ #: includes/B2S/Ship/Item.php:1111
3506
  msgid "End Of Month"
3507
  msgstr ""
3508
 
3509
+ #: includes/B2S/Ship/Item.php:1116
3510
  msgid "Timespan"
3511
  msgstr ""
3512
 
3513
+ #: includes/B2S/Ship/Item.php:1119 views/b2s/partials/post-edit-modal.php:63
3514
  #: views/b2s/partials/post-edit-modal.php:66
3515
  msgid "Time"
3516
  msgstr ""
3517
 
3518
+ #: includes/B2S/Ship/Item.php:1124
3519
  msgid "Mon"
3520
  msgstr ""
3521
 
3522
+ #: includes/B2S/Ship/Item.php:1125
3523
  msgid "Tue"
3524
  msgstr ""
3525
 
3526
+ #: includes/B2S/Ship/Item.php:1126
3527
  msgid "Wed"
3528
  msgstr ""
3529
 
3530
+ #: includes/B2S/Ship/Item.php:1127
3531
  msgid "Thu"
3532
  msgstr ""
3533
 
3534
+ #: includes/B2S/Ship/Item.php:1128
3535
  msgid "Fri"
3536
  msgstr ""
3537
 
3538
+ #: includes/B2S/Ship/Item.php:1129
3539
  msgid "Sat"
3540
  msgstr ""
3541
 
3542
+ #: includes/B2S/Ship/Item.php:1130
3543
  msgid "Sun"
3544
  msgstr ""
3545
 
3546
+ #: includes/B2S/Ship/Item.php:1137
3547
  msgid "add another post"
3548
  msgstr ""
3549
 
3550
+ #: includes/B2S/Ship/Item.php:1151
3551
  msgid "Copy from original"
3552
  msgstr ""
3553
 
3554
+ #: includes/B2S/Ship/Item.php:1167
3555
  msgid "Apply Settings To All Networks"
3556
  msgstr ""
3557
 
3558
+ #: includes/B2S/Ship/Item.php:1168
3559
  msgid "Save as best time for this network"
3560
  msgstr ""
3561
 
3601
  #: includes/B2S/Ship/Save.php:403
3602
  msgid ""
3603
  "-For scheduled posts, Blog2Social will save your post and move it to the "
3604
+ "\"Scheduled Posts\" tab on your \"Site & Blog Content\" navigation bar. On "
3605
+ "your scheduled date and time, your post will move to the \"Instant Sharing\" "
3606
+ "tab and you can click on \"Share\" to post it to your account instantly."
3607
  msgstr ""
3608
 
3609
  #: includes/B2S/Ship/Save.php:404
4283
  "the free trial."
4284
  msgstr ""
4285
 
4286
+ #: views/b2s/html/header.php:324
4287
+ msgid "Social Media Auto-Posting"
4288
+ msgstr ""
4289
+
4290
  #: views/b2s/html/header.php:326
4291
  msgid "Share on multiple accounts per network"
4292
  msgstr ""
4519
  msgid "Press"
4520
  msgstr ""
4521
 
 
 
 
 
 
4522
  #: views/prg/html/form.php:95 views/prg/html/form.php:172
4523
  msgid "Mrs."
4524
  msgstr ""
readme.txt CHANGED
@@ -4,8 +4,8 @@ Requires PHP: 5.5.3
4
  Tags: auto post, auto publish, social media scheduling, social media calendar, social media automation, social media share, auto-publish, scheduling, social media post, social url share, social network share, share tweet, share links, share this, sharethis, social tools, admin, api, auto share to, autopost, auto-Posting, auto-schedule, auto-schedule social media posts, automatic social sharing plugin, blog marketing, blog2social, blogger, buffer, crossposting, cross-promotion, cross-promoting, bloglovin, bloglovin auto post, facebook, facebook auto post, facebook pages, google auto post, google plus, google plus pages, instagram, instagram auto post, jetpack, jetpack sharing, linkedin, linkedin auto post, medium, medium auto post, multiposting, path, pinterest, re-post, scheduling, scheduling plugin, social media, social media auto publish, social media automation, social media button, social media manager, social media plugin, social media post, social media publishing, social media share, social media scheduling tool, social media sharing, social media tool, social network auto publish, social network icon, social network widget, socialmedia, timing, torial, torial auto post, tumblr, twitter, twitter auto post, xing, xing auto post, xing groups, xing gruppen, xing personal profiles, xing company profiles, xing business pages, xing pages, xing seiten, auto post scheduler, repost, social media management, facebook fan page auto post, facebook profile auto post, social auto post, social autoposting, flickr, flickr auto posting, linkedin, linkedin auto posting, linkedin profile, facebook group, facebook gruppen, reddit, reddit auto posting, reddit auto post, social media calendar, editorial calendar, calendar plugin, Social Media Automatisierung, Social Media Management, Kalender, Planungs Kalender, Social Media Kalender, Content Marketing
5
  Donate link: https://paypal.me/adenion
6
  Requires at least: 4.7.0
7
- Tested up to: 5.3.2
8
- Stable tag: 6.0.0
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -13,12 +13,12 @@ Autopost, schedule and share blog posts and contents on social media, pages & gr
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, Flickr, Reddit, VK.com, Medium, Tumblr, Torial, Diigo and Bloglovin.**
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._
20
 
21
- * Version 6.0: New Image Posts, Imgur, Animated Gifs and Emojis
22
 
23
  Download Blog2Social today to make your social media marketing for your WordPress site or blog easier than ever. Blog2Social is a freemium plugin, with a free comprehensive basic version and premium plans offering more advanced features. To ensure compliance with the high quality standards of the new networks’ API rules and community guidelines, some functions of the auto-poster are premium features and not part of the free version.
24
  The Blog2Social free version offers you a wide range of features. ([See what’s included in the free version](https://wordpress.org/plugins/blog2social/#faq "Blog2Social Free Features")).
@@ -62,7 +62,7 @@ All these features are included in Blog2Social free. If you want to take your so
62
  Try Blog2Social Premium with [free 30-day-trial](https://www.blog2social.com/en/plugin/wordpress/premium-trial/ "Try Blog2Social Premium for free") (without any obligations, no automatic subscription).
63
 
64
 
65
- 8 REASONS FOR CHOOSING BLOG2SOCIAL PREMIUM
66
 
67
  **#1 Easy Social Media Scheduling** – Auto-Post and Auto-Schedule your posts with a pre-defined best time schedule for each social network or define your own best times.
68
 
@@ -99,9 +99,14 @@ Save valuable time by managing your complete **social media content right from y
99
  Blog2Social automatically adds Open Graph and Twitter Card tags to your blog posts to **optimize the shareability of your blog post on social networks.** Edit these tags to your liking to adjust how your link preview looks on social media networks.
100
 
101
 
102
- **#8 There is much more to discover** – Try Blog2Social to check out all the features
103
 
104
- Use the **integrated Bitly shortener** to track the performance of your links. **Re-share** old posts or post & schedule **Retweets for Twitter.** Discover many more features:
 
 
 
 
 
105
  **Download Blog2Social and [start your free 30-day-Premium-trial](https://www.blog2social.com/en/plugin/wordpress/premium-trial/ "Start your free Blog2Social Premium Trial")**
106
 
107
 
@@ -177,14 +182,15 @@ You don’t need to cancel anything. There is no automatic subscription. The tri
177
 
178
  = What are the benefits of a Premium subscription plan? =
179
 
180
- Blog2Social premium takes your social media marketing to the next level. Benefit from more features for a smarter and faster social media scheduling and automation such as:
181
 
182
  * Schedule, share and re-share your posts automatically with the Best Time Manager, select recurring intervals and set your own scheduling schemes.
183
  * Auto-Posting: Set your social media marketing on auto-pilot and share your posts fully automated.
184
  * Tailor and optimize your social media post: Select individual post formats (link or image post) and images for each post by using any image from your library.
185
  * Customize post templates to save your individual layout setting as default and share your social media posts faster with individually tailored posts on each social network.
186
- * Connect more accounts per network, add more users
187
- * Business networks: Get more options for LinkedIn, XING, VK, and Google My Business
 
188
  * Get priority support per email and by phone.
189
  * ...and many more Premium features: [See all the Premium features on our pricing page](https://www.blog2social.com/en/pricing/ "All Blog2Social Premium features")
190
 
@@ -207,6 +213,8 @@ To get started with the basics of Blog2Social and maybe find some useful tips an
207
  7. Keep track of your shared posts and scheduling plan with the Social Media Calendar.
208
 
209
  == Changelog ==
 
 
210
  = 6.0.0 =
211
  New Image Posts, Imgur, Animated Gifs and Emojis
212
  = 5.9.0 =
@@ -255,52 +263,10 @@ Usability Optimization
255
  Usability Optimization
256
  = 5.0.0 =
257
  Content Curation with links, WooCommerce compatibility, gutenberg editor compatibility
258
- = 4.9.2 =
259
- Usability Optimization
260
- = 4.9.1 =
261
- Usability Optimization, adapting to the facebook sharing process
262
- = 4.9.0 =
263
- Usability Optimization, shortener bitly, new network google my business
264
- = 4.8.3 =
265
- Bugfix: compatible with custom backend templates and modal scripts
266
- = 4.8.2 =
267
- Bugfix: twitter scheduling prozess
268
- = 4.8.1 =
269
- Bugfix: facebook individualize image and content in scheduling prozess
270
- = 4.8.0 =
271
- Usability Optimization, twitter retweet, more individualize image and content by scheduling
272
- = 4.7.0 =
273
- Usability Optimization
274
- = 4.6.0 =
275
- Usability Optimization, facebook member groups, new network vkontakte, more flexible scheduling
276
- = 4.5.1 =
277
- Usability Optimization, varnish caching compatible
278
- = 4.5.0 =
279
- Usability Optimization, new calendar features, more easier and flexible schedueling
280
- = 4.4.0 =
281
- Usability Optimization, auto post imported content, Instagram image post format
282
- = 4.3.3 =
283
- Bugfix: Calendar date time function
284
- = 4.3.2 =
285
- Bugfix: Loading process
286
- = 4.3.1 =
287
- Bugfix: Social meta tags
288
- = 4.3.0 =
289
- Add Social Meta tags settings for linkpost. Scheduling calendar.
290
- = 4.2.2 =
291
- Bugfix: image upload
292
- = 4.2.1 =
293
- General Usabilitiy and Performance Optimization.
294
- = 4.2.0 =
295
- General Usabilitiy and Performance Optimization.
296
- = 4.1.1 =
297
- Usabilitiy and Performance Optimization. Bugfix: Heartbeat
298
- = 4.1.0 =
299
- Usabilitiy and Performance Optimization. Select link format or image format individual per posts
300
- = 4.0.0 =
301
- Usabilitiy and Performance Optimization. NEW: Select individual images per post. Select link format or image format for your posts. Select your own time zone for scheduling posts. Emoji support.
302
 
303
  == Upgrade Notice ==
 
 
304
  = 6.0.0 =
305
  New Image Posts, Imgur, Animated Gifs and Emojis
306
  = 5.9.0 =
@@ -348,48 +314,4 @@ Usability Optimization
348
  = 5.0.1 =
349
  Usability Optimization
350
  = 5.0.0 =
351
- Content Curation with links, WooCommerce compatibility, gutenberg editor compatibility
352
- = 4.9.2 =
353
- Usability Optimization
354
- = 4.9.1 =
355
- Usability Optimization, adapting to the facebook sharing process
356
- = 4.9.0 =
357
- Usability Optimization, shortener bitly, new network google my business
358
- = 4.8.3 =
359
- Bugfix: compatible with custom backend templates and modal scripts
360
- = 4.8.2 =
361
- Bugfix: twitter scheduling prozess
362
- = 4.8.1 =
363
- Bugfix: facebook individualize image and content in scheduling prozess
364
- = 4.8.0 =
365
- Usability Optimization, twitter retweet, more individualize image and content by scheduling
366
- = 4.7.0 =
367
- Usability Optimization
368
- = 4.6.0 =
369
- Usability Optimization, facebook member groups, new network vkontakte, more flexible schedueling
370
- = 4.5.1 =
371
- Usability Optimization, varnish caching compatible
372
- = 4.5.0 =
373
- Usability Optimization, new calendar features, more easier and flexible schedueling
374
- = 4.4.0 =
375
- Usability Optimization, auto post imported content, Instagram image post format
376
- = 4.3.3 =
377
- Bugfix: Calendar date time function
378
- = 4.3.2 =
379
- Bugfix: Loading process
380
- = 4.3.1 =
381
- Bugfix: Social meta tags
382
- = 4.3.0 =
383
- Add Social Meta tags settings for linkpost. Scheduling calendar.
384
- = 4.2.2 =
385
- Bugfix: image upload
386
- = 4.2.1 =
387
- General Usabilitiy and Performance Optimization.
388
- = 4.2.0 =
389
- General Usabilitiy and Performance Optimization.
390
- = 4.1.1 =
391
- Usabilitiy and Performance Optimization. Bugfix: Heartbeat
392
- = 4.1.0 =
393
- Usabilitiy and Performance Optimization. Select link format or image format individual per posts
394
- = 4.0.0 =
395
- Usabilitiy and Performance Optimization. NEW: Select individual images per post. Select link format or image format for your posts. Select your own time zone for scheduling posts. Emoji support.
4
  Tags: auto post, auto publish, social media scheduling, social media calendar, social media automation, social media share, auto-publish, scheduling, social media post, social url share, social network share, share tweet, share links, share this, sharethis, social tools, admin, api, auto share to, autopost, auto-Posting, auto-schedule, auto-schedule social media posts, automatic social sharing plugin, blog marketing, blog2social, blogger, buffer, crossposting, cross-promotion, cross-promoting, bloglovin, bloglovin auto post, facebook, facebook auto post, facebook pages, google auto post, google plus, google plus pages, instagram, instagram auto post, jetpack, jetpack sharing, linkedin, linkedin auto post, medium, medium auto post, multiposting, path, pinterest, re-post, scheduling, scheduling plugin, social media, social media auto publish, social media automation, social media button, social media manager, social media plugin, social media post, social media publishing, social media share, social media scheduling tool, social media sharing, social media tool, social network auto publish, social network icon, social network widget, socialmedia, timing, torial, torial auto post, tumblr, twitter, twitter auto post, xing, xing auto post, xing groups, xing gruppen, xing personal profiles, xing company profiles, xing business pages, xing pages, xing seiten, auto post scheduler, repost, social media management, facebook fan page auto post, facebook profile auto post, social auto post, social autoposting, flickr, flickr auto posting, linkedin, linkedin auto posting, linkedin profile, facebook group, facebook gruppen, reddit, reddit auto posting, reddit auto post, social media calendar, editorial calendar, calendar plugin, Social Media Automatisierung, Social Media Management, Kalender, Planungs Kalender, Social Media Kalender, Content Marketing
5
  Donate link: https://paypal.me/adenion
6
  Requires at least: 4.7.0
7
+ Tested up to: 5.3
8
+ Stable tag: 6.1.0
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
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 and Bloglovin.**
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._
20
 
21
+ * Version 6.1: Revised Autoposter, URL Parameters and Rebrandly
22
 
23
  Download Blog2Social today to make your social media marketing for your WordPress site or blog easier than ever. Blog2Social is a freemium plugin, with a free comprehensive basic version and premium plans offering more advanced features. To ensure compliance with the high quality standards of the new networks’ API rules and community guidelines, some functions of the auto-poster are premium features and not part of the free version.
24
  The Blog2Social free version offers you a wide range of features. ([See what’s included in the free version](https://wordpress.org/plugins/blog2social/#faq "Blog2Social Free Features")).
62
  Try Blog2Social Premium with [free 30-day-trial](https://www.blog2social.com/en/plugin/wordpress/premium-trial/ "Try Blog2Social Premium for free") (without any obligations, no automatic subscription).
63
 
64
 
65
+ 9 REASONS FOR CHOOSING BLOG2SOCIAL PREMIUM
66
 
67
  **#1 Easy Social Media Scheduling** – Auto-Post and Auto-Schedule your posts with a pre-defined best time schedule for each social network or define your own best times.
68
 
99
  Blog2Social automatically adds Open Graph and Twitter Card tags to your blog posts to **optimize the shareability of your blog post on social networks.** Edit these tags to your liking to adjust how your link preview looks on social media networks.
100
 
101
 
102
+ **#8 Tracking with URL parameters** – Monitor and measure your marketing success in Google Analytics
103
 
104
+ Add **UTM parameters** to URLs to enable **tracking of your social media campaigns via Google Analytics**. You can also add **other URL parameters**, for example, for Adobe Analytics or IBM Cognos Analytics.
105
+
106
+
107
+ **#9 There is much more to discover** – Try Blog2Social to check out all the features
108
+
109
+ Use the **Bitly or Rebrandly shortener** to track the performance of your links. **Re-share** old posts or post & schedule **Retweets for Twitter.** Discover many more features:
110
  **Download Blog2Social and [start your free 30-day-Premium-trial](https://www.blog2social.com/en/plugin/wordpress/premium-trial/ "Start your free Blog2Social Premium Trial")**
111
 
112
 
182
 
183
  = What are the benefits of a Premium subscription plan? =
184
 
185
+ Blog2Social premium takes your social media marketing to the next level. Benefit from more features for smarter and faster social media scheduling and automation such as:
186
 
187
  * Schedule, share and re-share your posts automatically with the Best Time Manager, select recurring intervals and set your own scheduling schemes.
188
  * Auto-Posting: Set your social media marketing on auto-pilot and share your posts fully automated.
189
  * Tailor and optimize your social media post: Select individual post formats (link or image post) and images for each post by using any image from your library.
190
  * Customize post templates to save your individual layout setting as default and share your social media posts faster with individually tailored posts on each social network.
191
+ * Connect more accounts per network, add more users.
192
+ * Business networks: Get more options for LinkedIn, XING, VK, and Google My Business.
193
+ * Add URL parameters to track your marketing efforts.
194
  * Get priority support per email and by phone.
195
  * ...and many more Premium features: [See all the Premium features on our pricing page](https://www.blog2social.com/en/pricing/ "All Blog2Social Premium features")
196
 
213
  7. Keep track of your shared posts and scheduling plan with the Social Media Calendar.
214
 
215
  == Changelog ==
216
+ = 6.1.0 =
217
+ Usability Optimization, Rebrandly integration, url parameter settings
218
  = 6.0.0 =
219
  New Image Posts, Imgur, Animated Gifs and Emojis
220
  = 5.9.0 =
263
  Usability Optimization
264
  = 5.0.0 =
265
  Content Curation with links, WooCommerce compatibility, gutenberg editor compatibility
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
266
 
267
  == Upgrade Notice ==
268
+ = 6.1.0 =
269
+ Usability Optimization, Rebrandly integration, url parameter settings
270
  = 6.0.0 =
271
  New Image Posts, Imgur, Animated Gifs and Emojis
272
  = 5.9.0 =
314
  = 5.0.1 =
315
  Usability Optimization
316
  = 5.0.0 =
317
+ Content Curation with links, WooCommerce compatibility, gutenberg editor compatibility
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
views/b2s/curation.draft.php CHANGED
@@ -50,7 +50,14 @@ require_once (B2S_PLUGIN_DIR . 'includes/Util.php');
50
  <div class="col-md-12">
51
  <ul class="list-group b2s-sort-result-item-area"></ul>
52
  <br>
53
- <nav class="b2s-sort-pagination-area text-center"></nav>
 
 
 
 
 
 
 
54
  <?php require_once (B2S_PLUGIN_DIR . 'views/b2s/html/footer.php'); ?>
55
  </div>
56
  </div>
50
  <div class="col-md-12">
51
  <ul class="list-group b2s-sort-result-item-area"></ul>
52
  <br>
53
+ <nav class="b2s-sort-pagination-area text-center">
54
+ <div class="btn-group btn-group-sm pull-right b2s-post-per-page-area hidden-xs" role="group">
55
+ <button type="button" class="btn btn-primary b2s-post-per-page" data-post-per-page="25">25</button>
56
+ <button type="button" class="btn btn-default b2s-post-per-page" data-post-per-page="50">50</button>
57
+ <button type="button" class="btn btn-default b2s-post-per-page" data-post-per-page="100">100</button>
58
+ </div>
59
+ <div class="b2s-sort-pagination-content"></div>
60
+ </nav>
61
  <?php require_once (B2S_PLUGIN_DIR . 'views/b2s/html/footer.php'); ?>
62
  </div>
63
  </div>
views/b2s/curation.php CHANGED
@@ -206,7 +206,7 @@ $selSchedDate = (isset($_GET['schedDate']) && !empty($_GET['schedDate'])) ? date
206
  ?>
207
  <br>
208
  <hr>
209
- <h4><?php esc_html_e('You wannt to create image posts with any image from your media library?', 'blog2social'); ?></h4>
210
  <?php esc_html_e('With Blog2Social Premium you can:', 'blog2social') ?>
211
  <br>
212
  <br>
206
  ?>
207
  <br>
208
  <hr>
209
+ <h4><?php esc_html_e('You want to create image posts with any image from your media library?', 'blog2social'); ?></h4>
210
  <?php esc_html_e('With Blog2Social Premium you can:', 'blog2social') ?>
211
  <br>
212
  <br>
views/b2s/network.php CHANGED
@@ -203,140 +203,6 @@ $networkData = $networkItem->getData();
203
  </div>
204
  </div>
205
 
206
- <div class="modal fade" id="b2s-manage-auth-team-modal" tabindex="-1" role="dialog" aria-labelledby="b2s-manage-auth-team-modal" aria-hidden="true" data-backdrop="false">
207
- <div class="modal-dialog" role="document">
208
- <div class="modal-content">
209
- <div class="modal-header">
210
- <button type="button" class="b2s-modal-close close" data-modal-name="#b2s-manage-auth-team-modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
211
- <h4 id="b2s-manage-auth-team-modal-title" class="modal-title"><?php
212
- esc_html_e("Advanced Connection Preferences", "blog2social");
213
- if (B2S_PLUGIN_USER_VERSION < 3) {
214
- echo ' <span class="label label-success">BUSINESS</span>';
215
- }
216
- ?></h4>
217
- </div>
218
- <div class="row b2s-loading-area-manage-auth-team-modal width-100" style="display: none;">
219
- <br>
220
- <div class="b2s-loader-impulse b2s-loader-impulse-md"></div>
221
- <div class="clearfix"></div>
222
- <?php esc_html_e('Loading...', 'blog2social') ?>
223
- </div>
224
- <div class="modal-body">
225
- <?php if (B2S_PLUGIN_USER_VERSION >= 3) { ?>
226
- <div class="b2s-move-connection" style="display: none;">
227
- <div class="row">
228
- <div class="col-md-12 b2s-text-bold">
229
- <span><?php esc_html_e('Move the connection to another network collection.', 'blog2social'); ?></span>
230
- </div>
231
- </div>
232
- <div class="row" id="b2s-move-connection-failed" style="display: none;">
233
- <div class="col-md-12">
234
- <div class="alert alert-danger"><?php esc_html_e("An error occured. Please contact our support.", 'blog2social'); ?></div>
235
- </div>
236
- </div>
237
- <div class="row b2s-margin-top-8" id="b2s-move-connection-input">
238
- <div class="col-md-8">
239
- <select class="form-control b2s-select" id="b2s-move-connection-select"></select>
240
- </div>
241
- <div class="col-md-4"><button class="btn btn-primary btn-sm" id="b2s-move-user-auth-to-profile"><?php esc_html_e('move', 'blog2social'); ?></button></div>
242
- <input type="hidden" value="" id="b2sUserAuthId">
243
- <input type="hidden" value="" id="b2sOldMandantId">
244
- <input type="hidden" value="" id="b2sNetworkId">
245
- <input type="hidden" value="" id="b2sNetworkType">
246
- </div>
247
- <div class="row b2s-margin-top-8" id="b2s-move-connection-error" style="display: none;">
248
- <div class="col-md-12">
249
- <div class="alert alert-warning"><?php esc_html_e('You need at least one network collection', 'blog2social'); ?></div>
250
- </div>
251
- </div>
252
- </div>
253
- <div class="b2s-assignment-area" style="display:none;">
254
- <br>
255
- <hr>
256
- <div class="row">
257
- <div class="col-md-12 b2s-margin-bottom-8 b2s-text-bold">
258
- <span><?php esc_html_e('Assign the connection to other blog users', 'blog2social'); ?></span>
259
- </div>
260
- </div>
261
- <div class="row b2s-connection-assign" style="display: none;">
262
- <div class="col-md-12 b2s-assign-error" data-error-reason="default" style="display: none;">
263
- <div class="alert alert-danger"> <span class="glyphicon glyphicon-remove glyphicon-danger"> <?php esc_html_e("An error occured. Please contact our support.", 'blog2social'); ?></div>
264
- </div>
265
- <div class="col-md-12 b2s-assign-error" data-error-reason="internal_server_error" style="display: none;">
266
- <div class="alert alert-danger"> <span class="glyphicon glyphicon-remove glyphicon-danger"> <?php esc_html_e("An error occured. Please contact our support.", 'blog2social'); ?></div>
267
- </div>
268
- <div class="col-md-12 b2s-assign-error" data-error-reason="invalid_data" style="display: none;">
269
- <div class="alert alert-danger"> <span class="glyphicon glyphicon-remove glyphicon-danger"> <?php esc_html_e("An error occured. Please contact our support.", 'blog2social'); ?></div>
270
- </div>
271
- <div class="col-md-12 b2s-assign-error" data-error-reason="token_no_business" style="display: none;">
272
- <div class="alert alert-danger"> <span class="glyphicon glyphicon-remove glyphicon-danger"> <?php esc_html_e("You don't have a Business License", 'blog2social'); ?></div>
273
- </div>
274
- <div class="col-md-12 b2s-assign-error" data-error-reason="assign_token_no_business" style="display: none;">
275
- <div class="alert alert-danger"> <span class="glyphicon glyphicon-remove glyphicon-danger"> <?php esc_html_e("This user don't have a Business License, or it is not the same", 'blog2social'); ?></div>
276
- </div>
277
- <div class="col-md-12 b2s-assign-error" data-error-reason="network_auth_exists" style="display: none;">
278
- <div class="alert alert-danger"> <span class="glyphicon glyphicon-remove glyphicon-danger"> <?php esc_html_e("The connection has already been assigned to this user.", 'blog2social'); ?></div>
279
- </div>
280
- <div class="col-md-12 b2s-assign-error" data-error-reason="network_auth_not_exists" style="display: none;">
281
- <div class="alert alert-danger"> <span class="glyphicon glyphicon-remove glyphicon-danger"> <?php esc_html_e("The connection dose not exist", 'blog2social'); ?></div>
282
- </div>
283
- <div class="col-md-12 b2s-assign-error" data-error-reason="network_auth_assign_exists" style="display: none;">
284
- <div class="alert alert-danger"> <span class="glyphicon glyphicon-remove glyphicon-danger"> <?php esc_html_e("This connection has already been assigned to this user.", 'blog2social'); ?></div>
285
- </div>
286
- <div class="col-md-12" id="b2s-assign-info">
287
- <div class="alert alert-warning"><span class="glyphicon glyphicon-warning-sign glyphicon-warning"></span> <?php esc_html_e('You can only share the connection with blog users who use the same license as you.', 'blog2social'); ?></div>
288
- </div>
289
- <div class="col-md-12" id="b2s-no-assign-user" style="display: none;">
290
- <div class="alert alert-warning"> <span class="glyphicon glyphicon-warning-sign glyphicon-warning"></span> <?php esc_html_e('There are no other users to whom the connection can be assigned.', 'blog2social'); ?></div>
291
- </div>
292
- <div class="col-md-8" id="b2s-connection-assign-select"></div>
293
- <div class="col-md-4"><button class="btn btn-primary btn-sm" id="b2s-assign-network-user-auth"><?php esc_html_e('assign', 'blog2social'); ?></button></div>
294
- <div class="col-md-12 b2s-network-assign-option"><input type="checkbox" id="b2s-network-assign-option-best-times"><label for="b2s-network-assign-option-best-times"><?php esc_html_e('Apply best time settings', 'blog2social') ?></label></div>
295
- <div class="col-md-12 b2s-network-assign-option"><input type="checkbox" id="b2s-network-assign-option-posting-template"><label for="b2s-network-assign-option-posting-template"><?php esc_html_e('Apply post template settings', 'blog2social') ?></label></div>
296
- <div class="col-md-12 b2s-network-assign-list"></div>
297
- </div>
298
- <div class="row b2s-connection-owner" style="display: none;">
299
- <div class="col-sm-12">
300
- <div class="alert alert-info"> <span class="glyphicon glyphicon-warning-sign glyphicon-info"></span> <?php esc_html_e('This connection was assigned by') ?> </span><span id="b2s-connection-owner-name"></span></div>
301
- </div>
302
- </div>
303
- </div>
304
- <?php } else { ?>
305
- <div class="alert alert-info">
306
- <?php esc_html_e('Upgrade to Blog2Social Business to easily bundle your connections into network collection and assign your social media connections to other blog users. You can update and delete the connections as well as select forums or boards. Other users will be able to use the social media connection you assigned to them to post and schedule to your social media profile, page or group.', 'blog2social'); ?>
307
- <a target="_blank" href="<?php echo esc_url(B2S_Tools::getSupportLink('affiliate')); ?>" class="b2s-bold b2s-text-underline"><?php esc_html_e('Upgrade to Blog2Social Business', 'blog2social'); ?></a>
308
- </div>
309
- <div class="b2s-btn-disabled">
310
- <div class="b2s-move-connection">
311
- <div class="row">
312
- <div class="col-md-12 b2s-text-bold">
313
- <span><?php esc_html_e('Move the connection to another network collection.', 'blog2social'); ?></span>
314
- </div>
315
- </div>
316
- <div class="row b2s-margin-top-8" id="b2s-move-connection-input">
317
- <div class="col-md-8">
318
- <select class="form-control b2s-select"><option><?php esc_html_e('My Profile', 'blog2social'); ?></option></select>
319
- </div>
320
- <div class="col-md-4"><button class="btn btn-primary btn-sm"><?php esc_html_e('move', 'blog2social'); ?></button></div>
321
- </div>
322
- </div>
323
- <div class="row b2s-connection-assign">
324
- <br>
325
- <hr>
326
- <div class="col-md-12 b2s-margin-bottom-8 b2s-text-bold">
327
- <span><?php esc_html_e('Assign the connection to other blog users', 'blog2social'); ?></span>
328
- </div>
329
- <div class="col-md-8"><select class="form-control b2s-select"><option><?php echo esc_html($displayName); ?></option></select></div>
330
- <div class="col-md-4"><button class="btn btn-primary btn-sm"><?php esc_html_e('assign', 'blog2social'); ?></button></div>
331
- </div>
332
- </div>
333
- <?php } ?>
334
- </div>
335
- <div class="modal-footer b2s-manage-auth-team-modal-footer"></div>
336
- </div>
337
- </div>
338
- </div>
339
-
340
  <div class="modal fade" id="b2s-edit-template" tabindex="-1" role="dialog" aria-labelledby="b2s-edit-template" aria-hidden="true" data-backdrop="false">
341
  <div class="modal-dialog" role="document">
342
  <div class="modal-content">
@@ -346,7 +212,7 @@ $networkData = $networkItem->getData();
346
  <img class="pull-left hidden-xs b2s-img-network b2s-edit-template-network-img" id="b2s-edit-template-network-img-2" alt="Twitter" src="<?php echo plugins_url('/assets/images/portale/2_flat.png', B2S_PLUGIN_FILE); ?>" style="display: none;">
347
  <img class="pull-left hidden-xs b2s-img-network b2s-edit-template-network-img" id="b2s-edit-template-network-img-3" alt="LinkedIn" src="<?php echo plugins_url('/assets/images/portale/3_flat.png', B2S_PLUGIN_FILE); ?>" style="display: none;">
348
  <img class="pull-left hidden-xs b2s-img-network b2s-edit-template-network-img" id="b2s-edit-template-network-img-12" alt="Instagram" src="<?php echo plugins_url('/assets/images/portale/12_flat.png', B2S_PLUGIN_FILE); ?>" style="display: none;">
349
- <h4 class="modal-title b2s-edit-template-title"><?php esc_html_e('Edit Post Template', 'blog2social') ?></h4> <?php echo ((B2S_PLUGIN_USER_VERSION == 0) ? '<span class="label label-success">'.esc_html__('SMART', 'blog2social').'</span>' : '') ?>
350
  </div>
351
  <div class="row b2s-loading-area width-100">
352
  <br>
@@ -370,10 +236,10 @@ $networkData = $networkItem->getData();
370
  <div class="modal-content">
371
  <div class="modal-header">
372
  <button type="button" class="b2s-modal-close close" data-modal-name="#b2sInfoNoCache" aria-label="Close"><span aria-hidden="true">&times;</span></button>
373
- <h4 class="modal-title"><?php esc_html_e('Instant Caching for Facebook Link Posts', 'blog2social') ?></h4>
374
  </div>
375
  <div class="modal-body">
376
- <?php esc_html_e('Please enable this feature, if you are using varnish caching (HTTP accelerator to relieve your website). Blog2Social will add a "no-cache=1" parameter to the post URL of your Facebook link posts to ensure that Facebook always pulls the current meta data of your blog post.', 'blog2social') ?>
377
  </div>
378
  </div>
379
  </div>
@@ -492,8 +358,8 @@ $networkData = $networkItem->getData();
492
  <select class="form-control" id="b2s-auth-network-6-location">
493
  <?php
494
  $pinterestCountryList = B2S_Tools::getCountryListByNetwork(6);
495
- foreach ($pinterestCountryList as $key => $name){
496
- echo '<option value="'.$key.'"'.(($key == '') ? ' selected="selected"' : '').'>'.$name['name'].'</option>';
497
  }
498
  ?>
499
  </select>
@@ -519,6 +385,163 @@ $networkData = $networkItem->getData();
519
  </div>
520
  </div>
521
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
522
  <input type="hidden" id="b2sUserLang" value="<?php echo substr(B2S_LANGUAGE, 0, 2); ?>">
523
  <input type="hidden" id="b2sServerUrl" value="<?php echo B2S_PLUGIN_SERVER_URL; ?>">
524
  <input type="hidden" id="b2sUserVersion" value="<?php echo B2S_PLUGIN_USER_VERSION; ?>">
203
  </div>
204
  </div>
205
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
206
  <div class="modal fade" id="b2s-edit-template" tabindex="-1" role="dialog" aria-labelledby="b2s-edit-template" aria-hidden="true" data-backdrop="false">
207
  <div class="modal-dialog" role="document">
208
  <div class="modal-content">
212
  <img class="pull-left hidden-xs b2s-img-network b2s-edit-template-network-img" id="b2s-edit-template-network-img-2" alt="Twitter" src="<?php echo plugins_url('/assets/images/portale/2_flat.png', B2S_PLUGIN_FILE); ?>" style="display: none;">
213
  <img class="pull-left hidden-xs b2s-img-network b2s-edit-template-network-img" id="b2s-edit-template-network-img-3" alt="LinkedIn" src="<?php echo plugins_url('/assets/images/portale/3_flat.png', B2S_PLUGIN_FILE); ?>" style="display: none;">
214
  <img class="pull-left hidden-xs b2s-img-network b2s-edit-template-network-img" id="b2s-edit-template-network-img-12" alt="Instagram" src="<?php echo plugins_url('/assets/images/portale/12_flat.png', B2S_PLUGIN_FILE); ?>" style="display: none;">
215
+ <h4 class="modal-title b2s-edit-template-title"><?php esc_html_e('Edit Post Template', 'blog2social') ?></h4> <?php echo ((B2S_PLUGIN_USER_VERSION == 0) ? '<span class="label label-success">' . esc_html__('SMART', 'blog2social') . '</span>' : '') ?>
216
  </div>
217
  <div class="row b2s-loading-area width-100">
218
  <br>
236
  <div class="modal-content">
237
  <div class="modal-header">
238
  <button type="button" class="b2s-modal-close close" data-modal-name="#b2sInfoNoCache" aria-label="Close"><span aria-hidden="true">&times;</span></button>
239
+ <h4 class="modal-title"><?php esc_html_e('Instant Caching for Link Posts', 'blog2social') ?></h4>
240
  </div>
241
  <div class="modal-body">
242
+ <?php esc_html_e('Please enable this feature, if you are using varnish caching (HTTP accelerator to relieve your website). Blog2Social will add a "no-cache=1" parameter to the post URL of your link posts to ensure that the network always pulls the current meta data of your blog post.', 'blog2social') ?>
243
  </div>
244
  </div>
245
  </div>
358
  <select class="form-control" id="b2s-auth-network-6-location">
359
  <?php
360
  $pinterestCountryList = B2S_Tools::getCountryListByNetwork(6);
361
+ foreach ($pinterestCountryList as $key => $name) {
362
+ echo '<option value="' . $key . '"' . (($key == '') ? ' selected="selected"' : '') . '>' . $name['name'] . '</option>';
363
  }
364
  ?>
365
  </select>
385
  </div>
386
  </div>
387
 
388
+ <div class="modal fade" id="b2s-edit-network-auth-settings" tabindex="-1" role="dialog" aria-labelledby="b2s-edit-network-auth-settings" aria-hidden="true" data-backdrop="false">
389
+ <div class="modal-dialog" role="document">
390
+ <div class="modal-content">
391
+ <div class="modal-header">
392
+ <button type="button" class="b2s-modal-close close" data-modal-name="#b2s-edit-network-auth-settings" aria-label="Close"><span aria-hidden="true">&times;</span></button>
393
+ <h4 class="modal-title b2s-edit-network-auth-settings-title"><?php esc_html_e('Advanced Network Settings', 'blog2social') ?></h4>
394
+ </div>
395
+ <div class="row b2s-loading-area width-100">
396
+ <br>
397
+ <div class="b2s-loader-impulse b2s-loader-impulse-md"></div>
398
+ <div class="clearfix"></div>
399
+ <?php esc_html_e('Loading...', 'blog2social') ?>
400
+ </div>
401
+ <div class="modal-body">
402
+ <div class="b2s-network-auth-settings-content">
403
+ <?php if (B2S_PLUGIN_USER_VERSION >= 3) { ?>
404
+ <div class="row">
405
+ <div class="col-md-12 b2s-text-bold"><h4><?php esc_html_e('URL Parameters', 'blog2social') ?></h4></div>
406
+ <div class="col-md-12"><div class="alert alert-danger b2s-url-parameter-error" data-error-reason="save" style="display:none;"><span class="glyphicon glyphicon-remove glyphicon-danger"></span> <?php esc_html_e('The parameters could not be saved. Please try again.', 'blog2social') ?></div></div>
407
+ <div class="col-md-12"><div class="alert alert-danger b2s-url-parameter-error" data-error-reason="default" style="display:none;"><span class="glyphicon glyphicon-remove glyphicon-danger"></span> <?php esc_html_e('An error occured. Please contact our support.', 'blog2social') ?></div></div>
408
+ <div class="col-md-12 del-padding-left b2s-url-parameter-content"></div>
409
+ </div>
410
+ <hr>
411
+ <div class="b2s-move-connection">
412
+ <div class="row">
413
+ <div class="col-md-12 b2s-text-bold">
414
+ <h4><?php esc_html_e('Network collection', 'blog2social'); ?></h4>
415
+ </div>
416
+ <div class="col-md-12 b2s-text-bold">
417
+ <span><?php esc_html_e('Move the connection to another network collection.', 'blog2social'); ?></span>
418
+ </div>
419
+ </div>
420
+ <div class="row b2s-move-connection-error" style="display: none;">
421
+ <div class="col-md-12">
422
+ <div class="alert alert-danger"><span class="glyphicon glyphicon-remove glyphicon-danger"></span> <?php esc_html_e("An error occured. Please contact our support.", 'blog2social'); ?></div>
423
+ </div>
424
+ </div>
425
+ <div class="row b2s-margin-top-8" id="b2s-move-connection-input">
426
+ <div class="col-md-8">
427
+ <select class="form-control b2s-select" id="b2s-move-connection-select"></select>
428
+ </div>
429
+ <div class="col-md-4"><button class="btn btn-primary btn-sm" id="b2s-move-user-auth-to-profile"><?php esc_html_e('move', 'blog2social'); ?></button></div>
430
+ <input type="hidden" value="" id="b2sUserAuthId">
431
+ <input type="hidden" value="" id="b2sOldMandantId">
432
+ <input type="hidden" value="" id="b2sNetworkId">
433
+ <input type="hidden" value="" id="b2sNetworkType">
434
+ </div>
435
+ <div class="row b2s-margin-top-8" id="b2s-move-connection-error" style="display: none;">
436
+ <div class="col-md-12">
437
+ <div class="alert alert-warning"><span class="glyphicon glyphicon-warning-sign glyphicon-warning"></span> <?php esc_html_e('You need at least one network collection', 'blog2social'); ?></div>
438
+ </div>
439
+ </div>
440
+ </div>
441
+ <div class="b2s-assignment-area" style="display:none;">
442
+ <br>
443
+ <hr>
444
+ <div class="row">
445
+ <div class="col-md-12 b2s-text-bold">
446
+ <h4><?php esc_html_e('Team Management', 'blog2social'); ?></h4>
447
+ </div>
448
+ <div class="col-md-12 b2s-margin-bottom-8 b2s-text-bold">
449
+ <span><?php esc_html_e('Assign the connection to other blog users', 'blog2social'); ?></span>
450
+ </div>
451
+ </div>
452
+ <div class="row b2s-connection-assign" style="display: none;">
453
+ <div class="col-md-12 b2s-assign-error" data-error-reason="default" style="display: none;">
454
+ <div class="alert alert-danger"><span class="glyphicon glyphicon-remove glyphicon-danger"></span> <?php esc_html_e("An error occured. Please contact our support.", 'blog2social'); ?></div>
455
+ </div>
456
+ <div class="col-md-12 b2s-assign-error" data-error-reason="internal_server_error" style="display: none;">
457
+ <div class="alert alert-danger"><span class="glyphicon glyphicon-remove glyphicon-danger"></span> <?php esc_html_e("An error occured. Please contact our support.", 'blog2social'); ?></div>
458
+ </div>
459
+ <div class="col-md-12 b2s-assign-error" data-error-reason="invalid_data" style="display: none;">
460
+ <div class="alert alert-danger"><span class="glyphicon glyphicon-remove glyphicon-danger"></span> <?php esc_html_e("An error occured. Please contact our support.", 'blog2social'); ?></div>
461
+ </div>
462
+ <div class="col-md-12 b2s-assign-error" data-error-reason="token_no_business" style="display: none;">
463
+ <div class="alert alert-danger"><span class="glyphicon glyphicon-remove glyphicon-danger"></span> <?php esc_html_e("You don't have a Business License", 'blog2social'); ?></div>
464
+ </div>
465
+ <div class="col-md-12 b2s-assign-error" data-error-reason="assign_token_no_business" style="display: none;">
466
+ <div class="alert alert-danger"><span class="glyphicon glyphicon-remove glyphicon-danger"></span> <?php esc_html_e("This user don't have a Business License, or it is not the same", 'blog2social'); ?></div>
467
+ </div>
468
+ <div class="col-md-12 b2s-assign-error" data-error-reason="network_auth_exists" style="display: none;">
469
+ <div class="alert alert-danger"><span class="glyphicon glyphicon-remove glyphicon-danger"></span> <?php esc_html_e("The connection has already been assigned to this user.", 'blog2social'); ?></div>
470
+ </div>
471
+ <div class="col-md-12 b2s-assign-error" data-error-reason="network_auth_not_exists" style="display: none;">
472
+ <div class="alert alert-danger"><span class="glyphicon glyphicon-remove glyphicon-danger"></span> <?php esc_html_e("The connection dose not exist", 'blog2social'); ?></div>
473
+ </div>
474
+ <div class="col-md-12 b2s-assign-error" data-error-reason="network_auth_assign_exists" style="display: none;">
475
+ <div class="alert alert-danger"><span class="glyphicon glyphicon-remove glyphicon-danger"></span> <?php esc_html_e("This connection has already been assigned to this user.", 'blog2social'); ?></div>
476
+ </div>
477
+ <div class="col-md-12" id="b2s-assign-info">
478
+ <div class="alert alert-warning"><span class="glyphicon glyphicon-warning-sign glyphicon-warning"></span> <?php esc_html_e('You can only share the connection with blog users who use the same license as you.', 'blog2social'); ?></div>
479
+ </div>
480
+ <div class="col-md-12" id="b2s-no-assign-user" style="display: none;">
481
+ <div class="alert alert-warning"><span class="glyphicon glyphicon-warning-sign glyphicon-warning"></span> <?php esc_html_e('There are no other users to whom the connection can be assigned.', 'blog2social'); ?></div>
482
+ </div>
483
+ <div class="col-md-8" id="b2s-connection-assign-select"></div>
484
+ <div class="col-md-4"><button class="btn btn-primary btn-sm" id="b2s-assign-network-user-auth"><?php esc_html_e('assign', 'blog2social'); ?></button></div>
485
+ <div class="col-md-12 b2s-network-assign-option"><input type="checkbox" id="b2s-network-assign-option-best-times"><label for="b2s-network-assign-option-best-times"> <?php esc_html_e('Apply best time settings', 'blog2social') ?></label></div>
486
+ <div class="col-md-12 b2s-network-assign-option"><input type="checkbox" id="b2s-network-assign-option-posting-template"><label for="b2s-network-assign-option-posting-template"> <?php esc_html_e('Apply post template settings', 'blog2social') ?></label></div>
487
+ <div class="col-md-12 b2s-network-assign-option"><input type="checkbox" id="b2s-network-assign-option-url-parameter"><label for="b2s-network-assign-option-url-parameter"> <?php esc_html_e('Apply URL Parameters', 'blog2social') ?></label></div>
488
+ <div class="col-md-12 b2s-network-assign-list"></div>
489
+ </div>
490
+ <div class="row b2s-connection-owner" style="display: none;">
491
+ <div class="col-sm-12">
492
+ <div class="alert alert-info"><span class="glyphicon glyphicon-warning-sign glyphicon-info"></span> <?php esc_html_e('This connection was assigned by') ?> </span><span id="b2s-connection-owner-name"></span></div>
493
+ </div>
494
+ </div>
495
+ </div>
496
+ <?php } else { ?>
497
+ <div class="alert alert-info">
498
+ <?php esc_html_e('Upgrade to Blog2Social Business to easily bundle your connections into network collection and assign your social media connections to other blog users. You can update and delete the connections as well as select forums or boards. Other users will be able to use the social media connection you assigned to them to post and schedule to your social media profile, page or group.', 'blog2social'); ?>
499
+ <a target="_blank" href="<?php echo esc_url(B2S_Tools::getSupportLink('affiliate')); ?>" class="b2s-bold b2s-text-underline"><?php esc_html_e('Upgrade to Blog2Social Business', 'blog2social'); ?></a>
500
+ </div>
501
+ <div class="row b2s-btn-disabled">
502
+ <div class="col-md-12 b2s-text-bold"><h4><?php esc_html_e('URL Parameters', 'blog2social') ?></h4></div>
503
+ <div class="col-md-12 b2s-text-bold"><span><?php echo sprintf(__('Define parameters that will be added to link posts on this network e.g. to create tracking links with UTM paramters. <a target="_blank" href="%s">More information</a>', 'blog2social'), esc_url(B2S_Tools::getSupportLink('url_parameter'))) ?></span></div>
504
+ <div class="col-md-12 del-padding-left b2s-url-parameter-content"></div>
505
+ </div>
506
+ <hr>
507
+ <div class="b2s-btn-disabled">
508
+ <div class="b2s-move-connection">
509
+ <div class="row">
510
+ <div class="col-md-12 b2s-text-bold">
511
+ <h4><?php esc_html_e('Network collection', 'blog2social'); ?></h4>
512
+ </div>
513
+ <div class="col-md-12 b2s-text-bold">
514
+ <span><?php esc_html_e('Move the connection to another network collection.', 'blog2social'); ?></span>
515
+ </div>
516
+ </div>
517
+ <div class="row b2s-margin-top-8" id="b2s-move-connection-input">
518
+ <div class="col-md-8">
519
+ <select class="form-control b2s-select"><option><?php esc_html_e('My Profile', 'blog2social'); ?></option></select>
520
+ </div>
521
+ <div class="col-md-4"><button class="btn btn-primary btn-sm"><?php esc_html_e('move', 'blog2social'); ?></button></div>
522
+ </div>
523
+ </div>
524
+ <div class="row b2s-connection-assign">
525
+ <br>
526
+ <hr>
527
+ <div class="col-md-12 b2s-text-bold">
528
+ <h4><?php esc_html_e('Team Management', 'blog2social'); ?></h4>
529
+ </div>
530
+ <div class="col-md-12 b2s-margin-bottom-8 b2s-text-bold">
531
+ <span><?php esc_html_e('Assign the connection to other blog users', 'blog2social'); ?></span>
532
+ </div>
533
+ <div class="col-md-8"><select class="form-control b2s-select"><option><?php echo esc_html($displayName); ?></option></select></div>
534
+ <div class="col-md-4"><button class="btn btn-primary btn-sm"><?php esc_html_e('assign', 'blog2social'); ?></button></div>
535
+ </div>
536
+ </div>
537
+ <?php } ?>
538
+ </div>
539
+ </div>
540
+ <div class="modal-footer b2s-edit-network-auth-settings-footer"></div>
541
+ </div>
542
+ </div>
543
+ </div>
544
+
545
  <input type="hidden" id="b2sUserLang" value="<?php echo substr(B2S_LANGUAGE, 0, 2); ?>">
546
  <input type="hidden" id="b2sServerUrl" value="<?php echo B2S_PLUGIN_SERVER_URL; ?>">
547
  <input type="hidden" id="b2sUserVersion" value="<?php echo B2S_PLUGIN_USER_VERSION; ?>">
views/b2s/post.approve.php CHANGED
@@ -54,7 +54,14 @@ $b2sPostBlogId = isset($_GET['b2sPostBlogId']) ? (int) $_GET['b2sPostBlogId'] :
54
  <div class="col-md-12">
55
  <ul class="list-group b2s-sort-result-item-area"></ul>
56
  <br>
57
- <nav class="b2s-sort-pagination-area text-center"></nav>
 
 
 
 
 
 
 
58
  <?php require_once (B2S_PLUGIN_DIR . 'views/b2s/html/footer.php'); ?>
59
  </div>
60
  </div>
54
  <div class="col-md-12">
55
  <ul class="list-group b2s-sort-result-item-area"></ul>
56
  <br>
57
+ <nav class="b2s-sort-pagination-area text-center">
58
+ <div class="btn-group btn-group-sm pull-right b2s-post-per-page-area hidden-xs" role="group">
59
+ <button type="button" class="btn btn-primary b2s-post-per-page" data-post-per-page="25">25</button>
60
+ <button type="button" class="btn btn-default b2s-post-per-page" data-post-per-page="50">50</button>
61
+ <button type="button" class="btn btn-default b2s-post-per-page" data-post-per-page="100">100</button>
62
+ </div>
63
+ <div class="b2s-sort-pagination-content"></div>
64
+ </nav>
65
  <?php require_once (B2S_PLUGIN_DIR . 'views/b2s/html/footer.php'); ?>
66
  </div>
67
  </div>
views/b2s/post.draft.php CHANGED
@@ -45,7 +45,14 @@ require_once (B2S_PLUGIN_DIR . 'includes/B2S/Post/Filter.php');
45
  <div class="col-md-12">
46
  <ul class="list-group b2s-sort-result-item-area"></ul>
47
  <br>
48
- <nav class="b2s-sort-pagination-area text-center"></nav>
 
 
 
 
 
 
 
49
  <?php require_once (B2S_PLUGIN_DIR . 'views/b2s/html/footer.php'); ?>
50
  </div>
51
  </div>
45
  <div class="col-md-12">
46
  <ul class="list-group b2s-sort-result-item-area"></ul>
47
  <br>
48
+ <nav class="b2s-sort-pagination-area text-center">
49
+ <div class="btn-group btn-group-sm pull-right b2s-post-per-page-area hidden-xs" role="group">
50
+ <button type="button" class="btn btn-primary b2s-post-per-page" data-post-per-page="25">25</button>
51
+ <button type="button" class="btn btn-default b2s-post-per-page" data-post-per-page="50">50</button>
52
+ <button type="button" class="btn btn-default b2s-post-per-page" data-post-per-page="100">100</button>
53
+ </div>
54
+ <div class="b2s-sort-pagination-content"></div>
55
+ </nav>
56
  <?php require_once (B2S_PLUGIN_DIR . 'views/b2s/html/footer.php'); ?>
57
  </div>
58
  </div>
views/b2s/post.favorites.php CHANGED
@@ -44,7 +44,14 @@ require_once (B2S_PLUGIN_DIR . 'includes/Util.php');
44
  <div class="col-md-12">
45
  <ul class="list-group b2s-sort-result-item-area"></ul>
46
  <br>
47
- <nav class="b2s-sort-pagination-area text-center"></nav>
 
 
 
 
 
 
 
48
  <?php require_once (B2S_PLUGIN_DIR . 'views/b2s/html/footer.php'); ?>
49
  </div>
50
  </div>
44
  <div class="col-md-12">
45
  <ul class="list-group b2s-sort-result-item-area"></ul>
46
  <br>
47
+ <nav class="b2s-sort-pagination-area text-center">
48
+ <div class="btn-group btn-group-sm pull-right b2s-post-per-page-area hidden-xs" role="group">
49
+ <button type="button" class="btn btn-primary b2s-post-per-page" data-post-per-page="25">25</button>
50
+ <button type="button" class="btn btn-default b2s-post-per-page" data-post-per-page="50">50</button>
51
+ <button type="button" class="btn btn-default b2s-post-per-page" data-post-per-page="100">100</button>
52
+ </div>
53
+ <div class="b2s-sort-pagination-content"></div>
54
+ </nav>
55
  <?php require_once (B2S_PLUGIN_DIR . 'views/b2s/html/footer.php'); ?>
56
  </div>
57
  </div>
views/b2s/post.notice.php CHANGED
@@ -48,7 +48,14 @@ $b2sShowByDate = isset($_GET['b2sShowByDate']) ? (preg_match("#^[0-9\-.\]]+$#",
48
  <div class="col-md-12">
49
  <ul class="list-group b2s-sort-result-item-area"></ul>
50
  <br>
51
- <nav class="b2s-sort-pagination-area text-center"></nav>
 
 
 
 
 
 
 
52
  <?php require_once (B2S_PLUGIN_DIR . 'views/b2s/html/footer.php'); ?>
53
  </div>
54
  </div>
48
  <div class="col-md-12">
49
  <ul class="list-group b2s-sort-result-item-area"></ul>
50
  <br>
51
+ <nav class="b2s-sort-pagination-area text-center">
52
+ <div class="btn-group btn-group-sm pull-right b2s-post-per-page-area hidden-xs" role="group">
53
+ <button type="button" class="btn btn-primary b2s-post-per-page" data-post-per-page="25">25</button>
54
+ <button type="button" class="btn btn-default b2s-post-per-page" data-post-per-page="50">50</button>
55
+ <button type="button" class="btn btn-default b2s-post-per-page" data-post-per-page="100">100</button>
56
+ </div>
57
+ <div class="b2s-sort-pagination-content"></div>
58
+ </nav>
59
  <?php require_once (B2S_PLUGIN_DIR . 'views/b2s/html/footer.php'); ?>
60
  </div>
61
  </div>
views/b2s/post.php CHANGED
@@ -44,7 +44,14 @@ require_once (B2S_PLUGIN_DIR . 'includes/Util.php');
44
  <div class="col-md-12">
45
  <ul class="list-group b2s-sort-result-item-area"></ul>
46
  <br>
47
- <nav class="b2s-sort-pagination-area text-center"></nav>
 
 
 
 
 
 
 
48
  <?php require_once (B2S_PLUGIN_DIR . 'views/b2s/html/footer.php'); ?>
49
  </div>
50
  </div>
44
  <div class="col-md-12">
45
  <ul class="list-group b2s-sort-result-item-area"></ul>
46
  <br>
47
+ <nav class="b2s-sort-pagination-area text-center">
48
+ <div class="btn-group btn-group-sm pull-right b2s-post-per-page-area hidden-xs" role="group">
49
+ <button type="button" class="btn btn-primary b2s-post-per-page" data-post-per-page="25">25</button>
50
+ <button type="button" class="btn btn-default b2s-post-per-page" data-post-per-page="50">50</button>
51
+ <button type="button" class="btn btn-default b2s-post-per-page" data-post-per-page="100">100</button>
52
+ </div>
53
+ <div class="b2s-sort-pagination-content"></div>
54
+ </nav>
55
  <?php require_once (B2S_PLUGIN_DIR . 'views/b2s/html/footer.php'); ?>
56
  </div>
57
  </div>
views/b2s/post.publish.php CHANGED
@@ -48,7 +48,14 @@ $b2sShowByDate = isset($_GET['b2sShowByDate']) ? (preg_match("#^[0-9\-.\]]+$#",
48
  <div class="col-md-12">
49
  <ul class="list-group b2s-sort-result-item-area"></ul>
50
  <br>
51
- <nav class="b2s-sort-pagination-area text-center"></nav>
 
 
 
 
 
 
 
52
  <?php require_once (B2S_PLUGIN_DIR . 'views/b2s/html/footer.php'); ?>
53
  </div>
54
  </div>
48
  <div class="col-md-12">
49
  <ul class="list-group b2s-sort-result-item-area"></ul>
50
  <br>
51
+ <nav class="b2s-sort-pagination-area text-center">
52
+ <div class="btn-group btn-group-sm pull-right b2s-post-per-page-area hidden-xs" role="group">
53
+ <button type="button" class="btn btn-primary b2s-post-per-page" data-post-per-page="25">25</button>
54
+ <button type="button" class="btn btn-default b2s-post-per-page" data-post-per-page="50">50</button>
55
+ <button type="button" class="btn btn-default b2s-post-per-page" data-post-per-page="100">100</button>
56
+ </div>
57
+ <div class="b2s-sort-pagination-content"></div>
58
+ </nav>
59
  <?php require_once (B2S_PLUGIN_DIR . 'views/b2s/html/footer.php'); ?>
60
  </div>
61
  </div>
views/b2s/post.sched.php CHANGED
@@ -62,7 +62,14 @@ $metaSettings = get_option('B2S_PLUGIN_GENERAL_OPTIONS');
62
  <div class="col-md-12">
63
  <ul class="list-group b2s-sort-result-item-area"></ul>
64
  <br>
65
- <nav class="b2s-sort-pagination-area text-center"></nav>
 
 
 
 
 
 
 
66
  <?php require_once (B2S_PLUGIN_DIR . 'views/b2s/html/footer.php'); ?>
67
  </div>
68
  </div>
62
  <div class="col-md-12">
63
  <ul class="list-group b2s-sort-result-item-area"></ul>
64
  <br>
65
+ <nav class="b2s-sort-pagination-area text-center">
66
+ <div class="btn-group btn-group-sm pull-right b2s-post-per-page-area hidden-xs" role="group">
67
+ <button type="button" class="btn btn-primary b2s-post-per-page" data-post-per-page="25">25</button>
68
+ <button type="button" class="btn btn-default b2s-post-per-page" data-post-per-page="50">50</button>
69
+ <button type="button" class="btn btn-default b2s-post-per-page" data-post-per-page="100">100</button>
70
+ </div>
71
+ <div class="b2s-sort-pagination-content"></div>
72
+ </nav>
73
  <?php require_once (B2S_PLUGIN_DIR . 'views/b2s/html/footer.php'); ?>
74
  </div>
75
  </div>
views/b2s/settings.php CHANGED
@@ -149,6 +149,20 @@ $settingsItem = new B2S_Settings_Item();
149
  </div>
150
  </div>
151
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
152
 
153
 
154
 
149
  </div>
150
  </div>
151
 
152
+ <div class="modal fade" id="b2sTwitterInfoModal" tabindex="-1" role="dialog" aria-labelledby="b2sTwitterInfoModal" aria-hidden="true" data-backdrop="false">
153
+ <div class="modal-dialog">
154
+ <div class="modal-content">
155
+ <div class="modal-header">
156
+ <button type="button" class="b2s-modal-close close" data-modal-name="#b2sTwitterInfoModal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
157
+ <h4 class="modal-title"><?php esc_html_e('Select Twitter profile:', 'blog2social') ?></h4>
158
+ </div>
159
+ <div class="modal-body">
160
+ <?php esc_html_e('To comply with the Twitter TOS and to avoid duplicate posts, autoposts will be sent to your primary Twitter profile.', 'blog2social') ?> <a target="_blank" href="<?php echo B2S_Tools::getSupportLink('network_tos_faq_032018') ?>"><?php esc_html_e('More information', 'blog2social') ?></a>
161
+ </div>
162
+ </div>
163
+ </div>
164
+ </div>
165
+
166
 
167
 
168
 
views/b2s/ship.php CHANGED
@@ -27,7 +27,7 @@ $isDraft = false;
27
  if (isset($_GET['type']) && $_GET['type'] == 'draft' && isset($_GET['postId']) && (int) $_GET['postId'] > 0) {
28
  global $wpdb;
29
  if ($wpdb->get_var("SHOW TABLES LIKE '{$wpdb->prefix}b2s_posts_drafts'") == $wpdb->prefix . 'b2s_posts_drafts') {
30
- $sql = $wpdb->prepare("SELECT data FROM `{$wpdb->prefix}b2s_posts_drafts` WHERE `blog_user_id` = %d AND `post_id` = %d", (int) B2S_PLUGIN_BLOG_USER_ID, (int) $_GET['postId']);
31
  $sqlResult = $wpdb->get_row($sql);
32
  $draftData = (isset($sqlResult->data) && !empty($sqlResult->data)) ? unserialize($sqlResult->data) : '';
33
  if (!empty($draftData)) {
27
  if (isset($_GET['type']) && $_GET['type'] == 'draft' && isset($_GET['postId']) && (int) $_GET['postId'] > 0) {
28
  global $wpdb;
29
  if ($wpdb->get_var("SHOW TABLES LIKE '{$wpdb->prefix}b2s_posts_drafts'") == $wpdb->prefix . 'b2s_posts_drafts') {
30
+ $sql = $wpdb->prepare("SELECT data FROM `{$wpdb->prefix}b2s_posts_drafts` WHERE `blog_user_id` = %d AND `post_id` = %d AND `save_origin` = %d", (int) B2S_PLUGIN_BLOG_USER_ID, (int) $_GET['postId'], 0);
31
  $sqlResult = $wpdb->get_row($sql);
32
  $draftData = (isset($sqlResult->data) && !empty($sqlResult->data)) ? unserialize($sqlResult->data) : '';
33
  if (!empty($draftData)) {