<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Post Author Notification - How-to and Troubleshooting				            </title>
            <link>https://wpdiscuz.com/community/troubleshooting/post-author-notification/</link>
            <description>wpDiscuz WordPress Comment Plugin Community. Support and Resources.</description>
            <language>en-US</language>
            <lastBuildDate>Sun, 15 Nov 2026 07:04:37 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Post Author Notification</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/post-author-notification/#post-6007</link>
                        <pubDate>Sat, 19 Dec 2020 13:33:14 +0000</pubDate>
                        <description><![CDATA[@asti I&#039;m afraid that&#039;s not ideal either (our use case is complicated). 
I need to use the notifyonApproving function above - but to send the email to the post author instead of the comment...]]></description>
                        <content:encoded><![CDATA[<p>@asti I'm afraid that's not ideal either (our use case is complicated). </p>
<p>I need to use the notifyonApproving function above - but to send the email to the post author instead of the comment author. Does your code allow custom files to be rendered from the child theme?</p>
<p>I've tried changing <span><strong>$email = $user-&gt;user_email;</strong> to </span><span><strong>$email = $post-&gt;the_author_email;</strong> but I'm missing something. </span></p>
<p><span>Could you help or develop this feature? This function worked with our previous plugin (geodirectory), but prefer the wpdiscuz features (private comments especially) so would rather keep using wpdiscuz. </span></p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>ljcn</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/post-author-notification/#post-6007</guid>
                    </item>
				                    <item>
                        <title>RE: Post Author Notification</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/post-author-notification/#post-5998</link>
                        <pubDate>Sat, 19 Dec 2020 08:24:45 +0000</pubDate>
                        <description><![CDATA[@ljcn,
You may ask the post authors to subscribe to the current post.]]></description>
                        <content:encoded><![CDATA[<p>@ljcn,</p>
<p>You may ask the post authors to <a href="https://wpdiscuz.com/docs/wpdiscuz-7/plugin-settings/subscription-and-user-following/" target="true">subscribe </a>to the current post. </p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>Asti</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/post-author-notification/#post-5998</guid>
                    </item>
				                    <item>
                        <title>RE: Post Author Notification</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/post-author-notification/#post-5978</link>
                        <pubDate>Fri, 18 Dec 2020 10:29:01 +0000</pubDate>
                        <description><![CDATA[@asti thank you, this emails the post author as soon as the comment is submitted. I need it to send the post author an email only after the comment has been approved via moderation (the same...]]></description>
                        <content:encoded><![CDATA[@asti thank you, this emails the post author as soon as the comment is submitted. I need it to send the post author an email only after the comment has been approved via moderation (the same way it does for the comment author)]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>ljcn</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/post-author-notification/#post-5978</guid>
                    </item>
				                    <item>
                        <title>RE: Post Author Notification</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/post-author-notification/#post-5974</link>
                        <pubDate>Fri, 18 Dec 2020 09:51:43 +0000</pubDate>
                        <description><![CDATA[@ljcn,
You can use the Email me whenever &gt; Anyone posts a comment WordPress option. It allows authors to receive notification that comments have been made, or comments are held for moder...]]></description>
                        <content:encoded><![CDATA[<p>@ljcn,</p>
<p>You can use the Email me whenever &gt; Anyone posts a comment WordPress option. It allows authors to receive notification that comments have been made, or comments are held for moderation.  More info here:  https://wpdiscuz.com/docs/wpdiscuz-7/wordpress-settings/comment-subscription/</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>Asti</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/post-author-notification/#post-5974</guid>
                    </item>
				                    <item>
                        <title>RE: Post Author Notification</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/post-author-notification/#post-5962</link>
                        <pubDate>Thu, 17 Dec 2020 23:07:28 +0000</pubDate>
                        <description><![CDATA[I&#039;m happy to amend this section in class.WpdiscuzHelperEmail.php since I currently don&#039;t need to notify the comment author, although this would be a great feature request if we can get it wo...]]></description>
                        <content:encoded><![CDATA[<p>I'm happy to amend this section in <strong>class.WpdiscuzHelperEmail.php</strong> since I currently don't need to notify the comment author, although this would be a great feature request if we can get it working! </p>
<pre><span>    </span><span>public</span><span> </span><span>function</span><span> notifyOnApproving($comment) {</span><br /><span>        </span><span>if</span><span> ($comment) {</span><br /><span>            $wpdiscuz = wpDiscuz();</span><br /><span>            $isLoadWpdiscuz = </span><span>false</span><span>;</span><br /><span>            $post = get_post($comment-&gt;comment_post_ID);</span><br /><span>            </span><span>if</span><span> ($post &amp;&amp; is_object($post)) {</span><br /><span>                $form = $wpdiscuz-&gt;wpdiscuzForm-&gt;getForm($post-&gt;ID);</span><br /><span>                $isLoadWpdiscuz = $form-&gt;getFormID() &amp;&amp; (comments_open($post) || $post-&gt;comment_count) &amp;&amp; post_type_supports($post-&gt;post_type, </span><span>"comments"</span><span>);</span><br /><span>            }</span><br /><span>            </span><span>if</span><span> ($isLoadWpdiscuz) {</span><br /><span>                $user = $comment-&gt;user_id ? get_userdata($comment-&gt;user_id) : </span><span>null</span><span>;</span><br /><span>                </span><span>if</span><span> ($user) {</span><br /><span>                    $email = $user-&gt;user_email;</span><br /><span>                } </span><span>else</span><span> {</span><br /><span>                    $email = $comment-&gt;comment_author_email;</span><br /><span>                }</span><br /><span>                $siteUrl = get_site_url();</span><br /><span>                $blogTitle = get_option(</span><span>"blogname"</span><span>);</span><br /><span>                $postTitle = get_the_title($comment-&gt;comment_post_ID);</span><br /><span>                $search = [</span><span>""</span><span>, </span><span>""</span><span>, </span><span>""</span><span>, </span><span>""</span><span>, </span><span>""</span><span>, </span><span>""</span><span>, </span><span>""</span><span>];</span><br /><span>                $replace = ;</span><br /><span>                $message = </span><span>str_replace</span><span>($search, $replace, </span><span>$this</span><span>-&gt;options-&gt;phrases);</span><br /><span>                $subject = </span><span>str_replace</span><span>([</span><span>""</span><span>, </span><span>""</span><span>, </span><span>""</span><span>], , </span><span>$this</span><span>-&gt;options-&gt;phrases);</span><br /><span>                $headers = [];</span><br /><span>                $fromName = </span><span>html_entity_decode</span><span>($blogTitle, ENT_QUOTES);</span><br /><span>                $parsedUrl = parse_url($siteUrl);</span><br /><span>                $domain = isset($parsedUrl) ? WpdiscuzHelper::fixEmailFrom($parsedUrl) : </span><span>""</span><span>;</span><br /><span>                $fromEmail = </span><span>"no-reply@"</span><span> </span><span>.</span><span> $domain;</span><br /><span>                $headers[] = </span><span>"Content-Type: text/html; charset=UTF-8"</span><span>;</span><br /><span>                $headers[] = </span><span>"From: "</span><span> </span><span>.</span><span> $fromName </span><span>.</span><span> </span><span>" &lt;"</span><span> </span><span>.</span><span> $fromEmail </span><span>.</span><span> </span><span>"&gt; \r\n"</span><span>;</span><br /><span>                $subject = </span><span>html_entity_decode</span><span>($subject, ENT_QUOTES);</span><br /><span>                $message = </span><span>html_entity_decode</span><span>($message, ENT_QUOTES);</span><br /><span>                wp_mail($email, $subject, do_shortcode($message), $headers);</span><br /><span>            }</span><br /><span>        }</span><br /><span>    }</span></pre>
<p> </p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>ljcn</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/post-author-notification/#post-5962</guid>
                    </item>
				                    <item>
                        <title>Post Author Notification</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/post-author-notification/#post-5957</link>
                        <pubDate>Thu, 17 Dec 2020 20:01:41 +0000</pubDate>
                        <description><![CDATA[Hi Forum!
we’ve recently switched to wpdiscuz for the private comments feature (it’s a very neat feature for those considering buying it!)
Is it possible to send a notification email to th...]]></description>
                        <content:encoded><![CDATA[<p>Hi Forum!</p>
<p>we’ve recently switched to wpdiscuz for the private comments feature (it’s a very neat feature for those considering buying it!)</p>
<p>Is it possible to send a notification email to the post owner once a comment has been approved? Comments are not moderated by the post author so we need to notify them of new comments (once approved)</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>ljcn</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/post-author-notification/#post-5957</guid>
                    </item>
							        </channel>
        </rss>
		