ExpressionEngine plugin to check whether PM in 'sent' folder is read by recipient
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
pi.is_message_read.php

README

Check whether PM in 'sent' folder is read by recipient.
Parameters (use one of them):
message_id - ID of private messsage (provided by Friends module as {friends_message_id})
copy_id - ID of PM copy in 'sent' folder (provided by Messaging module as {message_id})

Returns tagdata if message is read, and no results if it's not read yet.

{exp:messaging:private_messages folder="sent"}
{exp:is_message_read:check copy_id="{message_id}"}
{if no_results}
<div class="unread">
{/if}
<div class="read">
{/exp:is_message_read:check}
{subject}</div>
{/exp:messaging:private_messages}