Code: Select all
define('PRIME_NOTIFY_REPLY_TO_SENDER', true); // Set the PM notification reply-to address to be that of the sender (only if their e-mail address is set to be visible).
Code: Select all
'template' => ($topic_notification) ? 'topic_notify' : 'newtopic_notify',
'method' => $row['user_notify_type'],
'allowed' => false
);
Code: Select all
$prime_notify->setup_post_template($notify_rows[$row['user_id']], $row);
Code: Select all
'template' => 'forum_notify',
'method' => $row['user_notify_type'],
'allowed' => false
);
Code: Select all
$prime_notify->setup_post_template($notify_rows[$row['user_id']], $row);
Code: Select all
/**
* Initial setup for including message text in the new post notification e-mail
*/
function setup_post(&$data)
{
global $user, $phpEx;
$this->enabled = PRIME_NOTIFY_POST_ENABLED;
if ($this->enabled && isset($data['message']) && $user->page['page_name'] == "posting.$phpEx")
{
$this->author = $user->data['username']; // This is the name, not the ID
$this->message = empty($data['message']) ? '' : $data['message'];
// If BBCodes are not enabled for this post, then we keep them because they do not represent formatting
$keep_bbcodes = empty($data['enable_bbcode']) ? true : PRIME_NOTIFY_BBCODES;
// Format the message
$uid = empty($data['bbcode_uid']) ? '' : $data['bbcode_uid'];
$this->format_message($this->message, $uid, $keep_bbcodes);
// If something went wrong, then just go back to using the default e-mail notification template
if (empty($this->author) && empty($this->message))
{
$this->enabled = false;
}
}
else
{
$this->enabled = false;
}
}
jgonsalves wrote:My apolpgoies for be a bit of a noob, but I have just installed the mod Prime Notify and It look as if the Private messages are emailing out the mesaage but normal post do not', can anyone point in the right direction of were to look to resolve this issue. I have check codes insert and they seem to be in the correct place.
Thanks in advaned