=== Zynatic Medlemsregister === Contributors: zynaticstig Donate link: https://www.zynatic.se/ Tags: zynatic, medlemsregister Requires at least: 4.6 Tested up to: 6.8 Stable tag: 2.2.1 Requires PHP: 7.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html This plugin adds pages for access of Zynatic Medlemsregister, https://www.zynatic.se/. == Description == This plugin enable access of pages in Zynatic Medlemsregister to allow seamless connection to get access to pages in Zynatic Medlemsregister, https://www.zynatic.se/. This plugin require that the plugin Zynatic Authentication is installed, activated and configured. This plugin use the configuration parameters provided for the plugin Zynatic Authentication. == External services == This plugin connects to an API and pages in Zynatic Medlemsregister and requires the plugin "Zynatic Authentication" to be installed. The plugin provides a number of WordPress pages that redirect, using wp_redirect(), to forms in Zynatic Medlemsregister, https://www.zynatic.se/. These pages can be used in links and menues in WordPress to give the user aaccess to forms in Zynatic Medlemsregister. In the file include/medlemmar.php wp_remote_get requests are sent to https://www.zynatic.se/ to get list of members and files stored in the database of Zynatic Medlemsregister. In the file include/ny_medlem_form is a form created for member creation where the member details will be sent to and stored in Zynatic Medlemsregister, https://www.zynatic.se/. In the file inluce/filer_lista_links_json.php wp_remote_get requests are sent to https://www.zynatic.se/ to get a html list of file links of files stored in the file storage in the database of Zynatic Medlemsregister. The funtions in these files shall be called in PHP-snippet on a WordPress page. This service is provided by "Zynatic AB": https://www.zynatic.se/ and theuse of this plugin is described in the user manual for Zynatic Medlemsregister. Zynatic Medlemsregister has to be ordered from Zynatic AB at https://www.zynatic.se/. == Installation == 1. Installera detta tillägg i Wordpress menyn "Tillägg" (Plugins) 2. Klicka på "Lägg till nytt" 3. Klicka på "Ladda upp tillägg" 4. Klicka på "Välj fil" och leta reda på filen zynatic-medlemsregister-plugin.zip 5. Klicka på "Installera nu" 6. Klicka på "Aktivera tillägget" 7. Välj "Inställningar" i Wordpress menyn 8. Välj "Zynatic Medlemsregister" 9. Inaktiver och aktivera tillägget om inställningarna ändrats == Changelog == = 1.0 = * First version. = 1.0.1 = * Minor correction. = 1.0.2 = * Close session after accessing session variables. = 1.1.0 = * Renamed the pages to have the prefix 'Zynatic' in the name = 1.2.0 = * Added a url for new member = 1.2.1 = * Minor corrections. = 1.2.2 = * Added two pages for group = 1.2.3 = * Added payment button in form for new member "include/ny_medlem_form.php" = 1.2.4 = * Added parameter "sasong" for mitt_medlemskort.php = 1.2.5 = * Using wp_remote_get instead of libcurl = 1.2.6 = * Using 'AES-128-ECB' crypto if 'AES-256-ECB' is missing = 2.0 = * Sending encrypted information to Zynatic Medlemsregister to resume loggedin user if it still is logged into WordPress = 2.0.1 * Added warning if username/password is missing in member form when pressing pay now = 2.0.2 * The input in member form is kept and shown if there are any errors so the new member can correct it = 2.0.3 * Extended the timeout for curl-call in ny_medlem_form.php when sending e-post messages to end the member application = 2.0.4 * Extended the timeout for wp_remote_get in ny_medlem_form.php when creating new member = 2.0.5 * Renamed the plugin to "Zynatic Medlemsregister" = 2.1.0 * Updated after findings from initial review of the plugin "Zynatic Autthentication". * Renamed ny_medlem_form to zymr_ny_medlem_form in the file include/ny_medlem_form.php * Renamed getmedlem to zymr_getmedlem in the file include/medlemmar.php * Renamed getmedlemmar to zymr_getmedlemmar in the file include/medlemmar.php * Renamed filer_lista_links to zymr_filer_lista_links in the file include/filer_lista_links.php = 2.1.1 * More updates after findings from review of the plugin "Zynatic Autthentication". * Renamed zymr_ny_medlem_form to zynamr_ny_medlem_form in the file include/ny_medlem_form.php * Renamed zymr_getmedlem to zynamr_getmedlem in the file include/medlemmar.php * Renamed zymr_getmedlemmar to zynamr_getmedlemmar in the file include/medlemmar.php * Renamed zymr_filer_lista_links to zynamr_filer_lista_links in the file include/filer_lista_links.php = 2.1.2 * Ccorrections after initial review = 2.1.3 * Preventing a potential recursive loop in initialization = 2.1.4 * Updated after first review = 2.1.5 * Using wp_safe_redirect() to redirect to zynatic.se = 2.1.6 * Corrected the allowed website for redirect = 2.1.7 * Prevent lock of plugin with empty configuration data = 2.2.0 * Added the page 'Medlemsansökan enkel", a simple form for new members that fetch address from SPAR = 2.2.1 * Added the URL parameter fam used for medlemsansokan.php == Upgrade Notice == = 1.0 = First version = 2.1.1 * Rename the use of ny_medlem_form to zynamr_ny_medlem_form, getmedlem to zynamr_getmedlem, * getmedlemmar to zynamr_getmedlemmar and filer_lista_links to zynamr_filer_lista_links