1.0.2 (03.02.2013)- In the administrative section, a link has been added to quickly jump to the information block element in the administrative part,
- in the administrative section a link has been added to quickly go to the information block element in the public part,
- fixed a broken filter for the "Approved for publication" flag,
- minor fixes in component templates,
- added a new component to display the average rating based on ratings from reviews,
- added functions to get the average rating, to get the number of votes for an element,
- fixed problem with adding special HTML characters.
2.0.0 (22.02.2015)A major update to the module, thanks to which the module can now do everything that can be asked of it:
• support for an unlimited number of form fields (text field, text area, checkbox, drop-down list, file, plus the ability to create your own field types of any complexity),
• each field type has its own impressive set of settings,
• sending forms without reloading the page, incl. if there are fields of the "File" type,
• the ability to attach files uploaded by users to email notifications (using a third-party module: http://marketplace.1c-bitrix.ru/solutions/module.mailattaching/),
• the ability to place information block elements (products, articles, news, etc.) or values of a property of the “List” type into a drop-down list; there is also a mechanism for manually specifying drop-down list items,
• the ability to use a visual editor (NOT from 1C-Bitrix),
• for each type of feedback, its own separate interface is now configured (in terms of the module, the interface is a set of settings for implementing a separate type of feedback), for example: “Reviews of products”, “reviews of the store”, “reviews of our work”, etc.,
• a separate list of reviews in the admin panel for each interface,
• a large number of settings are available for each interface,
• support for an unlimited number of ratings,
• the ability to manually specify star pictures for ratings (of any size), incl. the opportunity to use a set of icons is available - with the help of this, reviews on your site will become unique and especially memorable,
• the ability to specify and set by default any number of stars, as well as use half stars,
• the ability to use only selected ratings to calculate the final rating,
• added support for voting for reviews, with the ability to sort reviews by voting results,
• added sorting of reviews on the site, incl. and based on the results of user voting,
• editing, moderating and deleting reviews directly from the site (based on 1C-Bitrix Hermitage technology),
• the ability to respond to reviews with a user notification function,
• enhanced protection against SPAM, in many cases (meaning simple cases) SPAM will not pass even without using CAPTCHA,
• the ability to quickly connect the necessary jQuery library and a plugin for asterisks,
• the ability to use CAPTCHA: either for all users, or only for unauthorized users, or not to use,
• full functionality of the component even when placing reviews inside cached components (although this is not recommended, since the operation of components in such conditions does not improve performance),
• simple code in templates – the most voluminous template has only 128 lines.
2.0.2 (27.02.2015)Fixed an issue where pop-ups (for adding fields and ratings) would not work in IE and Firefox.
Fixed a bug due to which pagination navigation and indication of the number of displayed reviews on a page did not work in the administrative section.
2.0.4 (01.03.2015)Fixed a bug where after saving a new field in the interface, an error is thrown, despite the successful saving.
2.0.5 (02.03.2015)Fixed a bug in the webdebug:reviews2.stars component that prevented all stars from being displayed as inactive.
2.0.6 (02.03.2015)Fixed a bug with sorting the list of reviews, as well as with erroneously remembering the last selected page in page navigation.
2.0.7 (03.03.2015)Fixed the error "Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'CWD_Reviews2' does not have a method 'OnEndBufferContent'".
2.0.8 (03.03.2015)Fixed the "Using $this when not in object context in" error.
Fixed a bug in deleting reviews from the public part
2.0.9 (04.03.2015)Fixed the error "Class 'WD_Reviews2_Interface' not found"
Fixed a bug when deleting a review from the public part when the option to load the current list is running.
2.0.11 (11.03.2015)Added the ability to include scripts at the end of page execution.
Added the ability to skip session checking (check_bitrix_sessid).
Fixed an issue with an incorrect link in the email notification template for a new review with the pre-moderation option enabled.
Fixed incorrect indication of e-mail and name in the description of the mail event type.
Fixed a bug due to which review controls (in the public part) were shown for all user groups (except for unregistered ones), incl. and for non-administrators.
Fixed a bug due to which some fields in the module database tables were created in UTF-8 encoding regardless of the database encoding.
2.0.12 (12.03.2015)Added support for rating markup (AggregateRating) when displaying rating stars.
2.0.14 (04.04.2015)Deleted field and rating values no longer appear in the reviews list.
Fixed a bug that caused reviews to be imported without importing any reviews (bug in preg_replace_callback).
Fixed a bug in the email template: the administrator received a notification with the title "Dear (name of the user who left the review)." This bug has been fixed for new installations only; if you already had the module installed before this update, you need to manually fix the error: http://www.webdebug.ru/marketplace/webdebug.reviews/faq/#11634
In the list of reviews, the name of the current interface has been added to the title.
Fixed the not entirely correct display of the standard Bitrix AJAX loader when opening pop-up windows in the interface settings.
Sorting interfaces in the admin. The menu is sorted by index.
In the webdebug:reviews2.page component template, duplicate connection of scripts has been removed.
In the webdebug:reviews2.list component template, a bug with the incorrect placement of the review creation date in the structure of the $arResult array has been fixed.
Added display of links to the review object if a review is left for an information block element - the option is enabled in the module settings.
Improved performance when automatically including jQuery on pages.
The option to automatically connect jQuery has been moved to a separate section "Additional parameters".
Added support for composite mode.
Resolved an issue where anonymous reviews were attached to the current user when importing.
Fixed a JS error that made it impossible to write and send a review if the message about the successful addition of a review contained line breaks.
Changes have been made for viewing on small screens (reviews have become adaptive).
Other fixes.
2.0.15 (05.04.2015)Fixed a bug in the CSS styling of the maximum width of form fields for reviews.
Improved component template to display asterisks: all complex code has been moved to the component code.
Now, if tooltips for asterisks are not specified, they are not displayed (previously the default values were displayed in English).
Fixed an error adding a link in the visual editor.
Fixed an issue with the inability to save e-mail notification options on some sites.
Fixed a bug where only the first link was protected in custom fields.
Links in admin responses are now also protected.
2.0.16 (07.04.2015)Fixed an encoding error in the webdebug:reviews2.stars component parameters form
2.0.17 (07.04.2015)Errors have been fixed when the module was running on a website in windows-1251 encoding.
2.0.19 (05.05.2015)Events when deleting a review have been corrected (deleting the ratings of a given review, recalculating the average rating of an information block element and the number of reviews for it), this update also removes existing “garbage”
added the ability to vote for reviews for unregistered users (the option is enabled in the main module settings, unauthenticated users are accounted for via IP),
The e-mail is no longer sent to the user if he has not specified his address.
2.0.20 (05.05.2015)Fixed incorrect contact with the administrator in one of the mail templates.
2.0.23 (04.08.2015)Added the ability to organize responses to reviews by users themselves (the user must be linked to the information block element for which reviews are left).
2.0.24 (07.08.2015)Added the ability to show all reviews for each interface at once (i.e. now you can show reviews not for one product, but for all at once).
2.0.25 (19.08.2015)Fixed an error that occurred on some versions of PHP in the webdebug:reviews2.stars component.
2.0.27 (22.08.2015)- Added the ability to display attached files as pictures rather than links (only for pictures, and when the “Allow downloading images only” option is enabled),
- added the ability to enlarge images using jQuery plugins (Colorbox and Lightbox plugins are built in by default, using handlers you can easily embed any other plugins, without modifying the module and without editing component templates),
- added support for the main module option “Move all Javascript to the bottom of the page”.
2.0.28 (26.08.2015)Fixed two errors in mail templates of the “Notification about adding a review” type (WD_REVIEWS2_M_*).
2.0.29 (03.09.2015)Added the ability to specify the #TARGET# macro in the URL for reviews. With this you can use just one interface for many static pages.
2.0.32 (10.12.2015)Fixed an error that occurred if not a single field with a visual editor was configured - in this case, when editing a review from the public part, it was impossible to write an admin response.
2.0.33 (25.05.2016)Fixed minor confusion with button images and scripts (when using the visual editor).
2.0.36 (26.10.2016)Minor improvements to the GetRatingResult() and GetReviewsCount() methods of the CWD_Reviews2_Reviews class to simplify the calculation of the average rating and number of reviews for custom review types.
2.0.39 (18.04.2017)Added JS event when captcha is updated (onWDReviewsCaptchaRefresh). This adds the ability to change the standard captcha to a custom one.
2.0.40 (02.05.2017)Added event when saving a review (OnSaveReview).
Improved watermarking performance.
2.1.0 (11.09.2017)- Added a checkbox for consent to the processing of personal data (152-FZ),
- visual editor: fixed operation of drop-down lists (font size, font type, format), added the ability to hide unnecessary editor controls (up to disabling all features),
- visual improvements for the “File” type field.
2.1.1 (22.04.2018)- Added cutting of HTML tags in reviews: when using the visual editor, the “Hide features” option is used (everything that is not allowed is cut out), if the visual editor is not used, all tags are cut out.
2.1.2 (03.05.2018)- added an OnGetReviewTarget handler for the ability to display your HTML content (including names and links to the corresponding information block elements) in the “Object” column when viewing a list of reviews,
- added the ability to delete the administrator’s response to a review (checkbox “Delete administrator response”),
- added the ability to get the ID of an added review (in the component template webdebug:reviews2.add in the existing JS function FUNCTION_JS_SUCCESS this ID can be obtained like this: var reviewID = $(HTML).data('review-id');).
2.1.5 (01.12.2018)- When adding reviews, emoji are now automatically removed from all text input fields. It may be necessary to reset the entire cache on the site for the changes to take effect.
2.2.0 (28.10.2019)- When adding reviews for information block sections, properties are now added to them, similar to the corresponding product properties - number of reviews, average rating, date of last review.
2.2.1 (10.11.2019)- In the list of reviews in the admin panel, links are now also added for reviews for sections.
2.3.0 (14.12.2019)- The ability to connect JS is now also added to the components webdebug:reviews2.add, webdebug:reviews2.list, webdebug:reviews2.stars,
- added the ability to mark fields as service fields (such fields are not displayed either when filling out or when outputting - they can be used when autofilling data from a profile, or by filling out using JavaSscript).
2.5.0 (29.06.2020)- Two parameters have been added to the settings of the “List of Reviews” component: “Show item name” and “Show link to item” (to display in each review the name of the item for which the review was left - this is relevant for a consolidated list of reviews about different products),
- Fixed a bug in inserting links in the visual editor.
2.6.1 (07.11.2020)- Added the ability to select the plug-in version of jQuery (versions 1, 2 and 3 are available) - this is indicated in the module settings.
2.6.2 (09.11.2020)- Fixed an error that appeared in some cases when sorting reviews by date.
2.7.0 (21.01.2021)- Added support for emojii (only on sites encoded in UTF-8) - now they are not cut when pasted, but converted for storage into a special format and displayed in normal form,
- pasting text into the visual editor now clears the formatting of the copied fragment,
- other minor improvements.
2.7.1 (30.04.2021)Fixed an error in substituting the default value (the error appeared in the previous update).
2.8.2 (11.11.2022)- Fixed an error with the “Accepted” flag when adding a review by an administrator.