Simple Membership - Version 3.6.6

Version Description

  • Added a new feature to show a terms and conditon checkbox. Users must agree to your terms before they can register for an account. Useful for GDPR.
  • Added a new feature to show a privacy policy checkbox. Users must agree to your privacy policy before they can register for an account. Useful for GDPR.
  • Last login date of the members are now shown in the members listing page in the admin dashboard.
  • Added a feature in the tools menu of the plugin to re-create the required pages of the membership plugin.
  • Fixed a typo in the country name "Colombia".
Download this release

Release Info

Developer mra13
Plugin Icon 128x128 Simple Membership
Version 3.6.6
Comparing to
See all releases

Code changes from version 3.6.2 to 3.6.6

Files changed (49) hide show
  1. classes/class.simple-wp-membership.php +59 -16
  2. classes/class.swpm-auth.php +2 -2
  3. classes/class.swpm-front-registration.php +27 -5
  4. classes/class.swpm-init-time-tasks.php +33 -0
  5. classes/class.swpm-members.php +2 -0
  6. classes/class.swpm-protection-base.php +18 -6
  7. classes/class.swpm-protection.php +2 -2
  8. classes/class.swpm-self-action-handler.php +34 -0
  9. classes/class.swpm-settings.php +63 -12
  10. classes/class.swpm-utils-member.php +15 -0
  11. classes/class.swpm-utils-membership-level.php +15 -0
  12. classes/class.swpm-utils-misc.php +1 -1
  13. classes/shortcode-related/class.swpm-shortcodes-handler.php +30 -0
  14. images/addons/affiliate-platform-integration.png +0 -0
  15. images/addons/affiliates-manager-integration.png +0 -0
  16. images/addons/custom-post-type-protection-enhanced.png +0 -0
  17. images/addons/form-shortcode-generator.png +0 -0
  18. images/addons/google-first-click-free-addon.png +0 -0
  19. images/addons/google-recaptcha-addon.png +0 -0
  20. images/addons/idevaffiliate-integration.png +0 -0
  21. images/addons/mailchimp-integration.png +0 -0
  22. images/addons/show-member-info.png +0 -0
  23. images/addons/swpm-aweber-integration-addon.png +0 -0
  24. images/addons/swpm-bbpress-integration.png +0 -0
  25. images/addons/swpm-bulk-member-importer-from-csv-addon.png +0 -0
  26. images/addons/swpm-convertkit-integration-addon.png +0 -0
  27. images/addons/swpm-custom-messages.png +0 -0
  28. images/addons/swpm-data-exporter-addon.png +0 -0
  29. images/addons/swpm-form-builder.png +0 -0
  30. images/addons/swpm-login-redirection.png +0 -0
  31. images/addons/swpm-member-directory-listing-addon.png +0 -0
  32. images/addons/swpm-member-payments-addon.png +0 -0
  33. images/addons/swpm-misc-shortcodes-addon.png +0 -0
  34. images/addons/swpm-older-posts-protection.png +0 -0
  35. images/addons/swpm-partial-protection-addon.png +0 -0
  36. images/addons/swpm-woocommerce-addon.png +0 -0
  37. images/addons/wp-user-import.png +0 -0
  38. ipn/swpm-braintree-buy-now-ipn.php +4 -4
  39. ipn/swpm-stripe-subscription-ipn.php +2 -2
  40. languages/simple-membership-sv_SE.mo +0 -0
  41. languages/simple-membership-sv_SE.po +2293 -919
  42. languages/simple-membership.pot +73 -0
  43. lib/stripe-util-functions.php +1 -1
  44. readme.txt +32 -4
  45. simple-wp-membership.php +2 -2
  46. views/add.php +35 -8
  47. views/admin_edit.php +13 -5
  48. views/admin_tools_settings.php +37 -1
  49. views/payments/payment-gateway/stripe_button_shortcode_view.php +4 -4
classes/class.simple-wp-membership.php CHANGED
@@ -7,6 +7,7 @@ include_once('class.swpm-utils-membership-level.php');
7
  include_once('class.swpm-utils-template.php');
8
  include_once('class.swpm-init-time-tasks.php');
9
  include_once('class.swpm-wp-loaded-tasks.php');
 
10
  include_once('class.swpm-comment-form-related.php');
11
  include_once('class.swpm-settings.php');
12
  include_once('class.swpm-protection.php');
@@ -34,6 +35,10 @@ include_once('shortcode-related/class.swpm-shortcodes-handler.php');
34
  class SimpleWpMembership {
35
 
36
  public function __construct() {
 
 
 
 
37
  add_action('admin_menu', array(&$this, 'menu'));
38
  add_action('init', array(&$this, 'init_hook'));
39
  add_action('wp_loaded', array(&$this, 'handle_wp_loaded_tasks'));
@@ -53,8 +58,6 @@ class SimpleWpMembership {
53
  add_shortcode('swpm_login_form', array(&$this, 'login'));
54
  add_shortcode('swpm_reset_form', array(&$this, 'reset'));
55
 
56
- new SwpmShortcodesHandler(); //Tackle the shortcode definitions and implementation.
57
-
58
  add_action('wp_head', array(&$this, 'wp_head_callback'));
59
  add_action('save_post', array(&$this, 'save_postdata'));
60
  add_action('admin_notices', array(&$this, 'do_admin_notices'));
@@ -63,8 +66,9 @@ class SimpleWpMembership {
63
  add_action('load-wp-membership_page_simple_wp_membership_levels', array(&$this, 'admin_library'));
64
  add_action('profile_update', array(&$this, 'sync_with_wp_profile'), 10, 2);
65
  add_action('wp_logout', array(&$this, 'wp_logout'));
66
- add_action('wp_authenticate', array(&$this, 'wp_login'), 1, 2);
67
  add_action('swpm_logout', array(&$this, 'swpm_do_user_logout'));
 
68
 
69
  //AJAX hooks
70
  add_action('wp_ajax_swpm_validate_email', 'SwpmAjax::validate_email_ajax');
@@ -260,16 +264,32 @@ class SimpleWpMembership {
260
  }
261
  }
262
 
263
- public function wp_login($username, $password) {
 
264
  $auth = SwpmAuth::get_instance();
265
  if (($auth->is_logged_in() && ($auth->userData->user_name == $username))) {
 
266
  return;
267
  }
268
  if (!empty($username)) {
 
269
  $auth->login($username, $password, true);
270
  }
271
  }
272
 
 
 
 
 
 
 
 
 
 
 
 
 
 
273
  public function wp_logout() {
274
  $auth = SwpmAuth::get_instance();
275
  if ($auth->is_logged_in()) {
@@ -293,18 +313,41 @@ class SimpleWpMembership {
293
  $profile['last_name'] = $wp_user_data->user_lastname;
294
  $wpdb->update($wpdb->prefix . "swpm_members_tbl", $profile, array('member_id' => $profile['member_id']));
295
  }
 
 
 
 
 
 
 
296
 
297
- public function login() {
298
- ob_start();
299
- $auth = SwpmAuth::get_instance();
300
- if ($auth->is_logged_in()) {
301
- //Load the template for logged-in member
302
- SwpmUtilsTemplate::swpm_load_template('loggedin.php', false);
303
- } else {
304
- //Load the login widget template
305
- SwpmUtilsTemplate::swpm_load_template('login.php', false);
306
  }
307
- return ob_get_clean();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
308
  }
309
 
310
  public function reset() {
@@ -428,8 +471,8 @@ class SimpleWpMembership {
428
 
429
  // The actual fields for data entry
430
  echo '<h4>' . __("Do you want to protect this content?", 'simple-membership') . '</h4>';
431
- echo '<input type="radio" ' . ((!$is_protected) ? 'checked' : "") . ' name="swpm_protect_post" value="1" /> No, Do not protect this content. <br/>';
432
- echo '<input type="radio" ' . (($is_protected) ? 'checked' : "") . ' name="swpm_protect_post" value="2" /> Yes, Protect this content.<br/>';
433
  echo $protection_obj->get_last_message();
434
 
435
  echo '<h4>' . __("Select the membership level that can access this content:", 'simple-membership') . "</h4>";
7
  include_once('class.swpm-utils-template.php');
8
  include_once('class.swpm-init-time-tasks.php');
9
  include_once('class.swpm-wp-loaded-tasks.php');
10
+ include_once('class.swpm-self-action-handler.php');
11
  include_once('class.swpm-comment-form-related.php');
12
  include_once('class.swpm-settings.php');
13
  include_once('class.swpm-protection.php');
35
  class SimpleWpMembership {
36
 
37
  public function __construct() {
38
+
39
+ new SwpmShortcodesHandler(); //Tackle the shortcode definitions and implementation.
40
+ new SwpmSelfActionHandler(); //Tackle the self action hook handling.
41
+
42
  add_action('admin_menu', array(&$this, 'menu'));
43
  add_action('init', array(&$this, 'init_hook'));
44
  add_action('wp_loaded', array(&$this, 'handle_wp_loaded_tasks'));
58
  add_shortcode('swpm_login_form', array(&$this, 'login'));
59
  add_shortcode('swpm_reset_form', array(&$this, 'reset'));
60
 
 
 
61
  add_action('wp_head', array(&$this, 'wp_head_callback'));
62
  add_action('save_post', array(&$this, 'save_postdata'));
63
  add_action('admin_notices', array(&$this, 'do_admin_notices'));
66
  add_action('load-wp-membership_page_simple_wp_membership_levels', array(&$this, 'admin_library'));
67
  add_action('profile_update', array(&$this, 'sync_with_wp_profile'), 10, 2);
68
  add_action('wp_logout', array(&$this, 'wp_logout'));
69
+ add_action('wp_authenticate', array(&$this, 'wp_authenticate_handler'), 1, 2);
70
  add_action('swpm_logout', array(&$this, 'swpm_do_user_logout'));
71
+ add_action('user_register', array(&$this, 'swpm_handle_wp_user_registration'));
72
 
73
  //AJAX hooks
74
  add_action('wp_ajax_swpm_validate_email', 'SwpmAjax::validate_email_ajax');
264
  }
265
  }
266
 
267
+ public function wp_authenticate_handler($username, $password) {
268
+
269
  $auth = SwpmAuth::get_instance();
270
  if (($auth->is_logged_in() && ($auth->userData->user_name == $username))) {
271
+ SwpmLog::log_auth_debug('wp_authenticate action. User with username: '.$username.'is already logged in.', true);
272
  return;
273
  }
274
  if (!empty($username)) {
275
+ SwpmLog::log_auth_debug('wp_authenticate action. Handling login for username: ' . $username, true);
276
  $auth->login($username, $password, true);
277
  }
278
  }
279
 
280
+ public function login() {
281
+ ob_start();
282
+ $auth = SwpmAuth::get_instance();
283
+ if ($auth->is_logged_in()) {
284
+ //Load the template for logged-in member
285
+ SwpmUtilsTemplate::swpm_load_template('loggedin.php', false);
286
+ } else {
287
+ //Load the login widget template
288
+ SwpmUtilsTemplate::swpm_load_template('login.php', false);
289
+ }
290
+ return ob_get_clean();
291
+ }
292
+
293
  public function wp_logout() {
294
  $auth = SwpmAuth::get_instance();
295
  if ($auth->is_logged_in()) {
313
  $profile['last_name'] = $wp_user_data->user_lastname;
314
  $wpdb->update($wpdb->prefix . "swpm_members_tbl", $profile, array('member_id' => $profile['member_id']));
315
  }
316
+
317
+ function swpm_handle_wp_user_registration($user_id) {
318
+
319
+ $swpm_settings_obj = SwpmSettings::get_instance();
320
+ $enable_auto_create_swpm_members = $swpm_settings_obj->get_value('enable-auto-create-swpm-members');
321
+ $default_level = $swpm_settings_obj->get_value('auto-create-default-membership-level');
322
+ $default_ac_status = $swpm_settings_obj->get_value('auto-create-default-account-status');
323
 
324
+ if (empty($enable_auto_create_swpm_members)) {
325
+ return;
 
 
 
 
 
 
 
326
  }
327
+ if (empty($default_level)){
328
+ return;
329
+ }
330
+
331
+ $user_info = get_userdata($user_id);
332
+ if (SwpmMemberUtils::get_user_by_user_name($user_info->user_login)) {
333
+ SwpmLog::log_simple_debug("swpm_handle_wp_user_registration() - SWPM member account with this username already exists! No new account will be created for this user.", false);
334
+ return;
335
+ }
336
+ if (SwpmMemberUtils::get_user_by_email($user_info->user_email)) {
337
+ SwpmLog::log_simple_debug("swpm_handle_wp_user_registration() - SWPM member account with this email already exists! No new account will be created for this user.", false);
338
+ return;
339
+ }
340
+ $fields = array();
341
+ $fields['user_name'] = $user_info->user_login;
342
+ $fields['password'] = $user_info->user_pass;
343
+ $fields['email'] = $user_info->user_email;
344
+ $fields['first_name'] = $user_info->first_name;
345
+ $fields['last_name'] = $user_info->last_name;
346
+ $fields['membership_level'] = $default_level;
347
+ $fields['member_since'] = date('Y-m-d');
348
+ $fields['account_state'] = $default_ac_status;
349
+ $fields['subscription_starts'] = date('Y-m-d');
350
+ SwpmMemberUtils::create_swpm_member_entry_from_array_data($fields);
351
  }
352
 
353
  public function reset() {
471
 
472
  // The actual fields for data entry
473
  echo '<h4>' . __("Do you want to protect this content?", 'simple-membership') . '</h4>';
474
+ echo '<input type="radio" ' . ((!$is_protected) ? 'checked' : "") . ' name="swpm_protect_post" value="1" /> '. SwpmUtils::_('No, Do not protect this content.') . '<br/>';
475
+ echo '<input type="radio" ' . (($is_protected) ? 'checked' : "") . ' name="swpm_protect_post" value="2" /> '. SwpmUtils::_('Yes, Protect this content.') . '<br/>';
476
  echo $protection_obj->get_last_message();
477
 
478
  echo '<h4>' . __("Select the membership level that can access this content:", 'simple-membership') . "</h4>";
classes/class.swpm-auth.php CHANGED
@@ -175,7 +175,7 @@ class SwpmAuth {
175
  }
176
 
177
  public function login($user, $pass, $remember = '', $secure = '') {
178
- SwpmLog::log_auth_debug("login", true);
179
  if ($this->isLoggedIn) {
180
  return;
181
  }
@@ -355,7 +355,7 @@ class SwpmAuth {
355
  $sub = \Stripe\Subscription::retrieve($subscr_id);
356
  $sub->cancel();
357
  } catch (Exception $e) {
358
- SwpmLog::log_simple_debug("Error occured during Stripe Subscription cancellation. " . $e->getMessage(), false);
359
  $body = $e->getJsonBody();
360
  $error = $body['error'];
361
  $error_string = print_r($error, true);
175
  }
176
 
177
  public function login($user, $pass, $remember = '', $secure = '') {
178
+ SwpmLog::log_auth_debug("SwpmAuth::login()", true);
179
  if ($this->isLoggedIn) {
180
  return;
181
  }
355
  $sub = \Stripe\Subscription::retrieve($subscr_id);
356
  $sub->cancel();
357
  } catch (Exception $e) {
358
+ SwpmLog::log_simple_debug("Error occurred during Stripe Subscription cancellation. " . $e->getMessage(), false);
359
  $body = $e->getJsonBody();
360
  $error = $body['error'];
361
  $error_string = print_r($error, true);
classes/class.swpm-front-registration.php CHANGED
@@ -81,6 +81,28 @@ class SwpmFrontRegistration extends SwpmRegistration {
81
  return;
82
  }
83
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
  //Validate swpm level hash data.
85
  $hash_val_posted = sanitize_text_field($_POST['swpm_level_hash']);
86
  $level_value = sanitize_text_field($_POST['membership_level']);
@@ -101,13 +123,13 @@ class SwpmFrontRegistration extends SwpmRegistration {
101
  //Check if there is after registration redirect
102
  $after_rego_url = SwpmSettings::get_instance()->get_value('after-rego-redirect-page-url');
103
  $after_rego_url = apply_filters('swpm_after_registration_redirect_url', $after_rego_url);
104
- if(!empty($after_rego_url)){
105
  //Yes. Need to redirect to this after registration page
106
  SwpmLog::log_simple_debug("After registration redirect is configured in settings. Redirecting user to: " . $after_rego_url, true);
107
  wp_redirect($after_rego_url);
108
  exit(0);
109
  }
110
-
111
  //Set the registration complete message
112
  $login_page_url = SwpmSettings::get_instance()->get_value('login-page-url');
113
  $after_rego_msg = '<div class="swpm-registration-success-msg">' . SwpmUtils::_('Registration Successful. ') . SwpmUtils::_('Please') . ' <a href="' . $login_page_url . '">' . SwpmUtils::_('Login') . '</a></div>';
@@ -239,7 +261,7 @@ class SwpmFrontRegistration extends SwpmRegistration {
239
  $msg_str = '<div class="swpm-profile-update-success">' . SwpmUtils::_('Profile updated successfully. You will need to re-login since you changed your password.') . '</div>';
240
  $message = array('succeeded' => true, 'message' => $msg_str);
241
  unset($member_info['plain_password']);
242
- wp_logout();//Log the user out from the WP user session also.
243
  SwpmLog::log_simple_debug("Member has updated the password from profile edit page. Logging the user out so he can re-login using the new password.", true);
244
  }
245
 
@@ -304,8 +326,8 @@ class SwpmFrontRegistration extends SwpmRegistration {
304
  $body = SwpmMiscUtils::replace_dynamic_tags($body, $user->member_id, $additional_args);
305
  $from = $settings->get_value('email-from');
306
  $headers = "From: " . $from . "\r\n";
307
- $subject=apply_filters('swpm_email_password_reset_subject',$subject);
308
- $body=apply_filters('swpm_email_password_reset_body',$body);
309
  wp_mail($email, $subject, $body, $headers);
310
  SwpmLog::log_simple_debug("Member password has been reset. Password reset email sent to: " . $email, true);
311
 
81
  return;
82
  }
83
 
84
+ //Check if Terms and Conditions enabled
85
+ $terms_enabled = SwpmSettings::get_instance()->get_value('enable-terms-and-conditions');
86
+ if (!empty($terms_enabled)) {
87
+ //check if user checked "I accept terms" checkbox
88
+ if (empty($_POST['accept_terms'])) {
89
+ $message = array('succeeded' => false, 'message' => SwpmUtils::_('You must accept the terms and conditions.'));
90
+ SwpmTransfer::get_instance()->set('status', $message);
91
+ return;
92
+ }
93
+ }
94
+
95
+ //Check if Privacy Policy enabled
96
+ $pp_enabled = SwpmSettings::get_instance()->get_value('enable-privacy-policy');
97
+ if (!empty($pp_enabled)) {
98
+ //check if user checked "I agree with Privacy Policy" checkbox
99
+ if (empty($_POST['accept_pp'])) {
100
+ $message = array('succeeded' => false, 'message' => SwpmUtils::_('You must agree to the privacy policy.'));
101
+ SwpmTransfer::get_instance()->set('status', $message);
102
+ return;
103
+ }
104
+ }
105
+
106
  //Validate swpm level hash data.
107
  $hash_val_posted = sanitize_text_field($_POST['swpm_level_hash']);
108
  $level_value = sanitize_text_field($_POST['membership_level']);
123
  //Check if there is after registration redirect
124
  $after_rego_url = SwpmSettings::get_instance()->get_value('after-rego-redirect-page-url');
125
  $after_rego_url = apply_filters('swpm_after_registration_redirect_url', $after_rego_url);
126
+ if (!empty($after_rego_url)) {
127
  //Yes. Need to redirect to this after registration page
128
  SwpmLog::log_simple_debug("After registration redirect is configured in settings. Redirecting user to: " . $after_rego_url, true);
129
  wp_redirect($after_rego_url);
130
  exit(0);
131
  }
132
+
133
  //Set the registration complete message
134
  $login_page_url = SwpmSettings::get_instance()->get_value('login-page-url');
135
  $after_rego_msg = '<div class="swpm-registration-success-msg">' . SwpmUtils::_('Registration Successful. ') . SwpmUtils::_('Please') . ' <a href="' . $login_page_url . '">' . SwpmUtils::_('Login') . '</a></div>';
261
  $msg_str = '<div class="swpm-profile-update-success">' . SwpmUtils::_('Profile updated successfully. You will need to re-login since you changed your password.') . '</div>';
262
  $message = array('succeeded' => true, 'message' => $msg_str);
263
  unset($member_info['plain_password']);
264
+ wp_logout(); //Log the user out from the WP user session also.
265
  SwpmLog::log_simple_debug("Member has updated the password from profile edit page. Logging the user out so he can re-login using the new password.", true);
266
  }
267
 
326
  $body = SwpmMiscUtils::replace_dynamic_tags($body, $user->member_id, $additional_args);
327
  $from = $settings->get_value('email-from');
328
  $headers = "From: " . $from . "\r\n";
329
+ $subject = apply_filters('swpm_email_password_reset_subject', $subject);
330
+ $body = apply_filters('swpm_email_password_reset_body', $body);
331
  wp_mail($email, $subject, $body, $headers);
332
  SwpmLog::log_simple_debug("Member password has been reset. Password reset email sent to: " . $email, true);
333
 
classes/class.swpm-init-time-tasks.php CHANGED
@@ -26,7 +26,10 @@ class SwpmInitTimeTasks {
26
  //Do frontend-only init time tasks
27
  if (!is_admin()) {
28
  SwpmAuth::get_instance();
 
 
29
  $this->verify_and_delete_account();
 
30
  $swpm_logout = filter_input(INPUT_GET, 'swpm-logout');
31
  if (!empty($swpm_logout)) {
32
  SwpmAuth::get_instance()->logout();
@@ -148,6 +151,36 @@ class SwpmInitTimeTasks {
148
  //TODO - allow an option to do a redirect if successful edit profile form submission?
149
  }
150
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
151
 
152
  /* Payment Gateway IPN listener */
153
 
26
  //Do frontend-only init time tasks
27
  if (!is_admin()) {
28
  SwpmAuth::get_instance();
29
+
30
+ $this->check_and_handle_auto_login();
31
  $this->verify_and_delete_account();
32
+
33
  $swpm_logout = filter_input(INPUT_GET, 'swpm-logout');
34
  if (!empty($swpm_logout)) {
35
  SwpmAuth::get_instance()->logout();
151
  //TODO - allow an option to do a redirect if successful edit profile form submission?
152
  }
153
  }
154
+
155
+ public function check_and_handle_auto_login() {
156
+
157
+ if(isset($_REQUEST['swpm_auto_login']) && $_REQUEST['swpm_auto_login'] == '1'){
158
+ //Handle the auto login
159
+ SwpmLog::log_simple_debug("Handling auto login request...", true);
160
+
161
+ $enable_auto_login = SwpmSettings::get_instance()->get_value('auto-login-after-rego');
162
+ if(empty($enable_auto_login)) {
163
+ SwpmLog::log_simple_debug("Auto login after registration feature is disabled in settings.", true);
164
+ return;
165
+ }
166
+
167
+ //Check auto login nonce value
168
+ $auto_login_nonce = isset($_REQUEST['swpm_auto_login_nonce'])? $_REQUEST['swpm_auto_login_nonce'] : '';
169
+ if (!wp_verify_nonce($auto_login_nonce, 'swpm-auto-login-nonce')) {
170
+ SwpmLog::log_simple_debug("Error! Auto login nonce verification check failed!", false);
171
+ wp_die("Auto login nonce verification check failed!");
172
+ }
173
+
174
+ //Perform the login
175
+ $auth = SwpmAuth::get_instance();
176
+ $user = apply_filters('swpm_user_name', filter_input(INPUT_GET, 'swpm_user_name'));
177
+ $user = sanitize_user($user);
178
+ $encoded_pass = filter_input(INPUT_GET, 'swpm_encoded_pw');
179
+ $pass = base64_decode($encoded_pass);
180
+ $auth->login($user, $pass);
181
+ SwpmLog::log_simple_debug("Auto login request completed for: " . $user, true);
182
+ }
183
+ }
184
 
185
  /* Payment Gateway IPN listener */
186
 
classes/class.swpm-members.php CHANGED
@@ -24,6 +24,7 @@ class SwpmMembers extends WP_List_Table {
24
  , 'alias' => SwpmUtils::_('Membership Level')
25
  , 'subscription_starts' => SwpmUtils::_('Access Starts')
26
  , 'account_state' => SwpmUtils::_('Account State')
 
27
  );
28
  }
29
 
@@ -36,6 +37,7 @@ class SwpmMembers extends WP_List_Table {
36
  'email' => array('email', false),
37
  'alias' => array('alias', false),
38
  'account_state' => array('account_state', false),
 
39
  );
40
  }
41
 
24
  , 'alias' => SwpmUtils::_('Membership Level')
25
  , 'subscription_starts' => SwpmUtils::_('Access Starts')
26
  , 'account_state' => SwpmUtils::_('Account State')
27
+ , 'last_accessed' => SwpmUtils::_('Last Login Date')
28
  );
29
  }
30
 
37
  'email' => array('email', false),
38
  'alias' => array('alias', false),
39
  'account_state' => array('account_state', false),
40
+ 'last_accessed' => array('last_accessed', false),
41
  );
42
  }
43
 
classes/class.swpm-protection-base.php CHANGED
@@ -117,8 +117,12 @@ abstract class SwpmProtectionBase {
117
  if (empty($this->categories)){
118
  return false;
119
  }
120
- $taxonomies = get_taxonomies($args = array('public' => true,'_builtin'=>false));
121
- $taxonomies['category'] = 'category';
 
 
 
 
122
  $terms = wp_get_post_terms( $post_id, $taxonomies, array('fields'=>'ids'));
123
  if(!is_array($terms)){
124
  return false;
@@ -134,8 +138,12 @@ abstract class SwpmProtectionBase {
134
  if (empty($this->categories)){
135
  return false;
136
  }
137
- $taxonomies = get_taxonomies($args = array('public' => true,'_builtin'=>false));
138
- $taxonomies['category'] = 'category';
 
 
 
 
139
  $terms = get_term($id, $taxonomies);
140
  if(!is_array($terms)){
141
  return false;
@@ -153,8 +161,12 @@ abstract class SwpmProtectionBase {
153
  if (empty($this->categories)){
154
  return false;
155
  }
156
- $taxonomies = get_taxonomies($args = array('public' => true,'_builtin'=>false));
157
- $taxonomies['category'] = 'category';
 
 
 
 
158
  $terms = wp_get_post_terms( $post_id, $taxonomies, array('fields'=>'all'));
159
  if(!is_array($terms)){
160
  return false;
117
  if (empty($this->categories)){
118
  return false;
119
  }
120
+ $taxonomies = get_taxonomies(array('public' => true,'_builtin'=>false));
121
+ if (!is_array($taxonomies) || empty($taxonomies)) {
122
+ $taxonomies = 'category';
123
+ } else {
124
+ $taxonomies['category'] = 'category';
125
+ }
126
  $terms = wp_get_post_terms( $post_id, $taxonomies, array('fields'=>'ids'));
127
  if(!is_array($terms)){
128
  return false;
138
  if (empty($this->categories)){
139
  return false;
140
  }
141
+ $taxonomies = get_taxonomies(array('public' => true,'_builtin'=>false));
142
+ if (!is_array($taxonomies) || empty($taxonomies)) {
143
+ $taxonomies = 'category';
144
+ } else {
145
+ $taxonomies['category'] = 'category';
146
+ }
147
  $terms = get_term($id, $taxonomies);
148
  if(!is_array($terms)){
149
  return false;
161
  if (empty($this->categories)){
162
  return false;
163
  }
164
+ $taxonomies = get_taxonomies(array('public' => true,'_builtin'=>false));
165
+ if (!is_array($taxonomies) || empty($taxonomies)) {
166
+ $taxonomies = 'category';
167
+ } else {
168
+ $taxonomies['category'] = 'category';
169
+ }
170
  $terms = wp_get_post_terms( $post_id, $taxonomies, array('fields'=>'all'));
171
  if(!is_array($terms)){
172
  return false;
classes/class.swpm-protection.php CHANGED
@@ -19,8 +19,8 @@ class SwpmProtection extends SwpmProtectionBase {
19
  public function is_protected($id) {
20
  if ($this->post_in_parent_categories($id) || $this->post_in_categories($id)) {
21
  $this->msg = '<p style="background: #FFF6D5; border: 1px solid #D1B655; color: #3F2502; margin: 10px 0px 10px 0px; padding: 5px 5px 5px 10px;">
22
- The category or parent category of this post is protected. You can change the category protection settings
23
- from the <a href="admin.php?page=simple_wp_membership_levels&level_action=category_list" target="_blank">category protection</a> menu.
24
  </p>';
25
  return true;
26
  }
19
  public function is_protected($id) {
20
  if ($this->post_in_parent_categories($id) || $this->post_in_categories($id)) {
21
  $this->msg = '<p style="background: #FFF6D5; border: 1px solid #D1B655; color: #3F2502; margin: 10px 0px 10px 0px; padding: 5px 5px 5px 10px;">
22
+ ' . SwpmUtils::_('The category or parent category of this post is protected. You can change the category protection settings from the ') .
23
+ '<a href="admin.php?page=simple_wp_membership_levels&level_action=category_list" target="_blank">' . SwpmUtils::_('category protection menu') . '</a>.
24
  </p>';
25
  return true;
26
  }
classes/class.swpm-self-action-handler.php ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class SwpmSelfActionHandler {
4
+
5
+ public function __construct() {
6
+ //Register all the self action hooks the plugin needs to handle
7
+ add_action('swpm_front_end_registration_complete_fb', array(&$this, 'after_registration_callback'));//For the form builder
8
+ add_action('swpm_front_end_registration_complete_user_data', array(&$this, 'after_registration_callback'));
9
+
10
+ }
11
+
12
+ public function after_registration_callback($user_data){
13
+
14
+ //Handle auto login after registration if enabled
15
+ $enable_auto_login = SwpmSettings::get_instance()->get_value('auto-login-after-rego');
16
+ if (!empty($enable_auto_login)){
17
+ SwpmLog::log_simple_debug("Auto login after registration feature is enabled in settings. Performing auto login for user: " . $user_data['user_name'], true);
18
+ $login_page_url = SwpmSettings::get_instance()->get_value('login-page-url');
19
+ $encoded_pass = base64_encode($user_data['plain_password']);
20
+ $swpm_auto_login_nonce = wp_create_nonce('swpm-auto-login-nonce');
21
+ $arr_params = array(
22
+ 'swpm_auto_login' => '1',
23
+ 'swpm_user_name' => urlencode($user_data['user_name']),
24
+ 'swpm_encoded_pw' => $encoded_pass,
25
+ 'swpm_auto_login_nonce' => $swpm_auto_login_nonce,
26
+ );
27
+ $redirect_page = add_query_arg($arr_params, $login_page_url);
28
+ wp_redirect($redirect_page);
29
+ exit(0);
30
+ }
31
+
32
+ }
33
+
34
+ }
classes/class.swpm-settings.php CHANGED
@@ -95,9 +95,12 @@ class SwpmSettings {
95
  add_settings_section('debug-settings', SwpmUtils::_('Test & Debug Settings'), array(&$this, 'testndebug_settings_callback'), 'simple_wp_membership_settings');
96
 
97
  $debug_field_help_text = SwpmUtils::_('Check this option to enable debug logging.');
98
- $debug_field_help_text .= '<br />- View debug log file by clicking <a href="' . SIMPLE_WP_MEMBERSHIP_URL . '/log.txt" target="_blank">here</a>.';
99
- $debug_field_help_text .= '<br />- Reset debug log file by clicking <a href="admin.php?page=simple_wp_membership_settings&swmp_reset_log=1" target="_blank">here</a>.';
100
- add_settings_field('enable-debug', 'Enable Debug', array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'debug-settings', array('item' => 'enable-debug',
 
 
 
101
  'message' => $debug_field_help_text));
102
  add_settings_field('enable-sandbox-testing', SwpmUtils::_('Enable Sandbox Testing'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'debug-settings', array('item' => 'enable-sandbox-testing',
103
  'message' => SwpmUtils::_('Enable this option if you want to do sandbox payment testing.')));
@@ -186,7 +189,10 @@ class SwpmSettings {
186
  'message' => SwpmUtils::_('You can create a renewal page for your site. Read <a href="https://simple-membership-plugin.com/creating-membership-renewal-button/" target="_blank">this documentation</a> to learn how to create a renewal page.')) );
187
 
188
  add_settings_field('after-rego-redirect-page-url', SwpmUtils::_('After Registration Redirect URL'), array(&$this, 'textfield_long_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'after-rego-redirect-page-url',
189
- 'message' => SwpmUtils::_('You can enter an URL here to redirect the members to this page after they submit the registration form. Read <a href="https://simple-membership-plugin.com/configure-registration-redirect-members/" target="_blank">this documentation</a> to learn how to setup after registration redirect.')) );
 
 
 
190
 
191
  add_settings_field('allow-account-deletion', SwpmUtils::_('Allow Account Deletion'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'allow-account-deletion',
192
  'message' => SwpmUtils::_('Allow users to delete their accounts.')));
@@ -194,9 +200,6 @@ class SwpmSettings {
194
  add_settings_field('force-strong-passwords', SwpmUtils::_('Force Strong Password for Members'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'force-strong-passwords',
195
  'message' => SwpmUtils::_('Enable this if you want the users to be forced to use a strong password for their accounts.')));
196
 
197
- add_settings_field('force-wp-user-sync', SwpmUtils::_('Force WP User Synchronization'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'force-wp-user-sync',
198
- 'message' => SwpmUtils::_('Enable this option if you want to force the member login to be synchronized with WP user account. This can be useful if you are using another plugin that uses WP user records. For example: bbPress plugin.')));
199
-
200
  add_settings_field('use-wordpress-timezone', SwpmUtils::_('Use WordPress Timezone'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'use-wordpress-timezone',
201
  'message' => SwpmUtils::_('Use this option if you want to use the timezone value specified in your WordPress General Settings interface.')));
202
 
@@ -209,7 +212,40 @@ class SwpmSettings {
209
  'options' => array('manage_options' => 'Admin', 'edit_pages' => 'Editor', 'edit_published_posts' => 'Author', 'edit_posts' => 'Contributor'),
210
  'default' => 'manage_options',
211
  'message' => SwpmUtils::_('SWPM admin dashboard is accessible to admin users only (just like any other plugin). You can allow users with other WP user role to access the SWPM admin dashboard by selecting a value here.')));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
212
 
 
 
 
 
 
 
 
 
 
213
  }
214
 
215
  private function tab_6() {
@@ -375,6 +411,14 @@ class SwpmSettings {
375
  SwpmUtils::e('This page allows you to configure some advanced features of the plugin.');
376
  }
377
 
 
 
 
 
 
 
 
 
378
  public function sanitize_tab_1($input) {
379
  if (empty($this->settings)) {
380
  $this->settings = (array) get_option('swpm-settings');
@@ -440,13 +484,24 @@ class SwpmSettings {
440
  $output = $this->settings;
441
  $output['enable-expired-account-login'] = isset($input['enable-expired-account-login']) ? esc_attr($input['enable-expired-account-login']) : "";
442
  $output['allow-account-deletion'] = isset($input['allow-account-deletion']) ? esc_attr($input['allow-account-deletion']) : "";
443
- $output['force-wp-user-sync'] = isset($input['force-wp-user-sync']) ? esc_attr($input['force-wp-user-sync']) : "";
444
  $output['use-wordpress-timezone'] = isset($input['use-wordpress-timezone']) ? esc_attr($input['use-wordpress-timezone']) : "";
445
  $output['delete-pending-account'] = isset($input['delete-pending-account']) ? esc_attr($input['delete-pending-account']) : 0;
446
  $output['admin-dashboard-access-permission'] = isset($input['admin-dashboard-access-permission']) ? esc_attr($input['admin-dashboard-access-permission']) : '';
447
  $output['renewal-page-url'] = esc_url($input['renewal-page-url']);
448
  $output['after-rego-redirect-page-url'] = esc_url($input['after-rego-redirect-page-url']);
449
  $output['force-strong-passwords'] = isset($input['force-strong-passwords']) ? esc_attr($input['force-strong-passwords']) : "";
 
 
 
 
 
 
 
 
 
 
 
 
450
  return $output;
451
  }
452
 
@@ -510,10 +565,6 @@ class SwpmSettings {
510
  break;
511
  case 4:
512
  //Tools
513
- $link_for = filter_input(INPUT_POST, 'swpm_link_for', FILTER_SANITIZE_STRING);
514
- $member_id = filter_input(INPUT_POST, 'member_id', FILTER_SANITIZE_NUMBER_INT);
515
- $send_email = isset($_REQUEST['swpm_reminder_email']) ? true : false;
516
- $links = SwpmUtils::get_registration_complete_prompt_link($link_for, $send_email, $member_id);
517
  include(SIMPLE_WP_MEMBERSHIP_PATH . 'views/admin_tools_settings.php');
518
  break;
519
  case 5:
95
  add_settings_section('debug-settings', SwpmUtils::_('Test & Debug Settings'), array(&$this, 'testndebug_settings_callback'), 'simple_wp_membership_settings');
96
 
97
  $debug_field_help_text = SwpmUtils::_('Check this option to enable debug logging.');
98
+ $debug_field_help_text .= SwpmUtils::_(' This can be useful when troubleshooting an issue. Turn it off and reset the log files after the troubleshooting is complete.');
99
+ $debug_field_help_text .= '<br />';
100
+ $debug_field_help_text .= '<br />- '. SwpmUtils::_('View general debug log file by clicking ') . '<a href="' . SIMPLE_WP_MEMBERSHIP_URL . '/log.txt" target="_blank">' . SwpmUtils::_('here') . '</a>.';
101
+ $debug_field_help_text .= '<br />- '. SwpmUtils::_('View login related debug log file by clicking ') . '<a href="' . SIMPLE_WP_MEMBERSHIP_URL . '/log-auth.txt" target="_blank">' . SwpmUtils::_('here') . '</a>.';
102
+ $debug_field_help_text .= '<br />- '. SwpmUtils::_('Reset debug log files by clicking ') . '<a href="admin.php?page=simple_wp_membership_settings&swmp_reset_log=1" target="_blank">' . SwpmUtils::_('here') . '</a>.';
103
+ add_settings_field('enable-debug', SwpmUtils::_('Enable Debug'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'debug-settings', array('item' => 'enable-debug',
104
  'message' => $debug_field_help_text));
105
  add_settings_field('enable-sandbox-testing', SwpmUtils::_('Enable Sandbox Testing'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'debug-settings', array('item' => 'enable-sandbox-testing',
106
  'message' => SwpmUtils::_('Enable this option if you want to do sandbox payment testing.')));
189
  'message' => SwpmUtils::_('You can create a renewal page for your site. Read <a href="https://simple-membership-plugin.com/creating-membership-renewal-button/" target="_blank">this documentation</a> to learn how to create a renewal page.')) );
190
 
191
  add_settings_field('after-rego-redirect-page-url', SwpmUtils::_('After Registration Redirect URL'), array(&$this, 'textfield_long_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'after-rego-redirect-page-url',
192
+ 'message' => SwpmUtils::_('You can enter an URL here to redirect the members to this page after they submit the registration form. Read <a href="https://simple-membership-plugin.com/configure-after-registration-redirect-for-members/" target="_blank">this documentation</a> to learn how to setup after registration redirect.')) );
193
+
194
+ add_settings_field('auto-login-after-rego', SwpmUtils::_('Enable Auto Login After Registration'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'auto-login-after-rego',
195
+ 'message' => SwpmUtils::_('Use this option if you want the members to be automatically logged into your site right after they complete the registration. Read <a href="https://simple-membership-plugin.com/configure-auto-login-after-registration-members/" target="_blank">this documentation</a> to learn more.')));
196
 
197
  add_settings_field('allow-account-deletion', SwpmUtils::_('Allow Account Deletion'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'allow-account-deletion',
198
  'message' => SwpmUtils::_('Allow users to delete their accounts.')));
200
  add_settings_field('force-strong-passwords', SwpmUtils::_('Force Strong Password for Members'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'force-strong-passwords',
201
  'message' => SwpmUtils::_('Enable this if you want the users to be forced to use a strong password for their accounts.')));
202
 
 
 
 
203
  add_settings_field('use-wordpress-timezone', SwpmUtils::_('Use WordPress Timezone'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'use-wordpress-timezone',
204
  'message' => SwpmUtils::_('Use this option if you want to use the timezone value specified in your WordPress General Settings interface.')));
205
 
212
  'options' => array('manage_options' => 'Admin', 'edit_pages' => 'Editor', 'edit_published_posts' => 'Author', 'edit_posts' => 'Contributor'),
213
  'default' => 'manage_options',
214
  'message' => SwpmUtils::_('SWPM admin dashboard is accessible to admin users only (just like any other plugin). You can allow users with other WP user role to access the SWPM admin dashboard by selecting a value here.')));
215
+
216
+ add_settings_field('force-wp-user-sync', SwpmUtils::_('Force WP User Synchronization'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'advanced-settings', array('item' => 'force-wp-user-sync',
217
+ 'message' => SwpmUtils::_('Enable this option if you want to force the member login to be synchronized with WP user account. This can be useful if you are using another plugin that uses WP user records. For example: bbPress plugin.')));
218
+
219
+ //Auto create SWPM user related settings section
220
+ add_settings_section('auto-create-swpm-user-settings', SwpmUtils::_('Create Member Accounts for New WP Users'), array(&$this, 'advanced_settings_auto_create_swpm_uses_settings_callback'), 'simple_wp_membership_settings');
221
+
222
+ add_settings_field('enable-auto-create-swpm-members', SwpmUtils::_('Enable Auto Create Member Accounts'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'auto-create-swpm-user-settings', array('item' => 'enable-auto-create-swpm-members',
223
+ 'message' => SwpmUtils::_('Enable this option to automatically create member accounts for any new WP user that is created by another plugin.')));
224
+
225
+ $levels_array = SwpmMembershipLevelUtils::get_all_membership_levels_in_array();
226
+ add_settings_field('auto-create-default-membership-level', SwpmUtils::_('Default Membership Level'), array(&$this, 'selectbox_callback'), 'simple_wp_membership_settings', 'auto-create-swpm-user-settings', array('item' => 'auto-create-default-membership-level',
227
+ 'options' => $levels_array,
228
+ 'default' => '',
229
+ 'message' => SwpmUtils::_('When automatically creating a member account using this feature, the membership level of the user will be set to the one you specify here.')));
230
+
231
+ $status_array = SwpmUtils::get_account_state_options();
232
+ add_settings_field('auto-create-default-account-status', SwpmUtils::_('Default Account Status'), array(&$this, 'selectbox_callback'), 'simple_wp_membership_settings', 'auto-create-swpm-user-settings', array('item' => 'auto-create-default-account-status',
233
+ 'options' => $status_array,
234
+ 'default' => '',
235
+ 'message' => SwpmUtils::_('When automatically creating a member account using this feature, the membership account status of the user will be set to the one you specify here.')));
236
+
237
+ //Terms and conditions section
238
+ add_settings_section('terms-and-conditions', SwpmUtils::_('Terms and Conditions'), array(&$this, 'advanced_settings_terms_and_conditions_callback'), 'simple_wp_membership_settings');
239
 
240
+ add_settings_field('enable-terms-and-conditions', SwpmUtils::_('Enable Terms and Conditions'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'terms-and-conditions', array('item' => 'enable-terms-and-conditions',
241
+ 'message' => SwpmUtils::_('Users must accept the terms before they can complete the registration.')));
242
+ add_settings_field('terms-and-conditions-page-url', SwpmUtils::_('Terms and Conditions Page URL'), array(&$this, 'textfield_long_callback'), 'simple_wp_membership_settings', 'terms-and-conditions', array('item' => 'terms-and-conditions-page-url',
243
+ 'message' => SwpmUtils::_('Enter the URL of your terms and conditions page. You can create a WordPress page and specify your terms in there then specify the URL of that page in the above field.')) );
244
+ add_settings_field('enable-privacy-policy', SwpmUtils::_('Enable Privacy Policy'), array(&$this, 'checkbox_callback'), 'simple_wp_membership_settings', 'terms-and-conditions', array('item' => 'enable-privacy-policy',
245
+ 'message' => SwpmUtils::_('Users must accept it before they can complete the registration.')));
246
+ add_settings_field('privacy-policy-page-url', SwpmUtils::_('Privacy Policy Page URL'), array(&$this, 'textfield_long_callback'), 'simple_wp_membership_settings', 'terms-and-conditions', array('item' => 'privacy-policy-page-url',
247
+ 'message' => SwpmUtils::_('Enter the URL of your privacy policy page.')) );
248
+
249
  }
250
 
251
  private function tab_6() {
411
  SwpmUtils::e('This page allows you to configure some advanced features of the plugin.');
412
  }
413
 
414
+ public function advanced_settings_auto_create_swpm_uses_settings_callback() {
415
+ SwpmUtils::e('This section allows you to configure automatic creation of member accounts when new WP User records are created by another plugin. It can be useful if you are using another plugin that creates WP user records and you want them to be recognized in the membership plugin.');
416
+ }
417
+
418
+ public function advanced_settings_terms_and_conditions_callback() {
419
+ SwpmUtils::e('This section allows you to configure terms and conditions and privacy policy that users must accept at registration time.');
420
+ }
421
+
422
  public function sanitize_tab_1($input) {
423
  if (empty($this->settings)) {
424
  $this->settings = (array) get_option('swpm-settings');
484
  $output = $this->settings;
485
  $output['enable-expired-account-login'] = isset($input['enable-expired-account-login']) ? esc_attr($input['enable-expired-account-login']) : "";
486
  $output['allow-account-deletion'] = isset($input['allow-account-deletion']) ? esc_attr($input['allow-account-deletion']) : "";
 
487
  $output['use-wordpress-timezone'] = isset($input['use-wordpress-timezone']) ? esc_attr($input['use-wordpress-timezone']) : "";
488
  $output['delete-pending-account'] = isset($input['delete-pending-account']) ? esc_attr($input['delete-pending-account']) : 0;
489
  $output['admin-dashboard-access-permission'] = isset($input['admin-dashboard-access-permission']) ? esc_attr($input['admin-dashboard-access-permission']) : '';
490
  $output['renewal-page-url'] = esc_url($input['renewal-page-url']);
491
  $output['after-rego-redirect-page-url'] = esc_url($input['after-rego-redirect-page-url']);
492
  $output['force-strong-passwords'] = isset($input['force-strong-passwords']) ? esc_attr($input['force-strong-passwords']) : "";
493
+ $output['auto-login-after-rego'] = isset($input['auto-login-after-rego']) ? esc_attr($input['auto-login-after-rego']) : "";
494
+ $output['force-wp-user-sync'] = isset($input['force-wp-user-sync']) ? esc_attr($input['force-wp-user-sync']) : "";
495
+
496
+ //Auto create swpm user related settings
497
+ $output['enable-auto-create-swpm-members'] = isset($input['enable-auto-create-swpm-members']) ? esc_attr($input['enable-auto-create-swpm-members']) : "";
498
+ $output['auto-create-default-membership-level'] = isset($input['auto-create-default-membership-level']) ? esc_attr($input['auto-create-default-membership-level']) : "";
499
+ $output['auto-create-default-account-status'] = isset($input['auto-create-default-account-status']) ? esc_attr($input['auto-create-default-account-status']) : "";
500
+ //Terms and conditions related settings
501
+ $output['enable-terms-and-conditions'] = isset($input['enable-terms-and-conditions']) ? esc_attr($input['enable-terms-and-conditions']) : "";
502
+ $output['terms-and-conditions-page-url'] = esc_url($input['terms-and-conditions-page-url']);
503
+ $output['enable-privacy-policy'] = isset($input['enable-privacy-policy']) ? esc_attr($input['enable-privacy-policy']) : "";
504
+ $output['privacy-policy-page-url'] = esc_url($input['privacy-policy-page-url']);
505
  return $output;
506
  }
507
 
565
  break;
566
  case 4:
567
  //Tools
 
 
 
 
568
  include(SIMPLE_WP_MEMBERSHIP_PATH . 'views/admin_tools_settings.php');
569
  break;
570
  case 5:
classes/class.swpm-utils-member.php CHANGED
@@ -6,6 +6,21 @@
6
  */
7
  class SwpmMemberUtils {
8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  public static function is_member_logged_in() {
10
  $auth = SwpmAuth::get_instance();
11
  if ($auth->is_logged_in()) {
6
  */
7
  class SwpmMemberUtils {
8
 
9
+ public static function create_swpm_member_entry_from_array_data($fields){
10
+ global $wpdb;
11
+ $res = $wpdb->insert( $wpdb->prefix . "swpm_members_tbl", $fields );
12
+
13
+ if ( ! $res ) {
14
+ //DB error occurred
15
+ $error_msg = 'create_swpm_member_entry_from_array_data() - DB error occurred: ' . json_encode( $wpdb->last_result );
16
+ SwpmLog::log_simple_debug( $error_msg, false );
17
+ }
18
+
19
+ $member_id = $wpdb->insert_id;
20
+ SwpmLog::log_simple_debug( 'create_swpm_member_entry_from_array_data() - SWPM member entry created successfully. Member ID: '. $member_id, true );
21
+ return $member_id;
22
+ }
23
+
24
  public static function is_member_logged_in() {
25
  $auth = SwpmAuth::get_instance();
26
  if ($auth->is_logged_in()) {
classes/class.swpm-utils-membership-level.php CHANGED
@@ -21,4 +21,19 @@ class SwpmMembershipLevelUtils {
21
  return $level_name;
22
  }
23
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  }
21
  return $level_name;
22
  }
23
 
24
+ public static function get_all_membership_levels_in_array(){
25
+ //Creates an array like the following with all the available levels.
26
+ //Array ( [2] => Free Level, [3] => Silver Level, [4] => Gold Level )
27
+
28
+ global $wpdb;
29
+ $levels_array = array();
30
+ $query = "SELECT alias, id FROM " . $wpdb->prefix . "swpm_membership_tbl WHERE id != 1";
31
+ $levels = $wpdb->get_results($query);
32
+ foreach ($levels as $level) {
33
+ if(isset($level->id)){
34
+ $levels_array[$level->id] = $level->alias;
35
+ }
36
+ }
37
+ return $levels_array;
38
+ }
39
  }
classes/class.swpm-utils-misc.php CHANGED
@@ -343,7 +343,7 @@ class SwpmMiscUtils {
343
  "Belarus", "Belgium", "Belize", "Benin", "Bhutan", "Bolivia",
344
  "Bosnia and Herzegovina", "Botswana", "Brazil", "Brunei", "Bulgaria",
345
  "Burkina Faso", "Burundi", "Cambodia", "Cameroon", "Canada", "Cape Verde",
346
- "Central African Republic", "Chad", "Chile", "China", "Colombi", "Comoros",
347
  "Congo (Brazzaville)", "Congo", "Costa Rica", "Cote d\'Ivoire", "Croatia",
348
  "Cuba", "Cyprus", "Czech Republic", "Denmark", "Djibouti", "Dominica",
349
  "Dominican Republic", "East Timor (Timor Timur)", "Ecuador", "Egypt",
343
  "Belarus", "Belgium", "Belize", "Benin", "Bhutan", "Bolivia",
344
  "Bosnia and Herzegovina", "Botswana", "Brazil", "Brunei", "Bulgaria",
345
  "Burkina Faso", "Burundi", "Cambodia", "Cameroon", "Canada", "Cape Verde",
346
+ "Central African Republic", "Chad", "Chile", "China", "Colombia", "Comoros",
347
  "Congo (Brazzaville)", "Congo", "Costa Rica", "Cote d\'Ivoire", "Croatia",
348
  "Cuba", "Cyprus", "Czech Republic", "Denmark", "Djibouti", "Dominica",
349
  "Dominican Republic", "East Timor (Timor Timur)", "Ecuador", "Egypt",
classes/shortcode-related/class.swpm-shortcodes-handler.php CHANGED
@@ -8,6 +8,8 @@ class SwpmShortcodesHandler {
8
  add_shortcode('swpm_thank_you_page_registration', array(&$this, 'swpm_ty_page_rego_sc'));
9
 
10
  add_shortcode('swpm_show_expiry_date', array(&$this, 'swpm_show_expiry_date_sc'));
 
 
11
  }
12
 
13
  public function swpm_payment_button_sc($args) {
@@ -95,4 +97,32 @@ class SwpmShortcodesHandler {
95
  return $output;
96
  }
97
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98
  }
8
  add_shortcode('swpm_thank_you_page_registration', array(&$this, 'swpm_ty_page_rego_sc'));
9
 
10
  add_shortcode('swpm_show_expiry_date', array(&$this, 'swpm_show_expiry_date_sc'));
11
+
12
+ add_shortcode('swpm_mini_login', array(&$this, 'swpm_show_mini_login_sc'));
13
  }
14
 
15
  public function swpm_payment_button_sc($args) {
97
  return $output;
98
  }
99
 
100
+ public function swpm_show_mini_login_sc($args) {
101
+
102
+ $login_page_url = SwpmSettings::get_instance()->get_value('login-page-url');
103
+ $join_page_url = SwpmSettings::get_instance()->get_value('join-us-page-url');
104
+ $profile_page_url = SwpmSettings::get_instance()->get_value('profile-page-url');
105
+ $logout_url = SIMPLE_WP_MEMBERSHIP_SITE_HOME_URL . '?swpm-logout=true';
106
+
107
+ $output = '<div class="swpm_mini_login_wrapper">';
108
+
109
+ //Check if the user is logged in or not
110
+ $auth = SwpmAuth::get_instance();
111
+ if ($auth->is_logged_in()) {
112
+ //User is logged in
113
+ $username = $auth->get('user_name');
114
+ $output .= '<span class="swpm_mini_login_label">'.SwpmUtils::_('Logged in as: ').'</span>';
115
+ $output .= '<span class="swpm_mini_login_username">'.$username.'</span>';
116
+ $output .= '<span class="swpm_mini_login_profile"> | <a href="'.$profile_page_url.'">'.SwpmUtils::_('Profile').'</a></span>';
117
+ $output .= '<span class="swpm_mini_login_logout"> | <a href="'.$logout_url.'">'.SwpmUtils::_('Logout').'</a></span>';
118
+ } else {
119
+ //User not logged in.
120
+ $output .= '<span class="swpm_mini_login_login_here"><a href="'.$login_page_url.'">'.SwpmUtils::_('Login Here').'</a></span>';
121
+ $output .= '<span class="swpm_mini_login_no_membership"> | '.SwpmUtils::_('Not a member? ').'</span>';
122
+ $output .= '<span class="swpm_mini_login_join_now"><a href="'.$join_page_url.'">'.SwpmUtils::_('Join Now').'</a></span>';
123
+ }
124
+
125
+ $output .= '</div>';
126
+ return $output;
127
+ }
128
  }
images/addons/affiliate-platform-integration.png CHANGED
Binary file
images/addons/affiliates-manager-integration.png CHANGED
Binary file
images/addons/custom-post-type-protection-enhanced.png CHANGED
Binary file
images/addons/form-shortcode-generator.png CHANGED
Binary file
images/addons/google-first-click-free-addon.png CHANGED
Binary file
images/addons/google-recaptcha-addon.png CHANGED
Binary file
images/addons/idevaffiliate-integration.png CHANGED
Binary file
images/addons/mailchimp-integration.png CHANGED
Binary file
images/addons/show-member-info.png CHANGED
Binary file
images/addons/swpm-aweber-integration-addon.png CHANGED
Binary file
images/addons/swpm-bbpress-integration.png CHANGED
Binary file
images/addons/swpm-bulk-member-importer-from-csv-addon.png CHANGED
Binary file
images/addons/swpm-convertkit-integration-addon.png CHANGED
Binary file
images/addons/swpm-custom-messages.png CHANGED
Binary file
images/addons/swpm-data-exporter-addon.png CHANGED
Binary file
images/addons/swpm-form-builder.png CHANGED
Binary file
images/addons/swpm-login-redirection.png CHANGED
Binary file
images/addons/swpm-member-directory-listing-addon.png CHANGED
Binary file
images/addons/swpm-member-payments-addon.png CHANGED
Binary file
images/addons/swpm-misc-shortcodes-addon.png CHANGED
Binary file
images/addons/swpm-older-posts-protection.png CHANGED
Binary file
images/addons/swpm-partial-protection-addon.png CHANGED
Binary file
images/addons/swpm-woocommerce-addon.png CHANGED
Binary file
images/addons/wp-user-import.png CHANGED
Binary file
ipn/swpm-braintree-buy-now-ipn.php CHANGED
@@ -75,13 +75,13 @@ class SwpmBraintreeBuyNowIpnHandler {
75
  'merchantAccountId' => $braintree_merc_acc_name,
76
  ]);
77
  } catch (Exception $e) {
78
- SwpmLog::log_simple_debug("Braintree library error occured: ".get_class($e).", button ID: ".$button_id, false);
79
- wp_die('Braintree library error occured: '.get_class($e));
80
  }
81
 
82
  if (!$result->success) {
83
- SwpmLog::log_simple_debug("Braintree transaction error occured: ".$result->transaction->status.", button ID: ".$button_id, false);
84
- wp_die("Braintree transaction error occured: ".$result->transaction->status);
85
  }
86
  else {
87
 
75
  'merchantAccountId' => $braintree_merc_acc_name,
76
  ]);
77
  } catch (Exception $e) {
78
+ SwpmLog::log_simple_debug("Braintree library error occurred: ".get_class($e).", button ID: ".$button_id, false);
79
+ wp_die('Braintree library error occurred: '.get_class($e));
80
  }
81
 
82
  if (!$result->success) {
83
+ SwpmLog::log_simple_debug("Braintree transaction error occurred: ".$result->transaction->status.", button ID: ".$button_id, false);
84
+ wp_die("Braintree transaction error occurred: ".$result->transaction->status);
85
  }
86
  else {
87
 
ipn/swpm-stripe-subscription-ipn.php CHANGED
@@ -100,7 +100,7 @@ class SwpmStripeSubscriptionIpnHandler {
100
  'plan' => $plan_id,
101
  ));
102
  } catch (Exception $e) {
103
- SwpmLog::log_simple_debug("Error occured during Stripe Subscribe. " . $e->getMessage(), false);
104
  $body = $e->getJsonBody();
105
  $error = $body['error'];
106
  $error_string = print_r($error, true);
@@ -116,7 +116,7 @@ class SwpmStripeSubscriptionIpnHandler {
116
  try {
117
  $customer->save();
118
  } catch (Exception $e) {
119
- SwpmLog::log_simple_debug("Error occured during Stripe customer metadata update. " . $e->getMessage(), false);
120
  $body = $e->getJsonBody();
121
  SwpmLog::log_simple_debug("Error details: " . $error_string, false);
122
  }
100
  'plan' => $plan_id,
101
  ));
102
  } catch (Exception $e) {
103
+ SwpmLog::log_simple_debug("Error occurred during Stripe Subscribe. " . $e->getMessage(), false);
104
  $body = $e->getJsonBody();
105
  $error = $body['error'];
106
  $error_string = print_r($error, true);
116
  try {
117
  $customer->save();
118
  } catch (Exception $e) {
119
+ SwpmLog::log_simple_debug("Error occurred during Stripe customer metadata update. " . $e->getMessage(), false);
120
  $body = $e->getJsonBody();
121
  SwpmLog::log_simple_debug("Error details: " . $error_string, false);
122
  }
languages/simple-membership-sv_SE.mo CHANGED
Binary file
languages/simple-membership-sv_SE.po CHANGED
@@ -1,919 +1,2293 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Simple Membership\n"
4
- "POT-Creation-Date: 2015-06-10 22:20+0100\n"
5
- "PO-Revision-Date: 2015-06-28 10:03+0100\n"
6
- "Last-Translator: \n"
7
- "Language-Team: \n"
8
- "MIME-Version: 1.0\n"
9
- "Content-Type: text/plain; charset=UTF-8\n"
10
- "Content-Transfer-Encoding: 8bit\n"
11
- "X-Generator: Poedit 1.8.1\n"
12
- "X-Poedit-KeywordsList: __;_e\n"
13
- "X-Poedit-Basepath: .\n"
14
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
- "Language: sv\n"
16
- "X-Poedit-SearchPath-0: .\n"
17
-
18
- #: simple-membership/classes/class.bAccessControl.php:21
19
- #: simple-membership/classes/class.bAccessControl.php:28
20
- #: simple-membership/classes/class.bAccessControl.php:48
21
- msgid "You need to login to view this content. "
22
- msgstr "Du måste logga in för att se detta innehåll."
23
-
24
- #: simple-membership/classes/class.bAccessControl.php:35
25
- #: simple-membership/classes/class.bAccessControl.php:39
26
- #: simple-membership/classes/class.bAccessControl.php:54
27
- msgid "You are not allowed to view this content"
28
- msgstr "Du får inte att se detta innehåll"
29
-
30
- #: simple-membership/classes/class.bAccessControl.php:72
31
- msgid "You do no have permission to view rest of the content"
32
- msgstr "Du har inte behörighet att läsa resten av innehållet"
33
-
34
- #: simple-membership/classes/class.bAccessControl.php:76
35
- #: simple-membership/classes/class.bAccessControl.php:94
36
- msgid "You need to login to view the rest of the content. "
37
- msgstr "Du måste logga in för att läsa resten av innehållet."
38
-
39
- #: simple-membership/classes/class.bAdminRegistration.php:49
40
- msgid "Registration Successful."
41
- msgstr "Registreringen lyckades!"
42
-
43
- #: simple-membership/classes/class.bAdminRegistration.php:54
44
- #: simple-membership/classes/class.bAdminRegistration.php:89
45
- #: simple-membership/classes/class.bMembershipLevel.php:42
46
- #: simple-membership/classes/class.bMembershipLevel.php:60
47
- msgid "Please correct the following:"
48
- msgstr "Vänligen rätta till följande:"
49
-
50
- #: simple-membership/classes/class.bAjax.php:17
51
- #: simple-membership/classes/class.bAjax.php:28
52
- msgid "Aready taken"
53
- msgstr "Upptaget"
54
-
55
- #: simple-membership/classes/class.bAjax.php:29
56
- msgid "Available"
57
- msgstr "Tillgängligt"
58
-
59
- #: simple-membership/classes/class.bAuth.php:46
60
- #: simple-membership/classes/class.bFrontRegistration.php:173
61
- msgid "User Not Found."
62
- msgstr "Användare hittades inte."
63
-
64
- #: simple-membership/classes/class.bAuth.php:53
65
- msgid "Password Empty or Invalid."
66
- msgstr "Lösenordet är tomt eller ogiltigt."
67
-
68
- #: simple-membership/classes/class.bAuth.php:76
69
- msgid "Account is inactive."
70
- msgstr "Användarkontot är ej aktivt."
71
-
72
- #: simple-membership/classes/class.bAuth.php:93
73
- msgid "Account has expired."
74
- msgstr "Användarkontot är gammalt."
75
-
76
- #: simple-membership/classes/class.bAuth.php:100
77
- msgid "You are logged in as:"
78
- msgstr "Du är inloggad som:"
79
-
80
- #: simple-membership/classes/class.bAuth.php:139
81
- msgid "Logged Out Successfully."
82
- msgstr "Lyckad utloggning."
83
-
84
- #: simple-membership/classes/class.bAuth.php:186
85
- msgid "Session Expired."
86
- msgstr "Slut sessionen"
87
-
88
- #: simple-membership/classes/class.bAuth.php:194
89
- msgid "Invalid User Name"
90
- msgstr "Ogiltigt användarnamn"
91
-
92
- #: simple-membership/classes/class.bAuth.php:202
93
- msgid "Sorry! Something went wrong"
94
- msgstr "Nåt blev fel!"
95
-
96
- #: simple-membership/classes/class.bCategoryList.php:15
97
- #: simple-membership/classes/class.bMembers.php:21
98
- #: simple-membership/classes/class.bMembershipLevels.php:8
99
- #: simple-membership/classes/class.bMembershipLevels.php:17
100
- #: simple-membership/views/add.php:30
101
- #: simple-membership/views/admin_member_form_common_part.php:2
102
- #: simple-membership/views/edit.php:52
103
- msgid "Membership Level"
104
- msgstr "Medlemskapsnivå"
105
-
106
- #: simple-membership/classes/class.bCategoryList.php:16
107
- #: simple-membership/classes/class.bMembershipLevels.php:9
108
- #: simple-membership/classes/class.simple-wp-membership.php:464
109
- msgid "Membership Levels"
110
- msgstr "Medlemskapsnivåer"
111
-
112
- #: simple-membership/classes/class.bCategoryList.php:29
113
- #: simple-membership/classes/class.bMembers.php:16
114
- #: simple-membership/classes/class.bMembershipLevels.php:16
115
- msgid "ID"
116
- msgstr "ID"
117
-
118
- #: simple-membership/classes/class.bCategoryList.php:30
119
- msgid "Name"
120
- msgstr "Namn"
121
-
122
- #: simple-membership/classes/class.bCategoryList.php:31
123
- msgid "Description"
124
- msgstr "Beskrivning"
125
-
126
- #: simple-membership/classes/class.bCategoryList.php:32
127
- msgid "Count"
128
- msgstr "Antal"
129
-
130
- #: simple-membership/classes/class.bCategoryList.php:63
131
- msgid "Updated! "
132
- msgstr "Uppdaterad!"
133
-
134
- #: simple-membership/classes/class.bForm.php:26
135
- msgid ""
136
- "Wordpress account exists with given user name. But given email doesn't match."
137
- msgstr ""
138
- "Wordpressanvändare finns med detta användarnamn. Men mejladressen är fel."
139
-
140
- #: simple-membership/classes/class.bForm.php:31
141
- msgid ""
142
- "Wordpress account exists with given email. But given user name doesn't match."
143
- msgstr ""
144
- "Wordpressanvändare finns med detta mejladressen. Men användarnamnet är fel."
145
-
146
- #: simple-membership/classes/class.bForm.php:40
147
- msgid "User name is required"
148
- msgstr "Användarnamn krävs"
149
-
150
- #: simple-membership/classes/class.bForm.php:44
151
- msgid "User name contains invalid character"
152
- msgstr "Användarnamn innehåller ogiltiga tecken"
153
-
154
- #: simple-membership/classes/class.bForm.php:52
155
- msgid "User name already exists."
156
- msgstr "Användarnamnet finns redan"
157
-
158
- #: simple-membership/classes/class.bForm.php:75
159
- msgid "Password is required"
160
- msgstr "Lösenord krävs"
161
-
162
- #: simple-membership/classes/class.bForm.php:82
163
- msgid "Password mismatch"
164
- msgstr "Löserord matchar inte"
165
-
166
- #: simple-membership/classes/class.bForm.php:98
167
- msgid "Email is required"
168
- msgstr "Mejladress krävs"
169
-
170
- #: simple-membership/classes/class.bForm.php:102
171
- msgid "Email is invalid"
172
- msgstr "Ogiltig mejladress"
173
-
174
- #: simple-membership/classes/class.bForm.php:118
175
- msgid "Email is already used."
176
- msgstr "Mejladressen används redan"
177
-
178
- #: simple-membership/classes/class.bForm.php:184
179
- msgid "Member since field is invalid"
180
- msgstr "Fältet för medlem sedan är ogiltigt"
181
-
182
- #: simple-membership/classes/class.bForm.php:195
183
- msgid "Access starts field is invalid"
184
- msgstr "Åtkomst börjar fältet är ogiltigt"
185
-
186
- #: simple-membership/classes/class.bForm.php:205
187
- msgid "Gender field is invalid"
188
- msgstr "Könfältet är ogiltigt"
189
-
190
- #: simple-membership/classes/class.bForm.php:216
191
- msgid "Account state field is invalid"
192
- msgstr "Kontostatus fältet är ogiltigt"
193
-
194
- #: simple-membership/classes/class.bForm.php:223
195
- msgid "Invalid membership level"
196
- msgstr "Ogiltig medlemskapsnivå"
197
-
198
- #: simple-membership/classes/class.bFrontRegistration.php:61
199
- msgid "Registration Successful. "
200
- msgstr "Registreringen lyckades!"
201
-
202
- #: simple-membership/classes/class.bFrontRegistration.php:61
203
- #: simple-membership/classes/class.bSettings.php:367
204
- msgid "Please"
205
- msgstr "Vänligen"
206
-
207
- #: simple-membership/classes/class.bFrontRegistration.php:61
208
- #: simple-membership/classes/class.bSettings.php:367
209
- #: simple-membership/views/login.php:21
210
- msgid "Login"
211
- msgstr "Logga in"
212
-
213
- #: simple-membership/classes/class.bFrontRegistration.php:72
214
- #: simple-membership/classes/class.bFrontRegistration.php:152
215
- msgid "Please correct the following"
216
- msgstr "Vänligen rätta till följande:"
217
-
218
- #: simple-membership/classes/class.bFrontRegistration.php:106
219
- msgid "Membership Level Couldn't be found."
220
- msgstr "Medlemsskapsnivå kunde inte hittas"
221
-
222
- #: simple-membership/classes/class.bFrontRegistration.php:162
223
- msgid "Email Address Not Valid."
224
- msgstr "Ogiltig mejladress"
225
-
226
- #: simple-membership/classes/class.bFrontRegistration.php:193
227
- msgid "New password has been sent to your email address."
228
- msgstr "Ett nytt lösenord har skickats till din mejladress"
229
-
230
- #: simple-membership/classes/class.bLevelForm.php:47
231
- msgid "Date format is not valid."
232
- msgstr "Datumformatet är ogiltigt"
233
-
234
- #: simple-membership/classes/class.bLevelForm.php:54
235
- msgid "Access duration must be > 0."
236
- msgstr "Åtkomsttiden måste vara > 0"
237
-
238
- #: simple-membership/classes/class.bMembers.php:7
239
- msgid "Member"
240
- msgstr "Medlem"
241
-
242
- #: simple-membership/classes/class.bMembers.php:8
243
- #: simple-membership/classes/class.simple-wp-membership.php:462
244
- msgid "Members"
245
- msgstr "Medlemmar"
246
-
247
- #: simple-membership/classes/class.bMembers.php:17
248
- #: simple-membership/views/add.php:6 simple-membership/views/edit.php:4
249
- msgid "User Name"
250
- msgstr "Användarnamn"
251
-
252
- #: simple-membership/classes/class.bMembers.php:18
253
- #: simple-membership/views/add.php:22
254
- #: simple-membership/views/admin_member_form_common_part.php:15
255
- #: simple-membership/views/edit.php:20
256
- msgid "First Name"
257
- msgstr "Förnamn"
258
-
259
- #: simple-membership/classes/class.bMembers.php:19
260
- #: simple-membership/views/add.php:26
261
- #: simple-membership/views/admin_member_form_common_part.php:19
262
- #: simple-membership/views/edit.php:24
263
- msgid "Last Name"
264
- msgstr "Efternamn"
265
-
266
- #: simple-membership/classes/class.bMembers.php:20
267
- #: simple-membership/views/add.php:10 simple-membership/views/edit.php:8
268
- msgid "Email"
269
- msgstr "Mejladress"
270
-
271
- #: simple-membership/classes/class.bMembers.php:22
272
- #: simple-membership/views/admin_member_form_common_part.php:11
273
- msgid "Access Starts"
274
- msgstr "Åtkomst börjar"
275
-
276
- #: simple-membership/classes/class.bMembers.php:23
277
- msgid "Account State"
278
- msgstr "Kontostatus"
279
-
280
- #: simple-membership/classes/class.bMembers.php:35
281
- #: simple-membership/classes/class.bMembershipLevels.php:29
282
- msgid "Delete"
283
- msgstr "Radera"
284
-
285
- #: simple-membership/classes/class.bMembers.php:101
286
- msgid "No Member found."
287
- msgstr "Medlem ej hittad"
288
-
289
- #: simple-membership/classes/class.bMembershipLevel.php:37
290
- msgid "Membership Level Creation Successful."
291
- msgstr "Ny medlemsskapsnivå har skapats"
292
-
293
- #: simple-membership/classes/class.bMembershipLevel.php:56
294
- msgid "Updated Successfully."
295
- msgstr "Uppdateringen lyckades"
296
-
297
- #: simple-membership/classes/class.bMembershipLevels.php:18
298
- msgid "Role"
299
- msgstr "Uppgift"
300
-
301
- #: simple-membership/classes/class.bMembershipLevels.php:19
302
- msgid "Access Valid For/Until"
303
- msgstr "Åtkomst giltig till"
304
-
305
- #: simple-membership/classes/class.bSettings.php:30
306
- msgid "Plugin Documentation"
307
- msgstr "Dokumentation för plugin"
308
-
309
- #: simple-membership/classes/class.bSettings.php:32
310
- msgid "General Settings"
311
- msgstr "Allmänna inställningar"
312
-
313
- #: simple-membership/classes/class.bSettings.php:34
314
- msgid "Enable Free Membership"
315
- msgstr "Möjliggör gratis medlemskapsnivå"
316
-
317
- #: simple-membership/classes/class.bSettings.php:37
318
- msgid "Enable/disable registration for free membership level"
319
- msgstr "Möjliggör/möjliggör ej registrering för gratis medlemsskapsnivå"
320
-
321
- #: simple-membership/classes/class.bSettings.php:38
322
- msgid "Free Membership Level ID"
323
- msgstr "Gratis medlemskapsnivå ID"
324
-
325
- #: simple-membership/classes/class.bSettings.php:41
326
- msgid "Assign free membership level ID"
327
- msgstr "Tilldela gratis medlemskapsnivå ID "
328
-
329
- #: simple-membership/classes/class.bSettings.php:42
330
- msgid "Enable More Tag Protection"
331
- msgstr "Möjliggör More Tag skydd"
332
-
333
- #: simple-membership/classes/class.bSettings.php:45
334
- msgid ""
335
- "Enables or disables \"more\" tag protection in the posts and pages. Anything "
336
- "after the More tag is protected. Anything before the more tag is teaser "
337
- "content."
338
- msgstr ""
339
- "Möjliggör eller möjliggör ej \"more\" tag skydd hos posts och pages. Allt "
340
- "efter More tag är skyddat. Allt innan More tag är teaser innehåll"
341
-
342
- #: simple-membership/classes/class.bSettings.php:46
343
- msgid "Hide Adminbar"
344
- msgstr "Göm Adminbar"
345
-
346
- #: simple-membership/classes/class.bSettings.php:49
347
- msgid ""
348
- "WordPress shows an admin toolbar to the logged in users of the site. Check "
349
- "this box if you want to hide that admin toolbar in the fronend of your site."
350
- msgstr ""
351
- "Wordpress visar en admin bar för inloggade användare på sidan. Bocka av "
352
- "checkboxen om du vill gömma admin baren på framsidan av din sida."
353
-
354
- #: simple-membership/classes/class.bSettings.php:51
355
- msgid "Default Account Status"
356
- msgstr "Standard kontostatus"
357
-
358
- #: simple-membership/classes/class.bSettings.php:56
359
- msgid ""
360
- "Select the default account status for newly registered users. If you want to "
361
- "manually approve the members then you can set the status to \"Pending\"."
362
- msgstr ""
363
- "Välj standard kontostatusen för de nyaste registrerade användarna. Om du "
364
- "vill godkänna medlemmarna manuellt kan du sätta statusen till \"avvaktande"
365
- "\""
366
-
367
- #: simple-membership/classes/class.bSettings.php:62
368
- msgid "Pages Settings"
369
- msgstr "Sidoinställningar"
370
-
371
- #: simple-membership/classes/class.bSettings.php:64
372
- msgid "Login Page URL"
373
- msgstr "Inloggningssida URL"
374
-
375
- #: simple-membership/classes/class.bSettings.php:68
376
- msgid "Registration Page URL"
377
- msgstr "Registreringssida URL"
378
-
379
- #: simple-membership/classes/class.bSettings.php:72
380
- msgid "Join Us Page URL"
381
- msgstr "Bli medlemsida URL"
382
-
383
- #: simple-membership/classes/class.bSettings.php:76
384
- msgid "Edit Profile Page URL"
385
- msgstr "Profilredigeringssida URL"
386
-
387
- #: simple-membership/classes/class.bSettings.php:80
388
- msgid "Password Reset Page URL"
389
- msgstr "Sida för återställning av lösenord"
390
-
391
- #: simple-membership/classes/class.bSettings.php:85
392
- msgid "Test & Debug Settings"
393
- msgstr "Inställningar för test och rättelser"
394
-
395
- #: simple-membership/classes/class.bSettings.php:91
396
- msgid "Enable Sandbox Testing"
397
- msgstr "Möjliggör Sandbox testing"
398
-
399
- #: simple-membership/classes/class.bSettings.php:94
400
- msgid "Enable this option if you want to do sandbox payment testing."
401
- msgstr "Möjliggör detta om du vill ha sandbox payment testing"
402
-
403
- #: simple-membership/classes/class.bSettings.php:104
404
- msgid "Email Misc. Settings"
405
- msgstr "Inställningar för mejl misc "
406
-
407
- #: simple-membership/classes/class.bSettings.php:106
408
- msgid "From Email Address"
409
- msgstr "Från mejladressen"
410
-
411
- #: simple-membership/classes/class.bSettings.php:111
412
- msgid "Email Settings (Prompt to Complete Registration )"
413
- msgstr "Inställningar för mejl (prompt to complete registration)"
414
-
415
- #: simple-membership/classes/class.bSettings.php:113
416
- #: simple-membership/classes/class.bSettings.php:124
417
- #: simple-membership/classes/class.bSettings.php:143
418
- msgid "Email Subject"
419
- msgstr "E-ämne"
420
-
421
- #: simple-membership/classes/class.bSettings.php:117
422
- #: simple-membership/classes/class.bSettings.php:128
423
- #: simple-membership/classes/class.bSettings.php:147
424
- msgid "Email Body"
425
- msgstr "E-postmeddelande"
426
-
427
- #: simple-membership/classes/class.bSettings.php:122
428
- msgid "Email Settings (Registration Complete)"
429
- msgstr "Inställningar för mejl (lyckad registrering)"
430
-
431
- #: simple-membership/classes/class.bSettings.php:132
432
- msgid "Send Notification To Admin"
433
- msgstr "Skicka meddelande till Admin"
434
-
435
- #: simple-membership/classes/class.bSettings.php:136
436
- msgid "Send Email to Member When Added via Admin Dashboard"
437
- msgstr "Skicka mejl till medlem när hen är tillagd via Admin dashboard"
438
-
439
- #: simple-membership/classes/class.bSettings.php:141
440
- msgid " Email Settings (Account Upgrade Notification)"
441
- msgstr "Inställningar för mejl (anmälan av kontouppgradering)"
442
-
443
- #: simple-membership/classes/class.bSettings.php:367
444
- msgid "Not a Member?"
445
- msgstr "Är du är inte medlem?"
446
-
447
- #: simple-membership/classes/class.bSettings.php:367
448
- #: simple-membership/views/login.php:27
449
- msgid "Join Us"
450
- msgstr "Bli medlem här!"
451
-
452
- #: simple-membership/classes/class.bUtils.php:63
453
- msgid "Active"
454
- msgstr "Aktiv"
455
-
456
- #: simple-membership/classes/class.bUtils.php:64
457
- msgid "Inactive"
458
- msgstr "Inaktiv"
459
-
460
- #: simple-membership/classes/class.bUtils.php:65
461
- msgid "Pending"
462
- msgstr "Avvaktande"
463
-
464
- #: simple-membership/classes/class.bUtils.php:66
465
- msgid "Expired"
466
- msgstr "Upphöra"
467
-
468
- #: simple-membership/classes/class.bUtils.php:251
469
- msgid "Never"
470
- msgstr "Aldrig"
471
-
472
- #: simple-membership/classes/class.miscUtils.php:51
473
- msgid "Registration"
474
- msgstr "Registrering"
475
-
476
- #: simple-membership/classes/class.miscUtils.php:74
477
- msgid "Member Login"
478
- msgstr "Logga in"
479
-
480
- #: simple-membership/classes/class.miscUtils.php:97
481
- msgid "Profile"
482
- msgstr "Profil"
483
-
484
- #: simple-membership/classes/class.miscUtils.php:120
485
- msgid "Password Reset"
486
- msgstr "Återställning av lösenord"
487
-
488
- #: simple-membership/classes/class.simple-wp-membership.php:184
489
- msgid "You are not logged in."
490
- msgstr "Du är ej inloggad"
491
-
492
- #: simple-membership/classes/class.simple-wp-membership.php:215
493
- msgid "Simple WP Membership Protection"
494
- msgstr "Simple WP Membership-skydd"
495
-
496
- #: simple-membership/classes/class.simple-wp-membership.php:228
497
- msgid "Simple Membership Protection options"
498
- msgstr "Alternativ för Simple WP Membership-skydd"
499
-
500
- #: simple-membership/classes/class.simple-wp-membership.php:244
501
- msgid "Do you want to protect this content?"
502
- msgstr "Will du skydda detta innehåll?"
503
-
504
- #: simple-membership/classes/class.simple-wp-membership.php:249
505
- msgid "Select the membership level that can access this content:"
506
- msgstr "Välj vilken medlemskapsnivå som ska kunna läsa detta innehåll"
507
-
508
- #: simple-membership/classes/class.simple-wp-membership.php:459
509
- msgid "WP Membership"
510
- msgstr "WP medlemskap"
511
-
512
- #: simple-membership/classes/class.simple-wp-membership.php:466
513
- msgid "Settings"
514
- msgstr "Inställningar"
515
-
516
- #: simple-membership/classes/class.simple-wp-membership.php:468
517
- msgid "Add-ons"
518
- msgstr "Add-ons"
519
-
520
- #: simple-membership/views/add.php:14 simple-membership/views/admin_add.php:19
521
- #: simple-membership/views/admin_edit.php:17
522
- #: simple-membership/views/edit.php:12 simple-membership/views/login.php:11
523
- msgid "Password"
524
- msgstr "Lösenord"
525
-
526
- #: simple-membership/views/add.php:18 simple-membership/views/edit.php:16
527
- msgid "Repeat Password"
528
- msgstr "Repetera lösenord"
529
-
530
- #: simple-membership/views/add.php:37
531
- msgid "Register"
532
- msgstr "Skicka"
533
-
534
- #: simple-membership/views/admin_add.php:6
535
- msgid "Add Member"
536
- msgstr "Lägg till medlem"
537
-
538
- #: simple-membership/views/admin_add.php:7
539
- msgid "Create a brand new user and add it to this site."
540
- msgstr "Skapa en helt ny användare och lägg til denna användare till sidan"
541
-
542
- #: simple-membership/views/admin_add.php:11
543
- msgid "User name"
544
- msgstr "Användarnamn"
545
-
546
- #: simple-membership/views/admin_add.php:11
547
- #: simple-membership/views/admin_add.php:15
548
- #: simple-membership/views/admin_add_level.php:11
549
- #: simple-membership/views/admin_add_level.php:15
550
- #: simple-membership/views/admin_add_level.php:19
551
- #: simple-membership/views/admin_edit.php:9
552
- #: simple-membership/views/admin_edit.php:13
553
- #: simple-membership/views/admin_edit_level.php:10
554
- #: simple-membership/views/admin_edit_level.php:14
555
- #: simple-membership/views/admin_edit_level.php:18
556
- msgid "(required)"
557
- msgstr "(krävs)"
558
-
559
- #: simple-membership/views/admin_add.php:15
560
- #: simple-membership/views/admin_edit.php:13
561
- msgid "E-mail"
562
- msgstr "E-mejl"
563
-
564
- #: simple-membership/views/admin_add.php:19
565
- msgid "(twice, required)"
566
- msgstr "(återigen, det krävs)"
567
-
568
- #: simple-membership/views/admin_add.php:24
569
- #: simple-membership/views/admin_edit.php:21
570
- msgid "Strength indicator"
571
- msgstr "Säkerhetsnivå"
572
-
573
- #: simple-membership/views/admin_add.php:25
574
- #: simple-membership/views/admin_edit.php:22
575
- msgid ""
576
- "Hint: The password should be at least seven characters long. To make it "
577
- "stronger, use upper and lower case letters, numbers and symbols like ! \" ? "
578
- "$ % ^ &amp; )."
579
- msgstr "Obs: Lösenordet borde vara minst sju bokstäver."
580
-
581
- #: simple-membership/views/admin_add.php:29
582
- #: simple-membership/views/admin_edit.php:26
583
- #: simple-membership/views/loggedin.php:7
584
- msgid "Account Status"
585
- msgstr "Kontostatus"
586
-
587
- #: simple-membership/views/admin_add.php:36
588
- msgid "Add New Member "
589
- msgstr "Lägg till ny medlem"
590
-
591
- #: simple-membership/views/admin_addon_settings.php:2
592
- #: simple-membership/views/admin_payment_settings.php:2
593
- #: simple-membership/views/admin_settings.php:2
594
- #: simple-membership/views/admin_tools_settings.php:2
595
- msgid "Simple WP Membership::Settings"
596
- msgstr "Inställningar för Simple WP Membership"
597
-
598
- #: simple-membership/views/admin_addon_settings.php:7
599
- msgid ""
600
- "Some of the simple membership plugin's addon settings and options will be "
601
- "displayed here (if you have them)"
602
- msgstr ""
603
- "Vissa av simple membership plugins addons inställningar och alternativ "
604
- "kommer visas här (om du har dom)"
605
-
606
- #: simple-membership/views/admin_add_level.php:6
607
- msgid "Create new membership level."
608
- msgstr "Lägg till ny medlemskapsnivå"
609
-
610
- #: simple-membership/views/admin_add_level.php:11
611
- #: simple-membership/views/admin_edit_level.php:10
612
- msgid "Membership Level Name"
613
- msgstr "Namn på medlemskapsnivå"
614
-
615
- #: simple-membership/views/admin_add_level.php:15
616
- #: simple-membership/views/admin_edit_level.php:14
617
- msgid "Default WordPress Role"
618
- msgstr "Standard Wordpress role"
619
-
620
- #: simple-membership/views/admin_add_level.php:19
621
- #: simple-membership/views/admin_edit_level.php:18
622
- msgid "Access Duration"
623
- msgstr "Tid för inloggning"
624
-
625
- #: simple-membership/views/admin_add_level.php:22
626
- msgid "No Expiry (Access for this level will not expire until cancelled"
627
- msgstr "Inget utgångsdatum"
628
-
629
- #: simple-membership/views/admin_add_level.php:23
630
- #: simple-membership/views/admin_add_level.php:25
631
- #: simple-membership/views/admin_add_level.php:27
632
- #: simple-membership/views/admin_add_level.php:29
633
- #: simple-membership/views/admin_edit_level.php:22
634
- #: simple-membership/views/admin_edit_level.php:25
635
- #: simple-membership/views/admin_edit_level.php:28
636
- #: simple-membership/views/admin_edit_level.php:31
637
- msgid "Expire After"
638
- msgstr "Upphör efter"
639
-
640
- #: simple-membership/views/admin_add_level.php:24
641
- #: simple-membership/views/admin_edit_level.php:23
642
- msgid "Days (Access expires after given number of days)"
643
- msgstr "Dagar (antal dagar till att medlemskapet upphör)"
644
-
645
- #: simple-membership/views/admin_add_level.php:26
646
- msgid "Weeks (Access expires after given number of weeks"
647
- msgstr "Veckor (antal veckor till att medlemskapet upphör)"
648
-
649
- #: simple-membership/views/admin_add_level.php:28
650
- #: simple-membership/views/admin_edit_level.php:29
651
- msgid "Months (Access expires after given number of months)"
652
- msgstr "Månader (antal månader till att medlemskapet upphör)"
653
-
654
- #: simple-membership/views/admin_add_level.php:30
655
- #: simple-membership/views/admin_edit_level.php:32
656
- msgid "Years (Access expires after given number of years)"
657
- msgstr "År (antal år till att medlemskapet upphör)"
658
-
659
- #: simple-membership/views/admin_add_level.php:31
660
- #: simple-membership/views/admin_edit_level.php:34
661
- msgid "Fixed Date Expiry"
662
- msgstr ""
663
-
664
- #: simple-membership/views/admin_add_level.php:32
665
- #: simple-membership/views/admin_edit_level.php:35
666
- msgid "(Access expires on a fixed date)"
667
- msgstr ""
668
-
669
- #: simple-membership/views/admin_add_level.php:36
670
- msgid "Access to older posts."
671
- msgstr ""
672
-
673
- #: simple-membership/views/admin_add_level.php:39
674
- msgid "Only allow access to posts published after the user's join date."
675
- msgstr ""
676
-
677
- #: simple-membership/views/admin_add_level.php:45
678
- msgid "Add New Membership Level "
679
- msgstr ""
680
-
681
- #: simple-membership/views/admin_add_ons_page.php:6
682
- msgid "Simple WP Membership::Add-ons"
683
- msgstr ""
684
-
685
- #: simple-membership/views/admin_category_list.php:2
686
- msgid "Simple WP Membership::Categories"
687
- msgstr ""
688
-
689
- #: simple-membership/views/admin_category_list.php:7
690
- msgid ""
691
- "First of all, globally protect the category on your site by selecting "
692
- "\"General Protection\" from the drop-down box below and then select the "
693
- "categories that should be protected from non-logged in users."
694
- msgstr ""
695
-
696
- #: simple-membership/views/admin_category_list.php:10
697
- msgid ""
698
- "Next, select an existing membership level from the drop-down box below and "
699
- "then select the categories you want to grant access to (for that particular "
700
- "membership level)."
701
- msgstr ""
702
-
703
- #: simple-membership/views/admin_edit.php:5
704
- msgid "Edit Member"
705
- msgstr "Redigera medlem"
706
-
707
- #: simple-membership/views/admin_edit.php:6
708
- msgid "Edit existing member details."
709
- msgstr "Redigera befintliga medlemsuppgifter"
710
-
711
- #: simple-membership/views/admin_edit.php:9
712
- #: simple-membership/views/login.php:5
713
- msgid "Username"
714
- msgstr "Användarnamn"
715
-
716
- #: simple-membership/views/admin_edit.php:17
717
- msgid "(twice, leave empty to retain old password)"
718
- msgstr ""
719
-
720
- #: simple-membership/views/admin_edit.php:33
721
- msgid "Notify User"
722
- msgstr ""
723
-
724
- #: simple-membership/views/admin_edit.php:40
725
- msgid "Edit User "
726
- msgstr ""
727
-
728
- #: simple-membership/views/admin_edit_level.php:5
729
- msgid "Edit membership level"
730
- msgstr ""
731
-
732
- #: simple-membership/views/admin_edit_level.php:6
733
- msgid "Edit membership level."
734
- msgstr ""
735
-
736
- #: simple-membership/views/admin_edit_level.php:21
737
- msgid "No Expiry (Access for this level will not expire until cancelled)"
738
- msgstr ""
739
-
740
- #: simple-membership/views/admin_edit_level.php:26
741
- msgid "Weeks (Access expires after given number of weeks)"
742
- msgstr ""
743
-
744
- #: simple-membership/views/admin_edit_level.php:40
745
- msgid "Protect Older Posts (optional)"
746
- msgstr ""
747
-
748
- #: simple-membership/views/admin_edit_level.php:43
749
- msgid ""
750
- "Only allow access to protected posts published after the members's join date."
751
- msgstr ""
752
-
753
- #: simple-membership/views/admin_edit_level.php:51
754
- msgid "Edit Membership Level "
755
- msgstr ""
756
-
757
- #: simple-membership/views/admin_members.php:2
758
- msgid "Simple WP Membership::Members"
759
- msgstr ""
760
-
761
- #: simple-membership/views/admin_members.php:3
762
- #: simple-membership/views/admin_members.php:19
763
- #: simple-membership/views/admin_membership_levels.php:20
764
- msgid "Add New"
765
- msgstr ""
766
-
767
- #: simple-membership/views/admin_members.php:9
768
- #: simple-membership/views/admin_membership_levels.php:10
769
- msgid "search"
770
- msgstr "Sök"
771
-
772
- #: simple-membership/views/admin_membership_levels.php:2
773
- msgid "Simple WP Membership::Membership Levels"
774
- msgstr ""
775
-
776
- #: simple-membership/views/admin_membership_level_menu.php:2
777
- msgid "Membership level"
778
- msgstr "Medlemskapsnivå"
779
-
780
- #: simple-membership/views/admin_membership_level_menu.php:3
781
- msgid "Manage Content Production"
782
- msgstr ""
783
-
784
- #: simple-membership/views/admin_membership_level_menu.php:4
785
- msgid "Category Protection"
786
- msgstr ""
787
-
788
- #: simple-membership/views/admin_membership_manage.php:17
789
- msgid "Example Content Protection Settings"
790
- msgstr ""
791
-
792
- #: simple-membership/views/admin_member_form_common_part.php:23
793
- msgid "Gender"
794
- msgstr "Kön"
795
-
796
- #: simple-membership/views/admin_member_form_common_part.php:30
797
- #: simple-membership/views/edit.php:28
798
- msgid "Phone"
799
- msgstr "Telefonnummer"
800
-
801
- #: simple-membership/views/admin_member_form_common_part.php:34
802
- #: simple-membership/views/edit.php:32
803
- msgid "Street"
804
- msgstr "Gata"
805
-
806
- #: simple-membership/views/admin_member_form_common_part.php:38
807
- #: simple-membership/views/edit.php:36
808
- msgid "City"
809
- msgstr "Stad"
810
-
811
- #: simple-membership/views/admin_member_form_common_part.php:42
812
- #: simple-membership/views/edit.php:40
813
- msgid "State"
814
- msgstr "Landskap"
815
-
816
- #: simple-membership/views/admin_member_form_common_part.php:46
817
- #: simple-membership/views/edit.php:44
818
- msgid "Zipcode"
819
- msgstr "Postnummer"
820
-
821
- #: simple-membership/views/admin_member_form_common_part.php:50
822
- #: simple-membership/views/edit.php:48
823
- msgid "Country"
824
- msgstr "Land"
825
-
826
- #: simple-membership/views/admin_member_form_common_part.php:54
827
- msgid "Company"
828
- msgstr "Företag"
829
-
830
- #: simple-membership/views/admin_member_form_common_part.php:58
831
- msgid "Member Since"
832
- msgstr "Medlem sedan"
833
-
834
- #: simple-membership/views/admin_payment_settings.php:33
835
- msgid "PayPal Integration Settings"
836
- msgstr ""
837
-
838
- #: simple-membership/views/admin_payment_settings.php:36
839
- msgid "Generate the \"Advanced Variables\" Code for your PayPal button"
840
- msgstr ""
841
-
842
- #: simple-membership/views/admin_payment_settings.php:39
843
- msgid "Enter the Membership Level ID"
844
- msgstr ""
845
-
846
- #: simple-membership/views/admin_payment_settings.php:41
847
- msgid "Generate Code"
848
- msgstr ""
849
-
850
- #: simple-membership/views/admin_tools_settings.php:9
851
- msgid "Generate a Registration Completion link"
852
- msgstr ""
853
-
854
- #: simple-membership/views/admin_tools_settings.php:12
855
- msgid ""
856
- "You can manually generate a registration completion link here and give it to "
857
- "your customer if they have missed the email that was automatically sent out "
858
- "to them after the payment."
859
- msgstr ""
860
-
861
- #: simple-membership/views/admin_tools_settings.php:17
862
- msgid "Generate Registration Completion Link"
863
- msgstr "Skapa fullbordad registreringslänk"
864
-
865
- #: simple-membership/views/admin_tools_settings.php:20
866
- msgid "OR"
867
- msgstr ""
868
-
869
- #: simple-membership/views/admin_tools_settings.php:21
870
- msgid "For All Pending Registrations"
871
- msgstr "För alla avvaktande registreringar"
872
-
873
- #: simple-membership/views/admin_tools_settings.php:24
874
- msgid "Registration Completion Links Will Appear Below:"
875
- msgstr "Fullbordad registreringslänk ses nedan"
876
-
877
- #: simple-membership/views/admin_tools_settings.php:31
878
- msgid "Send Registration Reminder Email too"
879
- msgstr "Skicka registreringspåminnelse via mejl till"
880
-
881
- #: simple-membership/views/admin_tools_settings.php:34
882
- msgid "Submit"
883
- msgstr "Skicka"
884
-
885
- #: simple-membership/views/edit.php:58
886
- msgid "Update"
887
- msgstr "Uppdatera"
888
-
889
- #: simple-membership/views/forgot_password.php:5
890
- msgid "Email Address"
891
- msgstr "Mejladress"
892
-
893
- #: simple-membership/views/forgot_password.php:12
894
- msgid "Reset Password"
895
- msgstr "Återställ lösenord"
896
-
897
- #: simple-membership/views/loggedin.php:3
898
- msgid "Logged in as"
899
- msgstr "Inloggad som"
900
-
901
- #: simple-membership/views/loggedin.php:11
902
- msgid "Membership"
903
- msgstr "Medlemskap"
904
-
905
- #: simple-membership/views/loggedin.php:15
906
- msgid "Account Expiry"
907
- msgstr "Medlemskapet upphör"
908
-
909
- #: simple-membership/views/loggedin.php:19
910
- msgid "Logout"
911
- msgstr "Logga ut"
912
-
913
- #: simple-membership/views/login.php:18
914
- msgid "Remember Me"
915
- msgstr "Kom ihåg mig"
916
-
917
- #: simple-membership/views/login.php:24
918
- msgid "Forgot Password"
919
- msgstr "Glömt lösenordet?"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Simple Membership\n"
4
+ "POT-Creation-Date: 2018-02-17 13:47+1000\n"
5
+ "PO-Revision-Date: 2018-03-15 11:08+0100\n"
6
+ "Last-Translator: Andreas Damberg <ordf@hukk.se>\n"
7
+ "Language-Team: Swedish\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Generator: Poedit 2.0.6\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "Language: sv_SE\n"
16
+ "Report-Msgid-Bugs-To: \n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: classes/class.simple-wp-membership.php:175
20
+ msgid "The admin of this site does not allow users to access the wp dashboard."
21
+ msgstr ""
22
+ "Administratören den här webbplatsen tillåter inte användare att komma åt "
23
+ "wp-instrumentbrädan."
24
+
25
+ #: classes/class.simple-wp-membership.php:176
26
+ msgid "Go back to the home page by "
27
+ msgstr " tillbaka till hemsidan av "
28
+
29
+ #: classes/class.simple-wp-membership.php:176
30
+ msgid "clicking here"
31
+ msgstr "klicka här"
32
+
33
+ #: classes/class.simple-wp-membership.php:237
34
+ msgid ""
35
+ "Error! This site has the force WP user login feature enabled in the "
36
+ "settings. We could not find a WP user record for the given username: "
37
+ msgstr ""
38
+ "Fel! Denna webbplats har funktionen tvinga WP-användaren-inloggning "
39
+ "aktiverat i inställningarna. Vi kunde inte hitta en WP användarpost för viss "
40
+ "användarnamnet: "
41
+
42
+ #: classes/class.simple-wp-membership.php:238
43
+ msgid ""
44
+ "This error is triggered when a member account doesn't have a corresponding "
45
+ "WP user account. So the plugin fails to log the user into the WP User system."
46
+ msgstr ""
47
+ "Detta fel utlöses när ett medlemskonto inte har ett motsvarande WP-"
48
+ "användarkonto. SM-tillägget misslyckades med att logga användaren in i WP-"
49
+ "användarsystemet."
50
+
51
+ #: classes/class.simple-wp-membership.php:239
52
+ msgid ""
53
+ "Contact the site admin and request them to check your username in the WP "
54
+ "Users menu to see what happened with the WP user entry of your account."
55
+ msgstr ""
56
+ "Kontakta webbplatsen admin och be dem att kolla ditt användarnamn i menyn WP-"
57
+ "användare att se vad som hände med posten användare på ditt konto."
58
+
59
+ #: classes/class.simple-wp-membership.php:240
60
+ msgid ""
61
+ "The site admin can disable the Force WP User Synchronization feature in the "
62
+ "settings to disable this feature and this error will go away."
63
+ msgstr ""
64
+ "Webbplatsadministratören kan inaktivera funktionen Force WP-"
65
+ "användarsynkronisering i inställningarna för att inaktivera den här "
66
+ "funktionen och detta fel kommer försvinna."
67
+
68
+ #: classes/class.simple-wp-membership.php:241
69
+ msgid "You can use the back button of your browser to go back to the site."
70
+ msgstr ""
71
+ "Du kan använda webbläsarens bakåtknapp för att gå tillbaka till webbplatsen."
72
+
73
+ #: classes/class.simple-wp-membership.php:334
74
+ msgid "You are not logged in."
75
+ msgstr "Du är inte inloggad."
76
+
77
+ #: classes/class.simple-wp-membership.php:385
78
+ msgid ""
79
+ "You have the sandbox payment mode enabled in plugin settings. Make sure to "
80
+ "turn off the sandbox mode when you want to do live transactions."
81
+ msgstr ""
82
+ "Du har betalningsläget för sandlåda aktiverat i plugin-inställningar. Se "
83
+ "till att du stänger av sandlåsläget när du vill göra live-transaktioner."
84
+
85
+ #: classes/class.simple-wp-membership.php:400
86
+ msgid "Simple WP Membership Protection"
87
+ msgstr "Simple WP Membership Protection"
88
+
89
+ #: classes/class.simple-wp-membership.php:412
90
+ msgid "Simple Membership Protection options"
91
+ msgstr "Alternativ för Simple WP Membership Protection"
92
+
93
+ #: classes/class.simple-wp-membership.php:430
94
+ msgid "Do you want to protect this content?"
95
+ msgstr "Vill du skydda detta innehåll?"
96
+
97
+ #: classes/class.simple-wp-membership.php:435
98
+ msgid "Select the membership level that can access this content:"
99
+ msgstr "Välj vilken medlemskapsnivå som ska kunna läsa detta innehåll:"
100
+
101
+ #: classes/class.simple-wp-membership.php:573
102
+ #: classes/class.simple-wp-membership.php:577
103
+ msgid "Validating, please wait"
104
+ msgstr "Validerar, var god vänta"
105
+
106
+ #: classes/class.simple-wp-membership.php:580
107
+ msgid "Invalid email address"
108
+ msgstr "Ogiltig e-postadress"
109
+
110
+ #: classes/class.simple-wp-membership.php:583
111
+ msgid "This field is required"
112
+ msgstr "Detta fält är obligatoriskt"
113
+
114
+ #: classes/class.simple-wp-membership.php:586 classes/class.swpm-auth.php:259
115
+ msgid "Invalid Username"
116
+ msgstr "Ogiltigt användarnamn"
117
+
118
+ #: classes/class.simple-wp-membership.php:589
119
+ msgid "Minimum "
120
+ msgstr "Minst "
121
+
122
+ #: classes/class.simple-wp-membership.php:590
123
+ msgid " characters required"
124
+ msgstr " tecken som krävs för"
125
+
126
+ #: classes/class.simple-wp-membership.php:593
127
+ msgid "Apostrophe character is not allowed"
128
+ msgstr "Apostrof är inte tillåtet"
129
+
130
+ #: classes/class.simple-wp-membership.php:624
131
+ msgid "WP Membership"
132
+ msgstr "WP medlemskap"
133
+
134
+ #: classes/class.simple-wp-membership.php:625 classes/class.swpm-members.php:11
135
+ #: classes/class.swpm-members.php:579
136
+ msgid "Members"
137
+ msgstr "Medlemmar"
138
+
139
+ #: classes/class.simple-wp-membership.php:626
140
+ #: classes/class.swpm-category-list.php:20
141
+ #: classes/class.swpm-membership-levels.php:12
142
+ #: classes/class.swpm-membership-levels.php:264
143
+ #: classes/class.swpm-post-list.php:21
144
+ msgid "Membership Levels"
145
+ msgstr "Medlemskapsnivåer"
146
+
147
+ #: classes/class.simple-wp-membership.php:627
148
+ msgid "Settings"
149
+ msgstr "Inställningar"
150
+
151
+ #: classes/class.simple-wp-membership.php:628
152
+ msgid "Payments"
153
+ msgstr "Betalningar"
154
+
155
+ #: classes/class.simple-wp-membership.php:629
156
+ msgid "Add-ons"
157
+ msgstr "Tilägg"
158
+
159
+ #: classes/class.swpm-access-control.php:47
160
+ #: classes/class.swpm-access-control.php:120
161
+ msgid "You need to login to view this content. "
162
+ msgstr "Du måste logga in för att se detta innehåll "
163
+
164
+ #: classes/class.swpm-access-control.php:56
165
+ #: classes/class.swpm-access-control.php:128
166
+ #: classes/class.swpm-access-control.php:212
167
+ msgid "Your account has expired. "
168
+ msgstr "Användarkontot har upphört att gälla. "
169
+
170
+ #: classes/class.swpm-access-control.php:66
171
+ #: classes/class.swpm-access-control.php:138
172
+ msgid "This content can only be viewed by members who joined on or before "
173
+ msgstr "Detta innehåll kan endast ses av medlemmar som gått med på eller före "
174
+
175
+ #: classes/class.swpm-access-control.php:79
176
+ #: classes/class.swpm-access-control.php:148
177
+ msgid "This content is not permitted for your membership level."
178
+ msgstr "Innehållet är inte tillgängligt för din medlemsnivå."
179
+
180
+ #: classes/class.swpm-access-control.php:204
181
+ msgid "You need to login to view the rest of the content. "
182
+ msgstr "Du måste logga in för att läsa resten av innehållet "
183
+
184
+ #: classes/class.swpm-access-control.php:217
185
+ msgid " The rest of the content is not permitted for your membership level."
186
+ msgstr " Resterande innehåll är inte tillgängligt för din medlemsnivå."
187
+
188
+ #: classes/class.swpm-admin-registration.php:25
189
+ msgid "Error! Nonce verification failed for user registration from admin end."
190
+ msgstr ""
191
+ "Fel! Nonceverifieringen misslyckades för användarregistrering från "
192
+ "adminläget (back-end)."
193
+
194
+ #: classes/class.swpm-admin-registration.php:71
195
+ msgid "Member record added successfully."
196
+ msgstr "Medlemsposten lades till korrekt."
197
+
198
+ #: classes/class.swpm-admin-registration.php:76
199
+ #: classes/class.swpm-admin-registration.php:116
200
+ #: classes/class.swpm-admin-registration.php:142
201
+ #: classes/class.swpm-membership-level.php:69
202
+ #: classes/class.swpm-membership-level.php:97
203
+ msgid "Please correct the following:"
204
+ msgstr "Vänligen rätta till följande:"
205
+
206
+ #: classes/class.swpm-admin-registration.php:87
207
+ msgid "Error! Nonce verification failed for user edit from admin end."
208
+ msgstr ""
209
+ "Fel! Nonceverifieringen misslyckades för användarregistrering från "
210
+ "Användarläget (front-end)."
211
+
212
+ #: classes/class.swpm-admin-registration.php:131
213
+ msgid "Your current password"
214
+ msgstr "Ditt nuvarande lösenord"
215
+
216
+ #: classes/class.swpm-ajax.php:14
217
+ msgid "Invalid Email Address"
218
+ msgstr "Ogiltig e-postadress"
219
+
220
+ #: classes/class.swpm-ajax.php:21 classes/class.swpm-ajax.php:36
221
+ msgid "Aready taken"
222
+ msgstr "Upptaget"
223
+
224
+ #: classes/class.swpm-ajax.php:30
225
+ msgid "Name contains invalid character"
226
+ msgstr "Namnet innehåller ogiltiga tecken"
227
+
228
+ #: classes/class.swpm-ajax.php:37
229
+ msgid "Available"
230
+ msgstr "Tillgängligt"
231
+
232
+ #: classes/class.swpm-auth.php:49
233
+ msgid ""
234
+ "Warning! Simple Membership plugin cannot process this login request to "
235
+ "prevent you from getting logged out of WP Admin accidentally."
236
+ msgstr ""
237
+ "Varning! Simple membership-tillägget kan inte behandla denna "
238
+ "inloggningsbegäran att förhindra att du blir utloggad från WP Admin av "
239
+ "misstag."
240
+
241
+ #: classes/class.swpm-auth.php:50
242
+ msgid ""
243
+ "You are logged into the site as an ADMIN user in this browser. First, logout "
244
+ "from WP Admin then you will be able to log in as a member."
245
+ msgstr ""
246
+ "Du är inloggad på webbplatsen som en ADMIN-användare i den här webbläsaren. "
247
+ "Första, logga ut från WP Admin då du kommer att kunna logga in som medlem."
248
+
249
+ #: classes/class.swpm-auth.php:51
250
+ msgid ""
251
+ "Alternatively, you can use a different browser (where you are not logged-in "
252
+ "as ADMIN) to test the membership login."
253
+ msgstr ""
254
+ "Alternativt kan du använda en annan webbläsare (där du inte är inloggad som "
255
+ "ADMIN) för att testa medlemskapsinloggningen."
256
+
257
+ #: classes/class.swpm-auth.php:52
258
+ msgid ""
259
+ "Your normal visitors or members will never see this message. This message is "
260
+ "ONLY for ADMIN user."
261
+ msgstr ""
262
+ "Dina vanliga besökare eller medlemmar kommer aldrig att se detta meddelande. "
263
+ "Det här meddelandet är ENDAST för ADMIN-användare."
264
+
265
+ #: classes/class.swpm-auth.php:59
266
+ msgid "Captcha validation failed on login form."
267
+ msgstr "CAPTCHA validering misslyckades på inloggningsformuläret."
268
+
269
+ #: classes/class.swpm-auth.php:84
270
+ msgid "User Not Found."
271
+ msgstr "Användare hittades inte."
272
+
273
+ #: classes/class.swpm-auth.php:91
274
+ msgid "Password Empty or Invalid."
275
+ msgstr "Lösenordet är tomt eller ogiltigt."
276
+
277
+ #: classes/class.swpm-auth.php:124
278
+ msgid "Account is inactive."
279
+ msgstr "Användarkontot är ej aktivt."
280
+
281
+ #: classes/class.swpm-auth.php:127 classes/class.swpm-auth.php:145
282
+ msgid "Account has expired."
283
+ msgstr "Användarkontot har gått ut."
284
+
285
+ #: classes/class.swpm-auth.php:130
286
+ msgid "Account is pending."
287
+ msgstr "Kontot är väntande."
288
+
289
+ #: classes/class.swpm-auth.php:153
290
+ msgid "You are logged in as:"
291
+ msgstr "Du är inloggad som:"
292
+
293
+ #: classes/class.swpm-auth.php:199
294
+ msgid "Logged Out Successfully."
295
+ msgstr "Lyckad utloggning."
296
+
297
+ #: classes/class.swpm-auth.php:250
298
+ msgid "Session Expired."
299
+ msgstr "Slut på sessionen."
300
+
301
+ #: classes/class.swpm-auth.php:267
302
+ msgid "Please login again."
303
+ msgstr "Vänligen logga in igen."
304
+
305
+ #: classes/class.swpm-category-list.php:19 classes/class.swpm-members.php:24
306
+ #: classes/class.swpm-membership-levels.php:11
307
+ #: classes/class.swpm-membership-levels.php:21
308
+ #: classes/class.swpm-post-list.php:20
309
+ #: classes/admin-includes/class.swpm-payments-list-table.php:85
310
+ #: views/add.php:31 views/admin_member_form_common_part.php:2 views/edit.php:66
311
+ #: views/payments/payment-gateway/admin_braintree_buy_now_button.php:50
312
+ #: views/payments/payment-gateway/admin_paypal_buy_now_button.php:34
313
+ #: views/payments/payment-gateway/admin_paypal_buy_now_button.php:229
314
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:35
315
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:317
316
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:47
317
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:273
318
+ #: views/payments/payment-gateway/admin_stripe_subscription_button.php:99
319
+ msgid "Membership Level"
320
+ msgstr "Medlemskapsnivå"
321
+
322
+ #: classes/class.swpm-category-list.php:33
323
+ msgid "Category ID"
324
+ msgstr "Kategori-ID"
325
+
326
+ #: classes/class.swpm-category-list.php:34
327
+ msgid "Category Name"
328
+ msgstr "Kategorinamn"
329
+
330
+ #: classes/class.swpm-category-list.php:35
331
+ msgid "Category Type (Taxonomy)"
332
+ msgstr "Typ av kategori (Taxonomy)"
333
+
334
+ #: classes/class.swpm-category-list.php:36
335
+ msgid "Description"
336
+ msgstr "Beskrivning"
337
+
338
+ #: classes/class.swpm-category-list.php:37
339
+ msgid "Count"
340
+ msgstr "Antal"
341
+
342
+ #: classes/class.swpm-category-list.php:92
343
+ msgid "Category protection updated!"
344
+ msgstr "Kategoriskydd uppdaterad!"
345
+
346
+ #: classes/class.swpm-category-list.php:130
347
+ msgid "No category found."
348
+ msgstr "Ingen kategori hittades."
349
+
350
+ #: classes/class.swpm-comment-form-related.php:15
351
+ msgid "Please login to comment."
352
+ msgstr "Vänligen logga in för att kommentera."
353
+
354
+ #: classes/class.swpm-comment-form-related.php:40
355
+ msgid "Please Login to Comment."
356
+ msgstr "Vänligen logga in för att kommentera."
357
+
358
+ #: classes/class.swpm-comment-form-related.php:79
359
+ msgid "Comments not allowed by a non-member."
360
+ msgstr "Kommentarer är inte tillåtna av icke-medlemmar."
361
+
362
+ #: classes/class.swpm-form.php:29
363
+ msgid ""
364
+ "Wordpress account exists with given username. But given email doesn't match."
365
+ msgstr ""
366
+ "Wordpress-konto finns med ett givet användarnamn. Men given e-post matchar "
367
+ "inte."
368
+
369
+ #: classes/class.swpm-form.php:30
370
+ msgid ""
371
+ " Use a different username to complete the registration. If you want to use "
372
+ "that username then you must enter the correct email address associated with "
373
+ "the existing WP user to connect with that account."
374
+ msgstr ""
375
+ " Använd ett annat användarnamn för att slutföra registreringen. Om du vill "
376
+ "använda det användarnamnet måste du ange du den e-postadress som är "
377
+ "associerad med den befintliga WP-användaren."
378
+
379
+ #: classes/class.swpm-form.php:36
380
+ msgid ""
381
+ "Wordpress account exists with given email. But given username doesn't match."
382
+ msgstr ""
383
+ "Wordpress-konto finns med angivet användarnamn. Men angiven e-post matchar "
384
+ "inte."
385
+
386
+ #: classes/class.swpm-form.php:37
387
+ msgid ""
388
+ " Use a different email address to complete the registration. If you want to "
389
+ "use that email then you must enter the correct username associated with the "
390
+ "existing WP user to connect with that account."
391
+ msgstr ""
392
+ " Använd en annan e-postadress för att slutföra registreringen. Om du vill "
393
+ "använda denna e-postadress måste du ange rätt användarnamn är associerad "
394
+ "med den befintliga WP-användaren."
395
+
396
+ #: classes/class.swpm-form.php:47
397
+ msgid "Username is required"
398
+ msgstr "Användarnamn krävs"
399
+
400
+ #: classes/class.swpm-form.php:51
401
+ msgid "Username contains invalid character"
402
+ msgstr "Användarnamn innehåller ogiltiga tecken"
403
+
404
+ #: classes/class.swpm-form.php:59
405
+ msgid "Username already exists."
406
+ msgstr "Användarnamnet existerar redan."
407
+
408
+ #: classes/class.swpm-form.php:82
409
+ msgid "Password is required"
410
+ msgstr "Lösenord krävs"
411
+
412
+ #: classes/class.swpm-form.php:89
413
+ msgid "Password mismatch"
414
+ msgstr "Löserord matchar inte"
415
+
416
+ #: classes/class.swpm-form.php:100
417
+ msgid "Email is required"
418
+ msgstr "E-post krävs"
419
+
420
+ #: classes/class.swpm-form.php:104
421
+ msgid "Email is invalid"
422
+ msgstr "Ogiltig e-postadress"
423
+
424
+ #: classes/class.swpm-form.php:120
425
+ msgid "Email is already used."
426
+ msgstr "E-postadressen används redan."
427
+
428
+ #: classes/class.swpm-form.php:178
429
+ msgid "Member since field is invalid"
430
+ msgstr "Fältet för medlem sedan är ogiltigt"
431
+
432
+ #: classes/class.swpm-form.php:189
433
+ msgid "Access starts field is invalid"
434
+ msgstr "Åtkomst börjar-fältet är ogiltigt"
435
+
436
+ #: classes/class.swpm-form.php:199
437
+ msgid "Gender field is invalid"
438
+ msgstr "Könfältet är ogiltigt"
439
+
440
+ #: classes/class.swpm-form.php:210
441
+ msgid "Account state field is invalid"
442
+ msgstr "Kontostatusfältet är ogiltigt"
443
+
444
+ #: classes/class.swpm-form.php:217
445
+ msgid "Invalid membership level"
446
+ msgstr "Ogiltig medlemskapsnivå"
447
+
448
+ #: classes/class.swpm-front-registration.php:33
449
+ msgid ""
450
+ "Error! Invalid Request. Could not find a match for the given security code "
451
+ "and the user ID."
452
+ msgstr ""
453
+ "Fel! Ogiltig begäran. Kunde inte hitta en matchning för angiven säkerhetskod "
454
+ "och användar-ID."
455
+
456
+ #: classes/class.swpm-front-registration.php:45
457
+ #: classes/class.swpm-utils-misc.php:247 views/login.php:36
458
+ msgid "Join Us"
459
+ msgstr "Bli medlem"
460
+
461
+ #: classes/class.swpm-front-registration.php:47
462
+ msgid ""
463
+ "Free membership is disabled on this site. Please make a payment from the "
464
+ msgstr ""
465
+ "Gratis medlemskap är inaktiverad på denna webbplats. Vänligen gör en "
466
+ "betalning från "
467
+
468
+ #: classes/class.swpm-front-registration.php:49
469
+ msgid " page to pay for a premium membership."
470
+ msgstr " sida för att betala för ett premium-medlemskap."
471
+
472
+ #: classes/class.swpm-front-registration.php:51
473
+ msgid ""
474
+ "You will receive a unique link via email after the payment. You will be able "
475
+ "to use that link to complete the premium membership registration."
476
+ msgstr ""
477
+ "Du kommer att få en unik länk via e-post efter betalningen. Du kommer att "
478
+ "kunna använda den länken för att slutföra medlemskapsregistreringen."
479
+
480
+ #: classes/class.swpm-front-registration.php:79
481
+ msgid "Security check: captcha validation failed."
482
+ msgstr "Säkerhetskontroll: captchavalidering misslyckades."
483
+
484
+ #: classes/class.swpm-front-registration.php:113
485
+ msgid "Registration Successful. "
486
+ msgstr "Registreringen lyckades! "
487
+
488
+ #: classes/class.swpm-front-registration.php:113
489
+ #: classes/class.swpm-utils-misc.php:246 classes/class.swpm-utils-misc.php:258
490
+ msgid "Please"
491
+ msgstr "Vänligen"
492
+
493
+ #: classes/class.swpm-front-registration.php:113
494
+ #: classes/class.swpm-utils-misc.php:246 views/login.php:30
495
+ msgid "Login"
496
+ msgstr "Logga in"
497
+
498
+ #: classes/class.swpm-front-registration.php:126
499
+ msgid "Please correct the following"
500
+ msgstr "Vänligen rätta till följande"
501
+
502
+ #: classes/class.swpm-front-registration.php:171
503
+ msgid "Membership Level Couldn't be found."
504
+ msgstr "Medlemsskapsnivå kunde inte hittas."
505
+
506
+ #: classes/class.swpm-front-registration.php:222
507
+ msgid "Error! Nonce verification failed for front end profile edit."
508
+ msgstr "Fel! Nonce verifiering misslyckades för redigering av frontändprofil."
509
+
510
+ #: classes/class.swpm-front-registration.php:230
511
+ msgid "Profile updated successfully."
512
+ msgstr "Profil uppdaterad."
513
+
514
+ #: classes/class.swpm-front-registration.php:239
515
+ msgid ""
516
+ "Profile updated successfully. You will need to re-login since you changed "
517
+ "your password."
518
+ msgstr ""
519
+ "Profilen uppdaterades. Du behöver logga in på nytt då du ändrade ditt "
520
+ "lösenord."
521
+
522
+ #: classes/class.swpm-front-registration.php:253
523
+ msgid "Please correct the following."
524
+ msgstr "Vänligen rätta till följande."
525
+
526
+ #: classes/class.swpm-front-registration.php:265
527
+ msgid "Captcha validation failed."
528
+ msgstr "Captcha-validering misslyckades."
529
+
530
+ #: classes/class.swpm-front-registration.php:273
531
+ msgid "Email address not valid."
532
+ msgstr "Ogiltig e-postadress."
533
+
534
+ #: classes/class.swpm-front-registration.php:284
535
+ msgid "No user found with that email address."
536
+ msgstr "Ingen användare hittades med den e-postadressen."
537
+
538
+ #: classes/class.swpm-front-registration.php:285
539
+ #: classes/class.swpm-front-registration.php:314
540
+ msgid "Email Address: "
541
+ msgstr "E-postadress: "
542
+
543
+ #: classes/class.swpm-front-registration.php:313
544
+ msgid "New password has been sent to your email address."
545
+ msgstr "Ett nytt lösenord har skickats till din e-postadress."
546
+
547
+ #: classes/class.swpm-init-time-tasks.php:117
548
+ msgid "Sorry, Nonce verification failed."
549
+ msgstr "Tyvärr, Nonceverifiering misslyckades."
550
+
551
+ #: classes/class.swpm-init-time-tasks.php:124
552
+ msgid "Sorry, Password didn't match."
553
+ msgstr "Tyvärr, lösenorden stämmer inte överens."
554
+
555
+ #: classes/class.swpm-level-form.php:47
556
+ msgid "Date format is not valid."
557
+ msgstr "Datumformatet är ogiltigt."
558
+
559
+ #: classes/class.swpm-level-form.php:55
560
+ msgid "Access duration must be > 0."
561
+ msgstr "Åtkomsttiden måste vara > 0."
562
+
563
+ #: classes/class.swpm-members.php:10
564
+ msgid "Member"
565
+ msgstr "Medlem"
566
+
567
+ #: classes/class.swpm-members.php:19
568
+ #: classes/class.swpm-membership-levels.php:20
569
+ msgid "ID"
570
+ msgstr "ID"
571
+
572
+ #: classes/class.swpm-members.php:20 views/add.php:7 views/admin_add.php:11
573
+ #: views/admin_edit.php:19 views/edit.php:14
574
+ msgid "Username"
575
+ msgstr "Användarnamn"
576
+
577
+ #: classes/class.swpm-members.php:21
578
+ #: classes/admin-includes/class.swpm-payments-list-table.php:78
579
+ #: views/add.php:23 views/admin_member_form_common_part.php:15
580
+ #: views/edit.php:30
581
+ msgid "First Name"
582
+ msgstr "Förnamn"
583
+
584
+ #: classes/class.swpm-members.php:22
585
+ #: classes/admin-includes/class.swpm-payments-list-table.php:79
586
+ #: views/add.php:27 views/admin_member_form_common_part.php:19
587
+ #: views/edit.php:34
588
+ msgid "Last Name"
589
+ msgstr "Efternamn"
590
+
591
+ #: classes/class.swpm-members.php:23 views/add.php:11 views/edit.php:18
592
+ msgid "Email"
593
+ msgstr "E-postadress"
594
+
595
+ #: classes/class.swpm-members.php:25 views/admin_member_form_common_part.php:11
596
+ msgid "Access Starts"
597
+ msgstr "Åtkomst börjar"
598
+
599
+ #: classes/class.swpm-members.php:26
600
+ msgid "Account State"
601
+ msgstr "Kontostatus"
602
+
603
+ #: classes/class.swpm-members.php:44
604
+ #: classes/class.swpm-membership-levels.php:36
605
+ #: classes/admin-includes/class.swpm-payment-buttons-list-table.php:94
606
+ #: classes/admin-includes/class.swpm-payments-list-table.php:102
607
+ msgid "Delete"
608
+ msgstr "Radera"
609
+
610
+ #: classes/class.swpm-members.php:45
611
+ msgid "Set Status to Active"
612
+ msgstr "Ställ in status till Aktiv"
613
+
614
+ #: classes/class.swpm-members.php:46
615
+ msgid "Set Status to Active and Notify"
616
+ msgstr "Ställ in status till Aktiv och Meddela"
617
+
618
+ #: classes/class.swpm-members.php:47
619
+ msgid "Set Status to Inactive"
620
+ msgstr "Ställ in status som inaktiv"
621
+
622
+ #: classes/class.swpm-members.php:48
623
+ msgid "Set Status to Pending"
624
+ msgstr "Markera som väntande"
625
+
626
+ #: classes/class.swpm-members.php:49
627
+ msgid "Set Status to Expired"
628
+ msgstr "Ange Status till utgången"
629
+
630
+ #: classes/class.swpm-members.php:70
631
+ msgid "incomplete"
632
+ msgstr "ofullständig"
633
+
634
+ #: classes/class.swpm-members.php:189
635
+ msgid "No member found."
636
+ msgstr "Medlem ej hittad."
637
+
638
+ #: classes/class.swpm-members.php:335
639
+ msgid "Error! Nonce verification failed for user delete from admin end."
640
+ msgstr ""
641
+ "Fel! Nonceverifiering misslyckades för användaren från adminläget (back-end)."
642
+
643
+ #: classes/class.swpm-members.php:404 classes/class.swpm-members.php:434
644
+ msgid "Error! Please select a membership level first."
645
+ msgstr "Fel! Välj en medlemsnivå först."
646
+
647
+ #: classes/class.swpm-members.php:421
648
+ msgid "Membership level change operation completed successfully."
649
+ msgstr "Ändra medlemsnivå slutfördes."
650
+
651
+ #: classes/class.swpm-members.php:451
652
+ msgid "Access starts date change operation successfully completed."
653
+ msgstr "Ändra åtkomstdatum slutfördes."
654
+
655
+ #: classes/class.swpm-members.php:460
656
+ msgid "Bulk Update Membership Level of Members"
657
+ msgstr "Massuppdatering av medlemsnivå av medlemmar"
658
+
659
+ #: classes/class.swpm-members.php:463
660
+ msgid ""
661
+ "You can manually change the membership level of any member by editing the "
662
+ "record from the members menu. "
663
+ msgstr ""
664
+ "Du kan manuellt ändra medlemskap för någon medlem genom att redigera posten "
665
+ "från menyn medlemmar. "
666
+
667
+ #: classes/class.swpm-members.php:464
668
+ msgid ""
669
+ "You can use the following option to bulk update the membership level of "
670
+ "users who belong to the level you select below."
671
+ msgstr ""
672
+ "Du kan använda följande alternativ för att massuppdatera medlemsnivån för "
673
+ "medlemmar med nivån du väljer nedan."
674
+
675
+ #: classes/class.swpm-members.php:470 classes/class.swpm-members.php:518
676
+ msgid "Membership Level: "
677
+ msgstr "Medlemskapsnivå: "
678
+
679
+ #: classes/class.swpm-members.php:474
680
+ msgid "Select Current Level"
681
+ msgstr "Välj nuvarande nivå"
682
+
683
+ #: classes/class.swpm-members.php:477
684
+ msgid ""
685
+ "Select the current membership level (the membership level of all members who "
686
+ "are in this level will be updated)."
687
+ msgstr ""
688
+ "Välj den nuvarande medlemsnivå (medlemskap nivån på alla medlemmar som är i "
689
+ "denna nivå kommer att uppdateras)."
690
+
691
+ #: classes/class.swpm-members.php:483
692
+ msgid "Level to Change to: "
693
+ msgstr "Ändra nivå till: "
694
+
695
+ #: classes/class.swpm-members.php:487
696
+ msgid "Select Target Level"
697
+ msgstr "Välj målnivå"
698
+
699
+ #: classes/class.swpm-members.php:490
700
+ msgid "Select the new membership level."
701
+ msgstr "Välj ny medlemskapsnivå."
702
+
703
+ #: classes/class.swpm-members.php:496
704
+ msgid "Bulk Change Membership Level"
705
+ msgstr "Massändra medlemskapsnivå"
706
+
707
+ #: classes/class.swpm-members.php:506
708
+ msgid "Bulk Update Access Starts Date of Members"
709
+ msgstr "Massuppdatera åtkomstsstartdatum för medlemmar"
710
+
711
+ #: classes/class.swpm-members.php:510
712
+ msgid ""
713
+ "The access starts date of a member is set to the day the user registers. "
714
+ "This date value is used to calculate how long the member can access your "
715
+ "content that are protected with a duration type protection in the membership "
716
+ "level. "
717
+ msgstr ""
718
+ "Åtkomststartdatum är inställt till den dag då användaren registrerar sig. "
719
+ "Värdet avvänds för att beräkna hur länge medlemmen får åtkomst till "
720
+ "nivåskyddat innehåll. "
721
+
722
+ #: classes/class.swpm-members.php:511
723
+ msgid ""
724
+ "You can manually set a specific access starts date value of all members who "
725
+ "belong to a particular level using the following option."
726
+ msgstr ""
727
+ "Du kan ställa in ett specifikt startdatum för alla medlemmar på en viss nivå "
728
+ "med följande inställning."
729
+
730
+ #: classes/class.swpm-members.php:521
731
+ msgid "Select Level"
732
+ msgstr "Välj nivå"
733
+
734
+ #: classes/class.swpm-members.php:524
735
+ msgid ""
736
+ "Select the Membership level (the access start date of all members who are in "
737
+ "this level will be updated)."
738
+ msgstr ""
739
+ "Välj medlemskapsnivå (åtkomstsstartdatum för alla medlemmar som är i denna "
740
+ "nivå kommer att uppdateras)."
741
+
742
+ #: classes/class.swpm-members.php:533
743
+ msgid "Specify the access starts date value."
744
+ msgstr "Specifiera åtkomstsstartdatum."
745
+
746
+ #: classes/class.swpm-members.php:539
747
+ msgid "Bulk Change Access Starts Date"
748
+ msgstr "Massuppdatera åtkomstsstartdatum"
749
+
750
+ #: classes/class.swpm-members.php:574
751
+ msgid "Simple WP Membership::Members"
752
+ msgstr "Simple WP Membership::Medlemmar"
753
+
754
+ #: classes/class.swpm-members.php:575
755
+ #: classes/class.swpm-membership-levels.php:225 views/admin_members_list.php:43
756
+ msgid "Add New"
757
+ msgstr "Lägg till"
758
+
759
+ #: classes/class.swpm-members.php:580 views/admin_add.php:6
760
+ msgid "Add Member"
761
+ msgstr "Lägg till medlem"
762
+
763
+ #: classes/class.swpm-members.php:581
764
+ msgid "Bulk Operation"
765
+ msgstr "Massåtgärder"
766
+
767
+ #: classes/class.swpm-membership-level.php:52
768
+ msgid ""
769
+ "Error! Nonce verification failed for membership level creation from admin "
770
+ "end."
771
+ msgstr ""
772
+ "Fel! Nounceverifiering misslyckades för att skapa medlemsskapsnivå från "
773
+ "adminläget (back-end)"
774
+
775
+ #: classes/class.swpm-membership-level.php:64
776
+ msgid "Membership Level Creation Successful."
777
+ msgstr "Ny medlemsskapsnivå har skapats."
778
+
779
+ #: classes/class.swpm-membership-level.php:80
780
+ msgid ""
781
+ "Error! Nonce verification failed for membership level edit from admin end."
782
+ msgstr ""
783
+ "Fel! Nounceverifieringen misslyckades för att redigera medlemskapsnivå från "
784
+ "adminläge (back-end)."
785
+
786
+ #: classes/class.swpm-membership-level.php:92
787
+ msgid "Membership Level Updated Successfully."
788
+ msgstr "Uppdatering av medlemskapsnivå lyckades."
789
+
790
+ #: classes/class.swpm-membership-levels.php:22
791
+ msgid "Role"
792
+ msgstr "Roll"
793
+
794
+ #: classes/class.swpm-membership-levels.php:23
795
+ msgid "Access Valid For/Until"
796
+ msgstr "Åtkomst giltig till"
797
+
798
+ #: classes/class.swpm-membership-levels.php:133
799
+ msgid "No membership levels found."
800
+ msgstr "Ingen medlemsskapsnivå hittades."
801
+
802
+ #: classes/class.swpm-membership-levels.php:196
803
+ msgid ""
804
+ "Error! Nonce verification failed for membership level delete from admin end."
805
+ msgstr ""
806
+ "Fel! Nounceverifieringen misslyckades för att radera medlemskapsnivån från "
807
+ "adminläge (back-end)."
808
+
809
+ #: classes/class.swpm-membership-levels.php:215 views/admin_members_list.php:30
810
+ #: views/payments/admin_all_payment_transactions.php:16
811
+ msgid "Search"
812
+ msgstr "Sök"
813
+
814
+ #: classes/class.swpm-membership-levels.php:260
815
+ msgid "Simple WP Membership::Membership Levels"
816
+ msgstr "Simple WP Membership::Medlemsnivåer"
817
+
818
+ #: classes/class.swpm-membership-levels.php:265
819
+ msgid "Add Level"
820
+ msgstr "Lägg till nivå"
821
+
822
+ #: classes/class.swpm-membership-levels.php:266
823
+ msgid "Manage Content Protection"
824
+ msgstr "Redigera innehållsskydd"
825
+
826
+ #: classes/class.swpm-membership-levels.php:267
827
+ msgid "Category Protection"
828
+ msgstr "Kategoriskydd"
829
+
830
+ #: classes/class.swpm-membership-levels.php:268
831
+ msgid "Post and Page Protection"
832
+ msgstr "Post- och sidskydd"
833
+
834
+ #: classes/class.swpm-post-list.php:43 classes/class.swpm-post-list.php:52
835
+ #: classes/class.swpm-post-list.php:62
836
+ #: classes/admin-includes/class.swpm-payments-list-table.php:81
837
+ msgid "Date"
838
+ msgstr "Datum"
839
+
840
+ #: classes/class.swpm-post-list.php:44 classes/class.swpm-post-list.php:53
841
+ #: classes/class.swpm-post-list.php:63
842
+ msgid "Title"
843
+ msgstr "Titel"
844
+
845
+ #: classes/class.swpm-post-list.php:45 classes/class.swpm-post-list.php:54
846
+ #: classes/class.swpm-post-list.php:64
847
+ msgid "Author"
848
+ msgstr "Författare"
849
+
850
+ #: classes/class.swpm-post-list.php:46 classes/class.swpm-post-list.php:56
851
+ #: classes/class.swpm-post-list.php:66
852
+ msgid "Status"
853
+ msgstr "Status"
854
+
855
+ #: classes/class.swpm-post-list.php:55
856
+ msgid "Categories"
857
+ msgstr "Kategorier"
858
+
859
+ #: classes/class.swpm-post-list.php:65
860
+ msgid "Type"
861
+ msgstr "Typ"
862
+
863
+ #: classes/class.swpm-post-list.php:125
864
+ msgid "Protection settings updated!"
865
+ msgstr "Skyddsinställningar uppdaterade!"
866
+
867
+ #: classes/class.swpm-post-list.php:230
868
+ msgid "No items found."
869
+ msgstr "Inga objekt hittades."
870
+
871
+ #: classes/class.swpm-settings.php:26 classes/class.swpm-settings.php:54
872
+ msgid "General Settings"
873
+ msgstr "Allmänna inställningar"
874
+
875
+ #: classes/class.swpm-settings.php:27
876
+ msgid "Payment Settings"
877
+ msgstr "Betalningsinställningar"
878
+
879
+ #: classes/class.swpm-settings.php:28
880
+ msgid "Email Settings"
881
+ msgstr "E-postinställningar"
882
+
883
+ #: classes/class.swpm-settings.php:29
884
+ msgid "Tools"
885
+ msgstr "Verktyg"
886
+
887
+ #: classes/class.swpm-settings.php:30 classes/class.swpm-settings.php:180
888
+ msgid "Advanced Settings"
889
+ msgstr "Avancerade inställningar"
890
+
891
+ #: classes/class.swpm-settings.php:31
892
+ msgid "Addons Settings"
893
+ msgstr "Tilläggsinställningar"
894
+
895
+ #: classes/class.swpm-settings.php:53
896
+ msgid "Plugin Documentation"
897
+ msgstr "Dokumentation för plugin"
898
+
899
+ #: classes/class.swpm-settings.php:55
900
+ msgid "Enable Free Membership"
901
+ msgstr "Möjliggör gratis medlemskapsnivå"
902
+
903
+ #: classes/class.swpm-settings.php:56
904
+ msgid ""
905
+ "Enable/disable registration for free membership level. When you enable this "
906
+ "option, make sure to specify a free membership level ID in the field below."
907
+ msgstr ""
908
+ "Aktivera/inaktivera registrering för gratis medlemsnivå. När du aktiverar "
909
+ "det här alternativet, se till att du anger ett gratis medlemsnivå ID i "
910
+ "fältet nedan."
911
+
912
+ #: classes/class.swpm-settings.php:57
913
+ msgid "Free Membership Level ID"
914
+ msgstr "Gratis medlemskapsnivå ID"
915
+
916
+ #: classes/class.swpm-settings.php:58
917
+ msgid "Assign free membership level ID"
918
+ msgstr "Tilldela gratis medlemskapsnivå ID"
919
+
920
+ #: classes/class.swpm-settings.php:59
921
+ msgid "Enable More Tag Protection"
922
+ msgstr "Möjliggör \"läs mer\"-taggskydd"
923
+
924
+ #: classes/class.swpm-settings.php:60
925
+ msgid ""
926
+ "Enables or disables \"more\" tag protection in the posts and pages. Anything "
927
+ "after the More tag is protected. Anything before the more tag is teaser "
928
+ "content."
929
+ msgstr ""
930
+ "Möjliggör eller möjliggör ej \"läs mer\"-tag skydd hos inlägg och sidor. "
931
+ "Allt efter \"Läs mer\" tag är skyddat. Allt innan \"läs mer\" är teaser."
932
+
933
+ #: classes/class.swpm-settings.php:61
934
+ msgid "Hide Adminbar"
935
+ msgstr "Göm Adminpanel"
936
+
937
+ #: classes/class.swpm-settings.php:62
938
+ msgid ""
939
+ "WordPress shows an admin toolbar to the logged in users of the site. Check "
940
+ "this if you want to hide that admin toolbar in the frontend of your site."
941
+ msgstr ""
942
+ "Wordpress visar en Adminpanel för inloggade användare på sidan. Bocka av "
943
+ "checkboxen om du vill gömma Adminpanelen på framsidan av din sida."
944
+
945
+ #: classes/class.swpm-settings.php:63
946
+ msgid "Show Adminbar to Admin"
947
+ msgstr "Visa adminpanel för administratörer"
948
+
949
+ #: classes/class.swpm-settings.php:64
950
+ msgid ""
951
+ "Use this option if you want to show the admin toolbar to admin users only. "
952
+ "The admin toolbar will be hidden for all other users."
953
+ msgstr ""
954
+ "Använd detta alternativ om du vll visa adminpanel enbart för "
955
+ "administratörer. Panelen döljs för andra användare."
956
+
957
+ #: classes/class.swpm-settings.php:65
958
+ msgid "Disable Access to WP Dashboard"
959
+ msgstr "Inaktivera åtkomst till WP-panelen"
960
+
961
+ #: classes/class.swpm-settings.php:66
962
+ msgid ""
963
+ "WordPress allows a sandard wp user to be able to go to the wp-admin URL and "
964
+ "access his profile from the wp dashbaord. Using this option will prevent any "
965
+ "non admin users from going to the wp dashboard."
966
+ msgstr ""
967
+ "WordPress tillåter en sandard wp-användare för att kunna gå till wp-admin "
968
+ "webbadressen och hans profil från den wp-instrumentpanel. Med det här "
969
+ "alternativet kommer att förhindra icke administratörsanvändare från att gå "
970
+ "till wp dashboard."
971
+
972
+ #: classes/class.swpm-settings.php:68
973
+ msgid "Default Account Status"
974
+ msgstr "Standard kontostatus"
975
+
976
+ #: classes/class.swpm-settings.php:71
977
+ msgid ""
978
+ "Select the default account status for newly registered users. If you want to "
979
+ "manually approve the members then you can set the status to \"Pending\"."
980
+ msgstr ""
981
+ "Välj standard kontostatus för de nyregistrerade användare. Om du vill "
982
+ "godkänna medlemmarna manuellt så kan du sätta statusen till \"avvaktande\"."
983
+
984
+ #: classes/class.swpm-settings.php:73
985
+ msgid "Members Must be Logged in to Comment"
986
+ msgstr "Du måste vara inloggad för att kunna lägga till en kommentar"
987
+
988
+ #: classes/class.swpm-settings.php:74
989
+ msgid ""
990
+ "Enable this option if you only want the members of the site to be able to "
991
+ "post a comment."
992
+ msgstr ""
993
+ "Aktivera det här alternativet om du bara vill medlemmarna i webbplatsen för "
994
+ "att kunna skriva en kommentar."
995
+
996
+ #: classes/class.swpm-settings.php:83
997
+ msgid "Pages Settings"
998
+ msgstr "Sidoinställningar"
999
+
1000
+ #: classes/class.swpm-settings.php:84
1001
+ msgid "Login Page URL"
1002
+ msgstr "Inloggningssida URL"
1003
+
1004
+ #: classes/class.swpm-settings.php:86
1005
+ msgid "Registration Page URL"
1006
+ msgstr "Registreringssida URL"
1007
+
1008
+ #: classes/class.swpm-settings.php:88
1009
+ msgid "Join Us Page URL"
1010
+ msgstr "Bli medlemsida URL"
1011
+
1012
+ #: classes/class.swpm-settings.php:90
1013
+ msgid "Edit Profile Page URL"
1014
+ msgstr "Profilredigeringssida URL"
1015
+
1016
+ #: classes/class.swpm-settings.php:92
1017
+ msgid "Password Reset Page URL"
1018
+ msgstr "Sida för återställning av lösenord"
1019
+
1020
+ #: classes/class.swpm-settings.php:95
1021
+ msgid "Test & Debug Settings"
1022
+ msgstr "Inställningar för test och felsökning"
1023
+
1024
+ #: classes/class.swpm-settings.php:97
1025
+ msgid "Check this option to enable debug logging."
1026
+ msgstr "Markera detta alternativ för att aktivera felsökningsloggning."
1027
+
1028
+ #: classes/class.swpm-settings.php:102
1029
+ msgid "Enable Sandbox Testing"
1030
+ msgstr "Möjliggör Sandbox-test"
1031
+
1032
+ #: classes/class.swpm-settings.php:103
1033
+ msgid "Enable this option if you want to do sandbox payment testing."
1034
+ msgstr "Möjliggör detta om du vill ha sandbox betalningstest."
1035
+
1036
+ #: classes/class.swpm-settings.php:116
1037
+ msgid "Email Settings Overview"
1038
+ msgstr "E-postsinställningar översikt"
1039
+
1040
+ #: classes/class.swpm-settings.php:117
1041
+ msgid "Email Misc. Settings"
1042
+ msgstr "Inställningar för e-post"
1043
+
1044
+ #: classes/class.swpm-settings.php:119
1045
+ msgid "From Email Address"
1046
+ msgstr "Från e-postadressen"
1047
+
1048
+ #: classes/class.swpm-settings.php:123
1049
+ msgid "Email Settings (Prompt to Complete Registration )"
1050
+ msgstr "Inställningar för e-post (prompt to complete registration)"
1051
+
1052
+ #: classes/class.swpm-settings.php:124 classes/class.swpm-settings.php:137
1053
+ #: classes/class.swpm-settings.php:155 classes/class.swpm-settings.php:160
1054
+ #: classes/class.swpm-settings.php:165
1055
+ msgid "Email Subject"
1056
+ msgstr "E-postsämne"
1057
+
1058
+ #: classes/class.swpm-settings.php:126 classes/class.swpm-settings.php:139
1059
+ #: classes/class.swpm-settings.php:156 classes/class.swpm-settings.php:161
1060
+ #: classes/class.swpm-settings.php:166
1061
+ msgid "Email Body"
1062
+ msgstr "E-postmeddelande"
1063
+
1064
+ #: classes/class.swpm-settings.php:130
1065
+ msgid ""
1066
+ "Enter the email address where you want the admin notification email to be "
1067
+ "sent to."
1068
+ msgstr "Ange den e-postadress dit admin-e-postmeddelanden ska skickas."
1069
+
1070
+ #: classes/class.swpm-settings.php:131
1071
+ msgid ""
1072
+ " You can put multiple email addresses separated by comma (,) in the above "
1073
+ "field to send the notification to multiple email addresses."
1074
+ msgstr ""
1075
+ " Du kan skriva flera adresser separerade med ett komma (,) i fältet ovan för "
1076
+ "att skicka till flera adresser."
1077
+
1078
+ #: classes/class.swpm-settings.php:133
1079
+ msgid "Enter the subject for the admin notification email."
1080
+ msgstr "Ange ämne för e-postmeddelande till admin."
1081
+
1082
+ #: classes/class.swpm-settings.php:134
1083
+ msgid ""
1084
+ "This email will be sent to the admin when a new user completes the "
1085
+ "membership registration. Only works if you have enabled the \"Send "
1086
+ "Notification to Admin\" option above."
1087
+ msgstr ""
1088
+ "Detta mail skickas till admin när en ny användare slutför registrering. "
1089
+ "Fungerar bara om du har aktiverat alternativet ”skickar anmälan till Admin” "
1090
+ "ovan."
1091
+
1092
+ #: classes/class.swpm-settings.php:136
1093
+ msgid "Email Settings (Registration Complete)"
1094
+ msgstr "Inställningar för e-post (lyckad registrering)"
1095
+
1096
+ #: classes/class.swpm-settings.php:141
1097
+ msgid "Send Notification to Admin"
1098
+ msgstr "Skicka notifiering till Admin"
1099
+
1100
+ #: classes/class.swpm-settings.php:142
1101
+ msgid ""
1102
+ "Enable this option if you want the admin to receive a notification when a "
1103
+ "member registers."
1104
+ msgstr ""
1105
+ "Aktivera det här alternativet om du att admin får ett meddelande när en ny "
1106
+ "medlem registrerar."
1107
+
1108
+ #: classes/class.swpm-settings.php:143
1109
+ msgid "Admin Email Address"
1110
+ msgstr "E-postadress till administratören"
1111
+
1112
+ #: classes/class.swpm-settings.php:145
1113
+ msgid "Admin Notification Email Subject"
1114
+ msgstr "Ämne Adminmeddelande"
1115
+
1116
+ #: classes/class.swpm-settings.php:147
1117
+ msgid "Admin Notification Email Body"
1118
+ msgstr "Meddelande Adminmeddelande"
1119
+
1120
+ #: classes/class.swpm-settings.php:150
1121
+ msgid "Send Email to Member When Added via Admin Dashboard"
1122
+ msgstr "Skicka e-post till medlemmen när hen är tillagd via Adminpanelen"
1123
+
1124
+ #: classes/class.swpm-settings.php:154
1125
+ msgid "Email Settings (Password Reset)"
1126
+ msgstr "E-postinställningar (Återställning lösenord)"
1127
+
1128
+ #: classes/class.swpm-settings.php:159
1129
+ msgid " Email Settings (Account Upgrade Notification)"
1130
+ msgstr " E-postinställningar (notifiering av kontouppgradering)"
1131
+
1132
+ #: classes/class.swpm-settings.php:164
1133
+ msgid " Email Settings (Bulk Account Activate Notification)"
1134
+ msgstr " E-postinställningar (notifiering massaktivering)"
1135
+
1136
+ #: classes/class.swpm-settings.php:182
1137
+ msgid "Enable Expired Account Login"
1138
+ msgstr "Aktivera inloggning av utgått medlemsskap"
1139
+
1140
+ #: classes/class.swpm-settings.php:183
1141
+ msgid ""
1142
+ "When enabled, expired members will be able to log into the system but won't "
1143
+ "be able to view any protected content. This allows them to easily renew "
1144
+ "their account by making another payment."
1145
+ msgstr ""
1146
+ "Om aktiverad kan medlemmar med utgått medlemskap logga in men inte se "
1147
+ "skyddad innehåll. Detta tillåter dem att enkelt förnya sitt medlemskap."
1148
+
1149
+ #: classes/class.swpm-settings.php:185
1150
+ msgid "Membership Renewal URL"
1151
+ msgstr "Medlemskapsförnyelse URL"
1152
+
1153
+ #: classes/class.swpm-settings.php:186
1154
+ msgid ""
1155
+ "You can create a renewal page for your site. Read <a href=\"https://simple-"
1156
+ "membership-plugin.com/creating-membership-renewal-button/\" target=\"_blank"
1157
+ "\">this documentation</a> to learn how to create a renewal page."
1158
+ msgstr ""
1159
+ "Du kan skapa en förnyelse sida för din webbplats. Läs <a href=\"https://"
1160
+ "simple-membership-plugin.com/creating-membership-renewal-button/\" target="
1161
+ "\"_blank\">denna dokumentation</a> om hur du skapar en förnyelse sida."
1162
+
1163
+ #: classes/class.swpm-settings.php:188
1164
+ msgid "After Registration Redirect URL"
1165
+ msgstr "Efter-registreringssida URL"
1166
+
1167
+ #: classes/class.swpm-settings.php:189
1168
+ msgid ""
1169
+ "You can enter an URL here to redirect the members to this page after they "
1170
+ "submit the registration form. Read <a href=\"https://simple-membership-"
1171
+ "plugin.com/configure-registration-redirect-members/\" target=\"_blank\">this "
1172
+ "documentation</a> to learn how to setup after registration redirect."
1173
+ msgstr ""
1174
+ "Du kan ange en webbadress här för att omdirigera medlemmarna till den här "
1175
+ "sidan efter att de har skickat in registreringsformuläret. Läs <a href="
1176
+ "\"https://simple-membership-plugin.com/configure-registration-redirect-"
1177
+ "members/\" target=\"_blank\"> den här dokumentationen </a> för att lära dig "
1178
+ "hur du konfigurerar efter registrering omdirigering."
1179
+
1180
+ #: classes/class.swpm-settings.php:191
1181
+ msgid "Allow Account Deletion"
1182
+ msgstr "Tillåt radering av konto"
1183
+
1184
+ #: classes/class.swpm-settings.php:192
1185
+ msgid "Allow users to delete their accounts."
1186
+ msgstr "Tillåt användare att radera sina konton."
1187
+
1188
+ #: classes/class.swpm-settings.php:194
1189
+ msgid "Force WP User Synchronization"
1190
+ msgstr "Tvinga WP användarsynkronisering"
1191
+
1192
+ #: classes/class.swpm-settings.php:195
1193
+ msgid ""
1194
+ "Enable this option if you want to force the member login to be synchronized "
1195
+ "with WP user account. This can be useful if you are using another plugin "
1196
+ "that uses WP user records. For example: bbPress plugin."
1197
+ msgstr ""
1198
+ "Aktivera detta alternativ för att tving synkronisering med WP-användare. "
1199
+ "Användbart om ni använder andra tilägg som använder WP-användare. Ex bbPress."
1200
+
1201
+ #: classes/class.swpm-settings.php:197
1202
+ msgid "Use WordPress Timezone"
1203
+ msgstr "Använd WordPress tidszoner"
1204
+
1205
+ #: classes/class.swpm-settings.php:198
1206
+ msgid ""
1207
+ "Use this option if you want to use the timezone value specified in your "
1208
+ "WordPress General Settings interface."
1209
+ msgstr ""
1210
+ "Aktivera för att använda WordPress tidszoner specifierat under WordPress "
1211
+ "Allmänna inställningar."
1212
+
1213
+ #: classes/class.swpm-settings.php:200
1214
+ msgid "Auto Delete Pending Account"
1215
+ msgstr "Automatisk borttagning av väntande konton"
1216
+
1217
+ #: classes/class.swpm-settings.php:203
1218
+ msgid "Select how long you want to keep \"pending\" account."
1219
+ msgstr "Välj hur länge du vill behålla ”väntande” konton."
1220
+
1221
+ #: classes/class.swpm-settings.php:205
1222
+ msgid "Admin Dashboard Access Permission"
1223
+ msgstr "Adminpanel åtkomstbehörighet"
1224
+
1225
+ #: classes/class.swpm-settings.php:208
1226
+ msgid ""
1227
+ "SWPM admin dashboard is accessible to admin users only (just like any other "
1228
+ "plugin). You can allow users with other WP user role to access the SWPM "
1229
+ "admin dashboard by selecting a value here."
1230
+ msgstr ""
1231
+ "SWPM adminpanel är bara tillgänglig för administratörer (precis som för "
1232
+ "andra tillägg). Du kan tillåta användare med andra WP-roller att få tillgång "
1233
+ "till SWPM adminpanel genom att välja ett värde här."
1234
+
1235
+ #: classes/class.swpm-settings.php:298 classes/class.swpm-settings.php:344
1236
+ #: classes/class.swpm-settings.php:369
1237
+ msgid "Settings updated!"
1238
+ msgstr "Inställningar uppdaterade!"
1239
+
1240
+ #: classes/class.swpm-settings.php:303
1241
+ msgid "General Plugin Settings."
1242
+ msgstr "Allmänna inställningar."
1243
+
1244
+ #: classes/class.swpm-settings.php:307
1245
+ msgid "Page Setup and URL Related settings."
1246
+ msgstr "Sid- och URLinställningar."
1247
+
1248
+ #: classes/class.swpm-settings.php:310
1249
+ msgid ""
1250
+ "The following pages are required for the plugin to function correctly. These "
1251
+ "pages were automatically created by the plugin at install time."
1252
+ msgstr ""
1253
+ "Följande sidor behövs för att SWMP-tillägget ska fungera korrekt. Dessa "
1254
+ "skapades automatiskt när tillägget installerades."
1255
+
1256
+ #: classes/class.swpm-settings.php:315
1257
+ msgid "Testing and Debug Related Settings."
1258
+ msgstr "Inställningar för test och felsökning."
1259
+
1260
+ #: classes/class.swpm-settings.php:319
1261
+ msgid ""
1262
+ "This email will be sent to your users when they complete the registration "
1263
+ "and become a member."
1264
+ msgstr ""
1265
+ "Detta e-post skickas till användaren när de registrerat sig och blivit "
1266
+ "medlem."
1267
+
1268
+ #: classes/class.swpm-settings.php:323
1269
+ msgid ""
1270
+ "This email will be sent to your users when they use the password reset "
1271
+ "functionality."
1272
+ msgstr ""
1273
+ "Detta e-post skickas till användaren när the använder "
1274
+ "lösenordsåterställningen."
1275
+
1276
+ #: classes/class.swpm-settings.php:329
1277
+ msgid ""
1278
+ "This interface lets you custsomize the various emails that gets sent to your "
1279
+ "members for various actions. The default settings should be good to get your "
1280
+ "started."
1281
+ msgstr ""
1282
+ "Dessa inställningar låter dig anpassa e-postmeddelandena som skickas till "
1283
+ "medlemmarna. Standardinställningarna funkar för att komma igång."
1284
+
1285
+ #: classes/class.swpm-settings.php:333
1286
+ msgid "This documentation"
1287
+ msgstr "Dokumentation för tillägget"
1288
+
1289
+ #: classes/class.swpm-settings.php:334
1290
+ msgid ""
1291
+ " explains what email merge tags you can use in the email body field to "
1292
+ "customize it (if you want to)."
1293
+ msgstr ""
1294
+ " förklarar vad e-post \"merge\"-tags du kan använda för att anpassa e-"
1295
+ "postmeddelanden (om du vill)"
1296
+
1297
+ #: classes/class.swpm-settings.php:347
1298
+ msgid "Settings in this section apply to all emails."
1299
+ msgstr "Dessa inställningar gäller för all e-post."
1300
+
1301
+ #: classes/class.swpm-settings.php:351
1302
+ msgid ""
1303
+ "This email will be sent to your users after account upgrade (when an "
1304
+ "existing member pays for a new membership level)."
1305
+ msgstr ""
1306
+ "Detta e-post skickas till användaren när de uppgraderat sitt konto "
1307
+ "(existerande medlem har betalat för en högre nivå)"
1308
+
1309
+ #: classes/class.swpm-settings.php:355
1310
+ msgid ""
1311
+ "This email will be sent to your members when you use the bulk account "
1312
+ "activate and notify action."
1313
+ msgstr ""
1314
+ "Detta mail kommer att skickas till dina medlemmar när du använder masskonto-"
1315
+ "aktivera och notifiera-åtgärder."
1316
+
1317
+ #: classes/class.swpm-settings.php:356
1318
+ msgid ""
1319
+ " You cannot use email marge tags in this email. You can only use generic "
1320
+ "text."
1321
+ msgstr ""
1322
+ " Du kan inte använda e-postmargetaggar i detta mail. Du kan endast använda "
1323
+ "generiska text."
1324
+
1325
+ #: classes/class.swpm-settings.php:361
1326
+ msgid ""
1327
+ "This email will be sent to prompt users to complete registration after the "
1328
+ "payment."
1329
+ msgstr ""
1330
+ "Denna e-post kommer att skickas för att uppmana användarna att slutföra "
1331
+ "registreringen efter betalning."
1332
+
1333
+ #: classes/class.swpm-settings.php:372
1334
+ msgid "This page allows you to configure some advanced features of the plugin."
1335
+ msgstr ""
1336
+ "På den här sidan kan du konfigurera några avancerade funktioner i tillägget."
1337
+
1338
+ #: classes/class.swpm-settings.php:483
1339
+ msgid "Simple WP Membership::Settings"
1340
+ msgstr "Inställningar för Simple WP Membership"
1341
+
1342
+ #: classes/class.swpm-utils-member.php:21
1343
+ #: classes/class.swpm-utils-member.php:29
1344
+ #: classes/class.swpm-utils-member.php:37
1345
+ #: classes/class.swpm-utils-member.php:47
1346
+ msgid "User is not logged in."
1347
+ msgstr "Användare inte inloggad."
1348
+
1349
+ #: classes/class.swpm-utils-misc.php:50
1350
+ msgid "Registration"
1351
+ msgstr "Registrering"
1352
+
1353
+ #: classes/class.swpm-utils-misc.php:73
1354
+ msgid "Member Login"
1355
+ msgstr "Logga in"
1356
+
1357
+ #: classes/class.swpm-utils-misc.php:96
1358
+ msgid "Profile"
1359
+ msgstr "Profil"
1360
+
1361
+ #: classes/class.swpm-utils-misc.php:119
1362
+ msgid "Password Reset"
1363
+ msgstr "Återställning av lösenord"
1364
+
1365
+ #: classes/class.swpm-utils-misc.php:247
1366
+ msgid "Not a Member?"
1367
+ msgstr "Är du är inte medlem?"
1368
+
1369
+ #: classes/class.swpm-utils-misc.php:258
1370
+ msgid "renew"
1371
+ msgstr "förnya"
1372
+
1373
+ #: classes/class.swpm-utils-misc.php:258
1374
+ msgid " your account to gain access to this content."
1375
+ msgstr " ditt konto för att få åtkomst till detta innehåll."
1376
+
1377
+ #: classes/class.swpm-utils-misc.php:316 classes/class.swpm-utils-misc.php:322
1378
+ msgid "Error! This action ("
1379
+ msgstr "Fel! Denna åtgärd ("
1380
+
1381
+ #: classes/class.swpm-utils-misc.php:394
1382
+ msgid "(Please Select)"
1383
+ msgstr "(Vänligen välj)"
1384
+
1385
+ #: classes/class.swpm-utils-template.php:38
1386
+ msgid "Error! Failed to find a template path for the specified template: "
1387
+ msgstr "Fel! Misslyckades med att hitta en mallsökväg för den angivna mallen: "
1388
+
1389
+ #: classes/class.swpm-utils.php:100
1390
+ msgid "Never"
1391
+ msgstr "Aldrig"
1392
+
1393
+ #: classes/class.swpm-utils.php:115 views/admin_members_list.php:19
1394
+ msgid "Active"
1395
+ msgstr "Aktiv"
1396
+
1397
+ #: classes/class.swpm-utils.php:116 views/admin_members_list.php:20
1398
+ msgid "Inactive"
1399
+ msgstr "Inaktiv"
1400
+
1401
+ #: classes/class.swpm-utils.php:117 views/admin_members_list.php:21
1402
+ msgid "Pending"
1403
+ msgstr "Avvaktande"
1404
+
1405
+ #: classes/class.swpm-utils.php:118 views/admin_members_list.php:23
1406
+ msgid "Expired"
1407
+ msgstr "Upphöra"
1408
+
1409
+ #: classes/class.swpm-utils.php:459
1410
+ msgid "Delete Account"
1411
+ msgstr "Radera Kontot"
1412
+
1413
+ #: classes/admin-includes/class.swpm-payment-buttons-list-table.php:75
1414
+ msgid "Payment Button ID"
1415
+ msgstr "Betalknapp ID"
1416
+
1417
+ #: classes/admin-includes/class.swpm-payment-buttons-list-table.php:76
1418
+ msgid "Payment Button Title"
1419
+ msgstr "Titel betalningsknapp"
1420
+
1421
+ #: classes/admin-includes/class.swpm-payment-buttons-list-table.php:77
1422
+ msgid "Membership Level ID"
1423
+ msgstr "Medlemskapsnivå ID"
1424
+
1425
+ #: classes/admin-includes/class.swpm-payment-buttons-list-table.php:78
1426
+ msgid "Button Type"
1427
+ msgstr "Knapptyp"
1428
+
1429
+ #: classes/admin-includes/class.swpm-payment-buttons-list-table.php:79
1430
+ msgid "Button Shortcode"
1431
+ msgstr "Knappar"
1432
+
1433
+ #: classes/admin-includes/class.swpm-payment-buttons-list-table.php:127
1434
+ #: views/admin_members_list.php:9
1435
+ #: views/payments/admin_all_payment_transactions.php:32
1436
+ msgid "The selected entry was deleted!"
1437
+ msgstr "Den valda posten togs bort!"
1438
+
1439
+ #: classes/admin-includes/class.swpm-payments-admin-menu.php:21
1440
+ msgid "Simple Membership::Payments"
1441
+ msgstr "Simple WP Membership::Betalningar"
1442
+
1443
+ #: classes/admin-includes/class.swpm-payments-admin-menu.php:25
1444
+ msgid "Transactions"
1445
+ msgstr "Transaktioner"
1446
+
1447
+ #: classes/admin-includes/class.swpm-payments-admin-menu.php:26
1448
+ msgid "Manage Payment Buttons"
1449
+ msgstr "Hantera betalningsknappar"
1450
+
1451
+ #: classes/admin-includes/class.swpm-payments-admin-menu.php:27
1452
+ #: views/payments/admin_payment_buttons.php:27
1453
+ msgid "Create New Button"
1454
+ msgstr "Lägg till ny knapp"
1455
+
1456
+ #: classes/admin-includes/class.swpm-payments-list-table.php:57
1457
+ msgid "View Profile"
1458
+ msgstr "Visa profil"
1459
+
1460
+ #: classes/admin-includes/class.swpm-payments-list-table.php:76
1461
+ msgid "Row ID"
1462
+ msgstr "Rad-ID"
1463
+
1464
+ #: classes/admin-includes/class.swpm-payments-list-table.php:77
1465
+ #: views/forgot_password.php:5
1466
+ msgid "Email Address"
1467
+ msgstr "E-postadress"
1468
+
1469
+ #: classes/admin-includes/class.swpm-payments-list-table.php:80
1470
+ msgid "Member Profile"
1471
+ msgstr "Medlemsprofil"
1472
+
1473
+ #: classes/admin-includes/class.swpm-payments-list-table.php:82
1474
+ msgid "Transaction ID"
1475
+ msgstr "Transaktions-ID"
1476
+
1477
+ #: classes/admin-includes/class.swpm-payments-list-table.php:83
1478
+ msgid "Subscriber ID"
1479
+ msgstr "Prenumerant-ID"
1480
+
1481
+ #: classes/admin-includes/class.swpm-payments-list-table.php:84
1482
+ msgid "Amount"
1483
+ msgstr "Belopp"
1484
+
1485
+ #: classes/shortcode-related/class.swpm-shortcodes-handler.php:57
1486
+ msgid "Your membership profile will be updated to reflect the payment."
1487
+ msgstr "Din medlemsprofil kommer att uppdateras efter betalningen."
1488
+
1489
+ #: classes/shortcode-related/class.swpm-shortcodes-handler.php:58
1490
+ msgid "Your profile username: "
1491
+ msgstr "Din profils användarnamn: "
1492
+
1493
+ #: classes/shortcode-related/class.swpm-shortcodes-handler.php:70
1494
+ msgid "Click on the following link to complete the registration."
1495
+ msgstr "Klicka på följande länk för att slutföra registreringen."
1496
+
1497
+ #: classes/shortcode-related/class.swpm-shortcodes-handler.php:71
1498
+ msgid "Click here to complete your paid registration"
1499
+ msgstr "Klicka här för att slutföra din betalda registrering"
1500
+
1501
+ #: classes/shortcode-related/class.swpm-shortcodes-handler.php:76
1502
+ msgid ""
1503
+ "If you have just made a membership payment then your payment is yet to be "
1504
+ "processed. Please check back in a few minutes. An email will be sent to you "
1505
+ "with the details shortly."
1506
+ msgstr ""
1507
+ "Om du just har gjort en medlemsbetalning så har den ännu inte behandlats. "
1508
+ "Vänligen kontrollera om några minuter. Ett e-postmeddelande kommer att "
1509
+ "skickas till dig med detaljerna inom kort."
1510
+
1511
+ #: classes/shortcode-related/class.swpm-shortcodes-handler.php:90
1512
+ msgid "Expiry: "
1513
+ msgstr "Utgångsdatum: "
1514
+
1515
+ #: classes/shortcode-related/class.swpm-shortcodes-handler.php:92
1516
+ msgid "You are not logged-in as a member"
1517
+ msgstr "Du är inte inloggad som medlem"
1518
+
1519
+ #: views/add.php:15 views/admin_add.php:19 views/admin_edit.php:44
1520
+ #: views/edit.php:22 views/login.php:17
1521
+ msgid "Password"
1522
+ msgstr "Lösenord"
1523
+
1524
+ #: views/add.php:19 views/edit.php:26
1525
+ msgid "Repeat Password"
1526
+ msgstr "Repetera lösenord"
1527
+
1528
+ #: views/add.php:53
1529
+ msgid "Register"
1530
+ msgstr "Registrera"
1531
+
1532
+ #: views/admin_add.php:7
1533
+ msgid "Create a brand new user and add it to this site."
1534
+ msgstr "Skapa en helt ny användare och lägg till denne till sidan."
1535
+
1536
+ #: views/admin_add.php:11 views/admin_add.php:15 views/admin_add_level.php:12
1537
+ #: views/admin_add_level.php:16 views/admin_add_level.php:20
1538
+ #: views/admin_edit.php:19 views/admin_edit.php:40
1539
+ #: views/admin_edit_level.php:16 views/admin_edit_level.php:20
1540
+ #: views/admin_edit_level.php:24
1541
+ msgid "(required)"
1542
+ msgstr "(krävs)"
1543
+
1544
+ #: views/admin_add.php:15 views/admin_edit.php:40
1545
+ msgid "E-mail"
1546
+ msgstr "E-post"
1547
+
1548
+ #: views/admin_add.php:19
1549
+ msgid "(twice, required)"
1550
+ msgstr "(återigen, krävs)"
1551
+
1552
+ #: views/admin_add.php:24 views/admin_edit.php:48
1553
+ msgid "Strength indicator"
1554
+ msgstr "Säkerhetsnivå"
1555
+
1556
+ #: views/admin_add.php:25 views/admin_edit.php:49
1557
+ msgid ""
1558
+ "Hint: The password should be at least seven characters long. To make it "
1559
+ "stronger, use upper and lower case letters, numbers and symbols like ! \" ? "
1560
+ "$ % ^ &amp; )."
1561
+ msgstr ""
1562
+ "Tips: Lösenordet ska vara minst sju tecken långt. För att göra det starkare, "
1563
+ "använd stora och små bokstäver, siffror och symboler som! \"? $% ^ & amp;)."
1564
+
1565
+ #: views/admin_add.php:29 views/admin_edit.php:53 views/loggedin.php:10
1566
+ msgid "Account Status"
1567
+ msgstr "Kontostatus"
1568
+
1569
+ #: views/admin_add.php:39
1570
+ msgid "Add New Member "
1571
+ msgstr "Lägg till ny medlem "
1572
+
1573
+ #: views/admin_addon_settings.php:3
1574
+ msgid ""
1575
+ "Some of the simple membership plugin's addon settings and options will be "
1576
+ "displayed here (if you have them)"
1577
+ msgstr ""
1578
+ "Vissa av simple membership plugins addons inställningar och alternativ "
1579
+ "kommer visas här (om du har dom)"
1580
+
1581
+ #: views/admin_addon_settings.php:8
1582
+ msgid "Save Changes"
1583
+ msgstr "Spara ändringar"
1584
+
1585
+ #: views/admin_add_level.php:6
1586
+ msgid "Add Membership Level"
1587
+ msgstr "Lägg till ett medlemsskap"
1588
+
1589
+ #: views/admin_add_level.php:7
1590
+ msgid "Create new membership level."
1591
+ msgstr "Lägg till ny medlemskapsnivå."
1592
+
1593
+ #: views/admin_add_level.php:12 views/admin_edit_level.php:16
1594
+ msgid "Membership Level Name"
1595
+ msgstr "Namn på medlemskapsnivå"
1596
+
1597
+ #: views/admin_add_level.php:16 views/admin_edit_level.php:20
1598
+ msgid "Default WordPress Role"
1599
+ msgstr "Standard Wordpressroll"
1600
+
1601
+ #: views/admin_add_level.php:20 views/admin_edit_level.php:24
1602
+ msgid "Access Duration"
1603
+ msgstr "Åtkomstens varaktighet"
1604
+
1605
+ #: views/admin_add_level.php:23
1606
+ msgid "No Expiry (Access for this level will not expire until cancelled"
1607
+ msgstr ""
1608
+ "Inget utgångsdatum (Tillgång för denna nivå kommer inte att löpa ut förrän "
1609
+ "den avbrutits"
1610
+
1611
+ #: views/admin_add_level.php:24 views/admin_add_level.php:26
1612
+ #: views/admin_add_level.php:28 views/admin_add_level.php:30
1613
+ #: views/admin_edit_level.php:28 views/admin_edit_level.php:31
1614
+ #: views/admin_edit_level.php:34 views/admin_edit_level.php:37
1615
+ msgid "Expire After"
1616
+ msgstr "Upphör efter"
1617
+
1618
+ #: views/admin_add_level.php:25 views/admin_edit_level.php:29
1619
+ msgid "Days (Access expires after given number of days)"
1620
+ msgstr "Dagar (antal dagar till att medlemskapet upphör)"
1621
+
1622
+ #: views/admin_add_level.php:27
1623
+ msgid "Weeks (Access expires after given number of weeks"
1624
+ msgstr "Veckor (antal veckor till att medlemskapet upphör)"
1625
+
1626
+ #: views/admin_add_level.php:29 views/admin_edit_level.php:35
1627
+ msgid "Months (Access expires after given number of months)"
1628
+ msgstr "Månader (antal månader till att medlemskapet upphör)"
1629
+
1630
+ #: views/admin_add_level.php:31 views/admin_edit_level.php:38
1631
+ msgid "Years (Access expires after given number of years)"
1632
+ msgstr "År (antal år till att medlemskapet upphör)"
1633
+
1634
+ #: views/admin_add_level.php:32 views/admin_edit_level.php:40
1635
+ msgid "Fixed Date Expiry"
1636
+ msgstr "Fast utgångsdatum"
1637
+
1638
+ #: views/admin_add_level.php:33 views/admin_edit_level.php:41
1639
+ msgid "(Access expires on a fixed date)"
1640
+ msgstr "(Åtkomst upphör detta datum)"
1641
+
1642
+ #: views/admin_add_level.php:39
1643
+ msgid "Add New Membership Level "
1644
+ msgstr "Lägg till ny medlemsnivå "
1645
+
1646
+ #: views/admin_add_ons_page.php:7
1647
+ msgid "Simple WP Membership::Add-ons"
1648
+ msgstr "Simple WP Membership:Tillägg"
1649
+
1650
+ #: views/admin_category_list.php:5
1651
+ msgid ""
1652
+ "First of all, globally protect the category on your site by selecting "
1653
+ "\"General Protection\" from the drop-down box below and then select the "
1654
+ "categories that should be protected from non-logged in users."
1655
+ msgstr ""
1656
+ "Först och främst skydda kategorin globalt på din webbplats genom att välja "
1657
+ "\"Allmänt skydd\" i rullgardinsmenyn nedan och välj sedan de kategorier som "
1658
+ "ska skyddas från användare som inte är inloggade."
1659
+
1660
+ #: views/admin_category_list.php:8
1661
+ msgid ""
1662
+ "Next, select an existing membership level from the drop-down box below and "
1663
+ "then select the categories you want to grant access to (for that particular "
1664
+ "membership level)."
1665
+ msgstr ""
1666
+ "Välj sedan en befintlig medlemsnivå i rullgardinsmenyn nedan och välj sedan "
1667
+ "de kategorier som du vill ge åtkomst till (för den särskilda medlemsnivån)."
1668
+
1669
+ #: views/admin_category_list.php:17 views/admin_post_list.php:27
1670
+ msgid "Membership Level:"
1671
+ msgstr "Medlemskapsnivå:"
1672
+
1673
+ #: views/admin_category_list.php:23 views/admin_post_list.php:33
1674
+ #: views/edit.php:73
1675
+ msgid "Update"
1676
+ msgstr "Uppdatera"
1677
+
1678
+ #: views/admin_edit.php:11
1679
+ msgid "Edit Member"
1680
+ msgstr "Redigera medlem"
1681
+
1682
+ #: views/admin_edit.php:13
1683
+ msgid "Edit existing member details."
1684
+ msgstr "Redigera befintliga medlemsuppgifter."
1685
+
1686
+ #: views/admin_edit.php:14
1687
+ msgid " You are currenty editing member with member ID: "
1688
+ msgstr " Du redigerar för närvarande medlem med medlems ID: "
1689
+
1690
+ #: views/admin_edit.php:44
1691
+ msgid "(twice, leave empty to retain old password)"
1692
+ msgstr "(två gånger, lämna tomma för att behålla gamla lösenord)"
1693
+
1694
+ #: views/admin_edit.php:60
1695
+ msgid "Notify User"
1696
+ msgstr "Meddela användaren"
1697
+
1698
+ #: views/admin_edit.php:67
1699
+ msgid "Subscriber ID/Reference"
1700
+ msgstr "Abonnent ID / Referens"
1701
+
1702
+ #: views/admin_edit.php:71
1703
+ msgid "Last Accessed Date"
1704
+ msgstr "Senaste åtkomstsdatum"
1705
+
1706
+ #: views/admin_edit.php:74 views/admin_edit.php:81
1707
+ msgid "This value gets updated when this member logs into your site."
1708
+ msgstr ""
1709
+ "Detta värde uppdateras när den här medlemmen loggar in på din webbplats."
1710
+
1711
+ #: views/admin_edit.php:78
1712
+ msgid "Last Accessed From IP"
1713
+ msgstr "Senaste åtkomst från IP"
1714
+
1715
+ #: views/admin_edit.php:89
1716
+ msgid "Save Data"
1717
+ msgstr "Spara data"
1718
+
1719
+ #: views/admin_edit.php:94
1720
+ msgid "Delete User Profile"
1721
+ msgstr "Radera användrakonto"
1722
+
1723
+ #: views/admin_edit_level.php:6
1724
+ msgid "Edit membership level"
1725
+ msgstr "Redigera medlemsnivå"
1726
+
1727
+ #: views/admin_edit_level.php:9
1728
+ msgid ""
1729
+ "You can edit details of a selected membership level from this interface. "
1730
+ msgstr ""
1731
+ "Du kan redigera detaljer för en vald medlemsnivå från det här gränssnittet. "
1732
+
1733
+ #: views/admin_edit_level.php:10
1734
+ msgid "You are currently editing: "
1735
+ msgstr "Du redigerar för närvarande: "
1736
+
1737
+ #: views/admin_edit_level.php:27
1738
+ msgid "No Expiry (Access for this level will not expire until cancelled)"
1739
+ msgstr ""
1740
+ "Inget utgångsdatum (Tillträde för denna nivå kommer inte att löpa ut förrän "
1741
+ "den har avbrutits)"
1742
+
1743
+ #: views/admin_edit_level.php:32
1744
+ msgid "Weeks (Access expires after given number of weeks)"
1745
+ msgstr "Veckor (Tillträde löper ut efter givet antal veckor)"
1746
+
1747
+ #: views/admin_edit_level.php:47
1748
+ msgid "Save Membership Level "
1749
+ msgstr "Spara medlemsskapsnivå "
1750
+
1751
+ #: views/admin_membership_manage.php:18
1752
+ msgid "Example Content Protection Settings"
1753
+ msgstr "Exempel Inställningar för kategoriskydd"
1754
+
1755
+ #: views/admin_members_list.php:18
1756
+ msgid "All"
1757
+ msgstr "Alla"
1758
+
1759
+ #: views/admin_members_list.php:22
1760
+ msgid "Incomplete"
1761
+ msgstr "Ofullständig"
1762
+
1763
+ #: views/admin_member_form_common_part.php:23
1764
+ msgid "Gender"
1765
+ msgstr "Kön"
1766
+
1767
+ #: views/admin_member_form_common_part.php:30 views/edit.php:38
1768
+ msgid "Phone"
1769
+ msgstr "Telefonnummer"
1770
+
1771
+ #: views/admin_member_form_common_part.php:34 views/edit.php:42
1772
+ msgid "Street"
1773
+ msgstr "Gata"
1774
+
1775
+ #: views/admin_member_form_common_part.php:38 views/edit.php:46
1776
+ msgid "City"
1777
+ msgstr "Stad"
1778
+
1779
+ #: views/admin_member_form_common_part.php:42 views/edit.php:50
1780
+ msgid "State"
1781
+ msgstr "Landskap"
1782
+
1783
+ #: views/admin_member_form_common_part.php:46 views/edit.php:54
1784
+ msgid "Zipcode"
1785
+ msgstr "Postnummer"
1786
+
1787
+ #: views/admin_member_form_common_part.php:50 views/edit.php:58
1788
+ msgid "Country"
1789
+ msgstr "Land"
1790
+
1791
+ #: views/admin_member_form_common_part.php:54
1792
+ msgid "Company"
1793
+ msgstr "Företag"
1794
+
1795
+ #: views/admin_member_form_common_part.php:58
1796
+ msgid "Member Since"
1797
+ msgstr "Medlem sedan"
1798
+
1799
+ #: views/admin_post_list.php:5
1800
+ msgid ""
1801
+ "First of all, globally protect posts and pages on your site by selecting "
1802
+ "\"General Protection\" from the drop-down box below and then select posts "
1803
+ "and pages that should be protected from non-logged in users."
1804
+ msgstr ""
1805
+ "Först och främst skydda globalt inlägg och sidor på din webbplats genom att "
1806
+ "välja \"Allmänt skydd\" i rullgardinsmenyn nedan och välj sedan inlägg och "
1807
+ "sidor som ska skyddas från användare som inte är inloggade."
1808
+
1809
+ #: views/admin_post_list.php:8
1810
+ msgid ""
1811
+ "Next, select an existing membership level from the drop-down box below and "
1812
+ "then select posts and pages you want to grant access to (for that particular "
1813
+ "membership level)."
1814
+ msgstr ""
1815
+ "Nästa steg: Välj en befintlig Medlemskapsnivå från nedrullningsbara rutan "
1816
+ "nedan och välj sedan de kategorier du vill bevilja åtkomst till (för den "
1817
+ "valda Medlemskapsnivån)."
1818
+
1819
+ #: views/admin_post_list.php:21
1820
+ msgid "Posts"
1821
+ msgstr "Inlägg"
1822
+
1823
+ #: views/admin_post_list.php:22
1824
+ msgid "Pages"
1825
+ msgstr "Sidor"
1826
+
1827
+ #: views/admin_post_list.php:23
1828
+ msgid "Custom Posts"
1829
+ msgstr "Anpassade inlägg"
1830
+
1831
+ #: views/admin_tools_settings.php:6
1832
+ msgid "Generate a Registration Completion link"
1833
+ msgstr "Skapa en länk för att komplettera registrering"
1834
+
1835
+ #: views/admin_tools_settings.php:9
1836
+ msgid ""
1837
+ "You can manually generate a registration completion link here and give it to "
1838
+ "your customer if they have missed the email that was automatically sent out "
1839
+ "to them after the payment."
1840
+ msgstr ""
1841
+ "Du kan manuellt skapa en länk för komplettera registrering här och ge den "
1842
+ "till din kund om de har missat det e-postmeddelande som automatiskt "
1843
+ "skickades ut till dem efter betalningen."
1844
+
1845
+ #: views/admin_tools_settings.php:14
1846
+ msgid "Generate Registration Completion Link"
1847
+ msgstr "Skapa fullbordad registreringslänk"
1848
+
1849
+ #: views/admin_tools_settings.php:15
1850
+ msgid "For a Particular Member ID"
1851
+ msgstr "För ett visst medlems-ID"
1852
+
1853
+ #: views/admin_tools_settings.php:17
1854
+ msgid "OR"
1855
+ msgstr "ELLER"
1856
+
1857
+ #: views/admin_tools_settings.php:18
1858
+ msgid "For All Incomplete Registrations"
1859
+ msgstr "För alla ofullständiga registreringar"
1860
+
1861
+ #: views/admin_tools_settings.php:23
1862
+ msgid "Send Registration Reminder Email Too"
1863
+ msgstr "Skicka registreringspåminnelse via e-post också"
1864
+
1865
+ #: views/admin_tools_settings.php:29
1866
+ msgid "Submit"
1867
+ msgstr "Skicka"
1868
+
1869
+ #: views/admin_tools_settings.php:38
1870
+ msgid ""
1871
+ "Link(s) generated successfully. The following link(s) can be used to "
1872
+ "complete the registration."
1873
+ msgstr ""
1874
+ "Länk(ar) genereras framgångsrikt. Följande länkar kan användas för att "
1875
+ "slutföra registreringen."
1876
+
1877
+ #: views/admin_tools_settings.php:40
1878
+ msgid "Registration completion links will appear below"
1879
+ msgstr "Fullbordad registreringslänk ses nedan"
1880
+
1881
+ #: views/admin_tools_settings.php:50
1882
+ msgid "A prompt to complete registration email was also sent."
1883
+ msgstr "En uppmaning att slutföra registreringsmeddelandet skickades också."
1884
+
1885
+ #: views/edit.php:23 views/edit.php:27
1886
+ msgid "Leave empty to keep the current password"
1887
+ msgstr "Lämna tomt för att behålla det aktuella lösenordet"
1888
+
1889
+ #: views/edit.php:62
1890
+ msgid "Company Name"
1891
+ msgstr "Företagsnamn"
1892
+
1893
+ #: views/forgot_password.php:12
1894
+ msgid "Reset Password"
1895
+ msgstr "Återställ lösenord"
1896
+
1897
+ #: views/loggedin.php:6
1898
+ msgid "Logged in as"
1899
+ msgstr "Inloggad som"
1900
+
1901
+ #: views/loggedin.php:14
1902
+ msgid "Membership"
1903
+ msgstr "Medlemskap"
1904
+
1905
+ #: views/loggedin.php:18
1906
+ msgid "Account Expiry"
1907
+ msgstr "Medlemskapet upphör"
1908
+
1909
+ #: views/loggedin.php:26
1910
+ msgid "Edit Profile"
1911
+ msgstr "Redigera profil"
1912
+
1913
+ #: views/loggedin.php:31
1914
+ msgid "Logout"
1915
+ msgstr "Logga ut"
1916
+
1917
+ #: views/login.php:11
1918
+ msgid "Username or Email"
1919
+ msgstr "Användarnamn eller e-post"
1920
+
1921
+ #: views/login.php:24
1922
+ msgid "Remember Me"
1923
+ msgstr "Kom ihåg mig"
1924
+
1925
+ #: views/login.php:33
1926
+ msgid "Forgot Password"
1927
+ msgstr "Glömt lösenordet"
1928
+
1929
+ #: views/payments/admin_all_payment_transactions.php:6
1930
+ msgid "All the payments/transactions of your members are recorded here."
1931
+ msgstr "Alla betalningar / transaktioner för dina medlemmar registreras här."
1932
+
1933
+ #: views/payments/admin_all_payment_transactions.php:12
1934
+ msgid "Search for a transaction by using email or name"
1935
+ msgstr "Sök efter en transaktion genom att använda e-post eller namn"
1936
+
1937
+ #: views/payments/admin_create_payment_buttons.php:16
1938
+ msgid ""
1939
+ "You can create new payment button for your memberships using this interface."
1940
+ msgstr ""
1941
+ "Du kan skapa nya betalningsknappar för dina nya medlemskap via detta "
1942
+ "gränssnitt."
1943
+
1944
+ #: views/payments/admin_create_payment_buttons.php:24
1945
+ msgid "Select Payment Button Type"
1946
+ msgstr "Betalningsknappstyp"
1947
+
1948
+ #: views/payments/admin_create_payment_buttons.php:27
1949
+ msgid "PayPal Buy Now"
1950
+ msgstr "PayPal Köp nu"
1951
+
1952
+ #: views/payments/admin_create_payment_buttons.php:29
1953
+ msgid "PayPal Subscription"
1954
+ msgstr "PayPal-prenumeration"
1955
+
1956
+ #: views/payments/admin_create_payment_buttons.php:31
1957
+ msgid "Stripe Buy Now"
1958
+ msgstr "Stripe Köp nu"
1959
+
1960
+ #: views/payments/admin_create_payment_buttons.php:33
1961
+ msgid "Stripe Subscription"
1962
+ msgstr "Stripe Prenumeration"
1963
+
1964
+ #: views/payments/admin_create_payment_buttons.php:35
1965
+ msgid "Braintree Buy Now"
1966
+ msgstr "Braintree Köp nu"
1967
+
1968
+ #: views/payments/admin_create_payment_buttons.php:42
1969
+ msgid "Next"
1970
+ msgstr "Nästa"
1971
+
1972
+ #: views/payments/admin_edit_payment_buttons.php:14
1973
+ msgid "You can edit a payment button using this interface."
1974
+ msgstr "Du kan redigera en betalningsknapp med det här gränssnittet."
1975
+
1976
+ #: views/payments/admin_payment_buttons.php:6
1977
+ msgid ""
1978
+ "All the membership buttons that you created in the plugin are displayed here."
1979
+ msgstr "Alla medlemsknapparna som du skapade i plugin visas här."
1980
+
1981
+ #: views/payments/admin_payment_settings.php:21
1982
+ msgid "Error! The membership level ID ("
1983
+ msgstr "Fel! Medlemsnivå ID ("
1984
+
1985
+ #: views/payments/admin_payment_settings.php:28
1986
+ msgid ""
1987
+ "You can create membership payment buttons from the payments menu of this "
1988
+ "plugin (useful if you want to offer paid membership on the site)."
1989
+ msgstr ""
1990
+ "Du kan skapa medlemskapsbetalningsknappar från betalningsmenyn i det här "
1991
+ "tillägget (användbart om du vill erbjuda betalt medlemskap på webbplatsen)."
1992
+
1993
+ #: views/payments/admin_payment_settings.php:33
1994
+ msgid "PayPal Integration Settings"
1995
+ msgstr "PayPal Integrationsinställningar"
1996
+
1997
+ #: views/payments/admin_payment_settings.php:36
1998
+ msgid "Generate the \"Advanced Variables\" Code for your PayPal button"
1999
+ msgstr "Generera \"Advanced Variables\" -koden för din PayPal-knapp"
2000
+
2001
+ #: views/payments/admin_payment_settings.php:39
2002
+ msgid "Enter the Membership Level ID"
2003
+ msgstr "Ange medlemsnivå ID"
2004
+
2005
+ #: views/payments/admin_payment_settings.php:41
2006
+ msgid "Generate Code"
2007
+ msgstr "Skapa kod"
2008
+
2009
+ #: views/payments/payment-gateway/admin_braintree_buy_now_button.php:22
2010
+ msgid "Braintree Buy Now Button Configuration"
2011
+ msgstr "Braintree Köp nu Knappkonfiguration"
2012
+
2013
+ #: views/payments/payment-gateway/admin_braintree_buy_now_button.php:34
2014
+ #: views/payments/payment-gateway/admin_paypal_buy_now_button.php:213
2015
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:301
2016
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:259
2017
+ #: views/payments/payment-gateway/admin_stripe_subscription_button.php:83
2018
+ msgid "Button ID"
2019
+ msgstr "Knapp-ID"
2020
+
2021
+ #: views/payments/payment-gateway/admin_braintree_buy_now_button.php:42
2022
+ #: views/payments/payment-gateway/admin_paypal_buy_now_button.php:26
2023
+ #: views/payments/payment-gateway/admin_paypal_buy_now_button.php:221
2024
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:27
2025
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:309
2026
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:39
2027
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:266
2028
+ #: views/payments/payment-gateway/admin_stripe_subscription_button.php:91
2029
+ msgid "Button Title"
2030
+ msgstr "Knapptitel"
2031
+
2032
+ #: views/payments/payment-gateway/admin_braintree_buy_now_button.php:60
2033
+ #: views/payments/payment-gateway/admin_paypal_buy_now_button.php:44
2034
+ #: views/payments/payment-gateway/admin_paypal_buy_now_button.php:239
2035
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:57
2036
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:282
2037
+ msgid "Payment Amount"
2038
+ msgstr "Betalningsbelopp"
2039
+
2040
+ #: views/payments/payment-gateway/admin_braintree_buy_now_button.php:68
2041
+ msgid ""
2042
+ "Braintree API key and account details. You can get this from your Braintree "
2043
+ "account."
2044
+ msgstr ""
2045
+ "Braintree API-nyckel och kontoinformation. Du kan hämta detta från ditt "
2046
+ "Braintree-konto."
2047
+
2048
+ #: views/payments/payment-gateway/admin_braintree_buy_now_button.php:72
2049
+ msgid "Merchant ID"
2050
+ msgstr "Marchant ID"
2051
+
2052
+ #: views/payments/payment-gateway/admin_braintree_buy_now_button.php:80
2053
+ msgid "Public Key"
2054
+ msgstr "Offentlig nyckel"
2055
+
2056
+ #: views/payments/payment-gateway/admin_braintree_buy_now_button.php:87
2057
+ msgid "Private Key"
2058
+ msgstr "Privat nyckel"
2059
+
2060
+ #: views/payments/payment-gateway/admin_braintree_buy_now_button.php:95
2061
+ msgid "Merchant Account ID"
2062
+ msgstr "Merchant Konto-ID"
2063
+
2064
+ #: views/payments/payment-gateway/admin_braintree_buy_now_button.php:113
2065
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:137
2066
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:361
2067
+ msgid "The following details are optional."
2068
+ msgstr "Följande uppgifter är frivilliga."
2069
+
2070
+ #: views/payments/payment-gateway/admin_braintree_buy_now_button.php:117
2071
+ #: views/payments/payment-gateway/admin_paypal_buy_now_button.php:92
2072
+ #: views/payments/payment-gateway/admin_paypal_buy_now_button.php:287
2073
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:172
2074
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:456
2075
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:149
2076
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:373
2077
+ #: views/payments/payment-gateway/admin_stripe_subscription_button.php:191
2078
+ msgid "Return URL"
2079
+ msgstr "Återgå URL"
2080
+
2081
+ #: views/payments/payment-gateway/admin_braintree_buy_now_button.php:127
2082
+ #: views/payments/payment-gateway/admin_paypal_buy_now_button.php:126
2083
+ #: views/payments/payment-gateway/admin_paypal_buy_now_button.php:321
2084
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:200
2085
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:484
2086
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:159
2087
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:383
2088
+ #: views/payments/payment-gateway/admin_stripe_subscription_button.php:212
2089
+ msgid "Save Payment Data"
2090
+ msgstr "Spara betalningsdata"
2091
+
2092
+ #: views/payments/payment-gateway/admin_paypal_buy_now_button.php:16
2093
+ #: views/payments/payment-gateway/admin_paypal_buy_now_button.php:204
2094
+ msgid "PayPal Buy Now Button Configuration"
2095
+ msgstr "Konfigurera Paypal \"KÖP NU \" knapp"
2096
+
2097
+ #: views/payments/payment-gateway/admin_paypal_buy_now_button.php:52
2098
+ #: views/payments/payment-gateway/admin_paypal_buy_now_button.php:247
2099
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:45
2100
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:327
2101
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:65
2102
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:289
2103
+ msgid "Payment Currency"
2104
+ msgstr "Betalningsvaluta"
2105
+
2106
+ #: views/payments/payment-gateway/admin_paypal_buy_now_button.php:100
2107
+ #: views/payments/payment-gateway/admin_paypal_buy_now_button.php:295
2108
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:85
2109
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:367
2110
+ msgid "PayPal Email"
2111
+ msgstr "PayPal e-post"
2112
+
2113
+ #: views/payments/payment-gateway/admin_paypal_buy_now_button.php:108
2114
+ #: views/payments/payment-gateway/admin_paypal_buy_now_button.php:303
2115
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:180
2116
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:464
2117
+ #: views/payments/payment-gateway/admin_stripe_subscription_button.php:199
2118
+ msgid "Button Image URL"
2119
+ msgstr "URL knappbild"
2120
+
2121
+ #: views/payments/payment-gateway/admin_paypal_buy_now_button.php:116
2122
+ #: views/payments/payment-gateway/admin_paypal_buy_now_button.php:311
2123
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:188
2124
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:472
2125
+ msgid "Custom Checkout Page Logo Image"
2126
+ msgstr "Anpassad Checkout-sidlogga"
2127
+
2128
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:18
2129
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:295
2130
+ msgid "PayPal Subscription Button Configuration"
2131
+ msgstr "PayPal-prenumerationsknappskonfiguration"
2132
+
2133
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:93
2134
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:375
2135
+ msgid "Billing Amount Each Cycle"
2136
+ msgstr "Att betala varje period"
2137
+
2138
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:101
2139
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:383
2140
+ msgid "Billing Cycle"
2141
+ msgstr "Återkommande betalning"
2142
+
2143
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:114
2144
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:396
2145
+ msgid "Billing Cycle Count"
2146
+ msgstr "Faktureringaperiodsräkning"
2147
+
2148
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:122
2149
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:404
2150
+ msgid "Re-attempt on Failure"
2151
+ msgstr "Försök igen om misslyckad"
2152
+
2153
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:135
2154
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:419
2155
+ msgid ""
2156
+ "Trial Billing Details (Leave empty if you are not offering a trial period)"
2157
+ msgstr "Prova-på-information(Lämna tomt om du inte erbjuder en provperiod)"
2158
+
2159
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:141
2160
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:425
2161
+ msgid "Trial Billing Amount"
2162
+ msgstr "Prova-på-belopp"
2163
+
2164
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:149
2165
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:433
2166
+ msgid "Trial Billing Period"
2167
+ msgstr "Prova-på-period"
2168
+
2169
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:166
2170
+ #: views/payments/payment-gateway/admin_paypal_subscription_button.php:450
2171
+ #: views/payments/payment-gateway/admin_stripe_subscription_button.php:177
2172
+ msgid "Optional Details"
2173
+ msgstr "Valfria detaljer"
2174
+
2175
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:29
2176
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:250
2177
+ msgid "Stripe Buy Now Button Configuration"
2178
+ msgstr "Stripe \"Köp nu\" Knappkonfiguration"
2179
+
2180
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:104
2181
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:328
2182
+ msgid "Stripe API keys. You can get this from your Stripe account."
2183
+ msgstr "Stripe API-nycklar. Du kan hämta detta från ditt Stripe-konto."
2184
+
2185
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:108
2186
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:332
2187
+ #: views/payments/payment-gateway/admin_stripe_subscription_button.php:139
2188
+ msgid "Test Secret Key"
2189
+ msgstr "Hemlig test-nyckel"
2190
+
2191
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:115
2192
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:339
2193
+ #: views/payments/payment-gateway/admin_stripe_subscription_button.php:131
2194
+ msgid "Test Publishable Key"
2195
+ msgstr "Publik test-nyckel"
2196
+
2197
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:122
2198
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:346
2199
+ #: views/payments/payment-gateway/admin_stripe_subscription_button.php:155
2200
+ msgid "Live Secret Key"
2201
+ msgstr "Hemlig live-nyckel"
2202
+
2203
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:129
2204
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:353
2205
+ #: views/payments/payment-gateway/admin_stripe_subscription_button.php:147
2206
+ msgid "Live Publishable Key"
2207
+ msgstr "Publik live-nyckel"
2208
+
2209
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:141
2210
+ #: views/payments/payment-gateway/admin_stripe_buy_now_button.php:365
2211
+ #: views/payments/payment-gateway/admin_stripe_subscription_button.php:183
2212
+ msgid "Collect Customer Address"
2213
+ msgstr "Samla kundadress"
2214
+
2215
+ #: views/payments/payment-gateway/admin_stripe_subscription_button.php:75
2216
+ msgid "Stripe Subscription Button Configuration"
2217
+ msgstr "Stripe Prenumerationsknapp Konfiguration"
2218
+
2219
+ #: views/payments/payment-gateway/admin_stripe_subscription_button.php:109
2220
+ msgid "Stripe Plan ID"
2221
+ msgstr "Stripe Plan ID"
2222
+
2223
+ #: views/payments/payment-gateway/admin_stripe_subscription_button.php:125
2224
+ msgid "Stripe API Settings"
2225
+ msgstr "Stripe API-inställningar"
2226
+
2227
+ #: views/payments/payment-gateway/admin_stripe_subscription_button.php:163
2228
+ msgid "Webook Endpoint URL"
2229
+ msgstr "Webook Endpoint URL"
2230
+
2231
+ #: views/payments/payment-gateway/braintree_button_shortcode_view.php:20
2232
+ #: views/payments/payment-gateway/paypal_button_shortcode_view.php:91
2233
+ #: views/payments/payment-gateway/paypal_button_shortcode_view.php:93
2234
+ #: views/payments/payment-gateway/stripe_button_shortcode_view.php:20
2235
+ #: views/payments/payment-gateway/stripe_button_shortcode_view.php:149
2236
+ msgid "Buy Now"
2237
+ msgstr "Köp nu"
2238
+
2239
+ #: views/payments/payment-gateway/paypal_button_shortcode_view.php:226
2240
+ #: views/payments/payment-gateway/paypal_button_shortcode_view.php:228
2241
+ msgid "Subscribe Now"
2242
+ msgstr "Prenumerera nu"
2243
+
2244
+ #: Translation strings from addons === Form builder addon
2245
+ msgid "Type password Here"
2246
+ msgstr "Skriv ditt lösenord här"
2247
+
2248
+ msgid "Retype password Here"
2249
+ msgstr "Skriv ditt lösenord igen"
2250
+
2251
+ msgid "Registration is complete. You can now log into the site."
2252
+ msgstr "Registreringen är klar. Du kan nu logga in på webbplatsen."
2253
+
2254
+ msgid " Field has invalid character"
2255
+ msgstr " Fältet har ogiltiga tecken"
2256
+
2257
+ msgid " Password does not match"
2258
+ msgstr " Lösenordet matchar inte"
2259
+
2260
+ msgid "Already taken."
2261
+ msgstr "Redan upptaget."
2262
+
2263
+ msgid "Street Address"
2264
+ msgstr "Adress"
2265
+
2266
+ msgid "Apt, Suite, Bldg. (optional)"
2267
+ msgstr "Lägenhet. (frivillig)"
2268
+
2269
+ msgid "State / Province / Region"
2270
+ msgstr "Län/Kommun"
2271
+
2272
+ msgid "Postal / Zip Code"
2273
+ msgstr "Postnummer"
2274
+
2275
+ msgid ""
2276
+ "Check this box to delete the image. The image will be deleted when you save "
2277
+ "the profile."
2278
+ msgstr ""
2279
+ "Markera den här rutan om du vill radera bilden. Bilden raderas när du sparar "
2280
+ "profilen."
2281
+
2282
+ msgid "You will need to re-login since you changed your password."
2283
+ msgstr "Du måste logga in sedan du ändrade ditt lösenord."
2284
+
2285
+ #: === Partial protection addon strings
2286
+ msgid "You do not have permission to view this content."
2287
+ msgstr "Du har inte behörighet att se denna fliken."
2288
+
2289
+ msgid "Your membership level does not have permission to view this content."
2290
+ msgstr "Din medlemsnivå har inte behörighet att visa detta innehåll."
2291
+
2292
+ msgid "This content is for members only."
2293
+ msgstr "Detta innehåll är endast för medlemmar."
languages/simple-membership.pot CHANGED
@@ -2128,3 +2128,76 @@ msgstr ""
2128
 
2129
  msgid "This content is for members only."
2130
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2128
 
2129
  msgid "This content is for members only."
2130
  msgstr ""
2131
+
2132
+ #: === Member Directory Listing addon strings ===
2133
+ #: swpm-member-directory-admin.php:9
2134
+ msgid "Member Directory"
2135
+ msgstr ""
2136
+
2137
+ #: includes/swpm_mda_show_profile.php:26
2138
+ msgid "Member ID"
2139
+ msgstr ""
2140
+
2141
+ #: includes/swpm_mda_show_profile.php:27
2142
+ msgid "Username"
2143
+ msgstr ""
2144
+
2145
+ #: includes/swpm_mda_show_profile.php:28
2146
+ msgid "First Name"
2147
+ msgstr ""
2148
+
2149
+ #: includes/swpm_mda_show_profile.php:29
2150
+ msgid "Last Name"
2151
+ msgstr ""
2152
+
2153
+ #: includes/swpm_mda_show_profile.php:30
2154
+ msgid "Level"
2155
+ msgstr ""
2156
+
2157
+ #: includes/swpm_mda_show_profile.php:31
2158
+ msgid "Account State"
2159
+ msgstr ""
2160
+
2161
+ #: includes/swpm_mda_show_profile.php:32
2162
+ msgid "Address"
2163
+ msgstr ""
2164
+
2165
+ #: includes/swpm_mda_show_profile.php:33
2166
+ msgid "Country"
2167
+ msgstr ""
2168
+
2169
+ #: includes/swpm_mda_show_profile.php:34
2170
+ msgid "Phone"
2171
+ msgstr ""
2172
+
2173
+ #: includes/swpm_mda_show_profile.php:35
2174
+ msgid "Email"
2175
+ msgstr ""
2176
+
2177
+ #: includes/swpm_mda_show_profile.php:36
2178
+ msgid "Member Since"
2179
+ msgstr ""
2180
+
2181
+ #: includes/swpm_mda_show_profile.php:37
2182
+ msgid "Gender"
2183
+ msgstr ""
2184
+
2185
+ #: includes/swpm_mda_show_profile.php:38
2186
+ msgid "Company"
2187
+ msgstr ""
2188
+
2189
+ #: views/template-1.php:52 views/template-2.php:53
2190
+ msgid "Search..."
2191
+ msgstr ""
2192
+
2193
+ #: views/template-1.php:53 views/template-2.php:54
2194
+ msgid "Search"
2195
+ msgstr ""
2196
+
2197
+ #: views/template-1.php:60 views/template-2.php:62
2198
+ msgid "Clear Search"
2199
+ msgstr ""
2200
+
2201
+ #: views/template-1.php:95 views/template-2.php:97
2202
+ msgid "View Profile"
2203
+ msgstr ""
lib/stripe-util-functions.php CHANGED
@@ -20,7 +20,7 @@ class StripeUtilFunctions{
20
  $stripe_err = $e->getMessage();
21
  }
22
  if (empty($stripe_err)) {
23
- //we proceed with getting plan details only if no errors occured
24
  $plan_data['name'] = $plan->name;
25
  $plan_data['amount'] = $plan->amount;
26
  $plan_data['currency'] = $plan->currency;
20
  $stripe_err = $e->getMessage();
21
  }
22
  if (empty($stripe_err)) {
23
+ //we proceed with getting plan details only if no errors occurred
24
  $plan_data['name'] = $plan->name;
25
  $plan_data['amount'] = $plan->amount;
26
  $plan_data['currency'] = $plan->currency;
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://simple-membership-plugin.com/
4
  Tags: member, members, members only, membership, memberships, register, WordPress membership plugin, content, content protection, paypal, restrict, restrict access, Restrict content, admin, access control, subscription, teaser, protection, profile, login, login page, bbpress, stripe, braintree
5
  Requires at least: 4.0
6
  Tested up to: 4.9
7
- Stable tag: 3.6.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -25,15 +25,21 @@ When you are editing a post or page in the WordPress editor, you can select to p
25
  Non-members viewing a protected page will be prompted to login or become a member.
26
 
27
  = Have Free and Paid Memberships =
28
- You can configure it to have free and/or paid memberships on your site. Paid membership payment is handled securely via PayPal.
29
 
30
- Both one time and recurring/subscription payments are supported.
31
 
32
- You can also accept one time membership payment via Stripe or Braintree payment gateway.
33
 
34
  = Membership Payments Log =
35
  All the payments from your members are recorded in the plugin. You can view them anytime by visiting the payments menu from the admin dashboard.
36
 
 
 
 
 
 
 
37
  = Member Login Widget on The Sidebar =
38
  You can easily add a member login widget on the sidebar of your site. Simply use the login form shortcode in the sidebar widget.
39
 
@@ -81,6 +87,8 @@ You can create a free forum user account and ask your questions.
81
  * Option to configure after login redirection for members.
82
  * Option to configure after registration redirect for members.
83
  * Option force the members to use strong password.
 
 
84
 
85
  = Language Translations =
86
 
@@ -141,6 +149,26 @@ https://simple-membership-plugin.com/
141
 
142
  == Changelog ==
143
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
144
  = 3.6.2 =
145
  - Added a new feature to enforce strong password on the password field. When this option is enabled in the advanced settings, the members will be required to use a strong password.
146
 
4
  Tags: member, members, members only, membership, memberships, register, WordPress membership plugin, content, content protection, paypal, restrict, restrict access, Restrict content, admin, access control, subscription, teaser, protection, profile, login, login page, bbpress, stripe, braintree
5
  Requires at least: 4.0
6
  Tested up to: 4.9
7
+ Stable tag: 3.6.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
25
  Non-members viewing a protected page will be prompted to login or become a member.
26
 
27
  = Have Free and Paid Memberships =
28
+ You can configure it to have free and/or paid memberships on your site. Paid membership payment is handled securely via PayPal. Membership payment can also be accepted using Stripe or Braintree payment gateways.
29
 
30
+ Both one time and recurring/subscription payments are supported for PayPal and Stripe.
31
 
32
+ You can accept one time membership payment via Braintree payment gateway.
33
 
34
  = Membership Payments Log =
35
  All the payments from your members are recorded in the plugin. You can view them anytime by visiting the payments menu from the admin dashboard.
36
 
37
+ = Developer API =
38
+
39
+ There are lots of action and filter hooks that a developer can use to customize the plugin.
40
+
41
+ There is also an API that can be used to query, create, update member accounts.
42
+
43
  = Member Login Widget on The Sidebar =
44
  You can easily add a member login widget on the sidebar of your site. Simply use the login form shortcode in the sidebar widget.
45
 
87
  * Option to configure after login redirection for members.
88
  * Option to configure after registration redirect for members.
89
  * Option force the members to use strong password.
90
+ * Option to make the users agree to your terms and conditions before they can register for a member account.
91
+ * Option to make the users agree to your privacy policy before they can register for a member account.
92
 
93
  = Language Translations =
94
 
149
 
150
  == Changelog ==
151
 
152
+ = 3.6.6 =
153
+ - Added a new feature to show a terms and conditon checkbox. Users must agree to your terms before they can register for an account. Useful for GDPR.
154
+ - Added a new feature to show a privacy policy checkbox. Users must agree to your privacy policy before they can register for an account. Useful for GDPR.
155
+ - Last login date of the members are now shown in the members listing page in the admin dashboard.
156
+ - Added a feature in the tools menu of the plugin to re-create the required pages of the membership plugin.
157
+ - Fixed a typo in the country name "Colombia".
158
+
159
+ = 3.6.5 =
160
+ - Updated the Swedish translation file. Thanks to Andreas Damberg for submitting the translation file.
161
+ - Developer API to query, update, create member accounts.
162
+ - Added a new feature in the advanced settings to allow automatic member creation for WP users that get created by other plugins.
163
+ - Added a couple of utility functions in the membership level class.
164
+
165
+ = 3.6.4 =
166
+ - Added a new shortcode to show a mini login form. This can be useful to show a mini login form on the sidebar, header or footer area of the site.
167
+ - Fixed an issue with the auto login after registration feature when used with form builder addon.
168
+
169
+ = 3.6.3 =
170
+ - Added a new feature to enable auto login after registration for the members.
171
+
172
  = 3.6.2 =
173
  - Added a new feature to enforce strong password on the password field. When this option is enabled in the advanced settings, the members will be required to use a strong password.
174
 
simple-wp-membership.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Simple WordPress Membership
4
- Version: 3.6.2
5
  Plugin URI: https://simple-membership-plugin.com/
6
  Author: smp7, wp.insider
7
  Author URI: https://simple-membership-plugin.com/
@@ -19,7 +19,7 @@ include_once('classes/class.simple-wp-membership.php');
19
  include_once('classes/class.swpm-cronjob.php');
20
  include_once('swpm-compat.php');
21
 
22
- define('SIMPLE_WP_MEMBERSHIP_VER', '3.6.2');
23
  define('SIMPLE_WP_MEMBERSHIP_DB_VER', '1.2');
24
  define('SIMPLE_WP_MEMBERSHIP_SITE_HOME_URL', home_url());
25
  define('SIMPLE_WP_MEMBERSHIP_PATH', dirname(__FILE__) . '/');
1
  <?php
2
  /*
3
  Plugin Name: Simple WordPress Membership
4
+ Version: 3.6.6
5
  Plugin URI: https://simple-membership-plugin.com/
6
  Author: smp7, wp.insider
7
  Author URI: https://simple-membership-plugin.com/
19
  include_once('classes/class.swpm-cronjob.php');
20
  include_once('swpm-compat.php');
21
 
22
+ define('SIMPLE_WP_MEMBERSHIP_VER', '3.6.6');
23
  define('SIMPLE_WP_MEMBERSHIP_DB_VER', '1.2');
24
  define('SIMPLE_WP_MEMBERSHIP_SITE_HOME_URL', home_url());
25
  define('SIMPLE_WP_MEMBERSHIP_PATH', dirname(__FILE__) . '/');
views/add.php CHANGED
@@ -1,10 +1,11 @@
1
- <?php SimpleWpMembership::enqueue_validation_scripts(array('ajaxEmailCall' => array('extraData' => '&action=swpm_validate_email&member_id=' . filter_input(INPUT_GET, 'member_id'))));
2
- $settings=SwpmSettings::get_instance();
3
- $force_strong_pass=$settings->get_value('force-strong-passwords');
 
4
  if (!empty($force_strong_pass)) {
5
- $pass_class="validate[required,custom[strongPass],minSize[8]]";
6
  } else {
7
- $pass_class="";
8
  }
9
  ?>
10
  <div class="swpm-registration-widget-form">
@@ -21,7 +22,7 @@ if (!empty($force_strong_pass)) {
21
  </tr>
22
  <tr class="swpm-registration-password-row">
23
  <td><label for="password"><?php echo SwpmUtils::_('Password') ?></label></td>
24
- <td><input type="password" autocomplete="off" id="password" class="<?php echo $pass_class;?>" value="" size="50" name="password" /></td>
25
  </tr>
26
  <tr class="swpm-registration-password-retype-row">
27
  <td><label for="password_re"><?php echo SwpmUtils::_('Repeat Password') ?></label></td>
@@ -52,8 +53,34 @@ if (!empty($force_strong_pass)) {
52
  echo '<input type="hidden" name="swpm_level_hash" value="' . $swpm_level_hash . '" />';
53
  ?>
54
  </td>
55
- </tr>
56
- </table>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
 
58
  <div class="swpm-before-registration-submit-section" align="center"><?php echo apply_filters('swpm_before_registration_submit_button', ''); ?></div>
59
 
1
+ <?php
2
+ SimpleWpMembership::enqueue_validation_scripts(array('ajaxEmailCall' => array('extraData' => '&action=swpm_validate_email&member_id=' . filter_input(INPUT_GET, 'member_id'))));
3
+ $settings = SwpmSettings::get_instance();
4
+ $force_strong_pass = $settings->get_value('force-strong-passwords');
5
  if (!empty($force_strong_pass)) {
6
+ $pass_class = "validate[required,custom[strongPass],minSize[8]]";
7
  } else {
8
+ $pass_class = "";
9
  }
10
  ?>
11
  <div class="swpm-registration-widget-form">
22
  </tr>
23
  <tr class="swpm-registration-password-row">
24
  <td><label for="password"><?php echo SwpmUtils::_('Password') ?></label></td>
25
+ <td><input type="password" autocomplete="off" id="password" class="<?php echo $pass_class; ?>" value="" size="50" name="password" /></td>
26
  </tr>
27
  <tr class="swpm-registration-password-retype-row">
28
  <td><label for="password_re"><?php echo SwpmUtils::_('Repeat Password') ?></label></td>
53
  echo '<input type="hidden" name="swpm_level_hash" value="' . $swpm_level_hash . '" />';
54
  ?>
55
  </td>
56
+ </tr>
57
+ <?php
58
+ //check if we need to display Terms and Conditions checkbox
59
+ $terms_enabled = $settings->get_value('enable-terms-and-conditions');
60
+ if (!empty($terms_enabled)) {
61
+ $terms_page_url = $settings->get_value('terms-and-conditions-page-url');
62
+ ?>
63
+ <tr>
64
+ <td colspan="2" style="text-align: center;">
65
+ <label><input type="checkbox" id="accept_terms" name="accept_terms" class="validate[required]" value="1"> <?php echo SwpmUtils::_('I accept the ') ?> <a href="<?php echo $terms_page_url; ?>" target="_blank"><?php echo SwpmUtils::_('Terms and Conditions') ?></a></label>
66
+ </td>
67
+ </tr>
68
+ <?php
69
+ }
70
+ //check if we need to display Privacy Policy checkbox
71
+ $pp_enabled = $settings->get_value('enable-privacy-policy');
72
+ if (!empty($pp_enabled)) {
73
+ $pp_page_url = $settings->get_value('privacy-policy-page-url');
74
+ ?>
75
+ <tr>
76
+ <td colspan="2" style="text-align: center;">
77
+ <label><input type="checkbox" id="accept_pt" name="accept_pp" class="validate[required]" value="1"> <?php echo SwpmUtils::_('I agree to the ') ?> <a href="<?php echo $pp_page_url; ?>" target="_blank"><?php echo SwpmUtils::_('Privacy Policy') ?></a></label>
78
+ </td>
79
+ </tr>
80
+ <?php
81
+ }
82
+ ?>
83
+ </table>
84
 
85
  <div class="swpm-before-registration-submit-section" align="center"><?php echo apply_filters('swpm_before_registration_submit_button', ''); ?></div>
86
 
views/admin_edit.php CHANGED
@@ -45,21 +45,29 @@
45
  <td><input class="regular-text" name="password" type="password" id="pass1" autocomplete="off" /><br />
46
  <input class="regular-text" name="password_re" type="password" id="pass2" autocomplete="off" />
47
  <br />
48
- <div id="pass-strength-result"><?php echo SwpmUtils::_('Strength indicator'); ?></div>
49
- <p class="description indicator-hint"><?php echo SwpmUtils::_('Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ &amp; ).'); ?></p>
50
  </td>
51
  </tr>
52
  <tr>
53
  <th scope="row"><label for="account_state"><?php echo SwpmUtils::_('Account Status'); ?></label></th>
54
- <td><select class="regular-text" name="account_state" id="account_state">
 
55
  <?php echo SwpmUtils::account_state_dropdown($account_state);?>
56
- </select>
 
 
 
 
 
57
  </td>
58
  </tr>
59
  <tr>
60
  <th scope="row"><label for="account_state_change"><?php echo SwpmUtils::_('Notify User'); ?></label></th>
61
  <td><input type="checkbox" id="account_status_change" name="account_status_change" />
62
- <p class="description indicator-hint">You can use this option to send a quick notification email to this member (the email will be sent when you hit the save button below).</p>
 
 
63
  </td>
64
  </tr>
65
  <?php include('admin_member_form_common_part.php');?>
45
  <td><input class="regular-text" name="password" type="password" id="pass1" autocomplete="off" /><br />
46
  <input class="regular-text" name="password_re" type="password" id="pass2" autocomplete="off" />
47
  <br />
48
+ <div id="pass-strength-result"><?php echo SwpmUtils::_('Strength indicator'); ?></div>
49
+ <p class="description indicator-hint"><?php echo SwpmUtils::_('Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ &amp; ).'); ?></p>
50
  </td>
51
  </tr>
52
  <tr>
53
  <th scope="row"><label for="account_state"><?php echo SwpmUtils::_('Account Status'); ?></label></th>
54
+ <td>
55
+ <select class="regular-text" name="account_state" id="account_state">
56
  <?php echo SwpmUtils::account_state_dropdown($account_state);?>
57
+ </select>
58
+ <p class="description">
59
+ <?php echo SwpmUtils::_("This is the member's account status. If you want to manually activate an expired member's account then read"); ?>
60
+ <a href="https://simple-membership-plugin.com/manually-activating-expired-members-account/" target="_blank"><?php echo SwpmUtils::_("this documentation"); ?></a>
61
+ <?php echo SwpmUtils::_(" to learn how to do it."); ?>
62
+ </p>
63
  </td>
64
  </tr>
65
  <tr>
66
  <th scope="row"><label for="account_state_change"><?php echo SwpmUtils::_('Notify User'); ?></label></th>
67
  <td><input type="checkbox" id="account_status_change" name="account_status_change" />
68
+ <p class="description indicator-hint">
69
+ <?php echo SwpmUtils::_("You can use this option to send a quick notification email to this member (the email will be sent when you hit the save button below)."); ?>
70
+ </p>
71
  </td>
72
  </tr>
73
  <?php include('admin_member_form_common_part.php');?>
views/admin_tools_settings.php CHANGED
@@ -1,4 +1,19 @@
 
 
 
 
 
 
 
 
 
1
 
 
 
 
 
 
 
2
  <div id="poststuff">
3
  <div id="post-body">
4
 
@@ -56,8 +71,29 @@
56
  </table>
57
  </form>
58
 
59
- </div></div>
 
60
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  </div><!-- end of post-body -->
62
  </div><!-- end of poststuff -->
63
 
1
+ <?php
2
+ $links = array();
3
+ if(isset($_REQUEST['swpm_link_for'])){
4
+ //Rego complete link feature
5
+ $link_for = filter_input(INPUT_POST, 'swpm_link_for', FILTER_SANITIZE_STRING);
6
+ $member_id = filter_input(INPUT_POST, 'member_id', FILTER_SANITIZE_NUMBER_INT);
7
+ $send_email = isset($_REQUEST['swpm_reminder_email']) ? true : false;
8
+ $links = SwpmUtils::get_registration_complete_prompt_link($link_for, $send_email, $member_id);
9
+ }
10
 
11
+ if(isset($_REQUEST['recreate-required-pages-submit'])){
12
+ //Lets recreate the required pages
13
+ SwpmMiscUtils::create_mandatory_wp_pages();
14
+ echo '<div class="swpm-green-box">' . SwpmUtils::_('The required pages have been re-created.') . '</div>';
15
+ }
16
+ ?>
17
  <div id="poststuff">
18
  <div id="post-body">
19
 
71
  </table>
72
  </form>
73
 
74
+ </div>
75
+ </div>
76
 
77
+ <div class="postbox">
78
+ <h3 class="hndle"><label for="title"><?php echo SwpmUtils::_('Re-create the Required Pages') ?></label></h3>
79
+ <div class="inside">
80
+
81
+ <p><strong><?php echo SwpmUtils::_('If you have accidentally deleted the required pages that this plugin creates at install time, you can use this option to re-create them.') ?></strong></p>
82
+ <p><a href="https://simple-membership-plugin.com/recreating-required-pages-simple-membership-plugin/" target="_blank"><?php echo SwpmUtils::_('This documentation'); ?></a><?php echo SwpmUtils::_(' has full explanation.'); ?></p>
83
+ <form action="" method="post" onsubmit="return confirm('Do you really want to re-create the pages?');">
84
+ <table>
85
+ <tr>
86
+ <td>
87
+ <div class="swpm-margin-top-10"></div>
88
+ <input type="submit" name="recreate-required-pages-submit" class="button-primary" value="<?php echo SwpmUtils::_('Re-create the Required Pages') ?>" />
89
+ </td>
90
+ </tr>
91
+ </table>
92
+ </form>
93
+
94
+ </div>
95
+ </div>
96
+
97
  </div><!-- end of post-body -->
98
  </div><!-- end of poststuff -->
99
 
views/payments/payment-gateway/stripe_button_shortcode_view.php CHANGED
@@ -17,7 +17,7 @@ function swpm_render_stripe_buy_now_button_sc_output($button_code, $args) {
17
 
18
  //Check new_window parameter
19
  $window_target = isset($args['new_window']) ? 'target="_blank"' : '';
20
- $button_text = (isset($args['button_text'])) ? $args['button_text'] : SwpmUtils::_('Buy Now');
21
 
22
  $item_logo = ''; //Can be used to show an item logo or thumbnail in the checkout form.
23
 
@@ -146,7 +146,7 @@ function swpm_render_stripe_subscription_button_sc_output($button_code, $args) {
146
 
147
  //Check new_window parameter
148
  $window_target = isset($args['new_window']) ? 'target="_blank"' : '';
149
- $button_text = (isset($args['button_text'])) ? $args['button_text'] : SwpmUtils::_('Buy Now');
150
  $item_logo = ''; //Can be used to show an item logo or thumbnail in the checkout form.
151
 
152
  $settings = SwpmSettings::get_instance();
@@ -209,8 +209,8 @@ function swpm_render_stripe_subscription_button_sc_output($button_code, $args) {
209
  require_once(SIMPLE_WP_MEMBERSHIP_PATH . 'lib/stripe-util-functions.php');
210
  $result = StripeUtilFunctions::get_stripe_plan_info($secret_key, $plan_id);
211
  if ($result['success'] === false) {
212
- // some error occured, let's display it and stop processing the shortcode further
213
- return '<p class="swpm-red-box">Stripe error occured: ' . $result['error_msg'] . '</p>';
214
  } else {
215
  // plan data has been successfully retreived
216
  $plan_data = $result['plan_data'];
17
 
18
  //Check new_window parameter
19
  $window_target = isset($args['new_window']) ? 'target="_blank"' : '';
20
+ $button_text = (isset($args['button_text'])) ? esc_attr($args['button_text']) : SwpmUtils::_('Buy Now');
21
 
22
  $item_logo = ''; //Can be used to show an item logo or thumbnail in the checkout form.
23
 
146
 
147
  //Check new_window parameter
148
  $window_target = isset($args['new_window']) ? 'target="_blank"' : '';
149
+ $button_text = (isset($args['button_text'])) ? esc_attr($args['button_text']) : SwpmUtils::_('Buy Now');
150
  $item_logo = ''; //Can be used to show an item logo or thumbnail in the checkout form.
151
 
152
  $settings = SwpmSettings::get_instance();
209
  require_once(SIMPLE_WP_MEMBERSHIP_PATH . 'lib/stripe-util-functions.php');
210
  $result = StripeUtilFunctions::get_stripe_plan_info($secret_key, $plan_id);
211
  if ($result['success'] === false) {
212
+ // some error occurred, let's display it and stop processing the shortcode further
213
+ return '<p class="swpm-red-box">Stripe error occurred: ' . $result['error_msg'] . '</p>';
214
  } else {
215
  // plan data has been successfully retreived
216
  $plan_data = $result['plan_data'];