=== Laposta Signup Basic === Contributors: roelbousardt, stijnvanderree Tags: laposta, nieuwsbrieven, aanmelden, formulier, AVG, newsletters, subscribe, form Requires at least: 4.7 Tested up to: 6.4 Requires PHP: 7.1 Stable tag: 2.2.0 License: BSD 2-Clause License Laposta is a Dutch email marketing solution. This plugin can be used to load any of your Laposta lists and render its fields in a HTML form that can be fully customized using CSS. You can choose between Bootstrap, our default, or a fully custom implementation. == Installation == Unzip the file in the plugins directory, and activate the plugin in the Plugins screen. Then go to the Settings to setup the connection to Laposta and customize the form rendering. Finally, to render a form, simply use the shortcode as shown in the Settings. == Screenshots == 1. HTML form 2. HTML5 validation of fields 3. Datepicker for date fields 4. Settings: loading of lists with shortcode 5. Settings: What CSS to use? Option to set elements manually. 6. Settings: add inline CSS and misc settings == Frequently Asked Questions == = The changes I made to my lists are not being shown on my website. What should I do? = Please login to your admin dashboard and go to "Settings" -> "Laposta Signup Basic" and click on the button with the text "Reset Cache" = Ik heb mijn lijst aangepast, maar ik zie de veranderingen niet op mijn website. Wat kan ik doen? = Login op uw admin dashboard en ga naar "Instellingen" -> "Laposta Signup Basic" en klik op de knop met de tekst "Reset Cache" = What are the available Wordpress filters? = * Settings page capability - 'laposta_signup_basic_settings_page_capability': Modifies the required capability for editing the plugin settings. The first and only argument is the capability. * Field label - 'laposta_signup_basic_filter_field_label': Modifies the field label. The first argument is the field label, the second is the list ID, and the third is an array of the field. * Required indicator - 'laposta_signup_basic_filter_required_indicator': Modifies the required indicator at the end of the field label. The first argument is the indicator and the second is the list ID. * Field placeholder - 'laposta_signup_basic_filter_field_placeholder': Modifies the field placeholder. The first argument is the field placeholder, the second is the list ID, and the third is an array of the field. * Field default select option text - 'laposta_signup_basic_filter_default_select_option_text': Modifies the text of the default select option. The first argument is the default text, the second is the list ID, and the third is an array of the field. * Submit Button Text Filter - 'laposta_signup_basic_filter_submit_button_text': Modifies the submit button text. The first argument is the button text, the second is the list ID, and the third is an array of arguments provided in the shortcode. * Success Title Filter - 'laposta_signup_basic_filter_success_title': Alters the success title text. The first argument is the success title, the second is the list ID, and the third is an array containing the submitted fields. * Success Text Filter - 'laposta_signup_basic_filter_success_text': Changes the success message text. The first argument is the success text, the second is the list ID, and the third is an array containing the submitted fields. == Upgrade Notice == = 2.2.0 = * Please note, version 2.0.1 was a major update and may not be 100% backwards compatible with the versions before it, see the changelog. In this version we've added more filters. See FAQ for the details. == Changelog == = 2.2.0 = * Please note, version 2.0.1 was a major update and may not be 100% backwards compatible with the versions before it, see the changelog. In this version we've added more filters. See FAQ for the details. = 2.1.0 = * Please note, version 2.0.1 was a major update and may not be 100% backwards compatible with the versions before it, see the changelog. In this version we've added filters for submit button text, success title and success text. See FAQ for details. = 2.0.1 = Please note, this is a major update and may not be 100% backwards compatible with previous versions. Key changes: * Instant Feedback: Forms are now submitted using AJAX, providing immediate feedback on errors or success directly within the user's current view. This enhances user experience by eliminating page reloads and keeping important feedback prominently visible. * Error container placement: The error container is therefore placed above the submit button. This change enhances error visibility. * Conditional custom class loading: Before, some custom classes were always loaded and some were only loaded if the chosen styling was set to 'custom'. Now all classes are loaded based on the selection in the admin UI. This update aims to improve the consistency of the admin UI. Impact on Your Site: * If you have custom styling or scripts that depend on the old error container placement, you may need to adjust them. * Customizations relying on the custom classes should be reviewed to ensure compatibility. = 1.4.3 = * fixed issue #6 for undefined variable $globalErrorClass in templates/form/form.php = 1.4.2 = * Added CSRF protection for clean cache implementation & tested up to: 6.3 = 1.4.1 = * Fixed bug by forcing lists to be an array in settings.php = 1.4.0 = * Tested up to 6.1 = 1.3.0 = * Tested up to 6.0 and added Settings link in plugins overview. = 1.2.3 = * Tested up to: 5.9 = 1.2.2 = * Fixes errors for PHP 8 = 1.2.1 = * Fix for the action "reset cache" not respecting the filter "laposta_signup_basic_settings_page_capability". = 1.2.0 = * Filter added for the capability of the options page: "laposta_signup_basic_settings_page_capability". = 1.1.1 = * Bugfix for an error being shown at first install when the laposta api key is not set. = 1.1.0 = * The submit button text can be provided in the plugin settings = 1.0.1 = * Minor text fixes in plugin settings = 1.0.0 = * Plugin initialised