== Changelog ==

= 3.13.8 =

27/11/2025

* Fix XSS vulnerability in Admin Profile edition (Thanks to MyungJu Kim).

= 3.13.7 =

01/09/2025

* Fix Libre photo display issue.

= 3.13.6 =

09/05/2025

* Fix translation issue.

= 3.13.5 =

08/05/2025

* Fix gender error on registration.

= 3.13.4 =

02/05/2025

* Fix translation warning with WP 6.8.

= 3.13.3 =

04/02/2025

* Fix issue with Duckduckgo browser.
* Set default value to new member : 35 year, 1m75, 72kg, men finding girl.
* Add function to get all photos from a member : rencontre_filter.php - rencGetPhotos($userID)

= 3.13.2 =

10/01/2025

* Enhanced menu creation.
* Option to display 'Menus' item in the dashboard Appearance menu when absent if the theme is in block format.

= 3.13.1 =

02/01/2025

* Fix Zstrict issue with 0.
* Image-size code cleanup.

= 3.13 =

08/12/2024

* Dashboard options reorganized for simplicity/readability.
* Option to set min & max weight, option to set min & max size.
* Option to use both meter/feet and both kilograms/pounds. The user can then choose which unit to use (account page).
* Option for profile photo required.
* Fix profil issue when merging My Account and Edit My Profil pages.
* Fix some issues.

= 3.12.5 =

15/11/2024

* Fix translation issue with WP 6.7.

= 3.12.4 =

09/10/2024

* Option to merge My Account and Edit My Profil pages.
* Update DBIP.
* Improve Portuguese Brazil translation - thanks to Cesar Ramos.
* Fix some issues.

= 3.12.3 =

17/08/2024

* Remove '&nbsp;' that cause text alignment issues.
* Fix profil search issue on some servers.

= 3.12.2 =

15/08/2024

* Fix modal warning closing issue on Android.

= 3.12.1 =

20/06/2024

* Fix user photo issue when add or delete.

= 3.12 =

04/06/2024

* Fix warning file not exists on plugin install - patch.php.
* Fix issues with rencontre_login shortcode. Adds option to disable register or loginout links. See shortcodes F.A.Q.
* Reduced menu size on smartphones - Template rencontre_menu.php and rencontre.css.
* Auto scroll on loading (option) to display the plugin menu at the top of the page.
* Added sorting of members by sex in the Rencontre > Members tab of the dashboard.
* Email subjects can be customized.
* Users have the option of prohibiting interaction with members who do not match their criteria.
* Option to respect precise criteria for featured profiles.

= 3.12 =

04/06/2024

* Fix warning file not exists on plugin install - patch.php.
* Fix issues with rencontre_login shortcode. Adds option to disable register or loginout links. See shortcodes F.A.Q.
* Reduced menu size on smartphones - Template rencontre_menu.php and rencontre.css.
* Auto scroll on loading (option) to display the plugin menu at the top of the page.
* Added sorting of members by sex in the Rencontre > Members tab of the dashboard.
* Email subjects can be customized.
* Users have the option of prohibiting interaction with members who do not match their criteria.
* Option to respect precise criteria for featured profiles.

= 3.11.3 =

15/01/2024 

* Fix dynamic search issue.

= 3.11.2 =

08/01/2024

* Fix Subscriber+ PHP Object Injection in search fonction - Thanks to Darius Sveikauskas.

= 3.11.1 =

09/12/2023

* Add max upload filesize value in CSV Tab.
* Fix Chat launched when not required.
* Fix some issues.
* Add Premium hook.

= 3.11 =

30/11/2023

* Removes Facebook login. To keep this WordPress connection via Facebook (and add others), use a specific plugin.
* Removes ability to import facebook profile photo.
* Fix Unauthenticated Arbitrary File Upload in CSV Admin part - Thanks to Darius Sveikauskas.
* Fix Subscriber+ PHP Object Injection in dynamic search - Thanks to Darius Sveikauskas.
* Fix wrong orientation, in some cases, when uploading an image.

= 3.10.1 =

24/10/2023

* Add online notification in search result and home page.
* The color of the online text and the color of the online badge can be set in the custom tab of the dashboard.
* Add an option to disable password change in my account.

= 3.10 =

13/10/2023

* dbip-country update 2023-10.
* Fix PHP 8.1 deprecated.
* Fix "answer a message" issue.
* Add Rencontre sidebar links (who i smile...) to WordPress menu creation in Rencontre meta-box.
* Add filters 'rencCronMailPart4' and 'rencCronList' to fully take control of automatic emailing.
* Add search by value range to "numeric select" profile fields.
* Updated list of country regions. 

= 3.9.2 =

01/05/2023

* Fix search issue when city has space in name.
* Remember also gender in search.
* Fix PHP 8.2 deprecated.

= 3.9.1 =

01/04/2023

* Fix some issues.

= 3.9 =

12/02/2023

* The maintenance period and the email sending period are done in the background with Ajax. No more slowdown for the visitor.
* Fix 'home' var warning.

= 3.8.3 =

16/12/2022

* Fix typo mismatch with ':', '?' and '!' in some language.
* Add badge in the sidebar with number of message in box when menu disabled.
* Add new custom color for actived button (favorite for example).
* Change 'Favorite' button style and background color.
* ADMIN ref lang is WPLANG.

= 3.8.2 =

26/10/2022

* Add option to set background color for modal warning. Rencontre > Custom > Templates.
* Fix variable mismatch detection.
* Fix a width issue in unconnected home page images.
* Fix menu issue when changing plugin page URL.
* Fix a slowness issue.
* Fix Polylang plugin issue and improves multilingual use.
* Remove nl_NL, it_IT and ru_RU language. They have been taken into account by the WordPress community and will be loaded automatically.

= 3.8.1 =

19/08/2022

* Flag in SVG. Add Filter "rencNumber['flagPng']" to force old PNG mode.
* Members' photos are now available in retina-ready X2. Add Filter "rencNumber['retina']" to disable retina creation.
* Browser images cache optimisation.
* Images loading optimisation to reduce page load time and data consumption.
* Fix issues.

= 3.8 =

12/04/2022

* Ability to create mandatory profile fields that are only visible in the back-office (invisible to other members).
* Enhanced profile manager.

= 3.7.1 =

21/02/2022

* Show-Hide unused buttons on portrait page. The template rencontre_portrait.php should be updated if you have customized it.
* User can rotate images after upload. The **template rencontre_portrait_edit.php** must be updated if you have customized it !
* Add portuguese (Brazil) translation - thanks to César Ramos
* Fix PHP 8.1 warning.

= 3.7 =

04/01/2022

* Add templates and filter to customize all Rencontre emails : templates/rencontre_mail_birthday.php & rencMailBirthday, templates/rencontre_mail_remind.php & rencMailRemind, templates/rencontre_mail_instant.php & rencMailInstant, templates/rencontre_mail_regular_global.php
* Add rencUserPost filter (filter the data _POST or _GET entered by the user). See F.A.Q.
* Code cleaning.
* Fix somme bugs.

= 3.6.8 =

27/11/2021

* Fix modal warning issue.
* Add 'rencmodaltimeout' filter to set modal warning windows timeout delay.

= 3.6.7 =

23/11/2021

* Remove "Region field is empty or outdated !" Warning when option "no region" or "No localisation" is checked.
* Avoid that very long words exceeds the box.
* Profiles not translated into the default language are indicated by a warning on the Rencontre > Profile dashboard
* Add 'searchResultAd' filter also to quick search.
* Add 'lengthNameHome' and 'lengthName' filter to limit display_name length.

= 3.6.6 =

08/11/2021

* Fix issue in Sidebar with language switcher plugins

= 3.6.5 =

18/10/2021

* Option to make the choice of one of the proposed cities mandatory, on registration, if wp_geonames is actived.
* Fix somes issues in back-office.

= 3.6.4 =

06/10/2021

* Add empty Modal Warning ready to be used in rencontre_modal_warning.php.
* Fix PHP8 issue in photo upload.
* dbip-country update 2021-10.

= 3.6.3 =

04/08/2021

* Display warning if custom genders mixed with default genders.
* Option to show chat conversation down on android.
* Add age of last connection (day) to rencontre_search shortcode filter result.
* Scroll down to result in rencontre_search.

= 3.6.2 =

11/04/2021

* Add WEBP image format (currently only Mini and Libre) to improve speed and quality.
* Redirect URL in Shortcode Rencontre_libre.
* Login and Redirect Link with WordPress method.
* Hide email if used as login.

= 3.6.1 =

08/03/2021

* PHP 8 compatibility.
* Redirect Profile Edition after registration.
* Fix registration issue.
* Fix age max search issue.
* Avoid duplicate shortcode installation for [rencontre].
* Ability to allow all gender search.
* Fix GPS issue.
* Rencontre Metabox Menu remove select all.
* Add German translation (front office only) - thanks to Stefan Wolfarth

= 3.6 =

26/01/2021

* Import CSV and photo available with a ZIP file.
* Remove rencontre_libre reloading delay.
* Ability for user to temporarily deactivate his profile.
* Change "Immaterial" to "No matter".
* Remove "gay" label.
* Add rencjs.js file in template to override rencontre.js functions.
* Fix search issue.
* Fix modal window issue.
* Fix some issues.

= 3.5.1 =

01/12/2020

* Fix chat issue (my message not displayed in my window).
* Fix unconnected search issue.
* Fix template mini-portrait no photo width issue.

= 3.5 =

19/11/2020

* Display optimization on Smartphones / Small screen.
* Chat improvement. Chat has now memory when user change or reload a page.
* Webcam API Update.
* Dynamic loading of search result when scrolling page (no more pagination). Option in Rencontre > General > Display.
* Option for user to disable the beep of the Chat.
* Add Japanese translation, thanks to Rorylouis.

09/09/2020 : 3.4.3 - Fix chat issue.

08/09/2020 : 3.4.2 - Fix photo issue.

28/08/2020 : 3.4.1

* Fix session not write-closed warning. WP 5.5.
* Fix imagettfbbox issue : PHP without freetype.

= 3.4 =
04/08/2020

* Fix template name issue. Thanks to Tolumba.
* Display gender in profile if custom gender set.
* Main picture permutation.
* Option to display pictures in lightbox : General > Display : Lightbox. New template rencontre_lightbox.php

= 3.3 =
20/03/2020

* Add rencLabels filter to customize URL param name (example : www.mysite.com/?renc=liste&id=981&sex=0 can become www.mysite.com/?abcd=search&zz=981&gender=0). See Available Filters FAQ.
* Add rencJsLang filter.
* ID in URL is now crypted. Set 1 to 'urlNoCryptId' value in rencNumbers() filter to keep ID readable. Template 'rencontre_search.php' is concerned.
* Add 'mailUserPerLine' value in rencNumbers() filter to change number of portrait per line in regular email (default : 2). Add also 'urlNoCryptId'.
* Unread msg is now removed from DB if deleted by sender (previous : marked as deleted in DB and really removed if deleted by recipient).
* User can hide sidebar on mobile.
* Fix message count issue with deleted account.
* Fix search issue and registration issue when "No birth date" checked in Custom tab.
* Fix redirect issue after registration in fast registration with some custom login plugins.
* Fix sidebar my photo size issue.
* DataBase dbip updated

19/04/2020 : 3.3.1 -  Fix locale issue in profile and contry selection.

03/06/2020 : 3.3.2

* Fix country deletion issue.
* Add Russian translation, thanks to Vetal Soft.

= 3.2 =
11/09/2019

* Fix conflict between Rencontre and the WordPress Dashboard theme editor.
* Hide profile box and save button when empty profile.
* Remove registration part 4/4 (and 3/3). User can no longer change his login name.
* Fix disconnection issue on registration.
* Improve featured profiles selection.
* Hungarian translation - thanks to FunnelXpert.

13/10/2019 : 3.2.1

* Fix country deletion issue.
* Fix Fast registration confirmation email issue.
* Fix bad link in email buttons.
* Remove disable search menu notification (OFF).
* Add delNotConfirmed value in rencNumber hook : time before new account deletion.

02/12/2019 : 3.2.2

* Fix SQL injection & XSS vulnerability - Thanks to Sathish Kumar.
* Add imgQuality value in rencNumber hook : user images JPG quality. Default 75.
* Fix message deletion issue.

11/12/2019 : 3.2.3

* Improve CSRF security.
* Fix instant email link issue.
* Fix member search issue in ADMIN part.

30/12/2019 : 3.2.4 -  Fix some issues.

01/01/2020 : 3.2.5 -  Fix profiles issues in dashboard.

10/01/2020 : 3.2.6 -  Fix issue when email used as login.

24/01/2020 : 3.2.7 -  Fix issue with single & double quotes in users profile.

= 3.1 =
15/03/2019

* Adds "infochange" in rencNumber hook.
* Option to open search result profile in a new tab.
* Instant emails in a template.
* Adds Date format in profile fields.
* Join syntax in sql select.
* Load template file in Rencontre folder if does not exist elsewhere (theme or hook).

01/04/2019 : 3.1.1

* Adds custom profile search field before & after a date.
* Fix Immaterial country unsaved issue in search fields.
* Quick search by profil date format, before & after.
* User can display another name than his login name. See Dashboard Rencontre > General > Display.

30/05/2019 : 3.1.2

* Braces style standardisation in the code.
* Hide Region and Profil details in admin dashboard to improve speed.

08/07/2019 : 3.1.3

* Fix SQL injection & XSS vulnerability - Thanks to N Admavidhya

= 3.0 =
18/12/2018 :
* New design based on W3.css framework and Fontawesome. New templates files. You'll need to delete your custom templates if you have them.
* Options to change and view colors of the theme from dashboard.
* New images size. Option to regenerate all images with the new size imposed by the new design.
* Adds rencColor hook to add custom colors.
* Adds rencNoFontawesome hook to block fontawesome css file load.
* JQuery featherlight removed and replaced by CSS.
* Rencontre.css has been very lightened.

14/01/2019 : 3.0.1

* Adds option to fit portrait width in home page. See Rencontre > Custom > Templates.
* Adds title on menu icons.
* Adds img link on mini portrait.
* Adds link to profile in message.
* Adds fichelibre hook and functions for dev.
* Fix issue with PHP>=7.1 on Windows host.
* Fix some errors.

20/02/2019 : 3.0.2

* Fix bad number in search pagination.
* Adds size and weight in profile page (removed in V3).
* Adds imgreg shortcode CSS (removed in V3).
* [rencontre_imgreg] shortcode can display login form (see FAQ).

= 2.3 =
17/02/2018 :
* Search Field Memory.
* Inactive users deletion.
* Fix some issues with the chat.
* Webcam in webRTC in place of SWF.
* Option to hide contact request.
* Option to display only members from my country in my home page. Idem for summary email.
* Adds Dashboard Button to Refresh unconnected home page (rencontre_libre).
* Adds rencNumbers hook.
* Ability to add a custom chat beep (see FAQ).
* Fix onLine time issue.
* TEMPLATE - rencontre_sidebar_top & rencontre_portrait - option to hide contact request.
* TEMPLATE - rencontre_search & rencontre_sidebar_quick_search - add field memory

15/04/2018 : 2.3.1

* Fix option deletion when decode/encode profile images.
* Fix issue with IPV6 in the dashboard Member tab.
* Fix report display in the dashboard Member tab.
* Adds user deletion reason. Add "rencUserDelMailContent" filter to change the default reason list.
* Adds rencTemplateDir filter.
* Better english sentences.
* TEMPLATE - account & search & registration_part3 - English sentences.

02/05/2018 : 2.3.2

* Fix registration issue (user in registration infinite loop).
* Remove zoombox lines in rencontre.css.

28/05/2018 : 2.3.3

* GDPR complience :  Add Rencontre datas in the new "Export Personal Data" Tool in Dashboard.
* TEMPLATE - modal_warning - Move "close" link to the bottom.

25/07/2018 : 2.3.4

* Add country, region and city attributes in rencontre_libre shortcode.
* Fix webcam issue.

07/09/2018 : 2.3.5

* Fix login issue on PHP>7.0.
* Change Facebook API V2.7 => V2.9.

13/11/2018 : 2.3.6

* No Homosexual option checked => Impossible gender change
* Fix maintenance time issue

09/12/2018 : 2.3.7

* Adds cleanup button to remove abandoned images.
* Update IPDB database.
* Adds Update notice hook.
* Change max saved default original image size : 640x480 => 1280x960

= 2.2 =
04/08/2017 :

* WordPress Multisite compatibility.
* Remove Rencontre Widget (Creates confusion on new install).
* Improve user profile synchro after change by Admin : file in "Uploads" folder and button in General.
* Fix issue with photo upload link (if the theme use *{position:relative} what is not a good method).
* Fix activation and installation issues.
* GoogleMap removed => Back improved in Premium current 2017.
* Update country and region default list.
* City Region & Country Taxonomy with wpGeonames plugin.
* Fix error with region in search.
* Add the two template-custom-pages in WordPress meta menu 'Rencontre'.
* TEMPLATE - account & registration_part2 - Change wpGeonames include, remove Map.
* TEMPLATE - sidebar_quick_search & search - Fix error with region.
* TEMPLATE - portrait - Fix error with $rencOpt['chat'].

09/08/2017 : 2.2.1

* Fix MySql "Illegal mix of collations" issue.
* Fix error when reset password.

22/09/2017 : 2.2.2

* Fix profile edition issue with single quote and Ampersand.
* Fix EXIF error when not implemented.
* Enqueue JQuery.
* Replace jQuery ZoomBox by jQuery featherlight (compatible with jQuery3).
* Fix photo profile issue with some themes.
* Update photo libre when changed.
* Adds "bbp_moderator" capability to the Rencontre Dashboard.
* New update DBIP (sept 2017).

01/11/2017 : 2.2.3

* Adds cleaner for missing regions in users data.
* Read EXIF Orientation in JS in place of PHP when add new photo.
* Custom genders in CSV Export/Import.
* Checkbox in a button style (jquery-labelauty).
* Fix empty region warning.
* Adds size image hook (see FAQ).
* Adds Swahili language - thanks to Kenneth Longo Mlelwa.
* Adds Turkish language - thanks to Cise Candarli.
* TEMPLATE - rencontre_portrait_edit & rencontre_account : checkbox Labelauty

29/11/2017 : 2.2.4

* Geolocation only in HTTPS.
* Change Openstreetmap url (both http & https).
* Fix JS error onmouseover in unconnected home page.
* Adds 'immaterial' in region search field.
* Adds ALT tag in unconnected home page IMG.
* Improve page loading speed by removing a slow query.
* Month in string (in place of number).
* Adds UserDel hook.
* Adds Dutch language - thanks to Martin Zaagman.
* TEMPLATE - wp-geonames_location_taxonomy : openstreetmap url
* TEMPLATE - libre_portrait : fix JS error and add ALT tag
* TEMPLATE - portrait_edit : add option for bottom box ($portraitPlus)

12/01/2018 : 2.2.5

* Adds individual class in my-home page rencBox.
* Fix some bugs.

= 2.1 =
22/01/2017 :

* Rencontre menu items in WordPress menu are available from all the site. Connection link added. Registration link added.
* Shortcodes [rencontre_libre_mix], [rencontre_libre_girl], [rencontre_libre_men], [rencontre_nbmembre_girl], [rencontre_nbmembre_men], [rencontre_nbmembre_girlphoto], [rencontre_nbmembre_menphoto] removed. See FAQ.
* New shortcode for Registration Form on the main page (see screenshots theme 2017).
* Fix issue with my locked member list.
* Fix back-line issue in my ad.
* Fix error with bip.ogg & bip.mp3 URL.
* CSS and JS files only loaded when needed.
* TEMPLATE - rencontre_search - fix error in Gender select.
* TEMPLATE - account & registration_part2 - add autocomplete="off" in the City input.
* TEMPLATE - portrait_edit - Fix error : replace $u with $u0 line 44.

20/02/2017 : 2.1.1

* Adds favorites.
* Adds geolocation (see FAQ).
* Adds option to remove inactive accounts from one year.
* Adds option to Prohibit homosexual types.
* Adds Czech - thanks to Libor
* Last online date in "time ago".
* Remove option that prevents user to delete his account.
* Fix issue in message list.
* TEMPLATE - rencontre_account - Prohibit homosexual option
* TEMPLATE - rencontre_my_home - Add favorites
* TEMPLATE - rencontre_portrait - Date in "time ago"
* TEMPLATE - rencontre_registration_part3 - Prohibit homosexual option
* TEMPLATE - rencontre_search_result - Date in "time ago"

01/04/2017 : 2.1.2

* Replace Mcrypt by OpenSSL.
* Improve the efficiency of cities search.
* Fix online issue on portrait.
* Fix no homosexual in search.
* Display a no result text if no result on search.
* Set default agemin agemax on search.
* Set my country in search.
* Improve search display on small screen.
* Adds option to force HTML in email when not readable.
* Fix some errors with PHP 7.1.
* Display an install how-to if no member in base.
* Clean-up on uninstall.
TEMPLATE - rencontre_account - agemin agemax born - Remove deletion part (see bellow)
TEMPLATE - rencontre_search - agemin agemax country, no homo
TEMPLATE - rencontre_sidebar_quick_search - agemin agemax country
TEMPLATE - rencontre_registration_part3 - agemin agemax
TEMPLATE - rencontre_sidebar_top - age
TEMPLATE NEW : rencontre_account_delete

12/05/2017 : 2.1.3

* Fix astro affinity visibility issue on small screen.
* Fix error in registration part4 submission.
* Fix some other bugs.
* Adds default content in Happy birthday email.
* Rencontre menu positioned higher.
* The style of the submit buttons becomes that of the activated theme : input type="button"
TEMPLATE - rencontre_search_result - display astro affinity on small screen (issue 2.1.2)
TEMPLATE - rencontre_account - submit button
TEMPLATE - rencontre_account_delete - submit button
TEMPLATE - rencontre_sidebar_quick_search - submit button
TEMPLATE - rencontre_portrait_edit - submit button
TEMPLATE - rencontre_message_write - submit button
TEMPLATE - rencontre_search - submit button
TEMPLATE - rencontre_registration_part1 - submit button
TEMPLATE - rencontre_registration_part2 - submit button
TEMPLATE - rencontre_registration_part3 - submit button
TEMPLATE - rencontre_registration_part4 - submit button
TEMPLATE NEW : rencontre_modal_warning

= 2.0 =
15/10/2016 :

* Overhaul of the code - Creation 26 Templates files.
* Smartphone display improved.
* Admin Dashboard with tabs to be more readable.
* GoogleMap API key is now needed.
* Facebook Graph API upgrade v2.7.

03/11/2016 : 2.0.1

* Adds image rotate option on upload.
* Fix sidebar hidden.
* Shortcode "Rencontre" launched after init.
* Fix an issue in the message page that can cause CPU overload.
* TEMPLATE - registration_part2 - Add GoogleMap Key also in registration (forget it).
* TEMPLATE - sidebar_top - Fix error whis user name (bracket).
* TEMPLATE - account & registration_part1, 2 ,3 & rencontre.css - remove size in select tag, remove CSS .9em in corresponding options.
* TEMPLATE - message_conversation - confirm before deletion.

12/12/2016 : 2.0.2

* Adds monthly message deletion option.
* Dashboard is now enable to all users who can 'edit posts'.
* Fix image rotation issue on IOS.
* The messages sent are displayed in italic in Inbox.
* Blocked member cannot send message (issue).
* New update DBIP (dec 2016).
* TEMPLATE - message_inbox - add class msgin or msgout. msgout in italic in rencontre.css
* TEMPLATE - message_conversation - delete "Date : ".

= 1.0 =
09/06/2014 - First stable version.

== Upgrade Notice ==

= 3.0 =
This new version is not compatible with the old templates. If you use custom templates in your theme folder, you will need to delete them or not migrate to this new version 3.0. After update, you should regenerate photos (Rencontre > General > Display)
