{"id":11235,"date":"2026-05-02T21:26:19","date_gmt":"2026-05-02T19:26:19","guid":{"rendered":"https:\/\/www.indexall.org\/indexa\/?p=11235"},"modified":"2026-05-02T21:27:05","modified_gmt":"2026-05-02T19:27:05","slug":"11235-2","status":"publish","type":"post","link":"https:\/\/www.indexall.org\/indexa\/11235-2\/","title":{"rendered":""},"content":{"rendered":"<div class=\"mp-compose-wrapper\"><!-- Success\/Error Messages --><\/p>\n<div id=\"mp-notifications\" class=\"mp-notifications\"><\/div>\n<div class=\"mp-card\">\n<div class=\"mp-card-header\">\n<div class=\"mp-header-left\">\n<h2><\/h2>\n<p><!--?php if ($reply_to &amp;&amp; $reply_message): ?--><\/p>\n<p class=\"description\">\n<p><!--?php endif; ?--><\/div>\n<div class=\"mp-header-right\"><\/div>\n<\/div>\n<div class=\"mp-card-body\"><!--?php if (empty($users) &amp;&amp; !$is_admin): ?--><\/p>\n<div class=\"mp-notice mp-notice-warning\">\n<p>&nbsp;<\/p>\n<\/div>\n<p><!--?php else: ?--><\/p>\n<form id=\"compose-form\" class=\"mp-compose-form\" enctype=\"multipart\/form-data\" method=\"post\"><!--?php wp_nonce_field('send_message_nonce'); ?--> <input name=\"send_message\" type=\"hidden\" value=\"1\" \/> <input id=\"draft_id\" name=\"draft_id\" type=\"hidden\" value=\"\" \/> <!-- Template Selection --> <!--?php if (!empty($all_templates)): ?--><\/p>\n<div class=\"mp-form-group\"><label for=\"template_select\"><!--?php _e('Use Template:', 'messaging-plugin'); ?--><\/label><\/p>\n<div class=\"mp-template-selector\"><select id=\"template_select\" class=\"mp-select\"><option value=\"\"><!--?php _e('-- Select a template --', 'messaging-plugin'); ?--><\/option><!--?php foreach ($all_templates as $template_key =&gt; $template): ?--><option value=\"&lt;?php echo esc_attr($template_key); ?&gt;\"><!--?php echo esc_html($template['name']); ?--> <!--?php if (isset($template['is_global']) &amp;&amp; $template['is_global']): ?--> (<!--?php _e('Global', 'messaging-plugin'); ?-->) <!--?php endif; ?--><\/option><!--?php endforeach; ?--><br \/>\n<\/select><!--?php if ($is_admin): ?--> <button id=\"manage-templates\" class=\"button button-small\" type=\"button\"> <!--?php _e('Manage Templates', 'messaging-plugin'); ?--> <\/button> <!--?php endif; ?--><\/div>\n<\/div>\n<p><!--?php endif; ?--> <!-- Recipient Selection --><\/p>\n<div class=\"mp-form-group\"><label for=\"recipient_id\"> <!--?php _e('Recipient:', 'messaging-plugin'); ?--> <span class=\"required\">*<\/span> <\/label> <!--?php if (!empty($recent_contacts)): ?--><\/p>\n<div class=\"mp-recent-contacts\"><label><!--?php _e('Recent Contacts:', 'messaging-plugin'); ?--><\/label><\/p>\n<div class=\"mp-contact-chips\"><\/div>\n<\/div>\n<p><!--?php endif; ?--><\/p>\n<div class=\"mp-recipient-selector\"><select id=\"recipient_id\" class=\"mp-select2\" style=\"width: 100%;\" name=\"recipient_id\" required=\"\"><option value=\"\"><!--?php _e('-- Select a recipient --', 'messaging-plugin'); ?--><\/option><!--?php foreach ($users as $user): ?--><option selected=\"selected\" value=\"&lt;?php echo esc_attr($user-&gt;ID); ?&gt;\">ID); ?&gt; data-avatar=&#8221;<!--?php echo esc_url(get_avatar_url($user-&gt;ID, ['size' =&gt; 32])); ?-->&#8221; data-role=&#8221;<!--?php echo esc_attr(implode(', ', $user-&gt;roles)); ?-->&#8220;&gt; <!--?php echo esc_html($user-&gt;display_name); ?--> (<!--?php echo esc_html($user-&gt;user_email); ?-->) <!--?php if (user_can($user-&gt;ID, 'manage_options')): ?--> &#8211; <!--?php _e('Admin', 'messaging-plugin'); ?--> <!--?php elseif (post_type_exists('mic_expert') &amp;&amp; $this-&gt;is_mic_user($user-&gt;ID, 'mic_expert')): ?--> &#8211; <!--?php _e('Expert', 'messaging-plugin'); ?--> <!--?php elseif (post_type_exists('mic_ambassador') &amp;&amp; $this-&gt;is_mic_user($user-&gt;ID, 'mic_ambassador')): ?--> &#8211; <!--?php _e('Ambassador', 'messaging-plugin'); ?--> <!--?php endif; ?--><\/option><!--?php endforeach; ?--><br \/>\n<\/select><\/p>\n<div class=\"mp-recipient-info\" style=\"display: none;\">\n<div class=\"mp-recipient-avatar\"><\/div>\n<div class=\"mp-recipient-details\"><\/div>\n<p><button class=\"mp-change-recipient button-link\" type=\"button\"> <!--?php _e('Change', 'messaging-plugin'); ?--> <\/button><\/div>\n<\/div>\n<p class=\"description\">\n<\/div>\n<p><!-- Message Subject --><\/p>\n<div class=\"mp-form-group\"><label for=\"message_title\"> <!--?php _e('Subject:', 'messaging-plugin'); ?--> <span class=\"required\">*<\/span> <\/label> <input id=\"message_title\" class=\"regular-text\" autocomplete=\"off\" maxlength=\"200\" name=\"message_title\" required=\"\" type=\"text\" value=\"&lt;?php \n                                    if ($reply_to &amp;&amp; $reply_message) {\n                                        echo esc_attr('Re: ' . $reply_message-&gt;post_title);\n                                    } elseif ($draft &amp;&amp; isset($draft['title'])) {\n                                        echo esc_attr($draft['title']);\n                                    }\n                               ?&gt;\" placeholder=\"&lt;?php esc_attr_e('Enter message subject...', 'messaging-plugin'); ?&gt;\" \/><\/p>\n<div class=\"mp-character-count\"><span id=\"subject-count\">0<\/span>\/200<span class=\"mp-subject-suggestions\" style=\"display: none;\"> \ud83d\udca1 <!--?php _e('Try to be specific and descriptive', 'messaging-plugin'); ?--> <\/span><\/div>\n<\/div>\n<p><!-- Message Content --><\/p>\n<div class=\"mp-form-group\"><label for=\"message_content\"> <!--?php _e('Message:', 'messaging-plugin'); ?--> <span class=\"required\">*<\/span> <\/label><\/p>\n<div class=\"mp-editor-toolbar\"><button class=\"mp-editor-btn\" title=\"&lt;?php esc_attr_e('Bold', 'messaging-plugin'); ?&gt;\" type=\"button\" data-format=\"bold\"> <\/button> <button class=\"mp-editor-btn\" title=\"&lt;?php esc_attr_e('Italic', 'messaging-plugin'); ?&gt;\" type=\"button\" data-format=\"italic\"> <\/button> <button class=\"mp-editor-btn\" title=\"&lt;?php esc_attr_e('Underline', 'messaging-plugin'); ?&gt;\" type=\"button\" data-format=\"underline\"> <\/button> <button class=\"mp-editor-btn\" title=\"&lt;?php esc_attr_e('Bullet List', 'messaging-plugin'); ?&gt;\" type=\"button\" data-format=\"bullet-list\"> <\/button> <button class=\"mp-editor-btn\" title=\"&lt;?php esc_attr_e('Numbered List', 'messaging-plugin'); ?&gt;\" type=\"button\" data-format=\"number-list\"> <\/button> <button class=\"mp-editor-btn\" title=\"&lt;?php esc_attr_e('Insert Link', 'messaging-plugin'); ?&gt;\" type=\"button\" data-format=\"link\"> <\/button> <button class=\"mp-editor-btn\" title=\"&lt;?php esc_attr_e('Quote', 'messaging-plugin'); ?&gt;\" type=\"button\" data-format=\"quote\"> <\/button> <button class=\"mp-editor-btn\" title=\"&lt;?php esc_attr_e('Code', 'messaging-plugin'); ?&gt;\" type=\"button\" data-format=\"code\"> <\/button> <button class=\"mp-editor-btn\" title=\"&lt;?php esc_attr_e('Insert Emoji', 'messaging-plugin'); ?&gt;\" type=\"button\" data-format=\"emoji\"> \ud83d\ude0a <\/button> <button id=\"insert-template-tag\" class=\"mp-editor-btn\" title=\"&lt;?php esc_attr_e('Insert Template Tag', 'messaging-plugin'); ?&gt;\" type=\"button\"> { } <\/button><\/div>\n<p><!--?php \n                        $editor_content = '';\n                        if ($reply_to &amp;&amp; $reply_message) {\n                            $editor_content = \"\\n\\n---\\n\" . __('Original message:', 'messaging-plugin') . \"\\n\" . strip_tags($reply_message-&gt;post_content);\n                        } elseif ($draft &amp;&amp; isset($draft['content'])) {\n                            $editor_content = $draft['content'];\n                        }\n                        ?--><\/p>\n<div class=\"mp-editor-container\"><textarea id=\"message_content\" style=\"width: 510px; height: 162px;\" name=\"message_content\" required=\"\" rows=\"12\" placeholder=\"&lt;?php esc_attr_e('Type your message here...', 'messaging-plugin'); ?&gt;\">&lt;?php echo esc_textarea($editor_content); ?&gt;<\/textarea><\/div>\n<div class=\"mp-message-stats\">\n<div class=\"mp-character-count\"><span id=\"message-count\">0<\/span> <!--?php _e('characters', 'messaging-plugin'); ?--> <span class=\"mp-word-count\"> | <span id=\"word-count\">0<\/span> <!--?php _e('words', 'messaging-plugin'); ?--><\/span><\/div>\n<div id=\"message-warning\" class=\"mp-warning\" style=\"display: none;\">\u26a0\ufe0f <!--?php _e('Message is getting long. Consider being more concise.', 'messaging-plugin'); ?--><\/div>\n<\/div>\n<\/div>\n<p><!-- Template Tags Dropdown --><\/p>\n<div id=\"template-tags-dropdown\" class=\"mp-template-tags\" style=\"display: none;\">\n<div class=\"mp-tags-header\"><!--?php _e('Insert Template Tag:', 'messaging-plugin'); ?--> <button class=\"close-tags\" type=\"button\">\u00d7<\/button><\/div>\n<div class=\"mp-tags-list\"><button class=\"mp-tag\" type=\"button\" data-tag=\"{name}\">{name} &#8211; <!--?php _e('Recipient Name', 'messaging-plugin'); ?--><\/button> <button class=\"mp-tag\" type=\"button\" data-tag=\"{email}\">{email} &#8211; <!--?php _e('Email Address', 'messaging-plugin'); ?--><\/button> <button class=\"mp-tag\" type=\"button\" data-tag=\"{site_name}\">{site_name} &#8211; <!--?php _e('Site Name', 'messaging-plugin'); ?--><\/button> <button class=\"mp-tag\" type=\"button\" data-tag=\"{date}\">{date} &#8211; <!--?php _e('Current Date', 'messaging-plugin'); ?--><\/button> <button class=\"mp-tag\" type=\"button\" data-tag=\"{time}\">{time} &#8211; <!--?php _e('Current Time', 'messaging-plugin'); ?--><\/button> <button class=\"mp-tag\" type=\"button\" data-tag=\"{sender_name}\">{sender_name} &#8211; <!--?php _e('Your Name', 'messaging-plugin'); ?--><\/button><\/div>\n<\/div>\n<p><!-- Attachment --><\/p>\n<div class=\"mp-form-group\"><label><!--?php _e('Attachment (Optional):', 'messaging-plugin'); ?--><\/label><\/p>\n<div id=\"file-dropzone\" class=\"mp-file-dropzone\">\n<div class=\"mp-dropzone-content\"><span class=\"mp-dropzone-icon\">\ud83d\udcce<\/span>&nbsp;<\/p>\n<p><input id=\"attachment\" style=\"display: none;\" accept=\"&lt;?php echo esc_attr(mp_get_allowed_file_types()); ?&gt;\" name=\"attachment\" type=\"file\" \/> <button class=\"button button-small mp-browse-btn\" type=\"button\"> <!--?php _e('Browse Files', 'messaging-plugin'); ?--> <\/button><\/div>\n<\/div>\n<div id=\"attachment-preview\" class=\"mp-attachment-preview\" style=\"display: none;\">\n<div class=\"mp-file-info\"><span class=\"mp-file-icon\">\ud83d\udcc4<\/span> <button class=\"mp-remove-file\" title=\"&lt;?php esc_attr_e('Remove', 'messaging-plugin'); ?&gt;\" type=\"button\"> \u00d7 <\/button><\/div>\n<div class=\"mp-file-progress\" style=\"display: none;\">\n<div class=\"mp-progress-bar\"><\/div>\n<p><span class=\"mp-progress-text\">0%<\/span><\/div>\n<\/div>\n<p class=\"description\">\n<\/div>\n<p><!-- Options --><\/p>\n<div class=\"mp-form-group mp-options-group\">\n<div class=\"mp-options-grid\"><label class=\"mp-checkbox-label\"> <input checked=\"checked\" name=\"save_copy\" type=\"checkbox\" value=\"1\" \/> <!--?php _e('Save a copy in my Sent folder', 'messaging-plugin'); ?--> <\/label> <label class=\"mp-checkbox-label\"> <input id=\"high-priority\" name=\"high_priority\" type=\"checkbox\" value=\"1\" \/> <span class=\"mp-checkbox-text\"> <!--?php _e('Mark as high priority', 'messaging-plugin'); ?--> <span class=\"mp-priority-badge\">!<\/span> <\/span> <\/label> <label class=\"mp-checkbox-label\"> <input name=\"request_read_receipt\" type=\"checkbox\" value=\"1\" \/> <!--?php _e('Request a read receipt', 'messaging-plugin'); ?--> <\/label> <!--?php if ($reply_to &amp;&amp; $reply_message): ?--> <label class=\"mp-checkbox-label\"> <input checked=\"checked\" name=\"include_original\" type=\"checkbox\" value=\"1\" \/> <!--?php _e('Include original message', 'messaging-plugin'); ?--> <\/label> <!--?php endif; ?--><\/div>\n<\/div>\n<p><!-- Draft Save Info --><\/p>\n<div class=\"mp-draft-info\" style=\"display: none;\"><\/div>\n<p><!-- Form Actions --><\/p>\n<div class=\"mp-form-actions\"><\/div>\n<\/form>\n<p><!--?php endif; ?--><\/div>\n<\/div>\n<p><!-- Tips Box --><\/p>\n<div class=\"mp-tips-box\">\n<div class=\"mp-tips-header\"><span class=\"mp-tips-icon\">\ud83d\udca1<\/span><\/p>\n<h4><\/h4>\n<\/div>\n<ul class=\"mp-tips-list\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<p><!--?php if (!$is_admin): ?--><\/p>\n<li><\/li>\n<p><!--?php endif; ?--><\/ul>\n<\/div>\n<\/div>\n<p><!-- Preview Modal --><\/p>\n<div id=\"preview-modal\" class=\"mp-modal\" style=\"display: none;\">\n<div class=\"mp-modal-content mp-modal-large\">\n<div class=\"mp-modal-header\">\n<h3><\/h3>\n<p><span class=\"mp-modal-close\">\u00d7<\/span><\/div>\n<div class=\"mp-modal-body\">\n<div class=\"mp-preview-content\"><\/div>\n<\/div>\n<div class=\"mp-modal-footer\"><\/div>\n<\/div>\n<\/div>\n<p><!-- Template Manager Modal (for admins) -->&nbsp;<\/p>\n<p><!--?php if ($is_admin): ?--><\/p>\n<div id=\"template-manager-modal\" class=\"mp-modal\" style=\"display: none;\">\n<div class=\"mp-modal-content\">\n<div class=\"mp-modal-header\">\n<h3><\/h3>\n<p><span class=\"mp-modal-close\">\u00d7<\/span><\/div>\n<div class=\"mp-modal-body\">\n<div id=\"templates-list\"><\/div>\n<p><button id=\"add-new-template\" class=\"button button-primary\" type=\"button\"> <!--?php _e('Add New Template', 'messaging-plugin'); ?--> <\/button><\/div>\n<\/div>\n<\/div>\n<p><!--?php endif; ?-->&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; () * ID); ?&gt; data-avatar=&#8221;&#8221; data-role=&#8221;&#8220;&gt; () &#8211; &#8211; &#8211; * 0\/200 \ud83d\udca1 * \ud83d\ude0a { } &lt;?php echo esc_textarea($editor_content); ?&gt; 0 | 0 \u26a0\ufe0f \u00d7 {name} &#8211; {email} &#8211; {site_name} &#8211; {date} &#8211; {time} &#8211; {sender_name} &#8211; \ud83d\udcce&nbsp; \ud83d\udcc4 \u00d7 0% ! \ud83d\udca1 \u00d7 &nbsp; \u00d7 &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"signature_hash":"","ethics_level":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-11235","post","type-post","status-publish","format-standard","hentry","category-non-classe"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.indexall.org\/indexa\/wp-json\/wp\/v2\/posts\/11235","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.indexall.org\/indexa\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.indexall.org\/indexa\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.indexall.org\/indexa\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.indexall.org\/indexa\/wp-json\/wp\/v2\/comments?post=11235"}],"version-history":[{"count":2,"href":"https:\/\/www.indexall.org\/indexa\/wp-json\/wp\/v2\/posts\/11235\/revisions"}],"predecessor-version":[{"id":11471,"href":"https:\/\/www.indexall.org\/indexa\/wp-json\/wp\/v2\/posts\/11235\/revisions\/11471"}],"wp:attachment":[{"href":"https:\/\/www.indexall.org\/indexa\/wp-json\/wp\/v2\/media?parent=11235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.indexall.org\/indexa\/wp-json\/wp\/v2\/categories?post=11235"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.indexall.org\/indexa\/wp-json\/wp\/v2\/tags?post=11235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}