WP User Frontend – Membership, Profile, Registration & Post Submission Plugin for WordPress - Version 2.9.0

Version Description

Download this release

Release Info

Developer rabbii
Plugin Icon 128x128 WP User Frontend – Membership, Profile, Registration & Post Submission Plugin for WordPress
Version 2.9.0
Comparing to
See all releases

Code changes from version 2.8.10 to 2.9.0

Files changed (86) hide show
  1. admin/class-admin-subscription.php +2 -0
  2. admin/form.php +0 -0
  3. admin/html/whats-new.php +21 -0
  4. admin/installer.php +0 -0
  5. admin/posting.php +8 -1
  6. admin/settings-options.php +7 -0
  7. admin/template-post.php +0 -0
  8. admin/template.php +0 -0
  9. admin/tools.php +0 -0
  10. assets/css/admin.css +0 -0
  11. assets/css/chosen/chosen-sprite.png +0 -0
  12. assets/css/chosen/chosen-sprite@2x.png +0 -0
  13. assets/css/chosen/chosen.css +0 -0
  14. assets/css/frontend-forms.css +72 -0
  15. assets/css/images/ui-bg_diagonals-small_75_cccccc_40x40.png +0 -0
  16. assets/css/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  17. assets/css/images/ui-bg_flat_0_ffffff_40x100.png +0 -0
  18. assets/css/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  19. assets/css/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  20. assets/css/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  21. assets/css/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  22. assets/css/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  23. assets/css/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  24. assets/css/images/ui-icons_222222_256x240.png +0 -0
  25. assets/css/images/ui-icons_2e83ff_256x240.png +0 -0
  26. assets/css/images/ui-icons_454545_256x240.png +0 -0
  27. assets/css/images/ui-icons_888888_256x240.png +0 -0
  28. assets/css/images/ui-icons_cd0a0a_256x240.png +0 -0
  29. assets/css/jquery-ui-1.9.1.custom.css +0 -0
  30. assets/css/jquery.smallipop.css +0 -0
  31. assets/css/wpuf.css +0 -0
  32. assets/images/add.png +0 -0
  33. assets/images/arrow-move.png +0 -0
  34. assets/images/arrows.png +0 -0
  35. assets/images/cross.png +0 -0
  36. assets/images/del.png +0 -0
  37. assets/images/delete.png +0 -0
  38. assets/images/edit.png +0 -0
  39. assets/images/help.png +0 -0
  40. assets/images/no-image.png +0 -0
  41. assets/images/paypal.png +0 -0
  42. assets/images/remove.png +0 -0
  43. assets/images/tick.png +0 -0
  44. assets/images/wpspin_light.gif +0 -0
  45. assets/js-templates/form-components.php +14 -10
  46. assets/js/chosen.jquery.js +0 -0
  47. assets/js/conditional.js +0 -0
  48. assets/js/frontend-form.js +9 -0
  49. assets/js/frontend-form.min.js +1 -1
  50. assets/js/jquery-ui-timepicker-addon.js +0 -0
  51. assets/js/jquery.smallipop-0.4.0.min.js +0 -0
  52. assets/js/jquery.validate.min.js +0 -0
  53. assets/js/subscriptions.js +0 -0
  54. assets/js/upload.js +0 -0
  55. assets/js/upload.min.js +0 -0
  56. assets/js/wpuf-form-builder-components.js +19 -1
  57. assets/less/frontend-forms.less +100 -0
  58. assets/vendor/vue/vue.js +0 -0
  59. assets/vendor/vue/vue.min.js +0 -0
  60. assets/vendor/vuex/vuex.js +0 -0
  61. assets/vendor/vuex/vuex.min.js +0 -0
  62. class/frontend-account.php +118 -0
  63. class/frontend-dashboard.php +3 -2
  64. class/frontend-form-post.php +9 -2
  65. class/payment.php +0 -0
  66. class/render-form.php +0 -0
  67. class/subscription.php +0 -0
  68. class/upload.php +0 -0
  69. includes/free/loader.php +3 -1
  70. includes/free/post-form-templates/the_events_calendar.php +211 -0
  71. languages/readme.txt +0 -0
  72. languages/wp-user-frontend.pot +435 -266
  73. lib/class.settings-api.php +0 -0
  74. lib/gateway/bank.php +0 -0
  75. lib/recaptchalib.php +0 -0
  76. readme.txt +122 -54
  77. templates/dashboard.php +28 -22
  78. templates/dashboard/posts.php +32 -22
  79. templates/logged-in.php +0 -0
  80. templates/login-form.php +0 -0
  81. templates/lost-pass-form.php +0 -0
  82. templates/registration-form.php +6 -2
  83. templates/reset-pass-form.php +0 -0
  84. templates/submit-post.php +13 -0
  85. wpuf-functions.php +11 -6
  86. wpuf.php +2 -2
admin/class-admin-subscription.php CHANGED
@@ -763,6 +763,8 @@ class WPUF_Admin_Subscription {
763
  <option value="-1"><?php _e( '&mdash; Select &mdash;', 'wp-user-frontend' ); ?></option>
764
  <?php $this->packdropdown_without_recurring( $packs, $pack_id );//WPUF_Subscription::init()->packdropdown( $packs, $selected = '' ); ?>
765
  </select>
 
 
766
  </td>
767
  </tr>
768
  </table>
763
  <option value="-1"><?php _e( '&mdash; Select &mdash;', 'wp-user-frontend' ); ?></option>
764
  <?php $this->packdropdown_without_recurring( $packs, $pack_id );//WPUF_Subscription::init()->packdropdown( $packs, $selected = '' ); ?>
765
  </select>
766
+ <br>
767
+ <span class="description"><?php _e( 'Only non-recurring pack can be assigned', 'wp-user-frontend' ); ?></span>
768
  </td>
769
  </tr>
770
  </table>
admin/form.php CHANGED
File without changes
admin/html/whats-new.php CHANGED
@@ -1,5 +1,26 @@
1
  <?php
2
  $changelog = array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  array(
4
  'version' => 'Version 2.8.10',
5
  'released' => '2018-07-17',
1
  <?php
2
  $changelog = array(
3
+ array(
4
+ 'version' => 'Version 2.9.0',
5
+ 'released' => '2018-08-14',
6
+ 'changes' => array(
7
+ array(
8
+ 'title' => __( 'The Events Calendar Integration Form', 'wp-user-frontend' ),
9
+ 'type' => 'New',
10
+ 'description' => __( 'Now admin can allow users to create event from the frontend. Currently WPUF has a one click pre-build event form that has been integrated with The Events Calendar plugin', 'wp-user-frontend' )
11
+ ),
12
+ array(
13
+ 'title' => __( 'Post Submission Facility From Account Page', 'wp-user-frontend' ),
14
+ 'type' => 'New',
15
+ 'description' => __( 'On the frontend account page, added a new menu item named <b>Submit Post</b>. Now admin can allow users to submit post from their default account page. As an admin you can disable or enable this option from <b>User Frontend -> Settings -> My Account -> Post Submission</b>, Also, you can assign any post form that will use to submit posts.', 'wp-user-frontend' )
16
+ ),
17
+ array(
18
+ 'title' => __( 'Login/Lost Password Link Under Registration Form', 'wp-user-frontend' ),
19
+ 'type' => 'Improvement',
20
+ 'description' => __( 'Added Login/Lost Password link under registration form', 'wp-user-frontend' )
21
+ ),
22
+ )
23
+ ),
24
  array(
25
  'version' => 'Version 2.8.10',
26
  'released' => '2018-07-17',
admin/installer.php CHANGED
File without changes
admin/posting.php CHANGED
@@ -198,9 +198,16 @@ class WPUF_Admin_Posting extends WPUF_Render_Form {
198
 
199
  $form_id = get_post_meta( $post->ID, '_wpuf_form_id', true );
200
  $form_settings = wpuf_get_form_settings( $form_id );
 
 
 
 
 
 
 
201
 
202
  // hide the metabox itself if no form ID is set
203
- if ( !$form_id || class_exists('acf') ) {
204
  $this->hide_form();
205
  return;
206
  }
198
 
199
  $form_id = get_post_meta( $post->ID, '_wpuf_form_id', true );
200
  $form_settings = wpuf_get_form_settings( $form_id );
201
+
202
+ /**
203
+ * There may be incompatibilities with WPUF metabox display when Advanced Custom Fields
204
+ * is active. By default WPUF metaboxes will be hidden when ACF is detected. However,
205
+ * you can override that by using the following filter.
206
+ */
207
+ $hide_with_acf = class_exists( 'acf' ) ? apply_filters( 'wpuf_hide_meta_when_acf_active', true ) : false;
208
 
209
  // hide the metabox itself if no form ID is set
210
+ if ( !$form_id || $hide_with_acf ) {
211
  $this->hide_form();
212
  return;
213
  }
admin/settings-options.php CHANGED
@@ -261,6 +261,13 @@ function wpuf_settings_fields() {
261
  'desc' => __( 'Show featured image of the post (Overridden by Shortcode)', 'wp-user-frontend' ),
262
  'type' => 'checkbox'
263
  ),
 
 
 
 
 
 
 
264
  array(
265
  'name' => 'ft_img_size',
266
  'label' => __( 'Featured Image size', 'wp-user-frontend' ),
261
  'desc' => __( 'Show featured image of the post (Overridden by Shortcode)', 'wp-user-frontend' ),
262
  'type' => 'checkbox'
263
  ),
264
+ array(
265
+ 'name' => 'show_payment_column',
266
+ 'label' => __( 'Show Payment Column', 'wp-user-frontend' ),
267
+ 'desc' => __( 'Enable if you want show payment column on posts table', 'wp-user-frontend' ),
268
+ 'type' => 'checkbox',
269
+ 'default' => 'on',
270
+ ),
271
  array(
272
  'name' => 'ft_img_size',
273
  'label' => __( 'Featured Image size', 'wp-user-frontend' ),
admin/template-post.php CHANGED
File without changes
admin/template.php CHANGED
File without changes
admin/tools.php CHANGED
File without changes
assets/css/admin.css CHANGED
File without changes
assets/css/chosen/chosen-sprite.png CHANGED
File without changes
assets/css/chosen/chosen-sprite@2x.png CHANGED
File without changes
assets/css/chosen/chosen.css CHANGED
File without changes
assets/css/frontend-forms.css CHANGED
@@ -1352,3 +1352,75 @@ ul.wpuf-form .ui-state-default.wpuf-image-wrap .caption span:hover {
1352
  -webkit-box-shadow: none;
1353
  box-shadow: none;
1354
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1352
  -webkit-box-shadow: none;
1353
  box-shadow: none;
1354
  }
1355
+ .weforms-quiz-feedback {
1356
+ position: relative;
1357
+ padding-top: 50px;
1358
+ padding-bottom: 50px;
1359
+ margin-top: 50px;
1360
+ }
1361
+ .weforms-quiz-feedback .weforms-quiz-points {
1362
+ position: absolute;
1363
+ top: 0;
1364
+ right: 0;
1365
+ width: 200px;
1366
+ text-align: right;
1367
+ }
1368
+ .weforms-quiz-feedback .weforms-field-points {
1369
+ float: right;
1370
+ }
1371
+ .weforms-quiz-feedback .weforms-quiz-points .score {
1372
+ background: #673ab7;
1373
+ color: #fff;
1374
+ padding: 12px 20px;
1375
+ border-radius: 5px;
1376
+ }
1377
+ .weforms-quiz-feedback .right-answer-block,
1378
+ .weforms-quiz-feedback .weforms-answer-feedback {
1379
+ margin-top: 2px;
1380
+ background: #f5f5f5;
1381
+ padding: 20px;
1382
+ color: rgba(0, 0, 0, 0.87);
1383
+ font-weight: 700;
1384
+ }
1385
+ .weforms-quiz-feedback .right-answer-block p,
1386
+ .weforms-quiz-feedback .weforms-answer-feedback p {
1387
+ margin-bottom: 10px;
1388
+ }
1389
+ .weforms-quiz-feedback .weforms-answer-feedback .feedback {
1390
+ font-weight: 400;
1391
+ }
1392
+ .weforms-quiz-feedback .right-answer,
1393
+ .weforms-quiz-feedback .wrong-answer {
1394
+ margin-bottom: 20px;
1395
+ }
1396
+ .weforms-quiz-feedback .right-answer .wpuf-fields label.checked {
1397
+ background: #dff0d8;
1398
+ color: #3c763d;
1399
+ padding: 6px 0;
1400
+ }
1401
+ .weforms-quiz-feedback .wrong-answer .wpuf-fields label.checked {
1402
+ background: #FFE4E4;
1403
+ color: red;
1404
+ padding: 6px 0;
1405
+ }
1406
+ ul.wpuf-form .wpuf-el {
1407
+ position: relative;
1408
+ }
1409
+ ul.wpuf-form .weforms-frontend-field-points {
1410
+ position: absolute;
1411
+ top: 0;
1412
+ right: 0;
1413
+ width: 100px;
1414
+ color: rgba(0, 0, 0, 0.54);
1415
+ font-size: 12px;
1416
+ margin-top: 12px;
1417
+ font-weight: 700;
1418
+ text-align: right;
1419
+ }
1420
+ .dokan-dashboard .dokan-dashboard-content ul li.wpuf-el,
1421
+ .dokan-dashboard .dokan-dashboard-content ul li.wpuf-submit {
1422
+ margin-left: 0;
1423
+ margin-bottom: 10px;
1424
+ padding: 10px;
1425
+ padding-left: 0;
1426
+ }
assets/css/images/ui-bg_diagonals-small_75_cccccc_40x40.png CHANGED
File without changes
assets/css/images/ui-bg_flat_0_aaaaaa_40x100.png CHANGED
File without changes
assets/css/images/ui-bg_flat_0_ffffff_40x100.png CHANGED
File without changes
assets/css/images/ui-bg_flat_75_ffffff_40x100.png CHANGED
File without changes
assets/css/images/ui-bg_glass_55_fbf9ee_1x400.png CHANGED
File without changes
assets/css/images/ui-bg_glass_65_ffffff_1x400.png CHANGED
File without changes
assets/css/images/ui-bg_glass_75_dadada_1x400.png CHANGED
File without changes
assets/css/images/ui-bg_glass_75_e6e6e6_1x400.png CHANGED
File without changes
assets/css/images/ui-bg_glass_95_fef1ec_1x400.png CHANGED
File without changes
assets/css/images/ui-icons_222222_256x240.png CHANGED
File without changes
assets/css/images/ui-icons_2e83ff_256x240.png CHANGED
File without changes
assets/css/images/ui-icons_454545_256x240.png CHANGED
File without changes
assets/css/images/ui-icons_888888_256x240.png CHANGED
File without changes
assets/css/images/ui-icons_cd0a0a_256x240.png CHANGED
File without changes
assets/css/jquery-ui-1.9.1.custom.css CHANGED
File without changes
assets/css/jquery.smallipop.css CHANGED
File without changes
assets/css/wpuf.css CHANGED
File without changes
assets/images/add.png CHANGED
File without changes
assets/images/arrow-move.png CHANGED
File without changes
assets/images/arrows.png CHANGED
File without changes
assets/images/cross.png CHANGED
File without changes
assets/images/del.png CHANGED
File without changes
assets/images/delete.png CHANGED
File without changes
assets/images/edit.png CHANGED
File without changes
assets/images/help.png CHANGED
File without changes
assets/images/no-image.png CHANGED
File without changes
assets/images/paypal.png CHANGED
File without changes
assets/images/remove.png CHANGED
File without changes
assets/images/tick.png CHANGED
File without changes
assets/images/wpspin_light.gif CHANGED
File without changes
assets/js-templates/form-components.php CHANGED
@@ -236,6 +236,8 @@
236
  </div>
237
  </transition>
238
  </div>
 
 
239
  </div>
240
 
241
  </div>
@@ -352,24 +354,26 @@
352
  </div>
353
 
354
  <div v-if="'subscribed_users' === selected" class="condiotional-logic-container">
355
-
356
  <ul>
357
  <?php
358
 
359
- $subscriptions = WPUF_Subscription::init()->get_subscriptions();
 
360
 
361
- if ( $subscriptions ) {
362
- foreach ($subscriptions as $pack) {
363
 
364
- $output = "<li>";
365
- $output .= "<label><input type='checkbox' v-model='choices' value='{$pack->ID}' > {$pack->post_title} </label>";
366
- $output .= "</li>";
367
 
368
- echo $output;
369
 
 
 
 
370
  }
371
- } else {
372
- _e( 'No subscription plan found.', 'wp-user-frontend' );
373
  }
374
  ?>
375
  </ul>
236
  </div>
237
  </transition>
238
  </div>
239
+
240
+ <?php do_action( 'wpuf_builder_field_options' ); ?>
241
  </div>
242
 
243
  </div>
354
  </div>
355
 
356
  <div v-if="'subscribed_users' === selected" class="condiotional-logic-container">
357
+
358
  <ul>
359
  <?php
360
 
361
+ if ( class_exists( 'WPUF_Subscription' ) ) {
362
+ $subscriptions = WPUF_Subscription::init()->get_subscriptions();
363
 
364
+ if ( $subscriptions ) {
365
+ foreach ($subscriptions as $pack) {
366
 
367
+ $output = "<li>";
368
+ $output .= "<label><input type='checkbox' v-model='choices' value='{$pack->ID}' > {$pack->post_title} </label>";
369
+ $output .= "</li>";
370
 
371
+ echo $output;
372
 
373
+ }
374
+ } else {
375
+ _e( 'No subscription plan found.', 'wp-user-frontend' );
376
  }
 
 
377
  }
378
  ?>
379
  </ul>
assets/js/chosen.jquery.js CHANGED
File without changes
assets/js/conditional.js CHANGED
File without changes
assets/js/frontend-form.js CHANGED
@@ -165,6 +165,15 @@
165
  o.change_fieldset( --step_number,progressbar_type );
166
  }
167
 
 
 
 
 
 
 
 
 
 
168
  return false;
169
  });
170
  },
165
  o.change_fieldset( --step_number,progressbar_type );
166
  }
167
 
168
+ var formDiv = document.querySelector( "form.wpuf-form-add" );
169
+ var position = formDiv.getBoundingClientRect();
170
+
171
+ // this changes the scrolling behavior to "smooth"
172
+ window.scrollTo({
173
+ top: position.top,
174
+ behavior: "smooth"
175
+ });
176
+
177
  return false;
178
  });
179
  },
assets/js/frontend-form.min.js CHANGED
@@ -1 +1 @@
1
- !function(a,b){a.fn.listautowidth=function(){return this.each(function(){var b=a(this).width(),c=b/a(this).children("li").length;a(this).children("li").each(function(){var b=a(this).outerWidth(!0)-a(this).width();a(this).width(c-b)})})},b.WP_User_Frontend={init:function(){this.enableMultistep(this),a(".wpuf-form").on("click","img.wpuf-clone-field",this.cloneField),a(".wpuf-form").on("click","img.wpuf-remove-field",this.removeField),a(".wpuf-form").on("click","a.wpuf-delete-avatar",this.deleteAvatar),a(".wpuf-form").on("click","a#wpuf-post-draft",this.draftPost),a(".wpuf-form").on("click","button#wpuf-account-update-profile",this.account_update_profile),a(".wpuf-form-add").on("submit",this.formSubmit),a("form#post").on("submit",this.adminPostSubmit),a(".wpuf-form").on("step-change-fieldset",function(a,b,c){if(wpuf_plupload_items.length)for(var d=wpuf_plupload_items.length-1;d>=0;d--)wpuf_plupload_items[d].refresh();if(wpuf_map_items.length)for(var d=wpuf_map_items.length-1;d>=0;d--)google.maps.event.trigger(wpuf_map_items[d].map,"resize"),wpuf_map_items[d].map.setCenter(wpuf_map_items[d].center)}),this.ajaxCategory(),a(':submit[name="wpuf_cancel_subscription"]').click(function(){if(!confirm("Are you sure you want to cancel your current subscription ?"))return!1})},check_pass_strength:function(){var b=a("#pass1").val();if(a("#pass-strength-result").show(),a("#pass-strength-result").removeClass("short bad good strong"),!b)return a("#pass-strength-result").html("&nbsp;"),void a("#pass-strength-result").hide();if(void 0!==wp.passwordStrength)switch(wp.passwordStrength.meter(b,wp.passwordStrength.userInputBlacklist(),b)){case 2:a("#pass-strength-result").addClass("bad").html(pwsL10n.bad);break;case 3:a("#pass-strength-result").addClass("good").html(pwsL10n.good);break;case 4:a("#pass-strength-result").addClass("strong").html(pwsL10n.strong);break;case 5:a("#pass-strength-result").addClass("short").html(pwsL10n.mismatch);break;default:a("#pass-strength-result").addClass("short").html(pwsL10n.short)}},enableMultistep:function(b){var c=this,d=0,e=a(':hidden[name="wpuf_multistep_type"]').val();if(null!=e){if(a("fieldset.wpuf-multistep-fieldset").find(".wpuf-multistep-prev-btn").first().remove(),a("fieldset.wpuf-multistep-fieldset").find(".wpuf-multistep-next-btn").last().remove(),a(".wpuf-form fieldset").removeClass("field-active").first().addClass("field-active"),"progressive"==e&&0!=a(".wpuf-form .wpuf-multistep-fieldset").length){a("fieldset.wpuf-multistep-fieldset legend").first();a(".wpuf-multistep-progressbar").html('<div class="wpuf-progress-percentage"></div>');var f=a(".wpuf-multistep-progressbar"),g=a(".wpuf-progress-percentage");a(".wpuf-multistep-progressbar").progressbar({change:function(){g.text(f.progressbar("value")+"%")}}),a(".wpuf-multistep-fieldset legend").hide()}else a(".wpuf-form").each(function(){var b=a(this),c=a(".wpuf-multistep-progressbar",b),d="";c.addClass("wizard-steps"),d+='<ul class="wpuf-step-wizard">',a(".wpuf-multistep-fieldset",this).each(function(){d+="<li>"+a.trim(a("legend",this).text())+"</li>",a("legend",this).hide()}),d+="</ul>",c.append(d),a(".wpuf-step-wizard li",c).first().addClass("active-step"),a(".wpuf-step-wizard",c).listautowidth()});this.change_fieldset(d,e),a("fieldset .wpuf-multistep-prev-btn, fieldset .wpuf-multistep-next-btn").click(function(f){if(a(this).hasClass("wpuf-multistep-next-btn")){0!=c.formStepCheck("",a(this).closest("fieldset"))&&b.change_fieldset(++d,e)}else a(this).hasClass("wpuf-multistep-prev-btn")&&b.change_fieldset(--d,e);return!1})}},change_fieldset:function(b,c){var d=a("fieldset.wpuf-multistep-fieldset").eq(b);a("fieldset.wpuf-multistep-fieldset").removeClass("field-active").eq(b).addClass("field-active"),a(".wpuf-step-wizard li").each(function(){a(this).index()<=b?"step_by_step"==c?a(this).addClass("passed-wpuf-ms-bar"):a(".wpuf-ps-bar",this).addClass("passed-wpuf-ms-bar"):"step_by_step"==c?a(this).removeClass("passed-wpuf-ms-bar"):a(".wpuf-ps-bar",this).removeClass("passed-wpuf-ms-bar")}),a(".wpuf-step-wizard li").removeClass("wpuf-ms-bar-active active-step completed-step"),a(".passed-wpuf-ms-bar").addClass("completed-step").last().addClass("wpuf-ms-bar-active"),a(".wpuf-ms-bar-active").addClass("active-step");var e=a("fieldset.wpuf-multistep-fieldset").eq(b).find("legend").text();if(e=a.trim(e),"progressive"==c&&0!=a(".wpuf-form .wpuf-multistep-fieldset").length){var f=100*(b+1)/a("fieldset.wpuf-multistep-fieldset").length,f=Number(f.toFixed(2));a(".wpuf-multistep-progressbar").progressbar({value:f}),a(".wpuf-progress-percentage").text(e+" ("+f+"%)")}a(".wpuf-form").trigger("step-change-fieldset",[b,d])},ajaxCategory:function(){var b=".category-wrap";a(b).on("change",".cat-ajax",function(){currentLevel=parseInt(a(this).parent().attr("level")),WP_User_Frontend.getChildCats(a(this),"lvl",currentLevel+1,b,"category")})},getChildCats:function(b,c,d,e,f){cat=a(b).val(),results_div=c+d,f=void 0!==f?f:"category",field_attr=a(b).siblings("span").data("taxonomy"),a.ajax({type:"post",url:wpuf_frontend.ajaxurl,data:{action:"wpuf_get_child_cat",catID:cat,nonce:wpuf_frontend.nonce,field_attr:field_attr},beforeSend:function(){a(b).parent().parent().next(".loading").addClass("wpuf-loading")},complete:function(){a(b).parent().parent().next(".loading").removeClass("wpuf-loading")},success:function(e){a(b).parent().nextAll().each(function(){a(this).remove()}),""!=e&&(a(b).parent().addClass("hasChild").parent().append('<div id="'+c+d+'" level="'+d+'"></div>'),b.parent().parent().find("#"+results_div).html(e).slideDown("fast"))}})},cloneField:function(b){b.preventDefault();var c=a(this).closest("tr"),d=c.clone();d.find("input").val(""),d.find(":checked").attr("checked",""),c.after(d)},removeField:function(){var b=a(this).closest("tr");b.siblings().andSelf().length>1&&b.remove()},adminPostSubmit:function(b){b.preventDefault();var c=a(this);if(WP_User_Frontend.validateForm(c))return!0},draftPost:function(b){b.preventDefault();var c=a(this),d=a(this).closest("form"),e=d.serialize()+"&action=wpuf_draft_post",f=d.find('input[type="hidden"][name="post_id"]').val(),g=[];a(".wpuf-rich-validation").each(function(b,c){var c=a(c),d=c.data("id"),e=c.data("name"),f=a.trim(tinyMCE.get(d).getContent());g.push(e+"="+encodeURIComponent(f))}),e=e+"&"+g.join("&"),c.after(' <span class="wpuf-loading"></span>'),a.post(wpuf_frontend.ajaxurl,e,function(b){if(void 0===f){var e='<input type="hidden" name="post_id" value="'+b.post_id+'">';e+='<input type="hidden" name="post_date" value="'+b.date+'">',e+='<input type="hidden" name="post_author" value="'+b.post_author+'">',e+='<input type="hidden" name="comment_status" value="'+b.comment_status+'">',d.append(e)}c.next("span.wpuf-loading").remove(),c.after('<span class="wpuf-draft-saved">&nbsp; Post Saved</span>'),a(".wpuf-draft-saved").delay(2500).fadeOut("fast",function(){a(this).remove()})})},account_update_profile:function(b){b.preventDefault();var c=a(this).closest("form");a.post(wpuf_frontend.ajaxurl,c.serialize(),function(a){a.success?(c.find(".wpuf-error").hide(),c.find(".wpuf-success").show()):(c.find(".wpuf-success").hide(),c.find(".wpuf-error").show(),c.find(".wpuf-error").text(a.data))})},formStepCheck:function(a,b){var c=b;c.find("input[type=submit]");return form_data=WP_User_Frontend.validateForm(c),0==form_data&&WP_User_Frontend.addErrorNotice(self,"bottom"),form_data},formSubmit:function(c){c.preventDefault();var d=a(this),e=d.find("input[type=submit]");form_data=WP_User_Frontend.validateForm(d),form_data&&(d.find("li.wpuf-submit").append('<span class="wpuf-loading"></span>'),e.attr("disabled","disabled").addClass("button-primary-disabled"),a.post(wpuf_frontend.ajaxurl,form_data,function(c){if(c.success)a("body").trigger("wpuf:postform:success",c),1==c.show_message?(d.before('<div class="wpuf-success">'+c.message+"</div>"),d.slideUp("fast",function(){d.remove()}),a("html, body").animate({scrollTop:a(".wpuf-success").offset().top-100},"fast")):b.location=c.redirect_to;else{if(void 0!==c.type&&"login"===c.type)return void(confirm(c.error)?b.location=c.redirect_to:(e.removeAttr("disabled"),e.removeClass("button-primary-disabled"),d.find("span.wpuf-loading").remove()));d.find(".g-recaptcha").length>0&&grecaptcha.reset(),swal({html:c.error,type:"warning",showCancelButton:!1,confirmButtonColor:"#d54e21",confirmButtonText:"OK",cancelButtonClass:"btn btn-danger"}),e.removeAttr("disabled")}e.removeClass("button-primary-disabled"),d.find("span.wpuf-loading").remove()}))},validateForm:function(b){var c=!1;error_type="",WP_User_Frontend.removeErrors(b),WP_User_Frontend.removeErrorNotice(b),b.find('[data-required="yes"]:visible').each(function(b,d){var e=a(d).data("type");switch(j="",e){case"rich":var f=a(d).data("id");""===(j=a.trim(tinyMCE.get(f).getContent()))&&(c=!0,WP_User_Frontend.markError(d));break;case"textarea":case"text":""===(j=a.trim(a(d).val()))&&(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"password":case"confirm_password":var g=a(d).data("repeat");if(j=a.trim(a(d).val()),""===j&&(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type)),g){var h=a('[data-type="confirm_password"]').eq(0);h.val()!=j&&(c=!0,error_type="mismatch",WP_User_Frontend.markError(h,error_type))}break;case"select":(j=a(d).val())&&"-1"!==j||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"multiselect":null!==(j=a(d).val())&&0!==j.length||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"tax-checkbox":var i=a(d).children().find("input:checked").length;i||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"radio":var i=a(d).find("input:checked").length;i||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"file":var i=a(d).find("ul").children().length;i||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"email":var j=a(d).val();""!==j?WP_User_Frontend.isValidEmail(j)||(c=!0,error_type="validation",WP_User_Frontend.markError(d,error_type)):""===j&&(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"url":var j=a(d).val();""!==j&&(WP_User_Frontend.isValidURL(j)||(c=!0,error_type="validation",WP_User_Frontend.markError(d,error_type)))}});var d=b.find('[data-required="yes"][name="google_map"]');if(d){","==a(d).val()&&(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type))}if(c)return WP_User_Frontend.addErrorNotice(b,"end"),!1;var e=b.serialize(),f=[];return a(".wpuf-rich-validation",b).each(function(b,c){var c=a(c),d=c.data("id"),e=c.data("name"),g=a.trim(tinyMCE.get(d).getContent());f.push(e+"="+encodeURIComponent(g))}),e=e+"&"+f.join("&")},addErrorNotice:function(b,c){"bottom"==c?a(".wpuf-multistep-fieldset:visible").append('<div class="wpuf-errors">'+wpuf_frontend.error_message+"</div>"):a(b).find("li.wpuf-submit").append('<div class="wpuf-errors">'+wpuf_frontend.error_message+"</div>")},removeErrorNotice:function(b){a(b).find(".wpuf-errors").remove()},markError:function(b,c){var d="";if(a(b).closest("li").addClass("has-error"),c){switch(d=a(b).closest("li").data("label"),c){case"required":case"mismatch":case"validation":d=d+" "+error_str_obj[c]}a(b).siblings(".wpuf-error-msg").remove(),a(b).after('<div class="wpuf-error-msg">'+d+"</div>")}a(b).focus()},removeErrors:function(b){a(b).find(".has-error").removeClass("has-error"),a(".wpuf-error-msg").remove()},isValidEmail:function(a){return new RegExp(/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i).test(a)},isValidURL:function(a){return new RegExp("^(http://www.|https://www.|ftp://www.|www.|http://|https://){1}([0-9A-Za-z]+.)").test(a)},insertImage:function(b,c){if(a("#"+b).length){var d=new plupload.Uploader({runtimes:"html5,html4",browse_button:b,container:"wpuf-insert-image-container",multipart:!0,multipart_params:{action:"wpuf_insert_image",form_id:a("#"+b).data("form_id")},multiple_queues:!1,multi_selection:!1,urlstream_upload:!0,file_data_name:"wpuf_file",max_file_size:"2mb",url:wpuf_frontend_upload.plupload.url,flash_swf_url:wpuf_frontend_upload.flash_swf_url,filters:[{title:"Allowed Files",extensions:"jpg,jpeg,gif,png,bmp"}]});d.bind("Init",function(a,b){}),d.bind("FilesAdded",function(b,c){var d=a("#wpuf-insert-image-container");a.each(c,function(a,b){d.append('<div class="upload-item" id="'+b.id+'"><div class="progress progress-striped active"><div class="bar"></div></div></div>')}),b.refresh(),b.start()}),d.bind("QueueChanged",function(a){d.start()}),d.bind("UploadProgress",function(b,c){var d=a("#"+c.id);a(".bar",d).css({width:c.percent+"%"}),a(".percent",d).html(c.percent+"%")}),d.bind("Error",function(a,b){alert("Error #"+b.code+": "+b.message)}),d.bind("FileUploaded",function(b,d,e){if(a("#"+d.id).remove(),"error"!==e.response){if("undefined"!=typeof tinyMCE)if("function"!=typeof tinyMCE.execInstanceCommand){var f=tinyMCE.get("post_content_"+c);null!==f&&f.insertContent(e.response)}else tinyMCE.execInstanceCommand("post_content_"+c,"mceInsertContent",!1,e.response);var g=a("#post_content_"+c);g.val(g.val()+e.response)}else alert("Something went wrong")}),d.init()}},deleteAvatar:function(b){b.preventDefault(),confirm(a(this).data("confirm"))&&a.post(wpuf_frontend.ajaxurl,{action:"wpuf_delete_avatar",_wpnonce:wpuf_frontend.nonce},function(){a(b.target).parent().remove(),a("[id^=wpuf-avatar]").css("display","")})},editorLimit:{bind:function(b,c,d){"no"===d?(a("textarea#"+c).keydown(function(a){WP_User_Frontend.editorLimit.textLimit.call(this,a,b)}),a("input#"+c).keydown(function(a){WP_User_Frontend.editorLimit.textLimit.call(this,a,b)}),a("textarea#"+c).on("paste",function(c){var d=a(this);setTimeout(function(){WP_User_Frontend.editorLimit.textLimit.call(d,c,b)},100)}),a("input#"+c).on("paste",function(c){var d=a(this);setTimeout(function(){WP_User_Frontend.editorLimit.textLimit.call(d,c,b)},100)})):setTimeout(function(){tinyMCE.get(c).onKeyDown.add(function(a,c){WP_User_Frontend.editorLimit.tinymce.onKeyDown(a,c,b)}),tinyMCE.get(c).onPaste.add(function(a,c){setTimeout(function(){WP_User_Frontend.editorLimit.tinymce.onPaste(a,c,b)},100)})},1e3)},tinymce:{getStats:function(a){var b=a.getBody(),c=tinymce.trim(b.innerText||b.textContent);return{chars:c.length,words:c.split(/[\w\u2019\'-]+/).length}},onKeyDown:function(b,c,d){var e=WP_User_Frontend.editorLimit.tinymce.getStats(b).words-1;d&&a(".mce-path-item.mce-last",b.container).html("Word Limit : "+e+"/"+d),d&&e>d&&(WP_User_Frontend.editorLimit.blockTyping(c),jQuery(".mce-path-item.mce-last",b.container).html(wpuf_frontend.word_limit))},onPaste:function(a,b,c){var d=a.getContent().split(" ").slice(0,c).join(" ");a.setContent(d),WP_User_Frontend.editorLimit.make_media_embed_code(d,a)}},textLimit:function(b,c){var d=a(this),e=d.val().split(" ");c&&e.length>c?(d.closest(".wpuf-fields").find("span.wpuf-wordlimit-message").html(wpuf_frontend.word_limit),WP_User_Frontend.editorLimit.blockTyping(b)):d.closest(".wpuf-fields").find("span.wpuf-wordlimit-message").html(""),"paste"===b.type&&d.val(e.slice(0,c).join(" "))},blockTyping:function(b){-1!==a.inArray(b.keyCode,[46,8,9,27,13,110,190,189])||65==b.keyCode&&!0===b.ctrlKey||b.keyCode>=35&&b.keyCode<=40||(b.preventDefault(),b.stopPropagation())},make_media_embed_code:function(b,c){a.post(ajaxurl,{action:"make_media_embed_code",content:b},function(a){c.setContent(c.getContent()+c.setContent(a))})}}},a(function(){if(WP_User_Frontend.init(),a("ul.wpuf-payment-gateways").on("click","input[type=radio]",function(b){a(".wpuf-payment-instruction").slideUp(250),a(this).parents("li").find(".wpuf-payment-instruction").slideDown(250)}),a("ul.wpuf-payment-gateways li").find("input[type=radio]").is(":checked")){a("ul.wpuf-payment-gateways li").find("input[type=radio]:checked").parents("li").find(".wpuf-payment-instruction").slideDown(250)}else a("ul.wpuf-payment-gateways li").first().find("input[type=radio]").click()}),a(function(){a('input[name="first_name"], input[name="last_name"]').on("change keyup",function(){var b,c=a.makeArray(a('input[name="first_name"], input[name="last_name"]').map(function(){if(b=a(this).val())return b})).join(" ");a('input[name="display_name"]').val(c)})}),a(function(a){a('.wpuf-form-add input[name="dokan_store_name"]').on("focusout",function(){var b=a(this).val().toLowerCase().replace(/-+/g,"").replace(/\s+/g,"-").replace(/[^a-z0-9-]/g,"");a('input[name="shopurl"]').val(b),a("#url-alart").text(b),a('input[name="shopurl"]').focus()}),a('.wpuf-form-add input[name="shopurl"]').keydown(function(b){a(this).val();-1!==a.inArray(b.keyCode,[46,8,9,27,13,91,109,110,173,189,190])||65==b.keyCode&&!0===b.ctrlKey||b.keyCode>=35&&b.keyCode<=39||(b.shiftKey||(b.keyCode<65||b.keyCode>90)&&(b.keyCode<48||b.keyCode>57))&&(b.keyCode<96||b.keyCode>105)&&b.preventDefault()}),a('.wpuf-form-add input[name="shopurl"]').keyup(function(b){a("#url-alart").text(a(this).val())}),a('.wpuf-form-add input[name="shopurl"]').on("focusout",function(){var b=a(this),c={action:"shop_url",url_slug:b.val(),_nonce:dokan.nonce};""!==b.val()&&a.post(dokan.ajaxurl,c,function(b){0==b?(a("#url-alart").removeClass("text-success").addClass("text-danger"),a("#url-alart-mgs").removeClass("text-success").addClass("text-danger").text(dokan.seller.notAvailable)):(a("#url-alart").removeClass("text-danger").addClass("text-success"),a("#url-alart-mgs").removeClass("text-danger").addClass("text-success").text(dokan.seller.available))})}),a(".wpuf-form-add #wpuf-map-add-location").attr("name","find_address")})}(jQuery,window);
1
+ !function(a,b){a.fn.listautowidth=function(){return this.each(function(){var b=a(this).width(),c=b/a(this).children("li").length;a(this).children("li").each(function(){var b=a(this).outerWidth(!0)-a(this).width();a(this).width(c-b)})})},b.WP_User_Frontend={init:function(){this.enableMultistep(this),a(".wpuf-form").on("click","img.wpuf-clone-field",this.cloneField),a(".wpuf-form").on("click","img.wpuf-remove-field",this.removeField),a(".wpuf-form").on("click","a.wpuf-delete-avatar",this.deleteAvatar),a(".wpuf-form").on("click","a#wpuf-post-draft",this.draftPost),a(".wpuf-form").on("click","button#wpuf-account-update-profile",this.account_update_profile),a(".wpuf-form-add").on("submit",this.formSubmit),a("form#post").on("submit",this.adminPostSubmit),a(".wpuf-form").on("step-change-fieldset",function(a,b,c){if(wpuf_plupload_items.length)for(var d=wpuf_plupload_items.length-1;d>=0;d--)wpuf_plupload_items[d].refresh();if(wpuf_map_items.length)for(var d=wpuf_map_items.length-1;d>=0;d--)google.maps.event.trigger(wpuf_map_items[d].map,"resize"),wpuf_map_items[d].map.setCenter(wpuf_map_items[d].center)}),this.ajaxCategory(),a(':submit[name="wpuf_cancel_subscription"]').click(function(){if(!confirm("Are you sure you want to cancel your current subscription ?"))return!1})},check_pass_strength:function(){var b=a("#pass1").val();if(a("#pass-strength-result").show(),a("#pass-strength-result").removeClass("short bad good strong"),!b)return a("#pass-strength-result").html("&nbsp;"),void a("#pass-strength-result").hide();if(void 0!==wp.passwordStrength)switch(wp.passwordStrength.meter(b,wp.passwordStrength.userInputBlacklist(),b)){case 2:a("#pass-strength-result").addClass("bad").html(pwsL10n.bad);break;case 3:a("#pass-strength-result").addClass("good").html(pwsL10n.good);break;case 4:a("#pass-strength-result").addClass("strong").html(pwsL10n.strong);break;case 5:a("#pass-strength-result").addClass("short").html(pwsL10n.mismatch);break;default:a("#pass-strength-result").addClass("short").html(pwsL10n.short)}},enableMultistep:function(c){var d=this,e=0,f=a(':hidden[name="wpuf_multistep_type"]').val();if(null!=f){if(a("fieldset.wpuf-multistep-fieldset").find(".wpuf-multistep-prev-btn").first().remove(),a("fieldset.wpuf-multistep-fieldset").find(".wpuf-multistep-next-btn").last().remove(),a(".wpuf-form fieldset").removeClass("field-active").first().addClass("field-active"),"progressive"==f&&0!=a(".wpuf-form .wpuf-multistep-fieldset").length){a("fieldset.wpuf-multistep-fieldset legend").first();a(".wpuf-multistep-progressbar").html('<div class="wpuf-progress-percentage"></div>');var g=a(".wpuf-multistep-progressbar"),h=a(".wpuf-progress-percentage");a(".wpuf-multistep-progressbar").progressbar({change:function(){h.text(g.progressbar("value")+"%")}}),a(".wpuf-multistep-fieldset legend").hide()}else a(".wpuf-form").each(function(){var b=a(this),c=a(".wpuf-multistep-progressbar",b),d="";c.addClass("wizard-steps"),d+='<ul class="wpuf-step-wizard">',a(".wpuf-multistep-fieldset",this).each(function(){d+="<li>"+a.trim(a("legend",this).text())+"</li>",a("legend",this).hide()}),d+="</ul>",c.append(d),a(".wpuf-step-wizard li",c).first().addClass("active-step"),a(".wpuf-step-wizard",c).listautowidth()});this.change_fieldset(e,f),a("fieldset .wpuf-multistep-prev-btn, fieldset .wpuf-multistep-next-btn").click(function(g){if(a(this).hasClass("wpuf-multistep-next-btn")){0!=d.formStepCheck("",a(this).closest("fieldset"))&&c.change_fieldset(++e,f)}else a(this).hasClass("wpuf-multistep-prev-btn")&&c.change_fieldset(--e,f);var h=document.querySelector("form.wpuf-form-add"),i=h.getBoundingClientRect();return b.scrollTo({top:i.top,behavior:"smooth"}),!1})}},change_fieldset:function(b,c){var d=a("fieldset.wpuf-multistep-fieldset").eq(b);a("fieldset.wpuf-multistep-fieldset").removeClass("field-active").eq(b).addClass("field-active"),a(".wpuf-step-wizard li").each(function(){a(this).index()<=b?"step_by_step"==c?a(this).addClass("passed-wpuf-ms-bar"):a(".wpuf-ps-bar",this).addClass("passed-wpuf-ms-bar"):"step_by_step"==c?a(this).removeClass("passed-wpuf-ms-bar"):a(".wpuf-ps-bar",this).removeClass("passed-wpuf-ms-bar")}),a(".wpuf-step-wizard li").removeClass("wpuf-ms-bar-active active-step completed-step"),a(".passed-wpuf-ms-bar").addClass("completed-step").last().addClass("wpuf-ms-bar-active"),a(".wpuf-ms-bar-active").addClass("active-step");var e=a("fieldset.wpuf-multistep-fieldset").eq(b).find("legend").text();if(e=a.trim(e),"progressive"==c&&0!=a(".wpuf-form .wpuf-multistep-fieldset").length){var f=100*(b+1)/a("fieldset.wpuf-multistep-fieldset").length,f=Number(f.toFixed(2));a(".wpuf-multistep-progressbar").progressbar({value:f}),a(".wpuf-progress-percentage").text(e+" ("+f+"%)")}a(".wpuf-form").trigger("step-change-fieldset",[b,d])},ajaxCategory:function(){var b=".category-wrap";a(b).on("change",".cat-ajax",function(){currentLevel=parseInt(a(this).parent().attr("level")),WP_User_Frontend.getChildCats(a(this),"lvl",currentLevel+1,b,"category")})},getChildCats:function(b,c,d,e,f){cat=a(b).val(),results_div=c+d,f=void 0!==f?f:"category",field_attr=a(b).siblings("span").data("taxonomy"),a.ajax({type:"post",url:wpuf_frontend.ajaxurl,data:{action:"wpuf_get_child_cat",catID:cat,nonce:wpuf_frontend.nonce,field_attr:field_attr},beforeSend:function(){a(b).parent().parent().next(".loading").addClass("wpuf-loading")},complete:function(){a(b).parent().parent().next(".loading").removeClass("wpuf-loading")},success:function(e){a(b).parent().nextAll().each(function(){a(this).remove()}),""!=e&&(a(b).parent().addClass("hasChild").parent().append('<div id="'+c+d+'" level="'+d+'"></div>'),b.parent().parent().find("#"+results_div).html(e).slideDown("fast"))}})},cloneField:function(b){b.preventDefault();var c=a(this).closest("tr"),d=c.clone();d.find("input").val(""),d.find(":checked").attr("checked",""),c.after(d)},removeField:function(){var b=a(this).closest("tr");b.siblings().andSelf().length>1&&b.remove()},adminPostSubmit:function(b){b.preventDefault();var c=a(this);if(WP_User_Frontend.validateForm(c))return!0},draftPost:function(b){b.preventDefault();var c=a(this),d=a(this).closest("form"),e=d.serialize()+"&action=wpuf_draft_post",f=d.find('input[type="hidden"][name="post_id"]').val(),g=[];a(".wpuf-rich-validation").each(function(b,c){var c=a(c),d=c.data("id"),e=c.data("name"),f=a.trim(tinyMCE.get(d).getContent());g.push(e+"="+encodeURIComponent(f))}),e=e+"&"+g.join("&"),c.after(' <span class="wpuf-loading"></span>'),a.post(wpuf_frontend.ajaxurl,e,function(b){if(void 0===f){var e='<input type="hidden" name="post_id" value="'+b.post_id+'">';e+='<input type="hidden" name="post_date" value="'+b.date+'">',e+='<input type="hidden" name="post_author" value="'+b.post_author+'">',e+='<input type="hidden" name="comment_status" value="'+b.comment_status+'">',d.append(e)}c.next("span.wpuf-loading").remove(),c.after('<span class="wpuf-draft-saved">&nbsp; Post Saved</span>'),a(".wpuf-draft-saved").delay(2500).fadeOut("fast",function(){a(this).remove()})})},account_update_profile:function(b){b.preventDefault();var c=a(this).closest("form");a.post(wpuf_frontend.ajaxurl,c.serialize(),function(a){a.success?(c.find(".wpuf-error").hide(),c.find(".wpuf-success").show()):(c.find(".wpuf-success").hide(),c.find(".wpuf-error").show(),c.find(".wpuf-error").text(a.data))})},formStepCheck:function(a,b){var c=b;c.find("input[type=submit]");return form_data=WP_User_Frontend.validateForm(c),0==form_data&&WP_User_Frontend.addErrorNotice(self,"bottom"),form_data},formSubmit:function(c){c.preventDefault();var d=a(this),e=d.find("input[type=submit]");form_data=WP_User_Frontend.validateForm(d),form_data&&(d.find("li.wpuf-submit").append('<span class="wpuf-loading"></span>'),e.attr("disabled","disabled").addClass("button-primary-disabled"),a.post(wpuf_frontend.ajaxurl,form_data,function(c){if(c.success)a("body").trigger("wpuf:postform:success",c),1==c.show_message?(d.before('<div class="wpuf-success">'+c.message+"</div>"),d.slideUp("fast",function(){d.remove()}),a("html, body").animate({scrollTop:a(".wpuf-success").offset().top-100},"fast")):b.location=c.redirect_to;else{if(void 0!==c.type&&"login"===c.type)return void(confirm(c.error)?b.location=c.redirect_to:(e.removeAttr("disabled"),e.removeClass("button-primary-disabled"),d.find("span.wpuf-loading").remove()));d.find(".g-recaptcha").length>0&&grecaptcha.reset(),swal({html:c.error,type:"warning",showCancelButton:!1,confirmButtonColor:"#d54e21",confirmButtonText:"OK",cancelButtonClass:"btn btn-danger"}),e.removeAttr("disabled")}e.removeClass("button-primary-disabled"),d.find("span.wpuf-loading").remove()}))},validateForm:function(b){var c=!1;error_type="",WP_User_Frontend.removeErrors(b),WP_User_Frontend.removeErrorNotice(b),b.find('[data-required="yes"]:visible').each(function(b,d){var e=a(d).data("type");switch(j="",e){case"rich":var f=a(d).data("id");""===(j=a.trim(tinyMCE.get(f).getContent()))&&(c=!0,WP_User_Frontend.markError(d));break;case"textarea":case"text":""===(j=a.trim(a(d).val()))&&(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"password":case"confirm_password":var g=a(d).data("repeat");if(j=a.trim(a(d).val()),""===j&&(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type)),g){var h=a('[data-type="confirm_password"]').eq(0);h.val()!=j&&(c=!0,error_type="mismatch",WP_User_Frontend.markError(h,error_type))}break;case"select":(j=a(d).val())&&"-1"!==j||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"multiselect":null!==(j=a(d).val())&&0!==j.length||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"tax-checkbox":var i=a(d).children().find("input:checked").length;i||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"radio":var i=a(d).find("input:checked").length;i||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"file":var i=a(d).find("ul").children().length;i||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"email":var j=a(d).val();""!==j?WP_User_Frontend.isValidEmail(j)||(c=!0,error_type="validation",WP_User_Frontend.markError(d,error_type)):""===j&&(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"url":var j=a(d).val();""!==j&&(WP_User_Frontend.isValidURL(j)||(c=!0,error_type="validation",WP_User_Frontend.markError(d,error_type)))}});var d=b.find('[data-required="yes"][name="google_map"]');if(d){","==a(d).val()&&(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type))}if(c)return WP_User_Frontend.addErrorNotice(b,"end"),!1;var e=b.serialize(),f=[];return a(".wpuf-rich-validation",b).each(function(b,c){var c=a(c),d=c.data("id"),e=c.data("name"),g=a.trim(tinyMCE.get(d).getContent());f.push(e+"="+encodeURIComponent(g))}),e=e+"&"+f.join("&")},addErrorNotice:function(b,c){"bottom"==c?a(".wpuf-multistep-fieldset:visible").append('<div class="wpuf-errors">'+wpuf_frontend.error_message+"</div>"):a(b).find("li.wpuf-submit").append('<div class="wpuf-errors">'+wpuf_frontend.error_message+"</div>")},removeErrorNotice:function(b){a(b).find(".wpuf-errors").remove()},markError:function(b,c){var d="";if(a(b).closest("li").addClass("has-error"),c){switch(d=a(b).closest("li").data("label"),c){case"required":case"mismatch":case"validation":d=d+" "+error_str_obj[c]}a(b).siblings(".wpuf-error-msg").remove(),a(b).after('<div class="wpuf-error-msg">'+d+"</div>")}a(b).focus()},removeErrors:function(b){a(b).find(".has-error").removeClass("has-error"),a(".wpuf-error-msg").remove()},isValidEmail:function(a){return new RegExp(/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i).test(a)},isValidURL:function(a){return new RegExp("^(http://www.|https://www.|ftp://www.|www.|http://|https://){1}([0-9A-Za-z]+.)").test(a)},insertImage:function(b,c){if(a("#"+b).length){var d=new plupload.Uploader({runtimes:"html5,html4",browse_button:b,container:"wpuf-insert-image-container",multipart:!0,multipart_params:{action:"wpuf_insert_image",form_id:a("#"+b).data("form_id")},multiple_queues:!1,multi_selection:!1,urlstream_upload:!0,file_data_name:"wpuf_file",max_file_size:"2mb",url:wpuf_frontend_upload.plupload.url,flash_swf_url:wpuf_frontend_upload.flash_swf_url,filters:[{title:"Allowed Files",extensions:"jpg,jpeg,gif,png,bmp"}]});d.bind("Init",function(a,b){}),d.bind("FilesAdded",function(b,c){var d=a("#wpuf-insert-image-container");a.each(c,function(a,b){d.append('<div class="upload-item" id="'+b.id+'"><div class="progress progress-striped active"><div class="bar"></div></div></div>')}),b.refresh(),b.start()}),d.bind("QueueChanged",function(a){d.start()}),d.bind("UploadProgress",function(b,c){var d=a("#"+c.id);a(".bar",d).css({width:c.percent+"%"}),a(".percent",d).html(c.percent+"%")}),d.bind("Error",function(a,b){alert("Error #"+b.code+": "+b.message)}),d.bind("FileUploaded",function(b,d,e){if(a("#"+d.id).remove(),"error"!==e.response){if("undefined"!=typeof tinyMCE)if("function"!=typeof tinyMCE.execInstanceCommand){var f=tinyMCE.get("post_content_"+c);null!==f&&f.insertContent(e.response)}else tinyMCE.execInstanceCommand("post_content_"+c,"mceInsertContent",!1,e.response);var g=a("#post_content_"+c);g.val(g.val()+e.response)}else alert("Something went wrong")}),d.init()}},deleteAvatar:function(b){b.preventDefault(),confirm(a(this).data("confirm"))&&a.post(wpuf_frontend.ajaxurl,{action:"wpuf_delete_avatar",_wpnonce:wpuf_frontend.nonce},function(){a(b.target).parent().remove(),a("[id^=wpuf-avatar]").css("display","")})},editorLimit:{bind:function(b,c,d){"no"===d?(a("textarea#"+c).keydown(function(a){WP_User_Frontend.editorLimit.textLimit.call(this,a,b)}),a("input#"+c).keydown(function(a){WP_User_Frontend.editorLimit.textLimit.call(this,a,b)}),a("textarea#"+c).on("paste",function(c){var d=a(this);setTimeout(function(){WP_User_Frontend.editorLimit.textLimit.call(d,c,b)},100)}),a("input#"+c).on("paste",function(c){var d=a(this);setTimeout(function(){WP_User_Frontend.editorLimit.textLimit.call(d,c,b)},100)})):setTimeout(function(){tinyMCE.get(c).onKeyDown.add(function(a,c){WP_User_Frontend.editorLimit.tinymce.onKeyDown(a,c,b)}),tinyMCE.get(c).onPaste.add(function(a,c){setTimeout(function(){WP_User_Frontend.editorLimit.tinymce.onPaste(a,c,b)},100)})},1e3)},tinymce:{getStats:function(a){var b=a.getBody(),c=tinymce.trim(b.innerText||b.textContent);return{chars:c.length,words:c.split(/[\w\u2019\'-]+/).length}},onKeyDown:function(b,c,d){var e=WP_User_Frontend.editorLimit.tinymce.getStats(b).words-1;d&&a(".mce-path-item.mce-last",b.container).html("Word Limit : "+e+"/"+d),d&&e>d&&(WP_User_Frontend.editorLimit.blockTyping(c),jQuery(".mce-path-item.mce-last",b.container).html(wpuf_frontend.word_limit))},onPaste:function(a,b,c){var d=a.getContent().split(" ").slice(0,c).join(" ");a.setContent(d),WP_User_Frontend.editorLimit.make_media_embed_code(d,a)}},textLimit:function(b,c){var d=a(this),e=d.val().split(" ");c&&e.length>c?(d.closest(".wpuf-fields").find("span.wpuf-wordlimit-message").html(wpuf_frontend.word_limit),WP_User_Frontend.editorLimit.blockTyping(b)):d.closest(".wpuf-fields").find("span.wpuf-wordlimit-message").html(""),"paste"===b.type&&d.val(e.slice(0,c).join(" "))},blockTyping:function(b){-1!==a.inArray(b.keyCode,[46,8,9,27,13,110,190,189])||65==b.keyCode&&!0===b.ctrlKey||b.keyCode>=35&&b.keyCode<=40||(b.preventDefault(),b.stopPropagation())},make_media_embed_code:function(b,c){a.post(ajaxurl,{action:"make_media_embed_code",content:b},function(a){c.setContent(c.getContent()+c.setContent(a))})}}},a(function(){if(WP_User_Frontend.init(),a("ul.wpuf-payment-gateways").on("click","input[type=radio]",function(b){a(".wpuf-payment-instruction").slideUp(250),a(this).parents("li").find(".wpuf-payment-instruction").slideDown(250)}),a("ul.wpuf-payment-gateways li").find("input[type=radio]").is(":checked")){a("ul.wpuf-payment-gateways li").find("input[type=radio]:checked").parents("li").find(".wpuf-payment-instruction").slideDown(250)}else a("ul.wpuf-payment-gateways li").first().find("input[type=radio]").click()}),a(function(){a('input[name="first_name"], input[name="last_name"]').on("change keyup",function(){var b,c=a.makeArray(a('input[name="first_name"], input[name="last_name"]').map(function(){if(b=a(this).val())return b})).join(" ");a('input[name="display_name"]').val(c)})}),a(function(a){a('.wpuf-form-add input[name="dokan_store_name"]').on("focusout",function(){var b=a(this).val().toLowerCase().replace(/-+/g,"").replace(/\s+/g,"-").replace(/[^a-z0-9-]/g,"");a('input[name="shopurl"]').val(b),a("#url-alart").text(b),a('input[name="shopurl"]').focus()}),a('.wpuf-form-add input[name="shopurl"]').keydown(function(b){a(this).val();-1!==a.inArray(b.keyCode,[46,8,9,27,13,91,109,110,173,189,190])||65==b.keyCode&&!0===b.ctrlKey||b.keyCode>=35&&b.keyCode<=39||(b.shiftKey||(b.keyCode<65||b.keyCode>90)&&(b.keyCode<48||b.keyCode>57))&&(b.keyCode<96||b.keyCode>105)&&b.preventDefault()}),a('.wpuf-form-add input[name="shopurl"]').keyup(function(b){a("#url-alart").text(a(this).val())}),a('.wpuf-form-add input[name="shopurl"]').on("focusout",function(){var b=a(this),c={action:"shop_url",url_slug:b.val(),_nonce:dokan.nonce};""!==b.val()&&a.post(dokan.ajaxurl,c,function(b){0==b?(a("#url-alart").removeClass("text-success").addClass("text-danger"),a("#url-alart-mgs").removeClass("text-success").addClass("text-danger").text(dokan.seller.notAvailable)):(a("#url-alart").removeClass("text-danger").addClass("text-success"),a("#url-alart-mgs").removeClass("text-danger").addClass("text-success").text(dokan.seller.available))})}),a(".wpuf-form-add #wpuf-map-add-location").attr("name","find_address")})}(jQuery,window);
assets/js/jquery-ui-timepicker-addon.js CHANGED
File without changes
assets/js/jquery.smallipop-0.4.0.min.js CHANGED
File without changes
assets/js/jquery.validate.min.js CHANGED
File without changes
assets/js/subscriptions.js CHANGED
File without changes
assets/js/upload.js CHANGED
File without changes
assets/js/upload.min.js CHANGED
File without changes
assets/js/wpuf-form-builder-components.js CHANGED
@@ -418,7 +418,8 @@ Vue.component('field-options', {
418
  data: function() {
419
  return {
420
  show_basic_settings: true,
421
- show_advanced_settings: false
 
422
  };
423
  },
424
 
@@ -426,6 +427,7 @@ Vue.component('field-options', {
426
  editing_field_id: function () {
427
  this.show_basic_settings = true;
428
  this.show_advanced_settings = false;
 
429
 
430
  return parseInt(this.$store.state.editing_field_id);
431
  },
@@ -464,6 +466,12 @@ Vue.component('field-options', {
464
  });
465
  },
466
 
 
 
 
 
 
 
467
  form_field_type_title: function() {
468
  var template = this.editing_form_field.template;
469
 
@@ -472,6 +480,16 @@ Vue.component('field-options', {
472
  }
473
 
474
  return this.$store.state.field_settings[template].title;
 
 
 
 
 
 
 
 
 
 
475
  }
476
  }
477
  });
418
  data: function() {
419
  return {
420
  show_basic_settings: true,
421
+ show_advanced_settings: false,
422
+ show_quiz_settings: false
423
  };
424
  },
425
 
427
  editing_field_id: function () {
428
  this.show_basic_settings = true;
429
  this.show_advanced_settings = false;
430
+ this.show_quiz_settings = false;
431
 
432
  return parseInt(this.$store.state.editing_field_id);
433
  },
466
  });
467
  },
468
 
469
+ quiz_settings: function () {
470
+ return this.settings.filter(function (item) {
471
+ return 'quiz' === item.section;
472
+ });
473
+ },
474
+
475
  form_field_type_title: function() {
476
  var template = this.editing_form_field.template;
477
 
480
  }
481
 
482
  return this.$store.state.field_settings[template].title;
483
+ },
484
+
485
+ form_settings: function () {
486
+ return this.$store.state.settings;
487
+ }
488
+ },
489
+
490
+ watch: {
491
+ form_settings: function () {
492
+ return this.$store.state.settings;
493
  }
494
  }
495
  });
assets/less/frontend-forms.less CHANGED
@@ -1592,4 +1592,104 @@ ul.wpuf-form .ui-state-default.wpuf-image-wrap .caption span:hover{
1592
  background: #0073aa;
1593
  -webkit-box-shadow: none;
1594
  box-shadow: none;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1595
  }
1592
  background: #0073aa;
1593
  -webkit-box-shadow: none;
1594
  box-shadow: none;
1595
+ }
1596
+
1597
+ .weforms-quiz-feedback{
1598
+ position: relative;
1599
+ padding-top: 50px;
1600
+ padding-bottom: 50px;
1601
+ margin-top: 50px;
1602
+ }
1603
+
1604
+ .weforms-quiz-feedback .weforms-quiz-points{
1605
+ position: absolute;
1606
+ top: 0;
1607
+ right: 0;
1608
+ width: 200px;
1609
+ text-align: right;
1610
+ }
1611
+
1612
+ .weforms-quiz-feedback .weforms-field-points{
1613
+ float: right;
1614
+ }
1615
+
1616
+ .weforms-quiz-feedback .weforms-quiz-points .score{
1617
+ background: rgb(103, 58, 183);
1618
+ color: #fff;
1619
+ padding: 12px 20px;
1620
+ border-radius: 5px;
1621
+ }
1622
+
1623
+ .weforms-quiz-feedback .right-answer-block,
1624
+ .weforms-quiz-feedback .weforms-answer-feedback{
1625
+ margin-top: 2px;
1626
+ background: #f5f5f5;
1627
+ padding: 20px;
1628
+ color: rgba(0,0,0,.87);
1629
+ font-weight: 700;
1630
+ }
1631
+
1632
+ .weforms-quiz-feedback .right-answer-block p,
1633
+ .weforms-quiz-feedback .weforms-answer-feedback p{
1634
+ margin-bottom: 10px;
1635
+ }
1636
+
1637
+ .weforms-quiz-feedback .weforms-answer-feedback .feedback{
1638
+ font-weight: 400;
1639
+ }
1640
+
1641
+ .weforms-quiz-feedback .right-answer,
1642
+ .weforms-quiz-feedback .wrong-answer{
1643
+ margin-bottom: 20px;
1644
+ }
1645
+
1646
+ .weforms-quiz-feedback .right-answer .wpuf-fields label.checked{
1647
+ background: #dff0d8;
1648
+ color: #3c763d;
1649
+ padding: 6px 0;
1650
+ }
1651
+
1652
+ .weforms-quiz-feedback .wrong-answer .wpuf-fields label.checked{
1653
+ background: #FFE4E4;
1654
+ color: red;
1655
+ padding: 6px 0;
1656
+ }
1657
+
1658
+ ul.wpuf-form .wpuf-el{
1659
+ position: relative;
1660
+ }
1661
+
1662
+ ul.wpuf-form .weforms-frontend-field-points{
1663
+ position: absolute;
1664
+ top: 0;
1665
+ right: 0;
1666
+ width: 100px;
1667
+ color: rgba(0,0,0,0.54);
1668
+ font-size: 12px;
1669
+ margin-top: 12px;
1670
+ font-weight: 700;
1671
+ text-align: right;
1672
+ }
1673
+
1674
+ .dokan-dashboard .dokan-dashboard-content ul li.wpuf-el,
1675
+ .dokan-dashboard .dokan-dashboard-content ul li.wpuf-submit{
1676
+ margin-left: 0;
1677
+ margin-bottom: 10px;
1678
+ padding: 10px;
1679
+ padding-left: 0;
1680
+ }
1681
+
1682
+ /* Front End Posts List Tools */
1683
+ .wpuf-posts-options{
1684
+ padding: 0 10px;
1685
+ border-right: 1px solid #ccc;
1686
+ }
1687
+
1688
+ .wpuf-posts-options:first-child{
1689
+ padding-left: 0;
1690
+ }
1691
+
1692
+ .wpuf-posts-options:last-child{
1693
+ padding-right: 0;
1694
+ border-right: 0;
1695
  }
assets/vendor/vue/vue.js CHANGED
File without changes
assets/vendor/vue/vue.min.js CHANGED
File without changes
assets/vendor/vuex/vuex.js CHANGED
File without changes
assets/vendor/vuex/vuex.min.js CHANGED
File without changes
class/frontend-account.php CHANGED
@@ -19,6 +19,124 @@ class WPUF_Frontend_Account {
19
  add_action( 'wpuf_account_content_edit-profile', array( $this, 'edit_profile_section' ), 10, 2 );
20
  add_action( 'wpuf_account_content_billing-address', array( $this, 'billing_address_section' ), 10, 2 );
21
  add_action( 'wp_ajax_wpuf_account_update_profile', array( $this, 'update_profile' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  }
23
 
24
  /**
19
  add_action( 'wpuf_account_content_edit-profile', array( $this, 'edit_profile_section' ), 10, 2 );
20
  add_action( 'wpuf_account_content_billing-address', array( $this, 'billing_address_section' ), 10, 2 );
21
  add_action( 'wp_ajax_wpuf_account_update_profile', array( $this, 'update_profile' ) );
22
+ add_filter( 'wpuf_options_wpuf_my_account', array( $this, 'add_settings_options' ) );
23
+ add_filter( 'wpuf_account_sections', array( $this, 'add_account_sections' ) );
24
+ add_action( 'wpuf_account_content_submit-post', array( $this, 'submit_post_section' ), 10, 2 );
25
+ }
26
+
27
+ /**
28
+ * Add new settings options
29
+ *
30
+ * @return array $options
31
+ *
32
+ * @since 2.9.0
33
+ */
34
+ public function add_settings_options( $options ) {
35
+ $options[] = array(
36
+ 'name' => 'allow_post_submission',
37
+ 'label' => __( 'Post Submission', 'wp-user-frontend' ),
38
+ 'desc' => __( 'Enable if you want to allow users to submit post from the account page.', 'wp-user-frontend' ),
39
+ 'type' => 'checkbox',
40
+ 'default' => 'on',
41
+ );
42
+
43
+ $options[] = array(
44
+ 'name' => 'post_submission_label',
45
+ 'label' => __( 'Sumission Menu Label', 'wp-user-frontend' ),
46
+ 'desc' => __( 'Label for post submission menu', 'wp-user-frontend' ),
47
+ 'type' => 'text',
48
+ 'default' => __( 'Submit Post', 'wp-user-frontend' ),
49
+ );
50
+
51
+ $options[] = array(
52
+ 'name' => 'post_submission_form',
53
+ 'label' => __( 'Sumission Form', 'wp-user-frontend' ),
54
+ 'desc' => __( 'Select a post form that will use to submit post by the users from their account page.', 'wp-user-frontend' ),
55
+ 'type' => 'select',
56
+ 'options' => $this->get_post_forms()
57
+ );
58
+
59
+ return $options;
60
+ }
61
+
62
+ /**
63
+ * Get post forms created by WPUF
64
+ *
65
+ * @return array $forms
66
+ *
67
+ * @since 2.9.0
68
+ */
69
+ public function get_post_forms() {
70
+ $args = array(
71
+ 'post_type' => 'wpuf_forms',
72
+ 'post_status' => 'any',
73
+ 'orderby' => 'DESC',
74
+ 'order' => 'ID'
75
+ );
76
+
77
+ $query = new WP_Query( $args );
78
+
79
+ $forms = array();
80
+
81
+ if ( $query->have_posts() ) {
82
+
83
+ $i = 0;
84
+
85
+ while ( $query->have_posts() ) {
86
+ $query->the_post();
87
+
88
+ $form = $query->posts[ $i ];
89
+
90
+ $settings = get_post_meta( get_the_ID(), 'wpuf_form_settings', true );
91
+
92
+ $forms[ $form->ID ] = $form->post_title;
93
+
94
+ $i++;
95
+ }
96
+ }
97
+
98
+ return $forms;
99
+ }
100
+
101
+ /**
102
+ * Show/Hide frontend post submission menu depending on option
103
+ *
104
+ * @return array $sections
105
+ *
106
+ * @since 2.9.0
107
+ */
108
+ public function add_account_sections( $sections ) {
109
+ $allow_post_submission = wpuf_get_option( 'allow_post_submission', 'wpuf_my_account', 'on' );
110
+ $submission_label = wpuf_get_option( 'post_submission_label', 'wpuf_my_account', __( 'Submit Post', 'wp-user-frontend' ) );
111
+
112
+ if ( $allow_post_submission == 'on' ) {
113
+ $sections = array_merge( $sections, array( array( 'slug' => 'submit-post', 'label' => $submission_label ) ) );
114
+ }
115
+
116
+ return $sections;
117
+ }
118
+
119
+ /**
120
+ * Display the submit post section
121
+ *
122
+ * @param array $sections
123
+ * @param string $current_section
124
+ *
125
+ * @return void
126
+ *
127
+ * @since 2.9.0
128
+ */
129
+ public function submit_post_section( $sections, $current_section ) {
130
+ $allow_post_submission = wpuf_get_option( 'allow_post_submission', 'wpuf_my_account', 'on' );
131
+
132
+ if ( $allow_post_submission != 'on' ) {
133
+ return;
134
+ }
135
+
136
+ wpuf_load_template(
137
+ "submit-post.php",
138
+ array( 'sections' => $sections, 'current_section' => $current_section )
139
+ );
140
  }
141
 
142
  /**
class/frontend-dashboard.php CHANGED
@@ -27,7 +27,7 @@ class WPUF_Frontend_Dashboard {
27
  <?php //echo $custom_css = wpuf_get_option( 'custom_css', 'wpuf_general' ); ?>
28
  </style>
29
  <?php
30
- $attributes = shortcode_atts( array( 'form_id'=>'off', 'post_type' => 'post', 'category' =>'off', 'featured_image' => 'default', 'meta' => 'off', 'excerpt' =>'off'), $atts ) ;
31
  ob_start();
32
 
33
  if ( is_user_logged_in() ) {
@@ -102,7 +102,8 @@ class WPUF_Frontend_Dashboard {
102
  'featured_image' => $featured_image,
103
  'form_id' => $form_id,
104
  'meta' => $meta,
105
- 'excerpt' => $excerpt
 
106
  ) );
107
 
108
  wp_reset_postdata();
27
  <?php //echo $custom_css = wpuf_get_option( 'custom_css', 'wpuf_general' ); ?>
28
  </style>
29
  <?php
30
+ $attributes = shortcode_atts( array( 'form_id'=>'off', 'post_type' => 'post', 'category' =>'off', 'featured_image' => 'default', 'meta' => 'off', 'excerpt' =>'off', 'payment_column' => 'on' ), $atts ) ;
31
  ob_start();
32
 
33
  if ( is_user_logged_in() ) {
102
  'featured_image' => $featured_image,
103
  'form_id' => $form_id,
104
  'meta' => $meta,
105
+ 'excerpt' => $excerpt,
106
+ 'payment_column' => $payment_column
107
  ) );
108
 
109
  wp_reset_postdata();
class/frontend-form-post.php CHANGED
@@ -688,14 +688,14 @@ class WPUF_Frontend_Form_Post extends WPUF_Render_Form {
688
  wpuf_send_mail_to_guest ( $post_id_encoded, $form_id_encoded, 'no', 1 );
689
  $response['show_message'] = true;
690
  $response['redirect_to'] = add_query_arg( $wp->query_string, '', home_url( $wp->request ) );
691
- $response['message'] = 'Thank you for posting on our site. We have sent you an confirmation email. Please check your inbox!';
692
 
693
  } elseif ( $guest_mode == 'true' && $guest_verify == 'true' && !is_user_logged_in() && $charging_enabled == 'yes' ) {
694
  $post_id_encoded = wpuf_encryption( $post_id ) ;
695
  $form_id_encoded = wpuf_encryption( $form_id ) ;
696
  $response['show_message'] = true;
697
  $response['redirect_to'] = add_query_arg( $wp->query_string, '', home_url( $wp->request ) );
698
- $response['message'] = 'Thank you for posting on our site. We have sent you an confirmation email. Please check your inbox!';
699
  update_post_meta ( $post_id, '_wpuf_payment_status', 'pending' );
700
  wpuf_send_mail_to_guest ( $post_id_encoded, $form_id_encoded, 'yes', 2 );
701
  }
@@ -770,6 +770,8 @@ class WPUF_Frontend_Form_Post extends WPUF_Render_Form {
770
  @header( 'Content-Type: application/json; charset=' . get_option( 'blog_charset' ) );
771
 
772
  $form_id = isset( $_POST['form_id'] ) ? intval( $_POST['form_id'] ) : 0;
 
 
773
  $form_vars = $this->get_input_fields( $form_id );
774
  $form_settings = wpuf_get_form_settings( $form_id );
775
  $post_content = isset( $_POST[ 'post_content' ] ) ? $_POST[ 'post_content' ] : '';
@@ -817,6 +819,11 @@ class WPUF_Frontend_Form_Post extends WPUF_Render_Form {
817
  }
818
  }
819
 
 
 
 
 
 
820
  // save any custom taxonomies
821
  $woo_attr = array();
822
 
688
  wpuf_send_mail_to_guest ( $post_id_encoded, $form_id_encoded, 'no', 1 );
689
  $response['show_message'] = true;
690
  $response['redirect_to'] = add_query_arg( $wp->query_string, '', home_url( $wp->request ) );
691
+ $response['message'] = __( 'Thank you for posting on our site. We have sent you an confirmation email. Please check your inbox!', 'wp-user-frontend' );
692
 
693
  } elseif ( $guest_mode == 'true' && $guest_verify == 'true' && !is_user_logged_in() && $charging_enabled == 'yes' ) {
694
  $post_id_encoded = wpuf_encryption( $post_id ) ;
695
  $form_id_encoded = wpuf_encryption( $form_id ) ;
696
  $response['show_message'] = true;
697
  $response['redirect_to'] = add_query_arg( $wp->query_string, '', home_url( $wp->request ) );
698
+ $response['message'] = __( 'Thank you for posting on our site. We have sent you an confirmation email. Please check your inbox!', 'wp-user-frontend' );
699
  update_post_meta ( $post_id, '_wpuf_payment_status', 'pending' );
700
  wpuf_send_mail_to_guest ( $post_id_encoded, $form_id_encoded, 'yes', 2 );
701
  }
770
  @header( 'Content-Type: application/json; charset=' . get_option( 'blog_charset' ) );
771
 
772
  $form_id = isset( $_POST['form_id'] ) ? intval( $_POST['form_id'] ) : 0;
773
+ $form = new WPUF_Form( $form_id );
774
+ $pay_per_post = $form->is_enabled_pay_per_post();
775
  $form_vars = $this->get_input_fields( $form_id );
776
  $form_settings = wpuf_get_form_settings( $form_id );
777
  $post_content = isset( $_POST[ 'post_content' ] ) ? $_POST[ 'post_content' ] : '';
819
  }
820
  }
821
 
822
+ // if pay per post is enabled then update payment status as pending
823
+ if ( $pay_per_post ) {
824
+ update_post_meta ( $post_id, '_wpuf_payment_status', 'pending' );
825
+ }
826
+
827
  // save any custom taxonomies
828
  $woo_attr = array();
829
 
class/payment.php CHANGED
File without changes
class/render-form.php CHANGED
File without changes
class/subscription.php CHANGED
File without changes
class/upload.php CHANGED
File without changes
includes/free/loader.php CHANGED
@@ -267,8 +267,10 @@ class WPUF_Free_Loader extends WPUF_Pro_Prompt {
267
  */
268
  public function post_form_templates( $integrations ) {
269
  require_once dirname( __FILE__ ) . '/post-form-templates/woocommerce.php';
 
270
 
271
- $integrations['WPUF_Post_Form_Template_WooCommerce'] = new WPUF_Post_Form_Template_WooCommerce();
 
272
 
273
  return $integrations;
274
  }
267
  */
268
  public function post_form_templates( $integrations ) {
269
  require_once dirname( __FILE__ ) . '/post-form-templates/woocommerce.php';
270
+ require_once dirname( __FILE__ ) . '/post-form-templates/the_events_calendar.php';
271
 
272
+ $integrations['WPUF_Post_Form_Template_WooCommerce'] = new WPUF_Post_Form_Template_WooCommerce();
273
+ $integrations['WPUF_Post_Form_Template_Events_Calendar'] = new WPUF_Post_Form_Template_Events_Calendar();
274
 
275
  return $integrations;
276
  }
includes/free/post-form-templates/the_events_calendar.php ADDED
@@ -0,0 +1,211 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * The Events Calendar Integration Template
4
+ *
5
+ * @since 2.9
6
+ */
7
+ class WPUF_Post_Form_Template_Events_Calendar extends WPUF_Post_Form_Template {
8
+
9
+ public function __construct() {
10
+ parent::__construct();
11
+
12
+ $this->enabled = class_exists( 'Tribe__Events__Main' );
13
+ $this->title = __( 'The Events Calendar', 'wp-user-frontend' );
14
+ $this->description = __( 'Form for creating events. The Events Calendar plugin is required.', 'wp-user-frontend' );
15
+ $this->image = WPUF_ASSET_URI . '/images/templates/post.png';
16
+ $this->form_fields = array(
17
+ array(
18
+ 'input_type' => 'text',
19
+ 'template' => 'post_title',
20
+ 'required' => 'yes',
21
+ 'label' => __( 'Event Title', 'wp-user-frontend' ),
22
+ 'name' => 'post_title',
23
+ 'is_meta' => 'no',
24
+ 'help' => '',
25
+ 'css' => '',
26
+ 'placeholder' => __( 'Please enter your event title', 'wp-user-frontend' ),
27
+ 'default' => '',
28
+ 'size' => '40',
29
+ 'wpuf_cond' => $this->conditionals
30
+ ),
31
+ array(
32
+ 'input_type' => 'textarea',
33
+ 'template' => 'post_content',
34
+ 'required' => 'yes',
35
+ 'label' => __( 'Event details', 'wp-user-frontend' ),
36
+ 'name' => 'post_content',
37
+ 'is_meta' => 'no',
38
+ 'help' => __( 'Write the full description of your event', 'wp-user-frontend' ),
39
+ 'css' => '',
40
+ 'rows' => '5',
41
+ 'cols' => '25',
42
+ 'placeholder' => '',
43
+ 'default' => '',
44
+ 'rich' => 'yes',
45
+ 'insert_image' => 'yes',
46
+ 'word_restriction' => '',
47
+ 'wpuf_cond' => $this->conditionals
48
+ ),
49
+ array(
50
+ 'input_type' => 'date',
51
+ 'template' => 'date_field',
52
+ 'required' => 'no',
53
+ 'label' => __( 'Event Start', 'wp-user-frontend' ),
54
+ 'name' => '_EventStartDate',
55
+ 'is_meta' => 'yes',
56
+ 'width' => 'large',
57
+ 'format' => 'yy-mm-dd',
58
+ 'time' => 'yes',
59
+ 'css' => 'wpuf_hidden_field',
60
+ 'wpuf_cond' => $this->conditionals
61
+ ),
62
+ array(
63
+ 'input_type' => 'date',
64
+ 'template' => 'date_field',
65
+ 'required' => 'no',
66
+ 'label' => __( 'Event End', 'wp-user-frontend' ),
67
+ 'name' => '_EventEndDate',
68
+ 'is_meta' => 'yes',
69
+ 'width' => 'large',
70
+ 'format' => 'yy-mm-dd',
71
+ 'time' => 'yes',
72
+ 'css' => 'wpuf_hidden_field',
73
+ 'wpuf_cond' => $this->conditionals
74
+ ),
75
+ array(
76
+ 'input_type' => 'radio',
77
+ 'template' => 'radio_field',
78
+ 'required' => 'no',
79
+ 'label' => __( 'All Day Event', 'wp-user-frontend' ),
80
+ 'name' => '_EventAllDay',
81
+ 'is_meta' => 'yes',
82
+ 'selected' => array() ,
83
+ 'inline' => 'yes',
84
+ 'options' => array(
85
+ 'yes' => 'Yes',
86
+ 'no' => 'No',
87
+ ),
88
+ 'wpuf_cond' => $this->conditionals
89
+ ),
90
+ array(
91
+ 'input_type' => 'url',
92
+ 'template' => 'website_url',
93
+ 'required' => 'no',
94
+ 'label' => __( 'Event Website', 'wp-user-frontend' ),
95
+ 'name' => '_EventURL',
96
+ 'is_meta' => 'yes',
97
+ 'width' => 'large',
98
+ 'size' => 40,
99
+ 'wpuf_cond' => $this->conditionals
100
+ ),
101
+ array(
102
+ 'input_type' => 'text',
103
+ 'template' => 'text_field',
104
+ 'required' => 'no',
105
+ 'label' => __( 'Currency Symbol', 'wp-user-frontend' ),
106
+ 'name' => '_EventCurrencySymbol',
107
+ 'is_meta' => 'yes',
108
+ 'size' => 40,
109
+ 'wpuf_cond' => $this->conditionals
110
+ ),
111
+ array(
112
+ 'input_type' => 'text',
113
+ 'template' => 'text_field',
114
+ 'required' => 'no',
115
+ 'label' => __( 'Cost', 'wp-user-frontend' ),
116
+ 'name' => '_EventCost',
117
+ 'is_meta' => 'yes',
118
+ 'wpuf_cond' => $this->conditionals
119
+ ),
120
+ array(
121
+ 'input_type' => 'image_upload',
122
+ 'template' => 'featured_image',
123
+ 'count' => '1',
124
+ 'required' => 'no',
125
+ 'label' => __( 'Featured Image', 'wp-user-frontend' ),
126
+ 'button_label' => __( 'Featured Image', 'wp-user-frontend' ),
127
+ 'name' => 'featured_image',
128
+ 'is_meta' => 'no',
129
+ 'help' => __( 'Upload the main image of your event', 'wp-user-frontend' ),
130
+ 'css' => '',
131
+ 'max_size' => '1024',
132
+ 'wpuf_cond' => $this->conditionals
133
+ ),
134
+ array(
135
+ 'input_type' => 'textarea',
136
+ 'template' => 'post_excerpt',
137
+ 'required' => 'no',
138
+ 'label' => __( 'Excerpt', 'wp-user-frontend' ),
139
+ 'name' => 'post_excerpt',
140
+ 'is_meta' => 'no',
141
+ 'help' => __( 'Provide a short description of this event (optional)', 'wp-user-frontend' ),
142
+ 'css' => '',
143
+ 'rows' => '5',
144
+ 'cols' => '25',
145
+ 'placeholder' => '',
146
+ 'default' => '',
147
+ 'rich' => 'no',
148
+ 'wpuf_cond' => $this->conditionals
149
+ ),
150
+ array(
151
+ 'input_type' => 'text',
152
+ 'template' => 'post_tags',
153
+ 'required' => 'no',
154
+ 'label' => __( 'Event Tags', 'wp-user-frontend' ),
155
+ 'name' => 'tags',
156
+ 'is_meta' => 'no',
157
+ 'help' => __( 'Separate tags with commas.', 'wp-user-frontend' ),
158
+ 'css' => '',
159
+ 'placeholder' => '',
160
+ 'default' => '',
161
+ 'size' => '40',
162
+ 'wpuf_cond' => $this->conditionals
163
+ ),
164
+ );
165
+
166
+ $this->form_settings = array (
167
+ 'post_type' => 'tribe_events',
168
+ 'post_status' => 'publish',
169
+ 'default_cat' => '-1',
170
+ 'guest_post' => 'false',
171
+ 'message_restrict' => __( 'This page is restricted. Please Log in / Register to view this page.', 'wp-user-frontend' ),
172
+ 'redirect_to' => 'post',
173
+ 'comment_status' => 'open',
174
+ 'submit_text' => __( 'Create Event', 'wp-user-frontend' ),
175
+ 'edit_post_status' => 'publish',
176
+ 'edit_redirect_to' => 'same',
177
+ 'update_message' => __( 'Event has been updated successfully. <a target="_blank" href="%link%">View event</a>', 'wp-user-frontend' ),
178
+ 'edit_url' => '',
179
+ 'update_text' => __( 'Update Event', 'wp-user-frontend' ),
180
+ 'form_template' => __CLASS__,
181
+ 'notification' => array(
182
+ 'new' => 'on',
183
+ 'new_to' => get_option( 'admin_email' ),
184
+ 'new_subject' => 'New event has been created',
185
+ 'new_body' => 'Hi,
186
+ A new event has been created in your site %sitename% (%siteurl%).
187
+
188
+ Here is the details:
189
+ Event Title: %post_title%
190
+ Description: %post_content%
191
+ Short Description: %post_excerpt%
192
+ Author: %author%
193
+ Post URL: %permalink%
194
+ Edit URL: %editlink%',
195
+ 'edit' => 'off',
196
+ 'edit_to' => get_option( 'admin_email' ),
197
+ 'edit_subject' => 'Post has been edited',
198
+ 'edit_body' => 'Hi,
199
+ The event "%post_title%" has been updated.
200
+
201
+ Here is the details:
202
+ Event Title: %post_title%
203
+ Description: %post_content%
204
+ Short Description: %post_excerpt%
205
+ Author: %author%
206
+ Post URL: %permalink%
207
+ Edit URL: %editlink%',
208
+ ),
209
+ );
210
+ }
211
+ }
languages/readme.txt CHANGED
File without changes
languages/wp-user-frontend.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the GPL2 or later.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WP User Frontend 2.8.10\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
- "POT-Creation-Date: 2018-07-18 04:53:23+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -137,7 +137,7 @@ msgid "Duration"
137
  msgstr ""
138
 
139
  #: admin/class-admin-subscription.php:216
140
- #: admin/class-admin-subscription.php:570 class/frontend-account.php:126
141
  #: class/subscription.php:865 includes/class-user-subscription.php:307
142
  #: templates/subscriptions/pack-details.php:26
143
  msgid "Free"
@@ -248,11 +248,11 @@ msgstr ""
248
  msgid "WPUF Subscription Information"
249
  msgstr ""
250
 
251
- #: admin/class-admin-subscription.php:574 class/frontend-account.php:128
252
  msgid "For each %s %s"
253
  msgstr ""
254
 
255
- #: admin/class-admin-subscription.php:575 class/frontend-account.php:129
256
  msgid ", for %s installments"
257
  msgstr ""
258
 
@@ -310,11 +310,15 @@ msgstr ""
310
  msgid "&mdash; Select &mdash;"
311
  msgstr ""
312
 
313
- #: admin/class-admin-subscription.php:774
 
 
 
 
314
  msgid "Delete Package"
315
  msgstr ""
316
 
317
- #: admin/class-admin-subscription.php:823
318
  msgid "Learn more about <a href=\"%s\" target=\"_blank\">Subscription</a>"
319
  msgstr ""
320
 
@@ -502,7 +506,7 @@ msgstr ""
502
  msgid "Select an option"
503
  msgstr ""
504
 
505
- #: admin/form-builder/assets/js/components/field-visibility/template.php:53
506
  msgid "No subscription plan found."
507
  msgstr ""
508
 
@@ -816,7 +820,7 @@ msgstr ""
816
  #: admin/form-builder/class-wpuf-form-builder-field-settings.php:404
817
  #: admin/template.php:398 admin/template.php:422 admin/template.php:454
818
  #: admin/template.php:486 templates/dashboard/posts.php:85
819
- #: templates/dashboard.php:125
820
  msgid "Options"
821
  msgstr ""
822
 
@@ -962,8 +966,8 @@ msgstr ""
962
  #: admin/form-builder/class-wpuf-form-builder-field-settings.php:840
963
  #: admin/form-builder/class-wpuf-form-builder-field-settings.php:926
964
  #: admin/template.php:544 admin/template.php:604 admin/template.php:683
965
- #: class/upload.php:164 templates/dashboard/posts.php:75
966
- #: templates/dashboard.php:86 wpuf-functions.php:753
967
  msgid "Title"
968
  msgstr ""
969
 
@@ -973,7 +977,7 @@ msgid "Title of the section"
973
  msgstr ""
974
 
975
  #: admin/form-builder/class-wpuf-form-builder-field-settings.php:849
976
- #: admin/template.php:609 class/upload.php:166 wpuf-functions.php:759
977
  msgid "Description"
978
  msgstr ""
979
 
@@ -1132,7 +1136,7 @@ msgstr ""
1132
  #: admin/form.php:74 admin/form.php:112 admin/installer.php:79
1133
  #: admin/post-forms-list-table.php:391 class/subscription.php:381
1134
  #: includes/free/admin/shortcode-button.php:90 includes/free/edit-user.php:100
1135
- #: templates/dashboard/posts.php:151 templates/dashboard.php:246
1136
  msgid "Edit"
1137
  msgstr ""
1138
 
@@ -1228,13 +1232,16 @@ msgid "Post Body"
1228
  msgstr ""
1229
 
1230
  #: admin/form.php:646 admin/form.php:653 class/post-form-templates/post.php:85
 
1231
  #: templates/dashboard.php:112
1232
  msgid "Excerpt"
1233
  msgstr ""
1234
 
1235
  #: admin/form.php:705 admin/form.php:712 class/post-form-templates/post.php:72
1236
- #: class/post-form-templates/post.php:73 templates/dashboard/posts.php:72
1237
- #: templates/dashboard.php:83
 
 
1238
  msgid "Featured Image"
1239
  msgstr ""
1240
 
@@ -1366,7 +1373,7 @@ msgstr ""
1366
  msgid "Payment Options"
1367
  msgstr ""
1368
 
1369
- #: admin/html/form-settings-payment.php:25 admin/settings-options.php:355
1370
  #: includes/setup-wizard.php:273
1371
  msgid "Enable Payments"
1372
  msgstr ""
@@ -1501,6 +1508,7 @@ msgid "Update Post Button text"
1501
  msgstr ""
1502
 
1503
  #: admin/html/form-settings-post.php:7 class/post-form-templates/post.php:118
 
1504
  msgid "This page is restricted. Please Log in / Register to view this page."
1505
  msgstr ""
1506
 
@@ -1654,12 +1662,12 @@ msgid "Choose which roles can submit posts."
1654
  msgstr ""
1655
 
1656
  #: admin/html/form-submission-restriction.php:114
1657
- #: admin/settings-options.php:272
1658
  msgid "Unauthorized Message"
1659
  msgstr ""
1660
 
1661
  #: admin/html/form-submission-restriction.php:117
1662
- #: admin/settings-options.php:273
1663
  msgid "Not logged in users will see this message"
1664
  msgstr ""
1665
 
@@ -1876,495 +1884,527 @@ msgid "Contact Support"
1876
  msgstr ""
1877
 
1878
  #: admin/html/whats-new.php:8
1879
- msgid "Added drag and drop image ordering on image upload"
1880
  msgstr ""
1881
 
1882
  #: admin/html/whats-new.php:10
1883
  msgid ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1884
  "Now frontend users can drag & drop the images/files to change the order "
1885
  "while uploading."
1886
  msgstr ""
1887
 
1888
- #: admin/html/whats-new.php:13
1889
  msgid "Added reCAPTCHA field in login form"
1890
  msgstr ""
1891
 
1892
- #: admin/html/whats-new.php:15
1893
  msgid ""
1894
  "Admin has the option to show reCAPTCHA field in login form. Check the "
1895
  "related settings from <strong>User Frontend > Settings > "
1896
  "Login/Registration</strong>"
1897
  msgstr ""
1898
 
1899
- #: admin/html/whats-new.php:18
1900
  msgid "Added preview option in forms"
1901
  msgstr ""
1902
 
1903
- #: admin/html/whats-new.php:20
1904
  msgid ""
1905
  "You can see a nice <strong>Preview</strong> button with <strong>Save "
1906
  "Form</strong> button, admin can take a quick look of the form without using "
1907
  "shortcode"
1908
  msgstr ""
1909
 
1910
- #: admin/html/whats-new.php:23
1911
  msgid "Fixed hiding “Select Image” button while uploading multiple images."
1912
  msgstr ""
1913
 
1914
- #: admin/html/whats-new.php:25
1915
  msgid ""
1916
  "The upload button will not be hidden until the user selects max number of "
1917
  "files "
1918
  msgstr ""
1919
 
1920
- #: admin/html/whats-new.php:28
1921
  msgid "Added form limit notice before form submission"
1922
  msgstr ""
1923
 
1924
- #: admin/html/whats-new.php:30
1925
  msgid ""
1926
  "Limit notice message was showing after submission, now it is showing when "
1927
  "rendering the form"
1928
  msgstr ""
1929
 
1930
- #: admin/html/whats-new.php:33
1931
  msgid "Fixed: default post category not saving"
1932
  msgstr ""
1933
 
1934
- #: admin/html/whats-new.php:35
1935
  msgid ""
1936
  "From the form <strong>Settings > Post Settings</strong>, default post "
1937
  "category options were not saving. Now, it's fixed."
1938
  msgstr ""
1939
 
1940
- #: admin/html/whats-new.php:38
1941
  msgid ""
1942
  "WPUF dashboard shortcode with form_id attribute was not showing posts "
1943
  "properly"
1944
  msgstr ""
1945
 
1946
- #: admin/html/whats-new.php:40
1947
  msgid ""
1948
  "Now you can list posts on the frontend by using <strong>form_id<strong/> "
1949
  "attribute with <strong>[wpuf_dashboard]</strong> shortcode"
1950
  msgstr ""
1951
 
1952
- #: admin/html/whats-new.php:49
1953
  msgid "Changed text domain to `wp-user-frontend` from `wpuf` "
1954
  msgstr ""
1955
 
1956
- #: admin/html/whats-new.php:51
1957
  msgid ""
1958
  "If you are using other language than English. Please <b>rename</b> your "
1959
  "<i>.po and .mo </i> files to `wp-user-frontend_` from `wpuf_` <br> This "
1960
  "change was made to support translations from translate.wordpress.org"
1961
  msgstr ""
1962
 
1963
- #: admin/html/whats-new.php:54
1964
  msgid "Added WP User Frontend Data export and erase functionality."
1965
  msgstr ""
1966
 
1967
- #: admin/html/whats-new.php:56
1968
  msgid "Added functionality to export WP User Frontend Data to comply with GDPR."
1969
  msgstr ""
1970
 
1971
- #: admin/html/whats-new.php:59
1972
  msgid "Added billing address customizer."
1973
  msgstr ""
1974
 
1975
- #: admin/html/whats-new.php:61
1976
  msgid "Added customizer options for billing address in payment page."
1977
  msgstr ""
1978
 
1979
- #: admin/html/whats-new.php:64
1980
  msgid "Make the payment page responsive."
1981
  msgstr ""
1982
 
1983
- #: admin/html/whats-new.php:66
1984
  msgid "Some css adjustments are made in payment page to make it responsive."
1985
  msgstr ""
1986
 
1987
- #: admin/html/whats-new.php:69
1988
  msgid "Fixed image upload issue in Safari."
1989
  msgstr ""
1990
 
1991
- #: admin/html/whats-new.php:71
1992
  msgid "Images were not showing after upload in safari, it is fixed now."
1993
  msgstr ""
1994
 
1995
- #: admin/html/whats-new.php:74
1996
  msgid "Post update issue after updating or removing post images."
1997
  msgstr ""
1998
 
1999
- #: admin/html/whats-new.php:76
2000
  msgid ""
2001
  "Posts cannot be updated after updating or removing post images, it is fixed "
2002
  "now."
2003
  msgstr ""
2004
 
2005
- #: admin/html/whats-new.php:85
2006
  msgid "Allow overriding form input styles using theme styling."
2007
  msgstr ""
2008
 
2009
- #: admin/html/whats-new.php:87
2010
  msgid "Overriding form input styles using theme style is now possible."
2011
  msgstr ""
2012
 
2013
- #: admin/html/whats-new.php:90
2014
  msgid "Fixed Auto Login after registration."
2015
  msgstr ""
2016
 
2017
- #: admin/html/whats-new.php:92
2018
  msgid "Auto Login after registration was not working is fixed now."
2019
  msgstr ""
2020
 
2021
- #: admin/html/whats-new.php:95
2022
  msgid "Fixed fallback cost calculation"
2023
  msgstr ""
2024
 
2025
- #: admin/html/whats-new.php:97
2026
  msgid "Fallback cost calculation was inaccurate for some cases, it is fixed now."
2027
  msgstr ""
2028
 
2029
- #: admin/html/whats-new.php:100
2030
  msgid "Removal of subscription from User Profile gets reverted if updated"
2031
  msgstr ""
2032
 
2033
- #: admin/html/whats-new.php:102
2034
  msgid "User subscription deletion gets reverted if updated is fixed."
2035
  msgstr ""
2036
 
2037
- #: admin/html/whats-new.php:105
2038
  msgid "Show Free pack users in subscribers list."
2039
  msgstr ""
2040
 
2041
- #: admin/html/whats-new.php:107
2042
  msgid "Free pack users were not showing in subscribers list, now they will."
2043
  msgstr ""
2044
 
2045
- #: admin/html/whats-new.php:116
2046
  msgid "WP User Frontend Guten Block is added"
2047
  msgstr ""
2048
 
2049
- #: admin/html/whats-new.php:118
2050
  msgid ""
2051
  "WPUF Form Block is now available to be used within gutenberg editor with "
2052
  "preview of the form. "
2053
  msgstr ""
2054
 
2055
- #: admin/html/whats-new.php:121
2056
  msgid "Advanced Custom Fields plugin compatibility"
2057
  msgstr ""
2058
 
2059
- #: admin/html/whats-new.php:123
2060
  msgid "Now all your ACF fields can be used within WPUF Post forms. "
2061
  msgstr ""
2062
 
2063
- #: admin/html/whats-new.php:126
2064
  msgid "Taxonomy Terms not showing for custom post types"
2065
  msgstr ""
2066
 
2067
- #: admin/html/whats-new.php:128
2068
  msgid ""
2069
  "Fixed an issue with taxonomy terms not appearing for Custom Post types "
2070
  "within Form Settings and Dashboard Post Listing"
2071
  msgstr ""
2072
 
2073
- #: admin/html/whats-new.php:131
2074
  msgid "Various other code optimizations"
2075
  msgstr ""
2076
 
2077
- #: admin/html/whats-new.php:133 admin/html/whats-new.php:190
2078
  msgid "Code structure organization and optimization for better performance"
2079
  msgstr ""
2080
 
2081
- #: admin/html/whats-new.php:142
2082
  msgid "WoooCommerce billing address Sync"
2083
  msgstr ""
2084
 
2085
- #: admin/html/whats-new.php:144
2086
  msgid ""
2087
  "If an existing customer has previously set his billing address, that will "
2088
  "be imported into WPUF Billing address "
2089
  msgstr ""
2090
 
2091
- #: admin/html/whats-new.php:147
2092
  msgid "Trial subscription message not showing properly"
2093
  msgstr ""
2094
 
2095
- #: admin/html/whats-new.php:149
2096
  msgid "Subscriptions with Trial now shows trial notices"
2097
  msgstr ""
2098
 
2099
- #: admin/html/whats-new.php:152
2100
  msgid "Reset email Key not working"
2101
  msgstr ""
2102
 
2103
- #: admin/html/whats-new.php:154
2104
  msgid "Reset Email key was not working in some cases"
2105
  msgstr ""
2106
 
2107
- #: admin/html/whats-new.php:157
2108
  msgid "Post count not showing on the frontend dashboard"
2109
  msgstr ""
2110
 
2111
- #: admin/html/whats-new.php:159
2112
  msgid ""
2113
  "Dashboard with multiple post type was not showing post counts properly, is "
2114
  "now fixed and shows count for each post type"
2115
  msgstr ""
2116
 
2117
- #: admin/html/whats-new.php:162
2118
  msgid "Login Redirect showing blank page is fixed"
2119
  msgstr ""
2120
 
2121
- #: admin/html/whats-new.php:164
2122
  msgid ""
2123
  "If \"Previous Page\" was set for redirection, login redirect was "
2124
  "redirecting to blank page for users who hit login page directly"
2125
  msgstr ""
2126
 
2127
- #: admin/html/whats-new.php:173
2128
  msgid "Enhanced Login Redirect to redirect users to previous page"
2129
  msgstr ""
2130
 
2131
- #: admin/html/whats-new.php:175
2132
  msgid ""
2133
  "You can choose Previous Page as Login Redirect page settings now to "
2134
  "redirect users to the page from which they went for Login. "
2135
  msgstr ""
2136
 
2137
- #: admin/html/whats-new.php:178
2138
  msgid "Email HTML links not Rendreing properly issue is fixed"
2139
  msgstr ""
2140
 
2141
- #: admin/html/whats-new.php:180
2142
  msgid ""
2143
  "For some clients emails were not rendering the HTML links properly, this is "
2144
  "now fixed"
2145
  msgstr ""
2146
 
2147
- #: admin/html/whats-new.php:183
2148
  msgid "Form Builder : Form Field's Help text styles not showing properly"
2149
  msgstr ""
2150
 
2151
- #: admin/html/whats-new.php:185
2152
  msgid "Help texts styling is now fixed and much easier to read and understand"
2153
  msgstr ""
2154
 
2155
- #: admin/html/whats-new.php:188
2156
  msgid "Various other code improvements"
2157
  msgstr ""
2158
 
2159
- #: admin/html/whats-new.php:199
2160
  msgid "Dashboard Post Listing now supports multiple post types"
2161
  msgstr ""
2162
 
2163
- #: admin/html/whats-new.php:201
2164
  msgid ""
2165
  "Now you can show multiple post type in user dashboard using shortcode like "
2166
  "this : <br><b>[wpuf_dashboard post_type=\"post,page,custom_type\"]</b> "
2167
  msgstr ""
2168
 
2169
- #: admin/html/whats-new.php:204
2170
  msgid "Added Login Redirect Settings"
2171
  msgstr ""
2172
 
2173
- #: admin/html/whats-new.php:206
2174
  msgid ""
2175
  "You can now set a page from <i>WPUF Settings > Login/Registration > "
2176
  "Redirect after Login</i>. When login redirection is active the user will be "
2177
  "redirected to this page after login."
2178
  msgstr ""
2179
 
2180
- #: admin/html/whats-new.php:209
2181
  msgid "Image Upload field button text can be changed"
2182
  msgstr ""
2183
 
2184
- #: admin/html/whats-new.php:211
2185
  msgid ""
2186
  "The upload button text can now be changed for image upload fields which "
2187
  "defaults to \"Select Image\" if not set. "
2188
  msgstr ""
2189
 
2190
- #: admin/html/whats-new.php:214
2191
  msgid "Multi Step Form styles made compatible with more themes"
2192
  msgstr ""
2193
 
2194
- #: admin/html/whats-new.php:216
2195
  msgid "Multi Step form can now be styled more easily with other themes "
2196
  msgstr ""
2197
 
2198
- #: admin/html/whats-new.php:219
2199
  msgid "Required field condition for google map not working is fixed"
2200
  msgstr ""
2201
 
2202
- #: admin/html/whats-new.php:221
2203
  msgid ""
2204
  "If Google Map field was set as required users were able to submit form "
2205
  "without changing the default value."
2206
  msgstr ""
2207
 
2208
- #: admin/html/whats-new.php:230
2209
  msgid "Admin form builder is now fully responsive."
2210
  msgstr ""
2211
 
2212
- #: admin/html/whats-new.php:232
2213
  msgid ""
2214
  "Now you can edit forms from your mobile devices directly. Our improved "
2215
  "responsive layouts of form builder makes it easy for you to build forms on "
2216
  "the go."
2217
  msgstr ""
2218
 
2219
- #: admin/html/whats-new.php:235
2220
  msgid "Added color schemes for creating attractive form layouts."
2221
  msgstr ""
2222
 
2223
- #: admin/html/whats-new.php:237
2224
  msgid ""
2225
  "We have added 3 new color schemes for the form layouts which you can choose "
2226
  "from each form's new display settings."
2227
  msgstr ""
2228
 
2229
- #: admin/html/whats-new.php:240
2230
  msgid "Restrict Free subscription pack to be enabled multiple times "
2231
  msgstr ""
2232
 
2233
- #: admin/html/whats-new.php:242
2234
  msgid ""
2235
  "Free subscription packs now can only be purchased once and the limit "
2236
  "applies properly"
2237
  msgstr ""
2238
 
2239
- #: admin/html/whats-new.php:245
2240
  msgid "Various other bug fixes and improvements were made "
2241
  msgstr ""
2242
 
2243
- #: admin/html/whats-new.php:247
2244
  msgid "Please see the change log to see full details."
2245
  msgstr ""
2246
 
2247
- #: admin/html/whats-new.php:256
2248
  msgid "Added upgrade function for default category"
2249
  msgstr ""
2250
 
2251
- #: admin/html/whats-new.php:258
2252
  msgid "Upgrader added to upgrade previously set default post category."
2253
  msgstr ""
2254
 
2255
- #: admin/html/whats-new.php:261
2256
  msgid "Subscription pack cannot be canceled"
2257
  msgstr ""
2258
 
2259
- #: admin/html/whats-new.php:263
2260
  msgid ""
2261
  "Fixed recurring subscription pack cannot be canceled from my account page "
2262
  "in subscription details section."
2263
  msgstr ""
2264
 
2265
- #: admin/html/whats-new.php:266
2266
  msgid "page installer admin notice logic issue"
2267
  msgstr ""
2268
 
2269
- #: admin/html/whats-new.php:268
2270
  msgid ""
2271
  "Fixed page installer admin notice logic problem due to new payment settings "
2272
  "default value not set."
2273
  msgstr ""
2274
 
2275
- #: admin/html/whats-new.php:278
2276
  msgid "Setup Wizard"
2277
  msgstr ""
2278
 
2279
- #: admin/html/whats-new.php:280
2280
  msgid "Setup Wizard added to turn off payment options and install pages."
2281
  msgstr ""
2282
 
2283
- #: admin/html/whats-new.php:284
2284
  msgid "Multi-select Category"
2285
  msgstr ""
2286
 
2287
- #: admin/html/whats-new.php:286
2288
  msgid "Add multi-select to default category in post form settings."
2289
  msgstr ""
2290
 
2291
- #: admin/html/whats-new.php:290
2292
  msgid "Select Text option for Taxonomy"
2293
  msgstr ""
2294
 
2295
- #: admin/html/whats-new.php:292
2296
  msgid ""
2297
  "Add Select Text option for taxonomy fields. Now you can add default text "
2298
  "with empty value as first option for Taxonomy dropdown."
2299
  msgstr ""
2300
 
2301
- #: admin/html/whats-new.php:295
2302
  msgid "Taxonomy Checkbox Inline"
2303
  msgstr ""
2304
 
2305
- #: admin/html/whats-new.php:297
2306
  msgid ""
2307
  "Added checkbox inline option to taxonomy checkbox. You can now display "
2308
  "Taxonomy checkbox fields inline."
2309
  msgstr ""
2310
 
2311
- #: admin/html/whats-new.php:307
2312
  msgid "Manage schedule for form submission"
2313
  msgstr ""
2314
 
2315
- #: admin/html/whats-new.php:309
2316
  msgid ""
2317
  "Do not accept form submission if the current date is not between the date "
2318
  "range of the schedule."
2319
  msgstr ""
2320
 
2321
- #: admin/html/whats-new.php:313
2322
  msgid "Restrict form submission based on the user roles"
2323
  msgstr ""
2324
 
2325
- #: admin/html/whats-new.php:315
2326
  msgid ""
2327
  "Restrict form submission based on the user roles. Now you can manage user "
2328
  "role base permission on form submission."
2329
  msgstr ""
2330
 
2331
- #: admin/html/whats-new.php:319
2332
  msgid "Limit how many entries a form will accept"
2333
  msgstr ""
2334
 
2335
- #: admin/html/whats-new.php:321
2336
  msgid ""
2337
  "Limit how many entries a form will accept and display a custom message when "
2338
  "that limit is reached."
2339
  msgstr ""
2340
 
2341
- #: admin/html/whats-new.php:325
2342
  msgid "Show/hide Admin Bar"
2343
  msgstr ""
2344
 
2345
- #: admin/html/whats-new.php:327
2346
  msgid "Control the admin bar visibility based on user roles."
2347
  msgstr ""
2348
 
2349
- #: admin/html/whats-new.php:331
2350
  msgid "Ajax Login widget"
2351
  msgstr ""
2352
 
2353
- #: admin/html/whats-new.php:333
2354
  msgid ""
2355
  "Login user is more simple now with Ajax Login Widget. The simple ajax login "
2356
  "form do not required page loading for login."
2357
  msgstr ""
2358
 
2359
- #: admin/html/whats-new.php:337
2360
  msgid "Form submission with Captcha field"
2361
  msgstr ""
2362
 
2363
- #: admin/html/whats-new.php:339
2364
  msgid "Form field validation process updated if form submits with captcha field."
2365
  msgstr ""
2366
 
2367
- #: admin/html/whats-new.php:353
2368
  msgid "What's New in WPUF?"
2369
  msgstr ""
2370
 
@@ -2393,7 +2433,7 @@ msgid ""
2393
  msgstr ""
2394
 
2395
  #: admin/installer.php:77 admin/settings-options.php:23
2396
- #: includes/free/admin/shortcode-button.php:82 wpuf-functions.php:1500
2397
  msgid "Dashboard"
2398
  msgstr ""
2399
 
@@ -2408,7 +2448,7 @@ msgstr ""
2408
 
2409
  #: admin/installer.php:88 class/subscription.php:356 class/subscription.php:376
2410
  #: class/subscription.php:377 class/subscription.php:378
2411
- #: includes/free/admin/shortcode-button.php:102 wpuf-functions.php:1503
2412
  msgid "Subscription"
2413
  msgstr ""
2414
 
@@ -2417,7 +2457,7 @@ msgid "[wpuf_sub_pack]"
2417
  msgstr ""
2418
 
2419
  #: admin/installer.php:89 templates/dashboard/posts.php:82
2420
- #: templates/dashboard.php:122
2421
  msgid "Payment"
2422
  msgstr ""
2423
 
@@ -2532,7 +2572,7 @@ msgstr ""
2532
  msgid "WPUF Custom Fields"
2533
  msgstr ""
2534
 
2535
- #: admin/posting.php:211
2536
  msgid "No custom fields found."
2537
  msgstr ""
2538
 
@@ -3061,237 +3101,245 @@ msgid "Show featured image of the post (Overridden by Shortcode)"
3061
  msgstr ""
3062
 
3063
  #: admin/settings-options.php:266
 
 
 
 
 
 
 
 
3064
  msgid "Featured Image size"
3065
  msgstr ""
3066
 
3067
- #: admin/settings-options.php:280
3068
  msgid "Account Page"
3069
  msgstr ""
3070
 
3071
- #: admin/settings-options.php:281
3072
  msgid "Select the page which contains <code>[wpuf_account]</code> shortcode"
3073
  msgstr ""
3074
 
3075
- #: admin/settings-options.php:287
3076
  msgid "Show Subscriptions"
3077
  msgstr ""
3078
 
3079
- #: admin/settings-options.php:288
3080
  msgid ""
3081
  "Show Subscriptions tab in \"my account\" page where "
3082
  "<code>[wpuf_account]</code> is located"
3083
  msgstr ""
3084
 
3085
- #: admin/settings-options.php:294 includes/class-customizer.php:23
3086
  #: includes/class-customizer.php:68
3087
  msgid "Show Billing Address"
3088
  msgstr ""
3089
 
3090
- #: admin/settings-options.php:295
3091
  msgid "Show billing address in account page."
3092
  msgstr ""
3093
 
3094
- #: admin/settings-options.php:303
3095
  msgid "Auto Login After Registration"
3096
  msgstr ""
3097
 
3098
- #: admin/settings-options.php:304
3099
  msgid "If enabled, users after registration will be logged in to the system"
3100
  msgstr ""
3101
 
3102
- #: admin/settings-options.php:310
3103
  msgid "Login/Registration override"
3104
  msgstr ""
3105
 
3106
- #: admin/settings-options.php:311
3107
  msgid ""
3108
  "If enabled, default login and registration forms will be overridden by WPUF "
3109
  "with pages below"
3110
  msgstr ""
3111
 
3112
- #: admin/settings-options.php:317
3113
  msgid "Registration Page"
3114
  msgstr ""
3115
 
3116
- #: admin/settings-options.php:318
3117
  msgid ""
3118
  "Select the page you want to use as registration page override <em>(should "
3119
  "have shortcode)</em>"
3120
  msgstr ""
3121
 
3122
- #: admin/settings-options.php:324
3123
  msgid "Login Page"
3124
  msgstr ""
3125
 
3126
- #: admin/settings-options.php:325
3127
  msgid "Select the page which contains <code>[wpuf-login]</code> shortcode"
3128
  msgstr ""
3129
 
3130
- #: admin/settings-options.php:331
3131
  msgid "Redirect After Login"
3132
  msgstr ""
3133
 
3134
- #: admin/settings-options.php:332
3135
  msgid "After successfull login, where the page will redirect to"
3136
  msgstr ""
3137
 
3138
- #: admin/settings-options.php:338
3139
  msgid "Default Login Redirect"
3140
  msgstr ""
3141
 
3142
- #: admin/settings-options.php:339
3143
  msgid ""
3144
  "If enabled, users who login using WordPress default login form will be "
3145
  "redirected to the selected page."
3146
  msgstr ""
3147
 
3148
- #: admin/settings-options.php:345
3149
  msgid "reCAPTCHA in Login Form"
3150
  msgstr ""
3151
 
3152
- #: admin/settings-options.php:346
3153
  msgid ""
3154
  "If enabled, users have to verify reCAPTCHA in login page. Also, make sure "
3155
  "that reCAPTCHA is configured properly from <b>General Options</b>"
3156
  msgstr ""
3157
 
3158
- #: admin/settings-options.php:356
3159
  msgid "Enable payments on your site."
3160
  msgstr ""
3161
 
3162
- #: admin/settings-options.php:362
3163
  msgid "Subscription Pack Page"
3164
  msgstr ""
3165
 
3166
- #: admin/settings-options.php:363
3167
  msgid "Select the page where <code>[wpuf_sub_pack]</code> located."
3168
  msgstr ""
3169
 
3170
- #: admin/settings-options.php:369
3171
  msgid "Subscription at registration"
3172
  msgstr ""
3173
 
3174
- #: admin/settings-options.php:370
3175
  msgid "Registration time redirect to subscription page"
3176
  msgstr ""
3177
 
3178
- #: admin/settings-options.php:375
3179
  msgid "Currency"
3180
  msgstr ""
3181
 
3182
- #: admin/settings-options.php:382
3183
  msgid "Currency Position"
3184
  msgstr ""
3185
 
3186
- #: admin/settings-options.php:386
3187
  msgid "Left"
3188
  msgstr ""
3189
 
3190
- #: admin/settings-options.php:387
3191
  msgid "Right"
3192
  msgstr ""
3193
 
3194
- #: admin/settings-options.php:388
3195
  msgid "Left with space"
3196
  msgstr ""
3197
 
3198
- #: admin/settings-options.php:389
3199
  msgid "Right with space"
3200
  msgstr ""
3201
 
3202
- #: admin/settings-options.php:394
3203
  msgid "Thousand Separator"
3204
  msgstr ""
3205
 
3206
- #: admin/settings-options.php:395
3207
  msgid "This sets the thousand separator of displayed prices."
3208
  msgstr ""
3209
 
3210
- #: admin/settings-options.php:403
3211
  msgid "Decimal Separator"
3212
  msgstr ""
3213
 
3214
- #: admin/settings-options.php:404
3215
  msgid "This sets the decimal separator of displayed prices."
3216
  msgstr ""
3217
 
3218
- #: admin/settings-options.php:411
3219
  msgid "Number of Decimals"
3220
  msgstr ""
3221
 
3222
- #: admin/settings-options.php:412
3223
  msgid "This sets the number of decimal points shown in displayed prices."
3224
  msgstr ""
3225
 
3226
- #: admin/settings-options.php:422
3227
  msgid "Enable demo/sandbox mode"
3228
  msgstr ""
3229
 
3230
- #: admin/settings-options.php:423
3231
  msgid "When sandbox mode is active, all payment gateway will be used in demo mode"
3232
  msgstr ""
3233
 
3234
- #: admin/settings-options.php:429
3235
  msgid "Payment Page"
3236
  msgstr ""
3237
 
3238
- #: admin/settings-options.php:430
3239
  msgid "This page will be used to process payment options"
3240
  msgstr ""
3241
 
3242
- #: admin/settings-options.php:436
3243
  msgid "Payment Success Page"
3244
  msgstr ""
3245
 
3246
- #: admin/settings-options.php:437 lib/gateway/bank.php:37
3247
  msgid "After payment users will be redirected here"
3248
  msgstr ""
3249
 
3250
- #: admin/settings-options.php:443
3251
  msgid "Payment Gateways"
3252
  msgstr ""
3253
 
3254
- #: admin/settings-options.php:444
3255
  msgid "Active payment gateways"
3256
  msgstr ""
3257
 
3258
- #: admin/settings-options.php:452
3259
  msgid "<span class=\"dashicons dashicons-universal-access-alt\"></span> Guest Email"
3260
  msgstr ""
3261
 
3262
- #: admin/settings-options.php:458
3263
  msgid "Guest mail subject"
3264
  msgstr ""
3265
 
3266
- #: admin/settings-options.php:459
3267
  msgid "This sets the subject of the emails sent to guest users"
3268
  msgstr ""
3269
 
3270
- #: admin/settings-options.php:466
3271
  msgid "Guest mail body"
3272
  msgstr ""
3273
 
3274
- #: admin/settings-options.php:467
3275
  msgid ""
3276
  "This sets the body of the emails sent to guest users. Please DON'T edit the "
3277
  "<code>{activation_link}</code> part, you can use {sitename} too."
3278
  msgstr ""
3279
 
3280
- #: admin/settings-options.php:484
3281
  msgid "Post Types"
3282
  msgstr ""
3283
 
3284
- #: admin/settings-options.php:485
3285
  msgid "Select the post types you will allow users to export."
3286
  msgstr ""
3287
 
3288
- #: admin/settings-options.php:508
3289
  msgid ""
3290
  "Select profile/registration forms for user roles. These forms will be used "
3291
  "to populate extra edit profile fields in backend."
3292
  msgstr ""
3293
 
3294
- #: admin/settings-options.php:519
3295
  msgid " - select - "
3296
  msgstr ""
3297
 
@@ -3404,51 +3452,81 @@ msgstr ""
3404
  msgid "Word limit reached"
3405
  msgstr ""
3406
 
3407
- #: class/frontend-account.php:113
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3408
  msgid "<p>You are not subscribed to any package yet.</p>"
3409
  msgstr ""
3410
 
3411
- #: class/frontend-account.php:187 class/subscription.php:73
3412
  msgid "Nonce failure"
3413
  msgstr ""
3414
 
3415
- #: class/frontend-account.php:201
3416
  msgid "First Name is a required field."
3417
  msgstr ""
3418
 
3419
- #: class/frontend-account.php:205
3420
  msgid "Last Name is a required field."
3421
  msgstr ""
3422
 
3423
- #: class/frontend-account.php:209
3424
  msgid "Email is a required field."
3425
  msgstr ""
3426
 
3427
- #: class/frontend-account.php:220
3428
  msgid "Please provide a valid email address."
3429
  msgstr ""
3430
 
3431
- #: class/frontend-account.php:222
3432
  msgid "This email address is already registered."
3433
  msgstr ""
3434
 
3435
- #: class/frontend-account.php:228
3436
  msgid "Please fill out all password fields."
3437
  msgstr ""
3438
 
3439
- #: class/frontend-account.php:231
3440
  msgid "Please enter your current password."
3441
  msgstr ""
3442
 
3443
- #: class/frontend-account.php:234
3444
  msgid "Please re-enter your password."
3445
  msgstr ""
3446
 
3447
- #: class/frontend-account.php:237
3448
  msgid "New passwords do not match."
3449
  msgstr ""
3450
 
3451
- #: class/frontend-account.php:240 class/frontend-account.php:251
3452
  msgid "Your current password is incorrect."
3453
  msgstr ""
3454
 
@@ -3456,15 +3534,15 @@ msgstr ""
3456
  msgid "Post Deleted"
3457
  msgstr ""
3458
 
3459
- #: class/frontend-dashboard.php:122
3460
  msgid "Author Info"
3461
  msgstr ""
3462
 
3463
- #: class/frontend-dashboard.php:126 includes/free/edit-user.php:98
3464
  msgid "%s"
3465
  msgstr ""
3466
 
3467
- #: class/frontend-dashboard.php:158 templates/dashboard/posts.php:30
3468
  msgid "You are not the post author. Cheeting huh!"
3469
  msgstr ""
3470
 
@@ -3518,11 +3596,17 @@ msgstr ""
3518
  msgid "You do not have sufficient permissions to access this form."
3519
  msgstr ""
3520
 
 
 
 
 
 
 
3521
  #: class/frontend-form-post.php:751
3522
  msgid "Something went wrong"
3523
  msgstr ""
3524
 
3525
- #: class/frontend-form-post.php:1108
3526
  msgid "Email successfully verified. Please Login."
3527
  msgstr ""
3528
 
@@ -3547,7 +3631,7 @@ msgid "You already have activated a free package previously."
3547
  msgstr ""
3548
 
3549
  #: class/payment.php:139 includes/class-customizer.php:59
3550
- #: wpuf-functions.php:1504
3551
  msgid "Billing Address"
3552
  msgstr ""
3553
 
@@ -3641,6 +3725,7 @@ msgid "Provide a short description of this post (optional)"
3641
  msgstr ""
3642
 
3643
  #: class/post-form-templates/post.php:104
 
3644
  msgid "Separate tags with commas."
3645
  msgstr ""
3646
 
@@ -3702,7 +3787,7 @@ msgstr ""
3702
 
3703
  #: class/render-form.php:1677 class/transactions-list-table.php:115
3704
  #: class/transactions-list-table.php:181 includes/free/edit-user.php:101
3705
- #: templates/dashboard/posts.php:162 templates/dashboard.php:257
3706
  msgid "Delete"
3707
  msgstr ""
3708
 
@@ -3846,7 +3931,7 @@ msgstr ""
3846
 
3847
  #: class/transactions-list-table.php:41
3848
  #: includes/class-list-table-subscribers.php:44
3849
- #: templates/dashboard/posts.php:76 templates/dashboard.php:116
3850
  msgid "Status"
3851
  msgstr ""
3852
 
@@ -3855,6 +3940,7 @@ msgid "User"
3855
  msgstr ""
3856
 
3857
  #: class/transactions-list-table.php:43
 
3858
  msgid "Cost"
3859
  msgstr ""
3860
 
@@ -3905,7 +3991,7 @@ msgstr ""
3905
  msgid "No transactions found."
3906
  msgstr ""
3907
 
3908
- #: class/upload.php:165 wpuf-functions.php:756
3909
  msgid "Caption"
3910
  msgstr ""
3911
 
@@ -4021,7 +4107,7 @@ msgstr ""
4021
  msgid "Optional"
4022
  msgstr ""
4023
 
4024
- #: includes/class-dokan-integration.php:37 wpuf-functions.php:1501
4025
  msgid "Posts"
4026
  msgstr ""
4027
 
@@ -4082,6 +4168,7 @@ msgid "Expire date"
4082
  msgstr ""
4083
 
4084
  #: includes/class-list-table-subscribers.php:127
 
4085
  msgid "Completed"
4086
  msgstr ""
4087
 
@@ -4568,10 +4655,6 @@ msgstr ""
4568
  msgid "Unlimited"
4569
  msgstr ""
4570
 
4571
- #: includes/class-user-subscription.php:380
4572
- msgid "Change"
4573
- msgstr ""
4574
-
4575
  #: includes/class-whats-new.php:67
4576
  msgid "Whats New"
4577
  msgstr ""
@@ -5094,6 +5177,76 @@ msgstr ""
5094
  msgid "Upgrade to Pro"
5095
  msgstr ""
5096
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5097
  #: includes/free/post-form-templates/woocommerce.php:12
5098
  msgid "WooCommerce Product"
5099
  msgstr ""
@@ -5321,31 +5474,35 @@ msgstr ""
5321
  msgid "You have created <span>%d</span> %s"
5322
  msgstr ""
5323
 
5324
- #: templates/dashboard/posts.php:105 templates/dashboard.php:145
5325
  msgid "No Image"
5326
  msgstr ""
5327
 
5328
- #: templates/dashboard/posts.php:119 templates/dashboard.php:159
5329
  msgid "Permalink to %s"
5330
  msgstr ""
5331
 
5332
- #: templates/dashboard/posts.php:135 templates/dashboard.php:224
 
 
 
 
5333
  msgid "Pay Now"
5334
  msgstr ""
5335
 
5336
- #: templates/dashboard/posts.php:160 templates/dashboard.php:255
5337
  msgid "Are you sure to delete?"
5338
  msgstr ""
5339
 
5340
- #: templates/dashboard/posts.php:180 templates/dashboard.php:275
5341
  msgid "&laquo;"
5342
  msgstr ""
5343
 
5344
- #: templates/dashboard/posts.php:181 templates/dashboard.php:276
5345
  msgid "&raquo;"
5346
  msgstr ""
5347
 
5348
- #: templates/dashboard/posts.php:195 templates/dashboard.php:290
5349
  msgid "No %s found"
5350
  msgstr ""
5351
 
@@ -5393,6 +5550,14 @@ msgstr ""
5393
  msgid "Registration has been successful!"
5394
  msgstr ""
5395
 
 
 
 
 
 
 
 
 
5396
  #: templates/reset-pass-form.php:14
5397
  msgid "New password"
5398
  msgstr ""
@@ -5401,6 +5566,10 @@ msgstr ""
5401
  msgid "Confirm new password"
5402
  msgstr ""
5403
 
 
 
 
 
5404
  #: views/welcome-page.php:445 views/welcome-page.php:586
5405
  msgid "Create Your First Form"
5406
  msgstr ""
@@ -5465,211 +5634,211 @@ msgstr ""
5465
  msgid "CSV"
5466
  msgstr ""
5467
 
5468
- #: wpuf-functions.php:1502
5469
  msgid "Edit Profile"
5470
  msgstr ""
5471
 
5472
- #: wpuf-functions.php:1609
5473
  msgid "United Arab Emirates Dirham"
5474
  msgstr ""
5475
 
5476
- #: wpuf-functions.php:1610
5477
  msgid "Australian Dollars"
5478
  msgstr ""
5479
 
5480
- #: wpuf-functions.php:1611
5481
  msgid "Argentine Peso"
5482
  msgstr ""
5483
 
5484
- #: wpuf-functions.php:1612
5485
  msgid "Bangladeshi Taka"
5486
  msgstr ""
5487
 
5488
- #: wpuf-functions.php:1613
5489
  msgid "Brazilian Real"
5490
  msgstr ""
5491
 
5492
- #: wpuf-functions.php:1614
5493
  msgid "Bulgarian Lev"
5494
  msgstr ""
5495
 
5496
- #: wpuf-functions.php:1615
5497
  msgid "Canadian Dollars"
5498
  msgstr ""
5499
 
5500
- #: wpuf-functions.php:1616
5501
  msgid "Chilean Peso"
5502
  msgstr ""
5503
 
5504
- #: wpuf-functions.php:1617
5505
  msgid "Chinese Yuan"
5506
  msgstr ""
5507
 
5508
- #: wpuf-functions.php:1618
5509
  msgid "Colombian Peso"
5510
  msgstr ""
5511
 
5512
- #: wpuf-functions.php:1619
5513
  msgid "Czech Koruna"
5514
  msgstr ""
5515
 
5516
- #: wpuf-functions.php:1620
5517
  msgid "Danish Krone"
5518
  msgstr ""
5519
 
5520
- #: wpuf-functions.php:1621
5521
  msgid "Dominican Peso"
5522
  msgstr ""
5523
 
5524
- #: wpuf-functions.php:1622
5525
  msgid "Algerian Dinar"
5526
  msgstr ""
5527
 
5528
- #: wpuf-functions.php:1623
5529
  msgid "Euros"
5530
  msgstr ""
5531
 
5532
- #: wpuf-functions.php:1624
5533
  msgid "Hong Kong Dollar"
5534
  msgstr ""
5535
 
5536
- #: wpuf-functions.php:1625
5537
  msgid "Croatia kuna"
5538
  msgstr ""
5539
 
5540
- #: wpuf-functions.php:1626
5541
  msgid "Hungarian Forint"
5542
  msgstr ""
5543
 
5544
- #: wpuf-functions.php:1627
5545
  msgid "Icelandic krona"
5546
  msgstr ""
5547
 
5548
- #: wpuf-functions.php:1628
5549
  msgid "Indonesia Rupiah"
5550
  msgstr ""
5551
 
5552
- #: wpuf-functions.php:1629
5553
  msgid "Indian Rupee"
5554
  msgstr ""
5555
 
5556
- #: wpuf-functions.php:1630
5557
  msgid "Nepali Rupee"
5558
  msgstr ""
5559
 
5560
- #: wpuf-functions.php:1631
5561
  msgid "Israeli Shekel"
5562
  msgstr ""
5563
 
5564
- #: wpuf-functions.php:1632
5565
  msgid "Japanese Yen"
5566
  msgstr ""
5567
 
5568
- #: wpuf-functions.php:1633
5569
  msgid "Lao Kip"
5570
  msgstr ""
5571
 
5572
- #: wpuf-functions.php:1634
5573
  msgid "South Korean Won"
5574
  msgstr ""
5575
 
5576
- #: wpuf-functions.php:1635
5577
  msgid "Malaysian Ringgits"
5578
  msgstr ""
5579
 
5580
- #: wpuf-functions.php:1636
5581
  msgid "Mexican Peso"
5582
  msgstr ""
5583
 
5584
- #: wpuf-functions.php:1637
5585
  msgid "Nigerian Naira"
5586
  msgstr ""
5587
 
5588
- #: wpuf-functions.php:1638
5589
  msgid "Norwegian Krone"
5590
  msgstr ""
5591
 
5592
- #: wpuf-functions.php:1639
5593
  msgid "New Zealand Dollar"
5594
  msgstr ""
5595
 
5596
- #: wpuf-functions.php:1640
5597
  msgid "Omani Rial"
5598
  msgstr ""
5599
 
5600
- #: wpuf-functions.php:1641
5601
  msgid "Iranian Rial"
5602
  msgstr ""
5603
 
5604
- #: wpuf-functions.php:1642
5605
  msgid "Pakistani Rupee"
5606
  msgstr ""
5607
 
5608
- #: wpuf-functions.php:1643
5609
  msgid "Paraguayan Guaraní"
5610
  msgstr ""
5611
 
5612
- #: wpuf-functions.php:1644
5613
  msgid "Philippine Pesos"
5614
  msgstr ""
5615
 
5616
- #: wpuf-functions.php:1645
5617
  msgid "Polish Zloty"
5618
  msgstr ""
5619
 
5620
- #: wpuf-functions.php:1646
5621
  msgid "Pounds Sterling"
5622
  msgstr ""
5623
 
5624
- #: wpuf-functions.php:1647
5625
  msgid "Romanian Leu"
5626
  msgstr ""
5627
 
5628
- #: wpuf-functions.php:1648
5629
  msgid "Russian Ruble"
5630
  msgstr ""
5631
 
5632
- #: wpuf-functions.php:1649
5633
  msgid "Saudi Riyal"
5634
  msgstr ""
5635
 
5636
- #: wpuf-functions.php:1650
5637
  msgid "Singapore Dollar"
5638
  msgstr ""
5639
 
5640
- #: wpuf-functions.php:1651
5641
  msgid "South African rand"
5642
  msgstr ""
5643
 
5644
- #: wpuf-functions.php:1652
5645
  msgid "Swedish Krona"
5646
  msgstr ""
5647
 
5648
- #: wpuf-functions.php:1653
5649
  msgid "Swiss Franc"
5650
  msgstr ""
5651
 
5652
- #: wpuf-functions.php:1654
5653
  msgid "Taiwan New Dollars"
5654
  msgstr ""
5655
 
5656
- #: wpuf-functions.php:1655
5657
  msgid "Thai Baht"
5658
  msgstr ""
5659
 
5660
- #: wpuf-functions.php:1656
5661
  msgid "Turkish Lira"
5662
  msgstr ""
5663
 
5664
- #: wpuf-functions.php:1657
5665
  msgid "US Dollar"
5666
  msgstr ""
5667
 
5668
- #: wpuf-functions.php:1658
5669
  msgid "Vietnamese Dong"
5670
  msgstr ""
5671
 
5672
- #: wpuf-functions.php:1659
5673
  msgid "Egyptian Pound"
5674
  msgstr ""
5675
 
@@ -5779,7 +5948,7 @@ msgctxt "enhanced select"
5779
  msgid "Searching&hellip;"
5780
  msgstr ""
5781
 
5782
- #: wpuf-functions.php:1113
5783
  msgctxt "tag delimiter"
5784
  msgid ","
5785
  msgstr ""
2
  # This file is distributed under the GPL2 or later.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WP User Frontend 2.9.0\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
+ "POT-Creation-Date: 2018-08-16 11:37:27+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
137
  msgstr ""
138
 
139
  #: admin/class-admin-subscription.php:216
140
+ #: admin/class-admin-subscription.php:570 class/frontend-account.php:244
141
  #: class/subscription.php:865 includes/class-user-subscription.php:307
142
  #: templates/subscriptions/pack-details.php:26
143
  msgid "Free"
248
  msgid "WPUF Subscription Information"
249
  msgstr ""
250
 
251
+ #: admin/class-admin-subscription.php:574 class/frontend-account.php:246
252
  msgid "For each %s %s"
253
  msgstr ""
254
 
255
+ #: admin/class-admin-subscription.php:575 class/frontend-account.php:247
256
  msgid ", for %s installments"
257
  msgstr ""
258
 
310
  msgid "&mdash; Select &mdash;"
311
  msgstr ""
312
 
313
+ #: admin/class-admin-subscription.php:767
314
+ msgid "Only non-recurring pack can be assigned"
315
+ msgstr ""
316
+
317
+ #: admin/class-admin-subscription.php:776
318
  msgid "Delete Package"
319
  msgstr ""
320
 
321
+ #: admin/class-admin-subscription.php:825
322
  msgid "Learn more about <a href=\"%s\" target=\"_blank\">Subscription</a>"
323
  msgstr ""
324
 
506
  msgid "Select an option"
507
  msgstr ""
508
 
509
+ #: admin/form-builder/assets/js/components/field-visibility/template.php:54
510
  msgid "No subscription plan found."
511
  msgstr ""
512
 
820
  #: admin/form-builder/class-wpuf-form-builder-field-settings.php:404
821
  #: admin/template.php:398 admin/template.php:422 admin/template.php:454
822
  #: admin/template.php:486 templates/dashboard/posts.php:85
823
+ #: templates/dashboard.php:124
824
  msgid "Options"
825
  msgstr ""
826
 
966
  #: admin/form-builder/class-wpuf-form-builder-field-settings.php:840
967
  #: admin/form-builder/class-wpuf-form-builder-field-settings.php:926
968
  #: admin/template.php:544 admin/template.php:604 admin/template.php:683
969
+ #: class/upload.php:164 templates/dashboard/posts.php:76
970
+ #: templates/dashboard.php:86 wpuf-functions.php:754
971
  msgid "Title"
972
  msgstr ""
973
 
977
  msgstr ""
978
 
979
  #: admin/form-builder/class-wpuf-form-builder-field-settings.php:849
980
+ #: admin/template.php:609 class/upload.php:166 wpuf-functions.php:760
981
  msgid "Description"
982
  msgstr ""
983
 
1136
  #: admin/form.php:74 admin/form.php:112 admin/installer.php:79
1137
  #: admin/post-forms-list-table.php:391 class/subscription.php:381
1138
  #: includes/free/admin/shortcode-button.php:90 includes/free/edit-user.php:100
1139
+ #: templates/dashboard/posts.php:161 templates/dashboard.php:252
1140
  msgid "Edit"
1141
  msgstr ""
1142
 
1232
  msgstr ""
1233
 
1234
  #: admin/form.php:646 admin/form.php:653 class/post-form-templates/post.php:85
1235
+ #: includes/free/post-form-templates/the_events_calendar.php:138
1236
  #: templates/dashboard.php:112
1237
  msgid "Excerpt"
1238
  msgstr ""
1239
 
1240
  #: admin/form.php:705 admin/form.php:712 class/post-form-templates/post.php:72
1241
+ #: class/post-form-templates/post.php:73
1242
+ #: includes/free/post-form-templates/the_events_calendar.php:125
1243
+ #: includes/free/post-form-templates/the_events_calendar.php:126
1244
+ #: templates/dashboard/posts.php:73 templates/dashboard.php:83
1245
  msgid "Featured Image"
1246
  msgstr ""
1247
 
1373
  msgid "Payment Options"
1374
  msgstr ""
1375
 
1376
+ #: admin/html/form-settings-payment.php:25 admin/settings-options.php:362
1377
  #: includes/setup-wizard.php:273
1378
  msgid "Enable Payments"
1379
  msgstr ""
1508
  msgstr ""
1509
 
1510
  #: admin/html/form-settings-post.php:7 class/post-form-templates/post.php:118
1511
+ #: includes/free/post-form-templates/the_events_calendar.php:171
1512
  msgid "This page is restricted. Please Log in / Register to view this page."
1513
  msgstr ""
1514
 
1662
  msgstr ""
1663
 
1664
  #: admin/html/form-submission-restriction.php:114
1665
+ #: admin/settings-options.php:279
1666
  msgid "Unauthorized Message"
1667
  msgstr ""
1668
 
1669
  #: admin/html/form-submission-restriction.php:117
1670
+ #: admin/settings-options.php:280
1671
  msgid "Not logged in users will see this message"
1672
  msgstr ""
1673
 
1884
  msgstr ""
1885
 
1886
  #: admin/html/whats-new.php:8
1887
+ msgid "The Events Calendar Integration Form"
1888
  msgstr ""
1889
 
1890
  #: admin/html/whats-new.php:10
1891
  msgid ""
1892
+ "Now admin can allow users to create event from the frontend. Currently WPUF "
1893
+ "has a one click pre-build event form that has been integrated with The "
1894
+ "Events Calendar plugin"
1895
+ msgstr ""
1896
+
1897
+ #: admin/html/whats-new.php:13
1898
+ msgid "Post Submission Facility From Account Page"
1899
+ msgstr ""
1900
+
1901
+ #: admin/html/whats-new.php:15
1902
+ msgid ""
1903
+ "On the frontend account page, added a new menu item named <b>Submit "
1904
+ "Post</b>. Now admin can allow users to submit post from their default "
1905
+ "account page. As an admin you can disable or enable this option from "
1906
+ "<b>User Frontend -> Settings -> My Account -> Post Submission</b>, Also, "
1907
+ "you can assign any post form that will use to submit posts."
1908
+ msgstr ""
1909
+
1910
+ #: admin/html/whats-new.php:18
1911
+ msgid "Login/Lost Password Link Under Registration Form"
1912
+ msgstr ""
1913
+
1914
+ #: admin/html/whats-new.php:20
1915
+ msgid "Added Login/Lost Password link under registration form"
1916
+ msgstr ""
1917
+
1918
+ #: admin/html/whats-new.php:29
1919
+ msgid "Added drag and drop image ordering on image upload"
1920
+ msgstr ""
1921
+
1922
+ #: admin/html/whats-new.php:31
1923
+ msgid ""
1924
  "Now frontend users can drag & drop the images/files to change the order "
1925
  "while uploading."
1926
  msgstr ""
1927
 
1928
+ #: admin/html/whats-new.php:34
1929
  msgid "Added reCAPTCHA field in login form"
1930
  msgstr ""
1931
 
1932
+ #: admin/html/whats-new.php:36
1933
  msgid ""
1934
  "Admin has the option to show reCAPTCHA field in login form. Check the "
1935
  "related settings from <strong>User Frontend > Settings > "
1936
  "Login/Registration</strong>"
1937
  msgstr ""
1938
 
1939
+ #: admin/html/whats-new.php:39
1940
  msgid "Added preview option in forms"
1941
  msgstr ""
1942
 
1943
+ #: admin/html/whats-new.php:41
1944
  msgid ""
1945
  "You can see a nice <strong>Preview</strong> button with <strong>Save "
1946
  "Form</strong> button, admin can take a quick look of the form without using "
1947
  "shortcode"
1948
  msgstr ""
1949
 
1950
+ #: admin/html/whats-new.php:44
1951
  msgid "Fixed hiding “Select Image” button while uploading multiple images."
1952
  msgstr ""
1953
 
1954
+ #: admin/html/whats-new.php:46
1955
  msgid ""
1956
  "The upload button will not be hidden until the user selects max number of "
1957
  "files "
1958
  msgstr ""
1959
 
1960
+ #: admin/html/whats-new.php:49
1961
  msgid "Added form limit notice before form submission"
1962
  msgstr ""
1963
 
1964
+ #: admin/html/whats-new.php:51
1965
  msgid ""
1966
  "Limit notice message was showing after submission, now it is showing when "
1967
  "rendering the form"
1968
  msgstr ""
1969
 
1970
+ #: admin/html/whats-new.php:54
1971
  msgid "Fixed: default post category not saving"
1972
  msgstr ""
1973
 
1974
+ #: admin/html/whats-new.php:56
1975
  msgid ""
1976
  "From the form <strong>Settings > Post Settings</strong>, default post "
1977
  "category options were not saving. Now, it's fixed."
1978
  msgstr ""
1979
 
1980
+ #: admin/html/whats-new.php:59
1981
  msgid ""
1982
  "WPUF dashboard shortcode with form_id attribute was not showing posts "
1983
  "properly"
1984
  msgstr ""
1985
 
1986
+ #: admin/html/whats-new.php:61
1987
  msgid ""
1988
  "Now you can list posts on the frontend by using <strong>form_id<strong/> "
1989
  "attribute with <strong>[wpuf_dashboard]</strong> shortcode"
1990
  msgstr ""
1991
 
1992
+ #: admin/html/whats-new.php:70
1993
  msgid "Changed text domain to `wp-user-frontend` from `wpuf` "
1994
  msgstr ""
1995
 
1996
+ #: admin/html/whats-new.php:72
1997
  msgid ""
1998
  "If you are using other language than English. Please <b>rename</b> your "
1999
  "<i>.po and .mo </i> files to `wp-user-frontend_` from `wpuf_` <br> This "
2000
  "change was made to support translations from translate.wordpress.org"
2001
  msgstr ""
2002
 
2003
+ #: admin/html/whats-new.php:75
2004
  msgid "Added WP User Frontend Data export and erase functionality."
2005
  msgstr ""
2006
 
2007
+ #: admin/html/whats-new.php:77
2008
  msgid "Added functionality to export WP User Frontend Data to comply with GDPR."
2009
  msgstr ""
2010
 
2011
+ #: admin/html/whats-new.php:80
2012
  msgid "Added billing address customizer."
2013
  msgstr ""
2014
 
2015
+ #: admin/html/whats-new.php:82
2016
  msgid "Added customizer options for billing address in payment page."
2017
  msgstr ""
2018
 
2019
+ #: admin/html/whats-new.php:85
2020
  msgid "Make the payment page responsive."
2021
  msgstr ""
2022
 
2023
+ #: admin/html/whats-new.php:87
2024
  msgid "Some css adjustments are made in payment page to make it responsive."
2025
  msgstr ""
2026
 
2027
+ #: admin/html/whats-new.php:90
2028
  msgid "Fixed image upload issue in Safari."
2029
  msgstr ""
2030
 
2031
+ #: admin/html/whats-new.php:92
2032
  msgid "Images were not showing after upload in safari, it is fixed now."
2033
  msgstr ""
2034
 
2035
+ #: admin/html/whats-new.php:95
2036
  msgid "Post update issue after updating or removing post images."
2037
  msgstr ""
2038
 
2039
+ #: admin/html/whats-new.php:97
2040
  msgid ""
2041
  "Posts cannot be updated after updating or removing post images, it is fixed "
2042
  "now."
2043
  msgstr ""
2044
 
2045
+ #: admin/html/whats-new.php:106
2046
  msgid "Allow overriding form input styles using theme styling."
2047
  msgstr ""
2048
 
2049
+ #: admin/html/whats-new.php:108
2050
  msgid "Overriding form input styles using theme style is now possible."
2051
  msgstr ""
2052
 
2053
+ #: admin/html/whats-new.php:111
2054
  msgid "Fixed Auto Login after registration."
2055
  msgstr ""
2056
 
2057
+ #: admin/html/whats-new.php:113
2058
  msgid "Auto Login after registration was not working is fixed now."
2059
  msgstr ""
2060
 
2061
+ #: admin/html/whats-new.php:116
2062
  msgid "Fixed fallback cost calculation"
2063
  msgstr ""
2064
 
2065
+ #: admin/html/whats-new.php:118
2066
  msgid "Fallback cost calculation was inaccurate for some cases, it is fixed now."
2067
  msgstr ""
2068
 
2069
+ #: admin/html/whats-new.php:121
2070
  msgid "Removal of subscription from User Profile gets reverted if updated"
2071
  msgstr ""
2072
 
2073
+ #: admin/html/whats-new.php:123
2074
  msgid "User subscription deletion gets reverted if updated is fixed."
2075
  msgstr ""
2076
 
2077
+ #: admin/html/whats-new.php:126
2078
  msgid "Show Free pack users in subscribers list."
2079
  msgstr ""
2080
 
2081
+ #: admin/html/whats-new.php:128
2082
  msgid "Free pack users were not showing in subscribers list, now they will."
2083
  msgstr ""
2084
 
2085
+ #: admin/html/whats-new.php:137
2086
  msgid "WP User Frontend Guten Block is added"
2087
  msgstr ""
2088
 
2089
+ #: admin/html/whats-new.php:139
2090
  msgid ""
2091
  "WPUF Form Block is now available to be used within gutenberg editor with "
2092
  "preview of the form. "
2093
  msgstr ""
2094
 
2095
+ #: admin/html/whats-new.php:142
2096
  msgid "Advanced Custom Fields plugin compatibility"
2097
  msgstr ""
2098
 
2099
+ #: admin/html/whats-new.php:144
2100
  msgid "Now all your ACF fields can be used within WPUF Post forms. "
2101
  msgstr ""
2102
 
2103
+ #: admin/html/whats-new.php:147
2104
  msgid "Taxonomy Terms not showing for custom post types"
2105
  msgstr ""
2106
 
2107
+ #: admin/html/whats-new.php:149
2108
  msgid ""
2109
  "Fixed an issue with taxonomy terms not appearing for Custom Post types "
2110
  "within Form Settings and Dashboard Post Listing"
2111
  msgstr ""
2112
 
2113
+ #: admin/html/whats-new.php:152
2114
  msgid "Various other code optimizations"
2115
  msgstr ""
2116
 
2117
+ #: admin/html/whats-new.php:154 admin/html/whats-new.php:211
2118
  msgid "Code structure organization and optimization for better performance"
2119
  msgstr ""
2120
 
2121
+ #: admin/html/whats-new.php:163
2122
  msgid "WoooCommerce billing address Sync"
2123
  msgstr ""
2124
 
2125
+ #: admin/html/whats-new.php:165
2126
  msgid ""
2127
  "If an existing customer has previously set his billing address, that will "
2128
  "be imported into WPUF Billing address "
2129
  msgstr ""
2130
 
2131
+ #: admin/html/whats-new.php:168
2132
  msgid "Trial subscription message not showing properly"
2133
  msgstr ""
2134
 
2135
+ #: admin/html/whats-new.php:170
2136
  msgid "Subscriptions with Trial now shows trial notices"
2137
  msgstr ""
2138
 
2139
+ #: admin/html/whats-new.php:173
2140
  msgid "Reset email Key not working"
2141
  msgstr ""
2142
 
2143
+ #: admin/html/whats-new.php:175
2144
  msgid "Reset Email key was not working in some cases"
2145
  msgstr ""
2146
 
2147
+ #: admin/html/whats-new.php:178
2148
  msgid "Post count not showing on the frontend dashboard"
2149
  msgstr ""
2150
 
2151
+ #: admin/html/whats-new.php:180
2152
  msgid ""
2153
  "Dashboard with multiple post type was not showing post counts properly, is "
2154
  "now fixed and shows count for each post type"
2155
  msgstr ""
2156
 
2157
+ #: admin/html/whats-new.php:183
2158
  msgid "Login Redirect showing blank page is fixed"
2159
  msgstr ""
2160
 
2161
+ #: admin/html/whats-new.php:185
2162
  msgid ""
2163
  "If \"Previous Page\" was set for redirection, login redirect was "
2164
  "redirecting to blank page for users who hit login page directly"
2165
  msgstr ""
2166
 
2167
+ #: admin/html/whats-new.php:194
2168
  msgid "Enhanced Login Redirect to redirect users to previous page"
2169
  msgstr ""
2170
 
2171
+ #: admin/html/whats-new.php:196
2172
  msgid ""
2173
  "You can choose Previous Page as Login Redirect page settings now to "
2174
  "redirect users to the page from which they went for Login. "
2175
  msgstr ""
2176
 
2177
+ #: admin/html/whats-new.php:199
2178
  msgid "Email HTML links not Rendreing properly issue is fixed"
2179
  msgstr ""
2180
 
2181
+ #: admin/html/whats-new.php:201
2182
  msgid ""
2183
  "For some clients emails were not rendering the HTML links properly, this is "
2184
  "now fixed"
2185
  msgstr ""
2186
 
2187
+ #: admin/html/whats-new.php:204
2188
  msgid "Form Builder : Form Field's Help text styles not showing properly"
2189
  msgstr ""
2190
 
2191
+ #: admin/html/whats-new.php:206
2192
  msgid "Help texts styling is now fixed and much easier to read and understand"
2193
  msgstr ""
2194
 
2195
+ #: admin/html/whats-new.php:209
2196
  msgid "Various other code improvements"
2197
  msgstr ""
2198
 
2199
+ #: admin/html/whats-new.php:220
2200
  msgid "Dashboard Post Listing now supports multiple post types"
2201
  msgstr ""
2202
 
2203
+ #: admin/html/whats-new.php:222
2204
  msgid ""
2205
  "Now you can show multiple post type in user dashboard using shortcode like "
2206
  "this : <br><b>[wpuf_dashboard post_type=\"post,page,custom_type\"]</b> "
2207
  msgstr ""
2208
 
2209
+ #: admin/html/whats-new.php:225
2210
  msgid "Added Login Redirect Settings"
2211
  msgstr ""
2212
 
2213
+ #: admin/html/whats-new.php:227
2214
  msgid ""
2215
  "You can now set a page from <i>WPUF Settings > Login/Registration > "
2216
  "Redirect after Login</i>. When login redirection is active the user will be "
2217
  "redirected to this page after login."
2218
  msgstr ""
2219
 
2220
+ #: admin/html/whats-new.php:230
2221
  msgid "Image Upload field button text can be changed"
2222
  msgstr ""
2223
 
2224
+ #: admin/html/whats-new.php:232
2225
  msgid ""
2226
  "The upload button text can now be changed for image upload fields which "
2227
  "defaults to \"Select Image\" if not set. "
2228
  msgstr ""
2229
 
2230
+ #: admin/html/whats-new.php:235
2231
  msgid "Multi Step Form styles made compatible with more themes"
2232
  msgstr ""
2233
 
2234
+ #: admin/html/whats-new.php:237
2235
  msgid "Multi Step form can now be styled more easily with other themes "
2236
  msgstr ""
2237
 
2238
+ #: admin/html/whats-new.php:240
2239
  msgid "Required field condition for google map not working is fixed"
2240
  msgstr ""
2241
 
2242
+ #: admin/html/whats-new.php:242
2243
  msgid ""
2244
  "If Google Map field was set as required users were able to submit form "
2245
  "without changing the default value."
2246
  msgstr ""
2247
 
2248
+ #: admin/html/whats-new.php:251
2249
  msgid "Admin form builder is now fully responsive."
2250
  msgstr ""
2251
 
2252
+ #: admin/html/whats-new.php:253
2253
  msgid ""
2254
  "Now you can edit forms from your mobile devices directly. Our improved "
2255
  "responsive layouts of form builder makes it easy for you to build forms on "
2256
  "the go."
2257
  msgstr ""
2258
 
2259
+ #: admin/html/whats-new.php:256
2260
  msgid "Added color schemes for creating attractive form layouts."
2261
  msgstr ""
2262
 
2263
+ #: admin/html/whats-new.php:258
2264
  msgid ""
2265
  "We have added 3 new color schemes for the form layouts which you can choose "
2266
  "from each form's new display settings."
2267
  msgstr ""
2268
 
2269
+ #: admin/html/whats-new.php:261
2270
  msgid "Restrict Free subscription pack to be enabled multiple times "
2271
  msgstr ""
2272
 
2273
+ #: admin/html/whats-new.php:263
2274
  msgid ""
2275
  "Free subscription packs now can only be purchased once and the limit "
2276
  "applies properly"
2277
  msgstr ""
2278
 
2279
+ #: admin/html/whats-new.php:266
2280
  msgid "Various other bug fixes and improvements were made "
2281
  msgstr ""
2282
 
2283
+ #: admin/html/whats-new.php:268
2284
  msgid "Please see the change log to see full details."
2285
  msgstr ""
2286
 
2287
+ #: admin/html/whats-new.php:277
2288
  msgid "Added upgrade function for default category"
2289
  msgstr ""
2290
 
2291
+ #: admin/html/whats-new.php:279
2292
  msgid "Upgrader added to upgrade previously set default post category."
2293
  msgstr ""
2294
 
2295
+ #: admin/html/whats-new.php:282
2296
  msgid "Subscription pack cannot be canceled"
2297
  msgstr ""
2298
 
2299
+ #: admin/html/whats-new.php:284
2300
  msgid ""
2301
  "Fixed recurring subscription pack cannot be canceled from my account page "
2302
  "in subscription details section."
2303
  msgstr ""
2304
 
2305
+ #: admin/html/whats-new.php:287
2306
  msgid "page installer admin notice logic issue"
2307
  msgstr ""
2308
 
2309
+ #: admin/html/whats-new.php:289
2310
  msgid ""
2311
  "Fixed page installer admin notice logic problem due to new payment settings "
2312
  "default value not set."
2313
  msgstr ""
2314
 
2315
+ #: admin/html/whats-new.php:299
2316
  msgid "Setup Wizard"
2317
  msgstr ""
2318
 
2319
+ #: admin/html/whats-new.php:301
2320
  msgid "Setup Wizard added to turn off payment options and install pages."
2321
  msgstr ""
2322
 
2323
+ #: admin/html/whats-new.php:305
2324
  msgid "Multi-select Category"
2325
  msgstr ""
2326
 
2327
+ #: admin/html/whats-new.php:307
2328
  msgid "Add multi-select to default category in post form settings."
2329
  msgstr ""
2330
 
2331
+ #: admin/html/whats-new.php:311
2332
  msgid "Select Text option for Taxonomy"
2333
  msgstr ""
2334
 
2335
+ #: admin/html/whats-new.php:313
2336
  msgid ""
2337
  "Add Select Text option for taxonomy fields. Now you can add default text "
2338
  "with empty value as first option for Taxonomy dropdown."
2339
  msgstr ""
2340
 
2341
+ #: admin/html/whats-new.php:316
2342
  msgid "Taxonomy Checkbox Inline"
2343
  msgstr ""
2344
 
2345
+ #: admin/html/whats-new.php:318
2346
  msgid ""
2347
  "Added checkbox inline option to taxonomy checkbox. You can now display "
2348
  "Taxonomy checkbox fields inline."
2349
  msgstr ""
2350
 
2351
+ #: admin/html/whats-new.php:328
2352
  msgid "Manage schedule for form submission"
2353
  msgstr ""
2354
 
2355
+ #: admin/html/whats-new.php:330
2356
  msgid ""
2357
  "Do not accept form submission if the current date is not between the date "
2358
  "range of the schedule."
2359
  msgstr ""
2360
 
2361
+ #: admin/html/whats-new.php:334
2362
  msgid "Restrict form submission based on the user roles"
2363
  msgstr ""
2364
 
2365
+ #: admin/html/whats-new.php:336
2366
  msgid ""
2367
  "Restrict form submission based on the user roles. Now you can manage user "
2368
  "role base permission on form submission."
2369
  msgstr ""
2370
 
2371
+ #: admin/html/whats-new.php:340
2372
  msgid "Limit how many entries a form will accept"
2373
  msgstr ""
2374
 
2375
+ #: admin/html/whats-new.php:342
2376
  msgid ""
2377
  "Limit how many entries a form will accept and display a custom message when "
2378
  "that limit is reached."
2379
  msgstr ""
2380
 
2381
+ #: admin/html/whats-new.php:346
2382
  msgid "Show/hide Admin Bar"
2383
  msgstr ""
2384
 
2385
+ #: admin/html/whats-new.php:348
2386
  msgid "Control the admin bar visibility based on user roles."
2387
  msgstr ""
2388
 
2389
+ #: admin/html/whats-new.php:352
2390
  msgid "Ajax Login widget"
2391
  msgstr ""
2392
 
2393
+ #: admin/html/whats-new.php:354
2394
  msgid ""
2395
  "Login user is more simple now with Ajax Login Widget. The simple ajax login "
2396
  "form do not required page loading for login."
2397
  msgstr ""
2398
 
2399
+ #: admin/html/whats-new.php:358
2400
  msgid "Form submission with Captcha field"
2401
  msgstr ""
2402
 
2403
+ #: admin/html/whats-new.php:360
2404
  msgid "Form field validation process updated if form submits with captcha field."
2405
  msgstr ""
2406
 
2407
+ #: admin/html/whats-new.php:374
2408
  msgid "What's New in WPUF?"
2409
  msgstr ""
2410
 
2433
  msgstr ""
2434
 
2435
  #: admin/installer.php:77 admin/settings-options.php:23
2436
+ #: includes/free/admin/shortcode-button.php:82 wpuf-functions.php:1501
2437
  msgid "Dashboard"
2438
  msgstr ""
2439
 
2448
 
2449
  #: admin/installer.php:88 class/subscription.php:356 class/subscription.php:376
2450
  #: class/subscription.php:377 class/subscription.php:378
2451
+ #: includes/free/admin/shortcode-button.php:102 wpuf-functions.php:1504
2452
  msgid "Subscription"
2453
  msgstr ""
2454
 
2457
  msgstr ""
2458
 
2459
  #: admin/installer.php:89 templates/dashboard/posts.php:82
2460
+ #: templates/dashboard.php:121
2461
  msgid "Payment"
2462
  msgstr ""
2463
 
2572
  msgid "WPUF Custom Fields"
2573
  msgstr ""
2574
 
2575
+ #: admin/posting.php:218
2576
  msgid "No custom fields found."
2577
  msgstr ""
2578
 
3101
  msgstr ""
3102
 
3103
  #: admin/settings-options.php:266
3104
+ msgid "Show Payment Column"
3105
+ msgstr ""
3106
+
3107
+ #: admin/settings-options.php:267
3108
+ msgid "Enable if you want show payment column on posts table"
3109
+ msgstr ""
3110
+
3111
+ #: admin/settings-options.php:273
3112
  msgid "Featured Image size"
3113
  msgstr ""
3114
 
3115
+ #: admin/settings-options.php:287
3116
  msgid "Account Page"
3117
  msgstr ""
3118
 
3119
+ #: admin/settings-options.php:288
3120
  msgid "Select the page which contains <code>[wpuf_account]</code> shortcode"
3121
  msgstr ""
3122
 
3123
+ #: admin/settings-options.php:294
3124
  msgid "Show Subscriptions"
3125
  msgstr ""
3126
 
3127
+ #: admin/settings-options.php:295
3128
  msgid ""
3129
  "Show Subscriptions tab in \"my account\" page where "
3130
  "<code>[wpuf_account]</code> is located"
3131
  msgstr ""
3132
 
3133
+ #: admin/settings-options.php:301 includes/class-customizer.php:23
3134
  #: includes/class-customizer.php:68
3135
  msgid "Show Billing Address"
3136
  msgstr ""
3137
 
3138
+ #: admin/settings-options.php:302
3139
  msgid "Show billing address in account page."
3140
  msgstr ""
3141
 
3142
+ #: admin/settings-options.php:310
3143
  msgid "Auto Login After Registration"
3144
  msgstr ""
3145
 
3146
+ #: admin/settings-options.php:311
3147
  msgid "If enabled, users after registration will be logged in to the system"
3148
  msgstr ""
3149
 
3150
+ #: admin/settings-options.php:317
3151
  msgid "Login/Registration override"
3152
  msgstr ""
3153
 
3154
+ #: admin/settings-options.php:318
3155
  msgid ""
3156
  "If enabled, default login and registration forms will be overridden by WPUF "
3157
  "with pages below"
3158
  msgstr ""
3159
 
3160
+ #: admin/settings-options.php:324
3161
  msgid "Registration Page"
3162
  msgstr ""
3163
 
3164
+ #: admin/settings-options.php:325
3165
  msgid ""
3166
  "Select the page you want to use as registration page override <em>(should "
3167
  "have shortcode)</em>"
3168
  msgstr ""
3169
 
3170
+ #: admin/settings-options.php:331
3171
  msgid "Login Page"
3172
  msgstr ""
3173
 
3174
+ #: admin/settings-options.php:332
3175
  msgid "Select the page which contains <code>[wpuf-login]</code> shortcode"
3176
  msgstr ""
3177
 
3178
+ #: admin/settings-options.php:338
3179
  msgid "Redirect After Login"
3180
  msgstr ""
3181
 
3182
+ #: admin/settings-options.php:339
3183
  msgid "After successfull login, where the page will redirect to"
3184
  msgstr ""
3185
 
3186
+ #: admin/settings-options.php:345
3187
  msgid "Default Login Redirect"
3188
  msgstr ""
3189
 
3190
+ #: admin/settings-options.php:346
3191
  msgid ""
3192
  "If enabled, users who login using WordPress default login form will be "
3193
  "redirected to the selected page."
3194
  msgstr ""
3195
 
3196
+ #: admin/settings-options.php:352
3197
  msgid "reCAPTCHA in Login Form"
3198
  msgstr ""
3199
 
3200
+ #: admin/settings-options.php:353
3201
  msgid ""
3202
  "If enabled, users have to verify reCAPTCHA in login page. Also, make sure "
3203
  "that reCAPTCHA is configured properly from <b>General Options</b>"
3204
  msgstr ""
3205
 
3206
+ #: admin/settings-options.php:363
3207
  msgid "Enable payments on your site."
3208
  msgstr ""
3209
 
3210
+ #: admin/settings-options.php:369
3211
  msgid "Subscription Pack Page"
3212
  msgstr ""
3213
 
3214
+ #: admin/settings-options.php:370
3215
  msgid "Select the page where <code>[wpuf_sub_pack]</code> located."
3216
  msgstr ""
3217
 
3218
+ #: admin/settings-options.php:376
3219
  msgid "Subscription at registration"
3220
  msgstr ""
3221
 
3222
+ #: admin/settings-options.php:377
3223
  msgid "Registration time redirect to subscription page"
3224
  msgstr ""
3225
 
3226
+ #: admin/settings-options.php:382
3227
  msgid "Currency"
3228
  msgstr ""
3229
 
3230
+ #: admin/settings-options.php:389
3231
  msgid "Currency Position"
3232
  msgstr ""
3233
 
3234
+ #: admin/settings-options.php:393
3235
  msgid "Left"
3236
  msgstr ""
3237
 
3238
+ #: admin/settings-options.php:394
3239
  msgid "Right"
3240
  msgstr ""
3241
 
3242
+ #: admin/settings-options.php:395
3243
  msgid "Left with space"
3244
  msgstr ""
3245
 
3246
+ #: admin/settings-options.php:396
3247
  msgid "Right with space"
3248
  msgstr ""
3249
 
3250
+ #: admin/settings-options.php:401
3251
  msgid "Thousand Separator"
3252
  msgstr ""
3253
 
3254
+ #: admin/settings-options.php:402
3255
  msgid "This sets the thousand separator of displayed prices."
3256
  msgstr ""
3257
 
3258
+ #: admin/settings-options.php:410
3259
  msgid "Decimal Separator"
3260
  msgstr ""
3261
 
3262
+ #: admin/settings-options.php:411
3263
  msgid "This sets the decimal separator of displayed prices."
3264
  msgstr ""
3265
 
3266
+ #: admin/settings-options.php:418
3267
  msgid "Number of Decimals"
3268
  msgstr ""
3269
 
3270
+ #: admin/settings-options.php:419
3271
  msgid "This sets the number of decimal points shown in displayed prices."
3272
  msgstr ""
3273
 
3274
+ #: admin/settings-options.php:429
3275
  msgid "Enable demo/sandbox mode"
3276
  msgstr ""
3277
 
3278
+ #: admin/settings-options.php:430
3279
  msgid "When sandbox mode is active, all payment gateway will be used in demo mode"
3280
  msgstr ""
3281
 
3282
+ #: admin/settings-options.php:436
3283
  msgid "Payment Page"
3284
  msgstr ""
3285
 
3286
+ #: admin/settings-options.php:437
3287
  msgid "This page will be used to process payment options"
3288
  msgstr ""
3289
 
3290
+ #: admin/settings-options.php:443
3291
  msgid "Payment Success Page"
3292
  msgstr ""
3293
 
3294
+ #: admin/settings-options.php:444 lib/gateway/bank.php:37
3295
  msgid "After payment users will be redirected here"
3296
  msgstr ""
3297
 
3298
+ #: admin/settings-options.php:450
3299
  msgid "Payment Gateways"
3300
  msgstr ""
3301
 
3302
+ #: admin/settings-options.php:451
3303
  msgid "Active payment gateways"
3304
  msgstr ""
3305
 
3306
+ #: admin/settings-options.php:459
3307
  msgid "<span class=\"dashicons dashicons-universal-access-alt\"></span> Guest Email"
3308
  msgstr ""
3309
 
3310
+ #: admin/settings-options.php:465
3311
  msgid "Guest mail subject"
3312
  msgstr ""
3313
 
3314
+ #: admin/settings-options.php:466
3315
  msgid "This sets the subject of the emails sent to guest users"
3316
  msgstr ""
3317
 
3318
+ #: admin/settings-options.php:473
3319
  msgid "Guest mail body"
3320
  msgstr ""
3321
 
3322
+ #: admin/settings-options.php:474
3323
  msgid ""
3324
  "This sets the body of the emails sent to guest users. Please DON'T edit the "
3325
  "<code>{activation_link}</code> part, you can use {sitename} too."
3326
  msgstr ""
3327
 
3328
+ #: admin/settings-options.php:491
3329
  msgid "Post Types"
3330
  msgstr ""
3331
 
3332
+ #: admin/settings-options.php:492
3333
  msgid "Select the post types you will allow users to export."
3334
  msgstr ""
3335
 
3336
+ #: admin/settings-options.php:515
3337
  msgid ""
3338
  "Select profile/registration forms for user roles. These forms will be used "
3339
  "to populate extra edit profile fields in backend."
3340
  msgstr ""
3341
 
3342
+ #: admin/settings-options.php:526
3343
  msgid " - select - "
3344
  msgstr ""
3345
 
3452
  msgid "Word limit reached"
3453
  msgstr ""
3454
 
3455
+ #: class/frontend-account.php:37
3456
+ msgid "Post Submission"
3457
+ msgstr ""
3458
+
3459
+ #: class/frontend-account.php:38
3460
+ msgid "Enable if you want to allow users to submit post from the account page."
3461
+ msgstr ""
3462
+
3463
+ #: class/frontend-account.php:45
3464
+ msgid "Sumission Menu Label"
3465
+ msgstr ""
3466
+
3467
+ #: class/frontend-account.php:46
3468
+ msgid "Label for post submission menu"
3469
+ msgstr ""
3470
+
3471
+ #: class/frontend-account.php:48 class/frontend-account.php:110
3472
+ msgid "Submit Post"
3473
+ msgstr ""
3474
+
3475
+ #: class/frontend-account.php:53
3476
+ msgid "Sumission Form"
3477
+ msgstr ""
3478
+
3479
+ #: class/frontend-account.php:54
3480
+ msgid ""
3481
+ "Select a post form that will use to submit post by the users from their "
3482
+ "account page."
3483
+ msgstr ""
3484
+
3485
+ #: class/frontend-account.php:231
3486
  msgid "<p>You are not subscribed to any package yet.</p>"
3487
  msgstr ""
3488
 
3489
+ #: class/frontend-account.php:305 class/subscription.php:73
3490
  msgid "Nonce failure"
3491
  msgstr ""
3492
 
3493
+ #: class/frontend-account.php:319
3494
  msgid "First Name is a required field."
3495
  msgstr ""
3496
 
3497
+ #: class/frontend-account.php:323
3498
  msgid "Last Name is a required field."
3499
  msgstr ""
3500
 
3501
+ #: class/frontend-account.php:327
3502
  msgid "Email is a required field."
3503
  msgstr ""
3504
 
3505
+ #: class/frontend-account.php:338
3506
  msgid "Please provide a valid email address."
3507
  msgstr ""
3508
 
3509
+ #: class/frontend-account.php:340
3510
  msgid "This email address is already registered."
3511
  msgstr ""
3512
 
3513
+ #: class/frontend-account.php:346
3514
  msgid "Please fill out all password fields."
3515
  msgstr ""
3516
 
3517
+ #: class/frontend-account.php:349
3518
  msgid "Please enter your current password."
3519
  msgstr ""
3520
 
3521
+ #: class/frontend-account.php:352
3522
  msgid "Please re-enter your password."
3523
  msgstr ""
3524
 
3525
+ #: class/frontend-account.php:355
3526
  msgid "New passwords do not match."
3527
  msgstr ""
3528
 
3529
+ #: class/frontend-account.php:358 class/frontend-account.php:369
3530
  msgid "Your current password is incorrect."
3531
  msgstr ""
3532
 
3534
  msgid "Post Deleted"
3535
  msgstr ""
3536
 
3537
+ #: class/frontend-dashboard.php:123
3538
  msgid "Author Info"
3539
  msgstr ""
3540
 
3541
+ #: class/frontend-dashboard.php:127 includes/free/edit-user.php:98
3542
  msgid "%s"
3543
  msgstr ""
3544
 
3545
+ #: class/frontend-dashboard.php:159 templates/dashboard/posts.php:30
3546
  msgid "You are not the post author. Cheeting huh!"
3547
  msgstr ""
3548
 
3596
  msgid "You do not have sufficient permissions to access this form."
3597
  msgstr ""
3598
 
3599
+ #: class/frontend-form-post.php:691 class/frontend-form-post.php:698
3600
+ msgid ""
3601
+ "Thank you for posting on our site. We have sent you an confirmation email. "
3602
+ "Please check your inbox!"
3603
+ msgstr ""
3604
+
3605
  #: class/frontend-form-post.php:751
3606
  msgid "Something went wrong"
3607
  msgstr ""
3608
 
3609
+ #: class/frontend-form-post.php:1115
3610
  msgid "Email successfully verified. Please Login."
3611
  msgstr ""
3612
 
3631
  msgstr ""
3632
 
3633
  #: class/payment.php:139 includes/class-customizer.php:59
3634
+ #: wpuf-functions.php:1505
3635
  msgid "Billing Address"
3636
  msgstr ""
3637
 
3725
  msgstr ""
3726
 
3727
  #: class/post-form-templates/post.php:104
3728
+ #: includes/free/post-form-templates/the_events_calendar.php:157
3729
  msgid "Separate tags with commas."
3730
  msgstr ""
3731
 
3787
 
3788
  #: class/render-form.php:1677 class/transactions-list-table.php:115
3789
  #: class/transactions-list-table.php:181 includes/free/edit-user.php:101
3790
+ #: templates/dashboard/posts.php:172 templates/dashboard.php:263
3791
  msgid "Delete"
3792
  msgstr ""
3793
 
3931
 
3932
  #: class/transactions-list-table.php:41
3933
  #: includes/class-list-table-subscribers.php:44
3934
+ #: templates/dashboard/posts.php:77 templates/dashboard.php:116
3935
  msgid "Status"
3936
  msgstr ""
3937
 
3940
  msgstr ""
3941
 
3942
  #: class/transactions-list-table.php:43
3943
+ #: includes/free/post-form-templates/the_events_calendar.php:115
3944
  msgid "Cost"
3945
  msgstr ""
3946
 
3991
  msgid "No transactions found."
3992
  msgstr ""
3993
 
3994
+ #: class/upload.php:165 wpuf-functions.php:757
3995
  msgid "Caption"
3996
  msgstr ""
3997
 
4107
  msgid "Optional"
4108
  msgstr ""
4109
 
4110
+ #: includes/class-dokan-integration.php:37 wpuf-functions.php:1502
4111
  msgid "Posts"
4112
  msgstr ""
4113
 
4168
  msgstr ""
4169
 
4170
  #: includes/class-list-table-subscribers.php:127
4171
+ #: templates/dashboard/posts.php:137 templates/dashboard.php:224
4172
  msgid "Completed"
4173
  msgstr ""
4174
 
4655
  msgid "Unlimited"
4656
  msgstr ""
4657
 
 
 
 
 
4658
  #: includes/class-whats-new.php:67
4659
  msgid "Whats New"
4660
  msgstr ""
5177
  msgid "Upgrade to Pro"
5178
  msgstr ""
5179
 
5180
+ #: includes/free/post-form-templates/the_events_calendar.php:13
5181
+ msgid "The Events Calendar"
5182
+ msgstr ""
5183
+
5184
+ #: includes/free/post-form-templates/the_events_calendar.php:14
5185
+ msgid "Form for creating events. The Events Calendar plugin is required."
5186
+ msgstr ""
5187
+
5188
+ #: includes/free/post-form-templates/the_events_calendar.php:21
5189
+ msgid "Event Title"
5190
+ msgstr ""
5191
+
5192
+ #: includes/free/post-form-templates/the_events_calendar.php:26
5193
+ msgid "Please enter your event title"
5194
+ msgstr ""
5195
+
5196
+ #: includes/free/post-form-templates/the_events_calendar.php:35
5197
+ msgid "Event details"
5198
+ msgstr ""
5199
+
5200
+ #: includes/free/post-form-templates/the_events_calendar.php:38
5201
+ msgid "Write the full description of your event"
5202
+ msgstr ""
5203
+
5204
+ #: includes/free/post-form-templates/the_events_calendar.php:53
5205
+ msgid "Event Start"
5206
+ msgstr ""
5207
+
5208
+ #: includes/free/post-form-templates/the_events_calendar.php:66
5209
+ msgid "Event End"
5210
+ msgstr ""
5211
+
5212
+ #: includes/free/post-form-templates/the_events_calendar.php:79
5213
+ msgid "All Day Event"
5214
+ msgstr ""
5215
+
5216
+ #: includes/free/post-form-templates/the_events_calendar.php:94
5217
+ msgid "Event Website"
5218
+ msgstr ""
5219
+
5220
+ #: includes/free/post-form-templates/the_events_calendar.php:105
5221
+ msgid "Currency Symbol"
5222
+ msgstr ""
5223
+
5224
+ #: includes/free/post-form-templates/the_events_calendar.php:129
5225
+ msgid "Upload the main image of your event"
5226
+ msgstr ""
5227
+
5228
+ #: includes/free/post-form-templates/the_events_calendar.php:141
5229
+ msgid "Provide a short description of this event (optional)"
5230
+ msgstr ""
5231
+
5232
+ #: includes/free/post-form-templates/the_events_calendar.php:154
5233
+ msgid "Event Tags"
5234
+ msgstr ""
5235
+
5236
+ #: includes/free/post-form-templates/the_events_calendar.php:174
5237
+ msgid "Create Event"
5238
+ msgstr ""
5239
+
5240
+ #: includes/free/post-form-templates/the_events_calendar.php:177
5241
+ msgid ""
5242
+ "Event has been updated successfully. <a target=\"_blank\" "
5243
+ "href=\"%link%\">View event</a>"
5244
+ msgstr ""
5245
+
5246
+ #: includes/free/post-form-templates/the_events_calendar.php:179
5247
+ msgid "Update Event"
5248
+ msgstr ""
5249
+
5250
  #: includes/free/post-form-templates/woocommerce.php:12
5251
  msgid "WooCommerce Product"
5252
  msgstr ""
5474
  msgid "You have created <span>%d</span> %s"
5475
  msgstr ""
5476
 
5477
+ #: templates/dashboard/posts.php:106 templates/dashboard.php:145
5478
  msgid "No Image"
5479
  msgstr ""
5480
 
5481
+ #: templates/dashboard/posts.php:120 templates/dashboard.php:159
5482
  msgid "Permalink to %s"
5483
  msgstr ""
5484
 
5485
+ #: templates/dashboard/posts.php:133 templates/dashboard.php:220
5486
+ msgid "Not Applicable"
5487
+ msgstr ""
5488
+
5489
+ #: templates/dashboard/posts.php:135 templates/dashboard.php:222
5490
  msgid "Pay Now"
5491
  msgstr ""
5492
 
5493
+ #: templates/dashboard/posts.php:170 templates/dashboard.php:261
5494
  msgid "Are you sure to delete?"
5495
  msgstr ""
5496
 
5497
+ #: templates/dashboard/posts.php:190 templates/dashboard.php:281
5498
  msgid "&laquo;"
5499
  msgstr ""
5500
 
5501
+ #: templates/dashboard/posts.php:191 templates/dashboard.php:282
5502
  msgid "&raquo;"
5503
  msgstr ""
5504
 
5505
+ #: templates/dashboard/posts.php:205 templates/dashboard.php:296
5506
  msgid "No %s found"
5507
  msgstr ""
5508
 
5550
  msgid "Registration has been successful!"
5551
  msgstr ""
5552
 
5553
+ #: templates/registration-form.php:32
5554
+ msgid "First"
5555
+ msgstr ""
5556
+
5557
+ #: templates/registration-form.php:37
5558
+ msgid "Last"
5559
+ msgstr ""
5560
+
5561
  #: templates/reset-pass-form.php:14
5562
  msgid "New password"
5563
  msgstr ""
5566
  msgid "Confirm new password"
5567
  msgstr ""
5568
 
5569
+ #: templates/submit-post.php:3
5570
+ msgid "No post form assigned yet by the administrator."
5571
+ msgstr ""
5572
+
5573
  #: views/welcome-page.php:445 views/welcome-page.php:586
5574
  msgid "Create Your First Form"
5575
  msgstr ""
5634
  msgid "CSV"
5635
  msgstr ""
5636
 
5637
+ #: wpuf-functions.php:1503
5638
  msgid "Edit Profile"
5639
  msgstr ""
5640
 
5641
+ #: wpuf-functions.php:1610
5642
  msgid "United Arab Emirates Dirham"
5643
  msgstr ""
5644
 
5645
+ #: wpuf-functions.php:1611
5646
  msgid "Australian Dollars"
5647
  msgstr ""
5648
 
5649
+ #: wpuf-functions.php:1612
5650
  msgid "Argentine Peso"
5651
  msgstr ""
5652
 
5653
+ #: wpuf-functions.php:1613
5654
  msgid "Bangladeshi Taka"
5655
  msgstr ""
5656
 
5657
+ #: wpuf-functions.php:1614
5658
  msgid "Brazilian Real"
5659
  msgstr ""
5660
 
5661
+ #: wpuf-functions.php:1615
5662
  msgid "Bulgarian Lev"
5663
  msgstr ""
5664
 
5665
+ #: wpuf-functions.php:1616
5666
  msgid "Canadian Dollars"
5667
  msgstr ""
5668
 
5669
+ #: wpuf-functions.php:1617
5670
  msgid "Chilean Peso"
5671
  msgstr ""
5672
 
5673
+ #: wpuf-functions.php:1618
5674
  msgid "Chinese Yuan"
5675
  msgstr ""
5676
 
5677
+ #: wpuf-functions.php:1619
5678
  msgid "Colombian Peso"
5679
  msgstr ""
5680
 
5681
+ #: wpuf-functions.php:1620
5682
  msgid "Czech Koruna"
5683
  msgstr ""
5684
 
5685
+ #: wpuf-functions.php:1621
5686
  msgid "Danish Krone"
5687
  msgstr ""
5688
 
5689
+ #: wpuf-functions.php:1622
5690
  msgid "Dominican Peso"
5691
  msgstr ""
5692
 
5693
+ #: wpuf-functions.php:1623
5694
  msgid "Algerian Dinar"
5695
  msgstr ""
5696
 
5697
+ #: wpuf-functions.php:1624
5698
  msgid "Euros"
5699
  msgstr ""
5700
 
5701
+ #: wpuf-functions.php:1625
5702
  msgid "Hong Kong Dollar"
5703
  msgstr ""
5704
 
5705
+ #: wpuf-functions.php:1626
5706
  msgid "Croatia kuna"
5707
  msgstr ""
5708
 
5709
+ #: wpuf-functions.php:1627
5710
  msgid "Hungarian Forint"
5711
  msgstr ""
5712
 
5713
+ #: wpuf-functions.php:1628
5714
  msgid "Icelandic krona"
5715
  msgstr ""
5716
 
5717
+ #: wpuf-functions.php:1629
5718
  msgid "Indonesia Rupiah"
5719
  msgstr ""
5720
 
5721
+ #: wpuf-functions.php:1630
5722
  msgid "Indian Rupee"
5723
  msgstr ""
5724
 
5725
+ #: wpuf-functions.php:1631
5726
  msgid "Nepali Rupee"
5727
  msgstr ""
5728
 
5729
+ #: wpuf-functions.php:1632
5730
  msgid "Israeli Shekel"
5731
  msgstr ""
5732
 
5733
+ #: wpuf-functions.php:1633
5734
  msgid "Japanese Yen"
5735
  msgstr ""
5736
 
5737
+ #: wpuf-functions.php:1634
5738
  msgid "Lao Kip"
5739
  msgstr ""
5740
 
5741
+ #: wpuf-functions.php:1635
5742
  msgid "South Korean Won"
5743
  msgstr ""
5744
 
5745
+ #: wpuf-functions.php:1636
5746
  msgid "Malaysian Ringgits"
5747
  msgstr ""
5748
 
5749
+ #: wpuf-functions.php:1637
5750
  msgid "Mexican Peso"
5751
  msgstr ""
5752
 
5753
+ #: wpuf-functions.php:1638
5754
  msgid "Nigerian Naira"
5755
  msgstr ""
5756
 
5757
+ #: wpuf-functions.php:1639
5758
  msgid "Norwegian Krone"
5759
  msgstr ""
5760
 
5761
+ #: wpuf-functions.php:1640
5762
  msgid "New Zealand Dollar"
5763
  msgstr ""
5764
 
5765
+ #: wpuf-functions.php:1641
5766
  msgid "Omani Rial"
5767
  msgstr ""
5768
 
5769
+ #: wpuf-functions.php:1642
5770
  msgid "Iranian Rial"
5771
  msgstr ""
5772
 
5773
+ #: wpuf-functions.php:1643
5774
  msgid "Pakistani Rupee"
5775
  msgstr ""
5776
 
5777
+ #: wpuf-functions.php:1644
5778
  msgid "Paraguayan Guaraní"
5779
  msgstr ""
5780
 
5781
+ #: wpuf-functions.php:1645
5782
  msgid "Philippine Pesos"
5783
  msgstr ""
5784
 
5785
+ #: wpuf-functions.php:1646
5786
  msgid "Polish Zloty"
5787
  msgstr ""
5788
 
5789
+ #: wpuf-functions.php:1647
5790
  msgid "Pounds Sterling"
5791
  msgstr ""
5792
 
5793
+ #: wpuf-functions.php:1648
5794
  msgid "Romanian Leu"
5795
  msgstr ""
5796
 
5797
+ #: wpuf-functions.php:1649
5798
  msgid "Russian Ruble"
5799
  msgstr ""
5800
 
5801
+ #: wpuf-functions.php:1650
5802
  msgid "Saudi Riyal"
5803
  msgstr ""
5804
 
5805
+ #: wpuf-functions.php:1651
5806
  msgid "Singapore Dollar"
5807
  msgstr ""
5808
 
5809
+ #: wpuf-functions.php:1652
5810
  msgid "South African rand"
5811
  msgstr ""
5812
 
5813
+ #: wpuf-functions.php:1653
5814
  msgid "Swedish Krona"
5815
  msgstr ""
5816
 
5817
+ #: wpuf-functions.php:1654
5818
  msgid "Swiss Franc"
5819
  msgstr ""
5820
 
5821
+ #: wpuf-functions.php:1655
5822
  msgid "Taiwan New Dollars"
5823
  msgstr ""
5824
 
5825
+ #: wpuf-functions.php:1656
5826
  msgid "Thai Baht"
5827
  msgstr ""
5828
 
5829
+ #: wpuf-functions.php:1657
5830
  msgid "Turkish Lira"
5831
  msgstr ""
5832
 
5833
+ #: wpuf-functions.php:1658
5834
  msgid "US Dollar"
5835
  msgstr ""
5836
 
5837
+ #: wpuf-functions.php:1659
5838
  msgid "Vietnamese Dong"
5839
  msgstr ""
5840
 
5841
+ #: wpuf-functions.php:1660
5842
  msgid "Egyptian Pound"
5843
  msgstr ""
5844
 
5948
  msgid "Searching&hellip;"
5949
  msgstr ""
5950
 
5951
+ #: wpuf-functions.php:1114
5952
  msgctxt "tag delimiter"
5953
  msgid ","
5954
  msgstr ""
lib/class.settings-api.php CHANGED
File without changes
lib/gateway/bank.php CHANGED
File without changes
lib/recaptchalib.php CHANGED
File without changes
readme.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: tareq1988, sk.shaikat, rabbii, rafsuntaskin, itowhid06, wedevs
3
  Donate link: https://tareq.co/donate/
4
  Tags: Forms, registration, profile-builder, login, membership
5
  Requires at least: 4.0
6
- Tested up to: 4.9.6
7
  Requires PHP: 5.4
8
- Stable tag: 2.8.10
9
  License: GPLv2
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -13,80 +13,106 @@ Frontend post submission, guest post, membership, login, registration and profil
13
 
14
  == Description ==
15
 
16
- <strong>#1 Frontend Post Submission, Membership and Profile Builder Plugin</strong>
17
 
18
- The forms gives users the ability to create new posts, edit their profile all from the site frontend, so that the user does not need to enter the backend admin panel to do action.
19
 
20
- = The best free plugin with most features =
21
 
22
- WP User Frontend offers you the most features for free
23
- than the other frontend post submission plugins out there.
24
 
25
- = Use anywhere easily with shortcodes =
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
 
27
  All of the forms get an unique shortcode which you can paste on any page and the form will generate without breaking the style of your theme.
28
 
29
- = Submit and update anything from Frontend =
 
 
30
 
31
- Users can upload files, fill out forms, even entry data with multiple choice menus. Also, since all the forms are created as a custom post, so our post management can allow users to update their posts from the frontend.
32
 
33
- = Build customized forms with custom post types =
 
 
 
 
 
 
34
 
35
  Taking the advantage of custom post types will allow you to work on any platform. WP User Frontend is WooCommerce supported, so you can also create products using our forms.
36
 
37
- = Earn with subscription based posting =
 
 
 
 
 
 
 
 
38
 
39
  Create subscription packs to take “Pay Per Post” payments. Submissions posted via these subscriptions have duration and posting limits.
40
 
41
- = Get reminded with emails =
42
 
43
- Trigger emails on multiple events like new submission, publish notification, subscription join/leave to stay notified about your forms performance.
44
 
45
- = Build forms with one click (PRO feature) =
46
 
47
- Quickly create registration forms, woocommerce product forms, guest posting forms, frontend posting forms etc with one click using our templates and assorted fields.
48
 
49
- = Features: =
50
 
51
- * The user can create a new post and edit it from the frontend
52
- * They can view their page in the frontend custom dashboard
53
- * Users can edit their profile
54
- * Administrator can restrict any user level on accessing the WordPress backend
55
- * New posts status, submitted by users are configurable via admin panel. i.e. Published, Draft, Pending
56
- * Get email notification on new posts
57
- * Configurable options giving access to the user edit or delete their posts
58
- * Upload attachments from the frontend
59
- * Upload post featured image
60
- * Admins can manage users from frontend
61
- * Pay-per-post or subscription package for posting
62
 
63
- = WP User Frontend PRO - Premium Features =
64
 
65
- The <a href="https://wedevs.com/wp-user-frontend-pro/?utm_medium=referral&utm_source=wporg&utm_campaign=WPUF+Readme&utm_content=WP+User+Frontend+Pro">premium version</a> of WP User Frontend is completely different from the free version as there are a lot more features included.
66
 
67
- [youtube http://www.youtube.com/watch?v=C0sInxx49Vg]
68
 
 
69
 
70
- * <a href="https://wedevs.com/wp-user-frontend-pro/?utm_medium=referral&utm_source=wporg&utm_campaign=WPUF+Readme&utm_content=WP+User+Frontend+Pro#unlimited-forms">Unlimited post type form creation</a>
71
- * <a href="https://wedevs.com/wp-user-frontend-pro/?utm_medium=referral&utm_source=wporg&utm_campaign=WPUF+Readme&utm_content=WP+User+Frontend+Pro#post-forms">Drag-n-drop form builder</a>
72
- * <a href="https://wedevs.com/wp-user-frontend-pro/?utm_medium=referral&utm_source=wporg&utm_campaign=WPUF+Readme&utm_content=WP+User+Frontend+Pro#custom-taxonomy">Custom taxonomy support</a>
73
- * <a href="https://wedevs.com/wp-user-frontend-pro/?utm_medium=referral&utm_source=wporg&utm_campaign=WPUF+Readme&utm_content=WP+User+Frontend+Pro#custom-fields">13 variations of custom fields</a>
74
- * <a href="https://wedevs.com/wp-user-frontend-pro/?utm_medium=referral&utm_source=wporg&utm_campaign=WPUF+Readme&utm_content=WP+User+Frontend+Pro#guest-posting">Guest post support</a>
75
- * <a href="https://wedevs.com/wp-user-frontend-pro/?utm_medium=referral&utm_source=wporg&utm_campaign=WPUF+Readme&utm_content=WP+User+Frontend+Pro#custom-redirection">Custom Redirection</a>
76
- * <a href="https://wedevs.com/wp-user-frontend-pro/?utm_medium=referral&utm_source=wporg&utm_campaign=WPUF+Readme&utm_content=WP+User+Frontend+Pro#image-upload-post">Image upload on post content area</a>
77
- * Post status selection on new post and edited post separately
78
- * <a href="https://wedevs.com/wp-user-frontend-pro/?utm_medium=referral&utm_source=wporg&utm_campaign=WPUF+Readme&utm_content=WP+User+Frontend+Pro#post-notification">New or edit post notification</a>
79
- * <a href="https://wedevs.com/wp-user-frontend-pro/?utm_medium=referral&utm_source=wporg&utm_campaign=WPUF+Readme&utm_content=WP+User+Frontend+Pro#custom-field-admin">Custom fields are also generated in admin area</a>
80
- * <a href="https://wedevs.com/wp-user-frontend-pro/?utm_medium=referral&utm_source=wporg&utm_campaign=WPUF+Readme&utm_content=WP+User+Frontend+Pro#profile-builder">Profile form builder</a>
81
- * Different profile edit forms for different user roles
82
- * Drag-n-Drop profile form builder
83
- * Profile fields are also generated on the backend
84
- * Avatar Upload
85
- * Frontend profile edit
86
- * <strong>Registration form</strong> builder
87
- * <a href="https://wedevs.com/wp-user-frontend-pro/?utm_medium=referral&utm_source=wporg&utm_campaign=WPUF+Readme&utm_content=WP+User+Frontend+Pro#captcha">Captcha Support</a>
88
 
89
- Try an <a href="https://wedevs.com/in/wpuf/demo">Online Demo</a> of the Pro version.
 
 
 
 
 
 
 
90
 
91
  = Translation =
92
 
@@ -94,13 +120,46 @@ Try an <a href="https://wedevs.com/in/wpuf/demo">Online Demo</a> of the Pro vers
94
  * Persian translation by Abolfazl Esmailinejad
95
  * Turkish translation by mugurcagdas
96
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  = Checkout Our Other Products =
98
  * [weForms - Best Contact Form Plugin](https://wordpress.org/plugins/weforms/)
99
  * [WP ERP](https://wperp.com/?utm_medium=referral&utm_source=wporg&utm_campaign=WPUF+Readme&utm_content=WP+ERP)
100
  * [Dokan - Multivendor Plugin](https://wedevs.com/dokan/?utm_medium=referral&utm_source=wporg&utm_campaign=WP+ERP+Readme&utm_content=Dokan)
101
  * [WP Project Manager](https://wedevs.com/wp-project-manager-pro/?utm_medium=referral&utm_source=wporg&utm_campaign=WP+ERP+Readme&utm_content=WP+Project+Manager)
102
-
103
- [Github Repository](https://github.com/tareq1988/WP-User-Frontend).
104
 
105
  == Installation ==
106
 
@@ -120,7 +179,7 @@ After having installed the plugin:
120
  1. For subscription payment page, set the *Payment Page* from *Payments* tab on settings page.
121
 
122
  = Video =
123
- [youtube https://www.youtube.com/watch?v=pK3nLeR2fzc]
124
 
125
  == Screenshots ==
126
 
@@ -171,6 +230,15 @@ redirected to the edit page with that post id. Then you'll see the edit post for
171
 
172
  == Changelog ==
173
 
 
 
 
 
 
 
 
 
 
174
  = v2.8.10 (17 July, 2018) =
175
 
176
  * **New:** Added drag and drop image ordering on image upload field
@@ -836,4 +904,4 @@ redirected to the edit page with that post id. Then you'll see the edit post for
836
  == Upgrade Notice ==
837
 
838
  = 2.3 =
839
- * It's a **massive update and change** from the previous version 1.3.2. Please do test in your site and main compatibility.
3
  Donate link: https://tareq.co/donate/
4
  Tags: Forms, registration, profile-builder, login, membership
5
  Requires at least: 4.0
6
+ Tested up to: 4.9.8
7
  Requires PHP: 5.4
8
+ Stable tag: 2.9.0
9
  License: GPLv2
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
13
 
14
  == Description ==
15
 
16
+ WP User Frontend is one of the best frontend builder plugin for WordPress. It includes frontend dashboard, frontend editor & publishing, and frontend uploader for WordPress user profile, post submissions, and memberships.
17
 
18
+ <strong>FREE FEATURES</strong>
19
 
20
+ <strong>#1 Frontend Post Submission, Membership, Profile Builder & WordPress Editor Plugin</strong>
21
 
22
+ Unlimited post type form creation. The forms give users the ability to create new posts, edit their profile all from the site frontend, so that the user does not need to enter the backend admin panel to do action.
 
23
 
24
+ <strong>Update Profile from the Frontend</strong>
25
+
26
+ This WordPress Profile Plugin allows registered users to edit their profile using default fields from frontend without having backend access. Unlimited fields can be added using PRO.
27
+
28
+ <strong>Flexibility for admins</strong>
29
+
30
+ Admins can manage users from frontend as well as configure from backend those who can access the dashboard.
31
+
32
+ <strong>Files & attachments</strong>
33
+
34
+ Users can upload attachments from the frontend. Users can also upload post featured image. Image upload on post content area
35
+
36
+ <strong>Drag-n-drop form builder</strong>
37
+
38
+ Easily fill your form with fields using drag-n-drops and real-time preview that updates as you make changes. You can see how your form will look like eventually from the dashboard!
39
+
40
+ <strong>Use anywhere easily with shortcodes</strong>
41
 
42
  All of the forms get an unique shortcode which you can paste on any page and the form will generate without breaking the style of your theme.
43
 
44
+ <strong>WordPress Guest Post Submission</strong>
45
+
46
+ Enable guests to post from your site frontend without registering with WP User Frontend, the WordPress User Registration Plugin. Choose to require name and email address to automatically register and allow them to comment on their posts. Allow email verification for guests.
47
 
48
+ <strong>Role Base Support</strong>
49
 
50
+ Enable certain user roles to make posts, create unauthorized message you want to show.
51
+
52
+ <strong>Submit and update anything from Frontend</strong>
53
+
54
+ Users can upload files, fill out forms, even entry data with multiple choice menus. Allow users to update their posts from the frontend.
55
+
56
+ <strong>Build customized forms with custom post types</strong>
57
 
58
  Taking the advantage of custom post types will allow you to work on any platform. WP User Frontend is WooCommerce supported, so you can also create products using our forms.
59
 
60
+ <strong>Set post status, post message, update post button text</strong>
61
+
62
+ Assign separate default status for a new and edit post, the message you want to show to users after form submission, and change the text of submit buttons as you like.
63
+
64
+ <strong>Custom Redirection after login and submission</strong>
65
+
66
+ Redirect users to another page after logging in, form submission or edit form submission.
67
+
68
+ <strong>Earn with subscription based posting</strong>
69
 
70
  Create subscription packs to take “Pay Per Post” payments. Submissions posted via these subscriptions have duration and posting limits.
71
 
72
+ <strong>Schedule forms & restrict entries</strong>
73
 
74
+ Choose to keep your form active for certain dates. Set a message when form expires. And limit entries to as many as required. The PRO version also allows setting up post expiration.
75
 
76
+ <strong>Get reminded with emails</strong>
77
 
78
+ Trigger emails on multiple events like new form submission, guest posts, publish notification and new subscriptions. With PRO, more email notifications can be set up.
79
 
80
+ <strong>Integrate with Advanced Custom Fields (ACF)</strong>
81
 
82
+ Connect form fields with ACF fields to view user submissions in ACF format from dashboard. Allow users to edit fields from frontend.
 
 
 
 
 
 
 
 
 
 
83
 
84
+ <strong>Create subscription packs, pay-per-posts & receive payments from users</strong>
85
 
86
+ Create and subscribe users to membership packs, allow pay per post, force subscription package purchase, and set fallback pay per post charges with this WordPress Membership Plugin.
87
 
88
+ <strong>Manage Transactions</strong>
89
 
90
+ Approve or make pending membership requests. View all details from a single screen.
91
 
92
+ <strong>Manage or Import/Export forms</strong>
93
+
94
+ Install required WPUF pages in a click, delete post forms, registration forms or subscriptions in one go. Import forms from other places and export forms as CSV.
95
+
96
+ <strong>Custom Login/Registration Form</strong>
97
+
98
+ This WordPress Registration Form Plugin also allows to build registration form using default forms. With PRO, more fields can be added.
99
+
100
+ <strong>Display Custom Fields Data in Post</strong>
101
+
102
+ Custom fields data are viewable to visitors on frontend on single post pages. Admins can disable this feature also.
103
+
104
+ = How to download and install WPUF FREE =
105
+
106
+ [youtube https://www.youtube.com/watch?v=rzxdIN8ZMYc]
 
 
 
107
 
108
+ = Checkout all WP User Frontend resources: =
109
+
110
+ * <a href="https://wedevs.com/wp-user-frontend-pro/?utm_medium=referral&utm_source=wporg&utm_campaign=WPUF+Readme&utm_content=WP+User+Frontend+Pro#unlimited-forms">Home page</a>
111
+ * <a href="https://wedevs.com/docs/wp-user-frontend-pro/?utm_medium=referral&utm_source=wporg&utm_campaign=WPUF+Readme&utm_content=WP+User+Frontend+Pro#unlimited-forms">Documentation</a>
112
+ * <a href="https://www.youtube.com/watch?v=rzxdIN8ZMYc&list=PLJorZsV2RVv9G5J3kcqJQjUwgqZSwc_Hf">WPUF Videos</a>
113
+ * <a href="https://github.com/weDevsOfficial/wp-user-frontend">Github Repository</a>
114
+
115
+ Try an <a href="https://wedevs.com/in/wpuf/demo">Online Demo</a> of the FREE & PRO version.
116
 
117
  = Translation =
118
 
120
  * Persian translation by Abolfazl Esmailinejad
121
  * Turkish translation by mugurcagdas
122
 
123
+ <strong>WP User Frontend PRO – Premium Features</strong>
124
+
125
+ * 20+ Modules [BuddyPress, Paid Memberships Pro, Social Login, User Directory, User Activity, Stripe, MailChimp, Private Messaging, HTML Email Templates & more]
126
+ * Content restriction
127
+ * Menu restriction
128
+ * Post expiration facility
129
+ * Conditional logic
130
+ * Profile form builder
131
+ * 18 custom fields
132
+ * Custom taxonomy support
133
+ * Post update notification
134
+ * Multistep forms
135
+ * Payment invoice
136
+ * Coupons
137
+ * Different profile edit forms for different user roles
138
+ * Profile fields are also generated on the backend
139
+ * Custom taxonomies
140
+ * Taxonomy restriction
141
+ * Form layouts and form templates
142
+ * WooCommerce support
143
+ * Registration form builder
144
+ * Assign new roles to forms
145
+ * Captcha support
146
+ * Update user profile information from frontend
147
+ * Avatar upload
148
+ * User profiles in backend
149
+ * Exclusive contents
150
+ * Frontend Customizer
151
+ * More email notification options
152
+ * Tax in payments
153
+ * Vendor registration template for Dokan, WC Marketplace, WC Vendors
154
+
155
+ Check out the <a href="https://wedevs.com/wp-user-frontend-pro/pricing/">full feature list and pricing plans here.</a> of the Pro version.
156
+
157
  = Checkout Our Other Products =
158
  * [weForms - Best Contact Form Plugin](https://wordpress.org/plugins/weforms/)
159
  * [WP ERP](https://wperp.com/?utm_medium=referral&utm_source=wporg&utm_campaign=WPUF+Readme&utm_content=WP+ERP)
160
  * [Dokan - Multivendor Plugin](https://wedevs.com/dokan/?utm_medium=referral&utm_source=wporg&utm_campaign=WP+ERP+Readme&utm_content=Dokan)
161
  * [WP Project Manager](https://wedevs.com/wp-project-manager-pro/?utm_medium=referral&utm_source=wporg&utm_campaign=WP+ERP+Readme&utm_content=WP+Project+Manager)
162
+ * [WooCommerce Conversion Tracking](https://wedevs.com/woocommerce-conversion-tracking/?utm_medium=referral&utm_source=wporg&utm_campaign=WP+ERP+Readme&utm_content=WP+Conversion+Tracking)
 
163
 
164
  == Installation ==
165
 
179
  1. For subscription payment page, set the *Payment Page* from *Payments* tab on settings page.
180
 
181
  = Video =
182
+ [youtube https://www.youtube.com/watch?v=rzxdIN8ZMYc]
183
 
184
  == Screenshots ==
185
 
230
 
231
  == Changelog ==
232
 
233
+ = v2.9.0 (16 August, 2018) =
234
+
235
+ * **New:** The Events Calendar Integration Form
236
+ * **New:** Post Submission Facility From Account Page
237
+ * **Improved:** Login/Lost Password Link Under Registration Form
238
+ * **Improved:** Added settings to show/hide payment column on frontend dashboard table
239
+ * **Fix:** Draft post gets published after editing without even asking for payment
240
+ * **Fix:** Added Placeholder for Empty Featured Image
241
+
242
  = v2.8.10 (17 July, 2018) =
243
 
244
  * **New:** Added drag and drop image ordering on image upload field
904
  == Upgrade Notice ==
905
 
906
  = 2.3 =
907
+ * It's a **massive update and change** from the previous version 1.3.2. Please do test in your site and main compatibility.
templates/dashboard.php CHANGED
@@ -71,8 +71,8 @@
71
  $len_id = count( $meta_id );
72
  $featured_img = wpuf_get_option( 'show_ft_image', 'wpuf_dashboard' );
73
  $featured_img_size = wpuf_get_option( 'ft_img_size', 'wpuf_dashboard' );
 
74
  $current_user = wpuf_get_user();
75
- $charging_enabled = $current_user->subscription()->current_pack_id();
76
  ?>
77
 
78
  <table class="items-table <?php echo implode( ' ', $post_type ); ?>" cellpadding="0" cellspacing="0">
@@ -117,11 +117,10 @@
117
 
118
  <?php do_action( 'wpuf_dashboard_head_col', $args ) ?>
119
 
120
- <?php
121
- if ( $charging_enabled ) {
122
- echo '<th>' . __( 'Payment', 'wp-user-frontend' ) . '</th>';
123
- }
124
- ?>
125
  <th><?php _e( 'Options', 'wp-user-frontend' ); ?></th>
126
  </tr>
127
  </thead>
@@ -131,7 +130,8 @@
131
 
132
  while ( $dashboard_query->have_posts() ) {
133
  $dashboard_query->the_post();
134
- $show_link = !in_array( $post->post_status, array('draft', 'future', 'pending') );
 
135
  ?>
136
  <tr>
137
  <?php if ((( 'on' == $featured_img || 'on' == $featured_image ) || ( 'off' == $featured_img && 'on' == $featured_image ) || ( 'on' == $featured_img && 'default' == $featured_image )) && !( 'on' == $featured_img && 'off' == $featured_image )) { ?>
@@ -214,20 +214,17 @@
214
 
215
  <?php do_action( 'wpuf_dashboard_row_col', $args, $post ) ?>
216
 
217
- <?php
218
- if ( $charging_enabled ) {
219
- $order_id = get_post_meta( $post->ID, '_wpuf_order_id', true );
220
- $payment_status = get_post_meta( $post->ID, '_wpuf_payment_status', true );
221
- ?>
222
  <td>
223
- <?php if ( $post->post_status == 'pending' && $order_id && $payment_status != 'completed' ) { ?>
 
 
224
  <a href="<?php echo trailingslashit( get_permalink( wpuf_get_option( 'payment_page', 'wpuf_payment' ) ) ); ?>?action=wpuf_pay&type=post&post_id=<?php echo $post->ID; ?>"><?php _e( 'Pay Now', 'wp-user-frontend' ); ?></a>
225
- <?php }
226
- elseif ( $payment_status == 'completed' ) {
227
- echo "Completed";
228
- }?>
229
  </td>
230
- <?php } ?>
231
 
232
  <td>
233
  <?php
@@ -239,11 +236,20 @@
239
 
240
  $edit_page_url = apply_filters( 'wpuf_edit_post_link', $url );
241
 
 
 
 
242
  if ( $post->post_status == 'pending' && $disable_pending_edit == 'on' ) {
243
- // don't show the edit link
244
- } else {
 
 
 
 
 
 
245
  ?>
246
- <a href="<?php echo wp_nonce_url( $edit_page_url, 'wpuf_edit' ); ?>"><?php _e( 'Edit', 'wp-user-frontend' ); ?></a>
247
  <?php
248
  }
249
  }
@@ -286,7 +292,7 @@
286
  </div>
287
  <?php
288
  } else {
289
- if ( !empty( $post_type_obj ) ) {
290
  printf( '<div class="wpuf-message">' . __( 'No %s found', 'wp-user-frontend' ) . '</div>', implode( ', ', $labels ) );
291
  do_action( 'wpuf_dashboard_nopost', $userdata->ID, $post_type_obj );
292
  }
71
  $len_id = count( $meta_id );
72
  $featured_img = wpuf_get_option( 'show_ft_image', 'wpuf_dashboard' );
73
  $featured_img_size = wpuf_get_option( 'ft_img_size', 'wpuf_dashboard' );
74
+ $enable_payment = wpuf_get_option( 'enable_payment', 'wpuf_payment' );
75
  $current_user = wpuf_get_user();
 
76
  ?>
77
 
78
  <table class="items-table <?php echo implode( ' ', $post_type ); ?>" cellpadding="0" cellspacing="0">
117
 
118
  <?php do_action( 'wpuf_dashboard_head_col', $args ) ?>
119
 
120
+ <?php if( 'on' == $enable_payment && 'off' != $payment_column ): ?>
121
+ <th><?php _e( 'Payment', 'wp-user-frontend' ); ?></th>
122
+ <?php endif; ?>
123
+
 
124
  <th><?php _e( 'Options', 'wp-user-frontend' ); ?></th>
125
  </tr>
126
  </thead>
130
 
131
  while ( $dashboard_query->have_posts() ) {
132
  $dashboard_query->the_post();
133
+ $show_link = !in_array( $post->post_status, array('draft', 'future', 'pending') );
134
+ $payment_status = get_post_meta( $post->ID, '_wpuf_payment_status', true );
135
  ?>
136
  <tr>
137
  <?php if ((( 'on' == $featured_img || 'on' == $featured_image ) || ( 'off' == $featured_img && 'on' == $featured_image ) || ( 'on' == $featured_img && 'default' == $featured_image )) && !( 'on' == $featured_img && 'off' == $featured_image )) { ?>
214
 
215
  <?php do_action( 'wpuf_dashboard_row_col', $args, $post ) ?>
216
 
217
+ <?php if( 'on' == $enable_payment && 'off' != $payment_column ): ?>
 
 
 
 
218
  <td>
219
+ <?php if( empty( $payment_status ) ) : ?>
220
+ <?php _e( 'Not Applicable', 'wp-user-frontend' ); ?>
221
+ <?php elseif( $payment_status != 'completed' ) : ?>
222
  <a href="<?php echo trailingslashit( get_permalink( wpuf_get_option( 'payment_page', 'wpuf_payment' ) ) ); ?>?action=wpuf_pay&type=post&post_id=<?php echo $post->ID; ?>"><?php _e( 'Pay Now', 'wp-user-frontend' ); ?></a>
223
+ <?php elseif( $payment_status == 'completed' ) : ?>
224
+ <?php _e( 'Completed', 'wp-user-frontend' ); ?>
225
+ <?php endif; ?>
 
226
  </td>
227
+ <?php endif; ?>
228
 
229
  <td>
230
  <?php
236
 
237
  $edit_page_url = apply_filters( 'wpuf_edit_post_link', $url );
238
 
239
+
240
+ $show_edit = true;
241
+
242
  if ( $post->post_status == 'pending' && $disable_pending_edit == 'on' ) {
243
+ $show_edit = false;
244
+ }
245
+
246
+ if ( $post->post_status =='draft' && ( !empty( $payment_status ) && $payment_status != 'completed' ) ) {
247
+ $show_edit = false;
248
+ }
249
+
250
+ if ( $show_edit ) {
251
  ?>
252
+ <a href="<?php echo wp_nonce_url( $edit_page_url, 'wpuf_edit' ); ?>"><?php _e( 'Edit', 'wp-user-frontend' ); ?></a>
253
  <?php
254
  }
255
  }
292
  </div>
293
  <?php
294
  } else {
295
+ if ( !empty( $post_type_obj ) && !empty( $labels ) ) {
296
  printf( '<div class="wpuf-message">' . __( 'No %s found', 'wp-user-frontend' ) . '</div>', implode( ', ', $labels ) );
297
  do_action( 'wpuf_dashboard_nopost', $userdata->ID, $post_type_obj );
298
  }
templates/dashboard/posts.php CHANGED
@@ -59,10 +59,11 @@ $post_type_obj = get_post_type_object( $post_type );
59
  <?php if ( $dashboard_query->have_posts() ) { ?>
60
 
61
  <?php
62
- $featured_img = wpuf_get_option( 'show_ft_image', 'wpuf_dashboard' );
63
- $featured_img_size = wpuf_get_option( 'ft_img_size', 'wpuf_dashboard' );
64
- $current_user = wpuf_get_user();
65
- $charging_enabled = $current_user->subscription()->current_pack_id();
 
66
  ?>
67
  <table class="items-table <?php echo $post_type; ?>" cellpadding="0" cellspacing="0">
68
  <thead>
@@ -77,11 +78,10 @@ $post_type_obj = get_post_type_object( $post_type );
77
 
78
  <?php do_action( 'wpuf_account_posts_head_col', $args ) ?>
79
 
80
- <?php
81
- if ( $charging_enabled ) {
82
- echo '<th>' . __( 'Payment', 'wp-user-frontend' ) . '</th>';
83
- }
84
- ?>
85
  <th><?php _e( 'Options', 'wp-user-frontend' ); ?></th>
86
  </tr>
87
  </thead>
@@ -91,7 +91,8 @@ $post_type_obj = get_post_type_object( $post_type );
91
 
92
  while ( $dashboard_query->have_posts() ) {
93
  $dashboard_query->the_post();
94
- $show_link = !in_array( $post->post_status, array('draft', 'future', 'pending') );
 
95
  ?>
96
  <tr>
97
  <?php if ( 'on' == $featured_img ) { ?>
@@ -102,7 +103,7 @@ $post_type_obj = get_post_type_object( $post_type );
102
  if ( has_post_thumbnail() ) {
103
  the_post_thumbnail( $featured_img_size );
104
  } else {
105
- printf( '<img src="%1$s" class="attachment-thumbnail wp-post-image" alt="%2$s" title="%2$s" />', apply_filters( 'wpuf_no_image', plugins_url( '/assets/images/no-image.png', dirname( __FILE__ ) ) ), __( 'No Image', 'wp-user-frontend' ) );
106
  }
107
 
108
  echo $show_link ? '</a>' : '';
@@ -126,16 +127,17 @@ $post_type_obj = get_post_type_object( $post_type );
126
 
127
  <?php do_action( 'wpuf_account_posts_row_col', $args, $post ) ?>
128
 
129
- <?php
130
- if ( $charging_enabled ) {
131
- $order_id = get_post_meta( $post->ID, '_wpuf_order_id', true );
132
- ?>
133
  <td>
134
- <?php if ( $post->post_status == 'pending' && $order_id ) { ?>
 
 
135
  <a href="<?php echo trailingslashit( get_permalink( wpuf_get_option( 'payment_page', 'wpuf_payment' ) ) ); ?>?action=wpuf_pay&type=post&post_id=<?php echo $post->ID; ?>"><?php _e( 'Pay Now', 'wp-user-frontend' ); ?></a>
136
- <?php } ?>
 
 
137
  </td>
138
- <?php } ?>
139
 
140
  <td>
141
  <?php
@@ -144,11 +146,19 @@ $post_type_obj = get_post_type_object( $post_type );
144
  $edit_page = (int) wpuf_get_option( 'edit_page_id', 'wpuf_frontend_posting' );
145
  $url = add_query_arg( array('pid' => $post->ID), get_permalink( $edit_page ) );
146
 
 
 
147
  if ( $post->post_status == 'pending' && $disable_pending_edit == 'on' ) {
148
- // don't show the edit link
149
- } else {
 
 
 
 
 
 
150
  ?>
151
- <a href="<?php echo wp_nonce_url( $url, 'wpuf_edit' ); ?>"><?php _e( 'Edit', 'wp-user-frontend' ); ?></a> /
152
  <?php
153
  }
154
  }
@@ -159,7 +169,7 @@ $post_type_obj = get_post_type_object( $post_type );
159
  $del_url = add_query_arg( array('action' => 'del', 'pid' => $post->ID) );
160
  $message = __( 'Are you sure to delete?', 'wp-user-frontend' );
161
  ?>
162
- <a href="<?php echo wp_nonce_url( $del_url, 'wpuf_del' ) ?>" onclick="return confirm('<?php echo $message ?>');"><span style="color: red;"><?php _e( 'Delete', 'wp-user-frontend' ); ?></span></a>
163
  <?php } ?>
164
  </td>
165
  </tr>
59
  <?php if ( $dashboard_query->have_posts() ) { ?>
60
 
61
  <?php
62
+ $featured_img = wpuf_get_option( 'show_ft_image', 'wpuf_dashboard' );
63
+ $featured_img_size = wpuf_get_option( 'ft_img_size', 'wpuf_dashboard' );
64
+ $payment_column = wpuf_get_option( 'show_payment_column', 'wpuf_dashboard', 'on' );
65
+ $enable_payment = wpuf_get_option( 'enable_payment', 'wpuf_payment', 'on' );
66
+ $current_user = wpuf_get_user();
67
  ?>
68
  <table class="items-table <?php echo $post_type; ?>" cellpadding="0" cellspacing="0">
69
  <thead>
78
 
79
  <?php do_action( 'wpuf_account_posts_head_col', $args ) ?>
80
 
81
+ <?php if( 'on' == $enable_payment && 'off' != $payment_column ): ?>
82
+ <th><?php _e( 'Payment', 'wp-user-frontend' ); ?></th>
83
+ <?php endif; ?>
84
+
 
85
  <th><?php _e( 'Options', 'wp-user-frontend' ); ?></th>
86
  </tr>
87
  </thead>
91
 
92
  while ( $dashboard_query->have_posts() ) {
93
  $dashboard_query->the_post();
94
+ $show_link = !in_array( $post->post_status, array('draft', 'future', 'pending') );
95
+ $payment_status = get_post_meta( $post->ID, '_wpuf_payment_status', true );
96
  ?>
97
  <tr>
98
  <?php if ( 'on' == $featured_img ) { ?>
103
  if ( has_post_thumbnail() ) {
104
  the_post_thumbnail( $featured_img_size );
105
  } else {
106
+ printf( '<img src="%1$s" class="attachment-thumbnail wp-post-image" alt="%2$s" title="%2$s" />', apply_filters( 'wpuf_no_image', plugins_url( '../assets/images/no-image.png', dirname( __FILE__ ) ) ), __( 'No Image', 'wp-user-frontend' ) );
107
  }
108
 
109
  echo $show_link ? '</a>' : '';
127
 
128
  <?php do_action( 'wpuf_account_posts_row_col', $args, $post ) ?>
129
 
130
+ <?php if( 'on' == $enable_payment && 'off' != $payment_column ): ?>
 
 
 
131
  <td>
132
+ <?php if( empty( $payment_status ) ) : ?>
133
+ <?php _e( 'Not Applicable', 'wp-user-frontend' ); ?>
134
+ <?php elseif( $payment_status != 'completed' ) : ?>
135
  <a href="<?php echo trailingslashit( get_permalink( wpuf_get_option( 'payment_page', 'wpuf_payment' ) ) ); ?>?action=wpuf_pay&type=post&post_id=<?php echo $post->ID; ?>"><?php _e( 'Pay Now', 'wp-user-frontend' ); ?></a>
136
+ <?php elseif( $payment_status == 'completed' ) : ?>
137
+ <?php _e( 'Completed', 'wp-user-frontend' ); ?>
138
+ <?php endif; ?>
139
  </td>
140
+ <?php endif; ?>
141
 
142
  <td>
143
  <?php
146
  $edit_page = (int) wpuf_get_option( 'edit_page_id', 'wpuf_frontend_posting' );
147
  $url = add_query_arg( array('pid' => $post->ID), get_permalink( $edit_page ) );
148
 
149
+ $show_edit = true;
150
+
151
  if ( $post->post_status == 'pending' && $disable_pending_edit == 'on' ) {
152
+ $show_edit = false;
153
+ }
154
+
155
+ if ( $post->post_status =='draft' && ( !empty( $payment_status ) && $payment_status != 'completed' ) ) {
156
+ $show_edit = false;
157
+ }
158
+
159
+ if ( $show_edit ) {
160
  ?>
161
+ <a class="wpuf-posts-options wpuf-posts-edit" href="<?php echo wp_nonce_url( $url, 'wpuf_edit' ); ?>"><?php _e( 'Edit', 'wp-user-frontend' ); ?></a>
162
  <?php
163
  }
164
  }
169
  $del_url = add_query_arg( array('action' => 'del', 'pid' => $post->ID) );
170
  $message = __( 'Are you sure to delete?', 'wp-user-frontend' );
171
  ?>
172
+ <a class="wpuf-posts-options wpuf-posts-delete" style="color: red;" href="<?php echo wp_nonce_url( $del_url, 'wpuf_del' ) ?>" onclick="return confirm('<?php echo $message ?>');"><?php _e( 'Delete', 'wp-user-frontend' ); ?></a>
173
  <?php } ?>
174
  </td>
175
  </tr>
templates/logged-in.php CHANGED
File without changes
templates/login-form.php CHANGED
File without changes
templates/lost-pass-form.php CHANGED
File without changes
templates/registration-form.php CHANGED
@@ -29,12 +29,12 @@
29
  <div class="wpuf-name-field-wrap format-first-last">
30
  <div class="wpuf-name-field-first-name">
31
  <input type="text" name="reg_fname" id="wpuf-user_fname" class="input" value="<?php echo wpuf()->registration->get_posted_value( 'reg_fname' ); ?>" size="" />
32
- <label class="wpuf-form-sub-label">First</label>
33
  </div>
34
 
35
  <div class="wpuf-name-field-last-name">
36
  <input type="text" name="reg_lname" id="wpuf-user_lname" class="input" value="<?php echo wpuf()->registration->get_posted_value( 'reg_lname' ); ?>" size="16" />
37
- <label class="wpuf-form-sub-label">Last</label>
38
  </div>
39
  </div>
40
  </div>
@@ -78,6 +78,10 @@
78
  <?php wp_nonce_field( 'wpuf_registration_action' ); ?>
79
  </li>
80
 
 
 
 
 
81
  <?php do_action( 'wpuf_reg_form_bottom' ); ?>
82
 
83
  </ul>
29
  <div class="wpuf-name-field-wrap format-first-last">
30
  <div class="wpuf-name-field-first-name">
31
  <input type="text" name="reg_fname" id="wpuf-user_fname" class="input" value="<?php echo wpuf()->registration->get_posted_value( 'reg_fname' ); ?>" size="" />
32
+ <label class="wpuf-form-sub-label"><?php _e( 'First', 'wp-user-frontend' ); ?></label>
33
  </div>
34
 
35
  <div class="wpuf-name-field-last-name">
36
  <input type="text" name="reg_lname" id="wpuf-user_lname" class="input" value="<?php echo wpuf()->registration->get_posted_value( 'reg_lname' ); ?>" size="16" />
37
+ <label class="wpuf-form-sub-label"><?php _e( 'Last', 'wp-user-frontend' ); ?></label>
38
  </div>
39
  </div>
40
  </div>
78
  <?php wp_nonce_field( 'wpuf_registration_action' ); ?>
79
  </li>
80
 
81
+ <li>
82
+ <?php echo wpuf()->login->get_action_links( array( 'register' => false ) ); ?>
83
+ </li>
84
+
85
  <?php do_action( 'wpuf_reg_form_bottom' ); ?>
86
 
87
  </ul>
templates/reset-pass-form.php CHANGED
File without changes
templates/submit-post.php ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $no_form_notice = __('No post form assigned yet by the administrator.', 'wp-user-frontend' );
4
+ $selected_form = wpuf_get_option( 'post_submission_form', 'wpuf_my_account' );
5
+
6
+ if ( empty( $selected_form ) ) {
7
+ echo '<div class="wpuf-info">' . $no_form_notice . '</div>';
8
+ return;
9
+ }
10
+
11
+ echo do_shortcode('[wpuf_form id="'.$selected_form.'"]');
12
+
13
+ ?>
wpuf-functions.php CHANGED
@@ -737,7 +737,8 @@ function wpuf_show_custom_fields( $content ) {
737
 
738
  foreach ($field_value as $attachment_id) {
739
  if ( $attr['input_type'] == 'image_upload' ) {
740
- $thumb = wp_get_attachment_image( $attachment_id, 'thumbnail' );
 
741
  } else {
742
  $thumb = get_post_field( 'post_title', $attachment_id );
743
  }
@@ -2283,10 +2284,9 @@ function wpuf_send_mail_to_guest ( $post_id_encoded, $form_id_encoded, $charging
2283
  $body = $default_body;
2284
  }
2285
 
2286
- $headers = array('Content-Type: text/html; charset=UTF-8');
2287
  $body = get_formatted_mail_body( $body, $subject);
2288
 
2289
- wp_mail( $to, $subject, $body, $headers );
2290
  }
2291
 
2292
 
@@ -2887,9 +2887,14 @@ add_action( 'wpuf_before_form_render', 'wpuf_show_form_schedule_message' );
2887
  */
2888
  function wpuf_show_form_limit_message( $form_id ){
2889
 
2890
- $form_settings = wpuf_get_form_settings( $form_id );
2891
- $has_limit = ( isset( $form_settings['limit_entries'] ) && $form_settings['limit_entries'] == 'true' ) ? true : false;
2892
- if ( $has_limit ) {
 
 
 
 
 
2893
 
2894
  $limit = (int) !empty( $form_settings['limit_number'] ) ? $form_settings['limit_number'] : 0;
2895
  $form_entries = wpuf_form_posts_count( $form_id );
737
 
738
  foreach ($field_value as $attachment_id) {
739
  if ( $attr['input_type'] == 'image_upload' ) {
740
+ $image_size = wpuf_get_option( 'insert_photo_size', 'wpuf_frontend_posting', 'thumbnail' );
741
+ $thumb = wp_get_attachment_image( $attachment_id, $image_size );
742
  } else {
743
  $thumb = get_post_field( 'post_title', $attachment_id );
744
  }
2284
  $body = $default_body;
2285
  }
2286
 
 
2287
  $body = get_formatted_mail_body( $body, $subject);
2288
 
2289
+ wp_mail( $to, $subject, $body );
2290
  }
2291
 
2292
 
2887
  */
2888
  function wpuf_show_form_limit_message( $form_id ){
2889
 
2890
+ $form_settings = wpuf_get_form_settings( $form_id );
2891
+ $has_limit = ( isset( $form_settings['limit_entries'] ) && $form_settings['limit_entries'] == 'true' ) ? true : false;
2892
+ $post_to_check = get_post( get_the_ID() );
2893
+ $is_edit_page = false;
2894
+ if ( stripos( $post_to_check->post_content, '[' . 'wpuf_edit' ) !== false ) {
2895
+ $is_edit_page = true;
2896
+ }
2897
+ if ( $has_limit && !$is_edit_page ) {
2898
 
2899
  $limit = (int) !empty( $form_settings['limit_number'] ) ? $form_settings['limit_number'] : 0;
2900
  $form_entries = wpuf_form_posts_count( $form_id );
wpuf.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP User Frontend
4
  Plugin URI: https://wordpress.org/plugins/wp-user-frontend/
5
  Description: Create, edit, delete, manages your post, pages or custom post types from frontend. Create registration forms, frontend profile and more...
6
  Author: Tareq Hasan
7
- Version: 2.8.10
8
  Author URI: https://tareq.co
9
  License: GPL2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -12,7 +12,7 @@ Text Domain: wpuf
12
  Domain Path: /languages
13
  */
14
 
15
- define( 'WPUF_VERSION', '2.8.10' );
16
  define( 'WPUF_FILE', __FILE__ );
17
  define( 'WPUF_ROOT', dirname( __FILE__ ) );
18
  define( 'WPUF_ROOT_URI', plugins_url( '', __FILE__ ) );
4
  Plugin URI: https://wordpress.org/plugins/wp-user-frontend/
5
  Description: Create, edit, delete, manages your post, pages or custom post types from frontend. Create registration forms, frontend profile and more...
6
  Author: Tareq Hasan
7
+ Version: 2.9.0
8
  Author URI: https://tareq.co
9
  License: GPL2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
12
  Domain Path: /languages
13
  */
14
 
15
+ define( 'WPUF_VERSION', '2.9.0' );
16
  define( 'WPUF_FILE', __FILE__ );
17
  define( 'WPUF_ROOT', dirname( __FILE__ ) );
18
  define( 'WPUF_ROOT_URI', plugins_url( '', __FILE__ ) );