ZOOMY has been updated to the core version 2.0. We have upgraded the version to be much more practical, so please use the latest version.

Added DM function / fixed bugs

【Contents of the fix】
■Added Direct Message (DM) function.
・The database structure has been changed, so we have added a database upgrade process. The database upgrade process will be checked and automatically executed when accessing the administration screen, and a warning message will be displayed.
・Reply to comments in the threaded view will be notified to My Page Notification.
・If there is a comment with a comment, it will be notified to My Page Notification.
・Added a link to insert a comment (the wording of the comment link can be changed from the blog/photo in the theme options)
・Added a column to display the number of reported posts as “Report” in the post list and photo list on the administration screen.
・Added search form to header (hidden by default)
・Fixed to exclude post types that do not have guest access in the list when searching with no login.
・Add your name, company name, date of birth, YouTube, and TikTok to your profile.
・Membership Options -> User Form Changed so that you can change the headline text (“Username”, “Residence”, etc.), required fields, and HTML displayed for required fields in profile items, and added a checkbox to display additional optional profile items in membership registration. (As a result, the display order of items in member registration and account editing will be partially changed to match the display order on the contributor page.)
・Changed the user search in the contributor list to be able to search by selecting the search target (user name, name, residence, company name, occupation, and self-introduction) in addition to the conventional user name search, changed the registered member export to all display items, and changed the heading text to the theme option value.

■Message General Specifications
・Membership Options -> Add a Message
 Usage settings (all members, followers only, not used, default: not used) and various other settings are available.
・When the message is enabled, the message will be displayed on the right side of the notification in the My Page menu.
・The message page has a message (inbox), new message (select recipient), and block list, and you can access the new message and block list from the icons on the right of the message header.
・You can send a new message or a modal message from the envelope icon displayed on the profile of the contributor page, blog details page, and photo details page.
・Only one-to-one text messaging is available. There is no group message function or attachment function.
・If you have set the “Followers Only” setting, you can only send messages if the other person is following you. However, this restriction does not apply to replies from the message list.
・The body of the message will be encrypted (OpenSSL) and stored in the DB if the environment allows it.
・Tags other than <a><img> in the message body will be deleted and saved.
・Custom scrollbars are displayed differently depending on the browser.
・New message notifications will only be sent if there are unread messages.

■Block Specification
・There are two types of blocks: user blocks, which are set by the user, and system blocks, which are set by the administrator.
・Display the target user from the message list, and click the ban icon on the right of the header in the details section to add the user to the user block. There is no way to user block a user who has not sent or received any messages.
・The block list page displays a list of users being blocked, and users can also be unblocked.
・Users who are blocked by the system will be able to create and send messages, but they will not be delivered to the recipient.
・You can send messages to users who are blocked by the system, but they will not receive them.
・Messages sent and received while the system is blocked cannot be seen by the receiving side even after the system block is released.
・If you have blocked a user, the user will not appear in the list of recipients for new messages, nor will the message composer icon on the contributor’s page, etc.
・Users who have been user-blocked can create and send messages to users who have been user-blocked, but they will not be delivered to the other user.
・Messages received from users you have blocked will be displayed in the message list once you unblock the user.
・In the case of system block + user block, the system block will take priority and no message will be displayed even if the user is unblocked.

■Fixed other bugs
・Fixed a bug that the json data imported by the theme option management was not merged if only some items in the membership were imported.
・Fixed a bug that the number of posts displayed on the contributor page differs from the number of posts in the photo/blog section of the tab display.

【Modified files】
admin/css/tcd_admin.css
admin/inc/basic.php
admin/inc/blog.php
admin/inc/header.php
admin/inc/photo.php
admin/inc/tools.php
admin/inc/top.php
admin/theme-options-tools.php
admin/theme-options.php
fonts/design_plus.eot
fonts/design_plus.svg
fonts/design_plus.ttf
fonts/design_plus.woff
functions/comments.php
functions/head.php
functions/membership/backend.php
functions/membership/comment.php
functions/membership/database.php
functions/membership/frontend.php
functions/membership/inc/basic.php
functions/membership/inc/mail.php
functions/membership/inc/mypage.php
functions/membership/inc/notify.php
functions/membership/inc/user_form.php
functions/membership/mail_magazine.php
functions/membership/memberpage.php
functions/membership/membership.php
functions/membership/news.php
functions/membership/notify.php
functions/membership/options.php
functions/membership/user.php
functions/membership/user_form.php
functions/membership/user_profile.php
functions/ogp.php
functions/page_authors_cf.php
functions/page_ranking_cf.php
functions/seo.php
functions/update_notifier.php
js/functions.js
js/membership.js
languages/ja.mo
languages/ja.po
membership-template/change_password.php
membership-template/news.php
membership-template/reset_password.php
template-parts/sns-btn-btm.php
template-parts/sns-btn-top.php
widget/archive_list.php
author.php
functions.php
header.php
page__authors.php
sidebar.php
single-photo.php
single.php
style.css

【Added files】
functions/membership/inc/messages.php
functions/membership/messages.php
functions/membership/report.php
js/messages.js
membership-template/messages.php
membership-template/messages_blocked_members.php
membership-template/messages_blocked_members_list.php
membership-template/messages_create.php
membership-template/messages_create_list.php
membership-template/messages_detail.php
membership-template/messages_detail_list.php
membership-template/messages_list.php